:root {
    --primary-color: #1a1a2e;
    --secondary-color: #e94560;
    --accent-color: #ffd700;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #0f3460;
    --border-color: #ddd;
    --gradient-dark: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
    --gradient-accent: linear-gradient(135deg, #e94560 0%, #ff9e00 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fcfcfc;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Mobile First - базовые стили для мобильных */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header et Navigation */
header {
    background: var(--gradient-dark);
    color: white;
    padding: 12px 0;
    box-shadow: var(--shadow-md);
    position: relative;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
    max-width: 200px;
    flex: 1 1 auto;
}

.logo-image {
    width: 100%;
    height: auto;
    max-width: 200px;
    display: block;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gradient-dark);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.nav-links.active {
    display: flex;
    max-height: 500px;
    padding: 1rem 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, background 0.3s ease;
    position: relative;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    min-height: 44px;
    touch-action: manipulation;
}

.nav-links a:active {
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover:after {
    width: 100%;
}

/* Section principale du contenu */
main {
    padding: 20px 0;
    min-height: calc(100vh - 200px);
}

/* Улучшение производительности для мобильных */
* {
    -webkit-tap-highlight-color: transparent;
}

button, a {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    line-height: 1.3;
}

h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: left;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

h1:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

h2 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--accent-color);
}

h3 {
    font-size: 1.2rem;
    color: var(--dark-bg);
    margin: 1.5rem 0 0.8rem;
}

p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Section d'intro spéciale */
.intro {
    position: relative;
    background: var(--gradient-dark);
    color: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    overflow: visible;
}

.intro:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50,5 L60,35 H95 L65,55 L75,85 L50,65 L25,85 L35,55 L5,35 H40 Z' fill='%23ffd700' fill-opacity='0.05'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    opacity: 0.15;
}

.intro p {
    position: relative;
    font-size: 1.1rem;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 0;
}

/* Скрытие части текста на мобильных */
.intro-mobile-hidden {
    display: inline;
}

.intro-mobile-dots {
    display: none;
}

/* Кнопка разворачивания текста */
.intro-toggle-btn {
    display: none;
    margin-top: 1rem;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.4);
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 100;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}

.intro-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.intro-toggle-btn:active {
    transform: scale(0.98);
}

.toggle-text-less {
    display: none;
}

.intro.expanded .toggle-text-more {
    display: none;
}

.intro.expanded .toggle-text-less {
    display: inline;
}

@media (max-width: 575px) {
    .intro-mobile-hidden {
        display: none;
    }
    
    .intro-mobile-dots {
        display: inline;
    }
    
    .intro.expanded .intro-mobile-hidden {
        display: inline;
    }
    
    .intro.expanded .intro-mobile-dots {
        display: none;
    }
    
    .intro-toggle-btn {
        display: block;
    }
    
    .intro p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Tableau comparatif amélioré */
.table-container {
    margin: 1.5rem 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    background: white;
    position: relative;
    overflow: visible;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-bottom: 0;
    font-size: 0.85rem;
    display: table;
}

th, td {
    padding: 8px 6px;
    text-align: left;
    border: none;
    vertical-align: middle;
    white-space: nowrap;
}

th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

th:first-child {
    border-top-left-radius: var(--radius-md);
}

th:last-child {
    border-top-right-radius: var(--radius-md);
}

tr:not(:last-child) td {
    border-bottom: 1px solid var(--border-color);
}

tr:nth-child(even) {
    background-color: rgba(248, 249, 250, 0.7);
}

tr:hover td {
    background-color: rgba(233, 69, 96, 0.05);
}

.casino-name {
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    font-size: 0.9rem;
}

.casino-name:before {
    display: none;
}

.casino-logo {
    width: 45px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.casino-name span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.top-rated {
    background-color: rgba(255, 215, 0, 0.05);
}

.top-rated td:first-child {
    position: relative;
}

.top-rated td:first-child:before {
    content: "TOP";
    position: absolute;
    top: -8px;
    left: 70px;
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 1px;
    z-index: 10;
}

/* Points forts mis en évidence */
.highlights {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlights:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.highlights strong {
    display: block;
    margin-bottom: 10px;
    color: var(--dark-bg);
}

/* Listes stylisées */
ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-type: none;
}

ul li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
}

ul li:before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Section de conclusion spéciale */
.conclusion {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-top: 3rem;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.conclusion:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.conclusion h3 {
    color: var(--secondary-color);
    margin-top: 0;
}

/* Boutons d'action - Mobile First с touch-friendly размерами */
.cta-button {
    display: inline-block;
    padding: 14px 28px;
    min-height: 44px;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-top: 1rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Boutons referral dans le tableau - Mobile First с touch-friendly размерами */
.referral-btn,
.deal-btn.casino-link.referral-btn,
.top-card__btn.referral-btn {
    display: inline-block;
    padding: 10px 18px;
    min-height: 44px;
    min-width: 44px;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
}

.referral-btn:hover,
.deal-btn.casino-link.referral-btn:hover,
.top-card__btn.referral-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #ff6b7a 0%, #ffae00 100%);
}

.referral-btn:active,
.deal-btn.casino-link.referral-btn:active,
.top-card__btn.referral-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* Стили для колонки с кнопками в таблице */
table td:last-child {
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

/* Mobile First - улучшение для мобильных устройств - карточки вместо таблицы */
/* Базовые стили уже для мобильных, этот блок для очень маленьких экранов */
@media (max-width: 575px) {
    .table-container {
        overflow: visible;
        padding: 0;
    }
    
    table, thead, tbody, th, td, tr {
        display: block;
    }
    
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    tr {
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        margin-bottom: 1rem;
        padding: 1rem;
        background: white;
        box-shadow: var(--shadow-sm);
        position: relative;
        overflow: visible;
    }
    
    tr:last-child {
        margin-bottom: 0;
    }
    
    tr:not(:last-child) td {
        border-bottom: none;
    }
    
    tr:nth-child(even) {
        background-color: white;
    }
    
    tr:hover td {
        background-color: transparent;
    }
    
    td {
        border: none;
        position: relative;
        padding: 0.75rem 0 0.75rem 40%;
        text-align: right;
        white-space: normal;
        min-height: 2.5rem;
        overflow: visible;
    }
    
    td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 35%;
        padding-right: 10px;
        white-space: normal;
        text-align: left;
        font-weight: 600;
        color: var(--primary-color);
        font-size: 0.85rem;
        pointer-events: none;
        z-index: 1;
    }
    
    td:first-child {
        padding-left: 0;
        padding-top: 0;
        padding-bottom: 1rem;
    }
    
    td:first-child:before {
        display: none;
    }
    
    .casino-name {
        width: 100%;
        padding: 0;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .top-rated {
        background-color: rgba(255, 215, 0, 0.1);
        border: 2px solid var(--accent-color);
    }
    
    .top-rated td:first-child::before {
        content: "TOP";
        display: inline-block;
        position: static;
        background: var(--accent-color);
        color: var(--primary-color);
        font-size: 0.7rem;
        font-weight: bold;
        padding: 3px 8px;
        border-radius: 3px;
        margin-bottom: 0.5rem;
    }
    
    table td:last-child {
        min-width: auto;
        padding: 1rem 0 0 0 !important;
        text-align: center;
        width: 100%;
        position: relative;
        z-index: 10;
        left: 0;
    }
    
    table td:last-child:before {
        display: none !important;
        content: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    table td:last-child button,
    table td:last-child a,
    table td:last-child .top-card__btn,
    table td:last-child .referral-btn,
    table td:last-child .deal-btn {
        position: relative !important;
        z-index: 999 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        display: inline-block !important;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        touch-action: manipulation;
    }
    
    .top-card__btn.referral-btn {
        width: 100%;
        max-width: 200px;
        position: relative !important;
        z-index: 999 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation;
    }
}

/* Badges pour les casinos */
.casino-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--dark-bg);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-left: 10px;
    vertical-align: middle;
}

/* Animation pour les étoiles */
@keyframes shine {
    0% {
        color: #ffd700;
    }
    50% {
        color: #ffe766;
    }
    100% {
        color: #ffd700;
    }
}

.stars {
    font-size: 1.1rem;
    color: #ffd700;
    animation: shine 2s infinite;
    letter-spacing: 2px;
}

/* Pied de page */
footer {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-section {
    flex: 1 1 300px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    padding: 0;
}

.footer-section ul li:before {
    display: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-bottom a {
    color: var(--secondary-color);
}

/* Décoration casino spéciale */
.casino-decor {
    position: absolute;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.casino-decor.spade {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%231a1a2e' d='M256 56.9c5.1 0 10.1 1.7 14.2 4.8 48.3 37.6 96.5 75 144.8 112.5 13.8 10.7 13.8 31.6 0 42.3-37.4 29-74.9 58.2-112.3 87.2-1.9 1.5-3.9 3.1-5.8 4.5 0 45.9-.1 91.8 0 137.7 0 12.9-10.5 23.4-23.4 23.4h-34.9c-12.9 0-23.4-10.5-23.4-23.4 0-45.9 0-91.8 0-137.7-1.9-1.5-3.9-3-5.8-4.5-37.4-29.1-74.9-58.2-112.3-87.2-13.8-10.7-13.8-31.6 0-42.3 48.3-37.5 96.5-75 144.8-112.5 4.1-3.1 9.1-4.8 14.1-4.8z'/%3E%3C/svg%3E");
    top: 10%;
    left: 5%;
    transform: rotate(15deg);
}

.casino-decor.heart {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23e94560' d='M256 448l-30.2-27.3C118.6 322.1 48 258.6 48 179.1 48 114.2 97.9 64 162.4 64c36.4 0 70.7 16.7 93.6 43.9C278.9 80.7 313.2 64 349.6 64 414.1 64 464 114.2 464 179.1c0 79.5-70.6 143-177.8 241.6L256 448z'/%3E%3C/svg%3E");
    top: 30%;
    right: 5%;
    transform: rotate(-15deg);
}

.casino-decor.club {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%231a1a2e' d='M368 256c26.5 0 48-21.5 48-48s-21.5-48-48-48-48 21.5-48 48c0 7.7 1.8 15 5.1 21.4-6.4-3.3-13.7-5.1-21.4-5.1-26.5 0-48 21.5-48 48s21.5 48 48 48c7.7 0 15-1.8 21.4-5.1-3.3 6.4-5.1 13.7-5.1 21.4 0 26.5 21.5 48 48 48s48-21.5 48-48-21.5-48-48-48c-7.7 0-15 1.8-21.4 5.1 3.3-6.4 5.1-13.7 5.1-21.4 0-26.5-21.5-48-48-48z M256 336c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z'/%3E%3C/svg%3E");
    bottom: 20%;
    left: 8%;
    transform: rotate(30deg);
}

.casino-decor.diamond {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23e94560' d='M256 56L56 256l200 200 200-200-200-200z'/%3E%3C/svg%3E");
    bottom: 15%;
    right: 8%;
    transform: rotate(-20deg);
}

/* Mobile First - медиа-запросы для больших экранов */

/* Очень маленькие экраны (320px и меньше) */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }
    
    .logo-container {
        max-width: 150px;
    }
    
    .logo-image {
        max-width: 150px;
    }
    
    h1 {
        font-size: 1.4rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .casino-logo {
        width: 35px;
        height: 25px;
    }
    
    .casino-name {
        font-size: 0.8rem;
        gap: 6px;
    }
    
    .top-card__btn.referral-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
        min-height: 44px;
    }
    
    .mobile-menu-toggle {
        width: 28px;
        height: 28px;
    }
    
}

/* Планшеты и выше - Mobile First подход */
@media (min-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.8rem;
        text-align: center;
        padding-bottom: 12px;
    }
    
    h1:after {
        left: 50%;
        transform: translateX(-50%);
        width: 90px;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    main {
        padding: 30px 0;
    }
    
    .intro {
        padding: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .casino-logo {
        width: 55px;
        height: 35px;
    }
    
    .casino-name {
        gap: 10px;
        font-size: 1rem;
        min-height: 45px;
    }
    
    .top-rated td:first-child:before {
        left: 60px;
    }
    
    .table-container {
        margin: 2rem 0;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 12px;
        white-space: normal;
    }
    
    .top-card__btn.referral-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* Десктопы */
@media (min-width: 769px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }
    
    header {
        padding: 15px 0;
    }
    
    .logo-container {
        max-width: 300px;
    }
    
    .logo-image {
        max-width: 300px;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        gap: 25px;
        padding: 0;
        max-height: none;
        box-shadow: none;
        background: transparent;
    }
    
    .nav-links.active {
        display: flex;
        max-height: none;
        padding: 0;
    }
    
    .nav-links a {
        padding: 0;
        min-height: auto;
        display: inline-block;
    }
    
    .nav-links a:active {
        background: transparent;
    }
    
    h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 15px;
    }
    
    h1:after {
        width: 100px;
    }
    
    h2 {
        font-size: 2rem;
        margin: 2.5rem 0 1.5rem;
    }
    
    h3 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }
    
    p {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
    }
    
    main {
        padding: 40px 0;
    }
    
    .intro {
        padding: 2rem;
        margin-bottom: 3rem;
    }
    
    .casino-logo {
        width: 60px;
        height: 40px;
    }
    
    .casino-name {
        gap: 12px;
        font-size: 1rem;
        min-height: 50px;
    }
    
    .top-rated td:first-child:before {
        left: 70px;
    }
    
    .casino-decor {
        display: block;
    }
    
    .table-container {
        margin: 2.5rem 0;
    }
    
    table {
        font-size: 1rem;
    }
    
    th, td {
        padding: 15px;
        white-space: normal;
    }
    
    .top-card__btn.referral-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    footer {
        padding: 2.5rem 0;
        margin-top: 4rem;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
    }
}

