* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-body: #f4f6ff;
    --bg-sidebar: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
    --bg-main: #f6f8ff;
    --bg-card: #ffffff;
    --bg-card-alt: #f0f3ff;
    --stroke-soft: #e2e6f4;
    --stroke-strong: #c7d0f4;
    --text-primary: #1c2140;
    --text-secondary: #636a86;
    --text-muted: #99a1c0;
    --accent-start: #ff8a1f;
    --accent-end: #ff4c4f;
    --accent-blue: #4b6bff;
    --accent-cyan: #36c8ff;
    --chip-bg: rgba(75, 107, 255, 0.12);
    --chip-active: linear-gradient(96deg, #ff8a1f 0%, #ff4c4f 100%);
    --radius-xl: 34px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-soft: 0 18px 40px rgba(78, 107, 255, 0.15);
    --shadow-hero: 0 36px 90px rgba(79, 106, 255, 0.2);
}

html {
    scroll-behavior: smooth;
    background: var(--bg-body);
}

body {
    font-family: 'Manrope', 'Inter', 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: radial-gradient(108% 120% at 100% 0%, rgba(116, 143, 255, 0.16) 0%, rgba(244, 246, 255, 0) 60%),
        radial-gradient(108% 140% at 0% 0%, rgba(255, 168, 104, 0.16) 0%, rgba(244, 246, 255, 0) 62%),
        linear-gradient(180deg, #f4f6ff 0%, #f7f9ff 60%, #eff3ff 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
}

.layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    background: var(--bg-main);
}

.sidebar {
    width: 268px;
    flex: 0 0 268px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--stroke-soft);
    padding: 32px 26px 36px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 12;
    box-shadow: inset -1px 0 0 rgba(203, 212, 240, 0.4);
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(101, 127, 255, 0.4);
    border-radius: 3px;
}

.sidebar-brand {
    display: flex;
    justify-content: center;
}

.brand-logo {
    width: 116px;
    height: auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 18px;
    color: var(--text-secondary);
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, border 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
    border: 1px solid transparent;
}

.nav-link:hover {
    background: rgba(79, 106, 255, 0.08);
    transform: translateX(4px);
    color: var(--text-primary);
    border-color: rgba(75, 107, 255, 0.24);
}

.nav-link.active {
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(110, 133, 255, 0.16);
    color: var(--text-primary);
    border: 1px solid rgba(75, 107, 255, 0.24);
}

.nav-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(75, 107, 255, 0.12) 0%, rgba(255, 76, 79, 0.08) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent-blue);
}

.nav-link.active .nav-icon {
    background: linear-gradient(130deg, var(--accent-start) 0%, var(--accent-end) 100%);
    box-shadow: 0 10px 24px rgba(255, 120, 80, 0.35);
    color: #ffffff;
}

.nav-icon.icon-home::before { content: '🏠'; }
.nav-icon.icon-gift::before { content: '🎁'; }
.nav-icon.icon-diamond::before { content: '💎'; }
.nav-icon.icon-slot::before { content: '🎰'; }
.nav-icon.icon-live::before { content: '📺'; }
.nav-icon.icon-rocket::before { content: '🚀'; }
.nav-icon.icon-grid::before { content: '🕹️'; }
.nav-icon.icon-providers::before { content: '🏢'; }

.sidebar-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--stroke-soft);
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--stroke-soft);
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.support-link:hover {
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(110, 133, 255, 0.16);
    color: var(--text-primary);
}

.support-icon::before { content: '💬'; }
.support-icon.icon-mail::before { content: '✉️'; }

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    border: 1px solid var(--stroke-soft);
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

.language-flag {
    font-size: 18px;
}

.language-caret {
    font-size: 12px;
    opacity: 0.5;
}

.language-switch:hover {
    border-color: rgba(75, 107, 255, 0.4);
    box-shadow: 0 8px 18px rgba(110, 133, 255, 0.16);
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 244, 255, 0.88) 100%);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 36px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stroke-soft);
    box-shadow: 0 12px 32px rgba(141, 161, 255, 0.14);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--bg-card-alt);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.3s ease;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
}

.menu-toggle:hover {
    background: rgba(75, 107, 255, 0.12);
}

.topbar-logo img {
    width: 96px;
}

.topbar-search {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    max-width: 560px;
    margin: 0 32px;
    padding: 12px 18px;
    border-radius: 20px;
    background: var(--bg-card-alt);
    color: var(--text-secondary);
    border: 1px solid rgba(98, 119, 196, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.topbar-search:focus-within {
    background: #ffffff;
    border-color: rgba(75, 107, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(75, 107, 255, 0.12);
}

.topbar-search input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    outline: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.topbar-search input::placeholder {
    color: var(--text-muted);
}

.search-icon::before {
    content: '\1F50D';
    font-size: 18px;
    color: var(--text-muted);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    text-transform: uppercase;
    font-size: 13px;
    border: none;
}

.btn-primary {
    background: linear-gradient(94deg, var(--accent-start) 0%, var(--accent-end) 100%);
    color: #fff7f0;
    box-shadow: 0 18px 38px rgba(255, 118, 80, 0.32);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 46px rgba(255, 118, 80, 0.42);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
}

.btn-secondary:hover {
    color: var(--accent-blue);
    background: rgba(75, 107, 255, 0.08);
}

.btn-ghost {
    background: transparent;
    color: var(--accent-blue);
    border: 1px solid rgba(75, 107, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(75, 107, 255, 0.1);
    border-color: rgba(75, 107, 255, 0.35);
}

.btn-link {
    background: transparent;
    color: var(--accent-blue);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.btn-link::after {
    content: ' →';
}

.btn-view {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid var(--stroke-soft);
    transition: border 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-view:hover {
    color: var(--text-primary);
    border-color: rgba(75, 107, 255, 0.4);
    box-shadow: 0 12px 24px rgba(110, 133, 255, 0.18);
}

.content {
    flex: 1;
    padding: 36px 40px 80px;
    display: flex;
    flex-direction: column;
    gap: 56px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.hero {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.hero-card {
    position: relative;
    overflow: visible;
    border-radius: var(--radius-xl);
    padding: 48px 46px;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(280px, 380px);
    gap: 38px;
    background: linear-gradient(114deg, #ffffff 0%, #f0f5ff 42%, #ffeedd 100%);
    box-shadow: var(--shadow-hero);
    border: 1px solid rgba(203, 212, 240, 0.6);
    align-items: center;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    right: -200px;
    bottom: 0;
    background: url('../assets/nika-hero/main-slider-bg-desk.webp') right center no-repeat;
    background-size: cover;
    z-index: 0;
    transform: translateX(100px);
}

.hero-card::after {
    content: none;
}

.hero-content,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.hero-bubble {
    position: relative;
    background: #ffffff;
    border-radius: 32px;
    padding: 34px 36px;
    border: 1px solid rgba(204, 214, 245, 0.9);
    box-shadow: 0 32px 60px rgba(129, 150, 255, 0.2);
    max-width: 480px;
}

.hero-bubble::after {
    content: '';
    position: absolute;
    right: -28px;
    bottom: 48px;
    width: 46px;
    height: 46px;
    background: #ffffff;
    border: 1px solid rgba(204, 214, 245, 0.9);
    border-left: none;
    border-bottom: none;
    transform: rotate(45deg);
    border-top-right-radius: 18px;
    box-shadow: 18px 18px 32px rgba(129, 150, 255, 0.18);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(75, 107, 255, 0.12);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(32px, 3.4vw, 44px);
    line-height: 1.18;
    margin-bottom: 18px;
}

.hero p {
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    min-height: 350px;
    background: url('../medias/nika-hero/nika-hero-mob2.png') center/cover no-repeat;
    background-size: auto 100%;
}

.hero-mobile-image {
    display: none;
    margin: 0 auto 20px;
    text-align: center;
    background: none;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-mobile-image img {
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
}

.hero-title-mobile,
.hero-text-mobile {
    display: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.info-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 26px;
    background: var(--bg-card);
    border: 1px solid var(--stroke-soft);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 160px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.28;
}

.info-card:nth-child(1)::before { background-image: url('../assets/nika-reasons/first-bg.webp'); }
.info-card:nth-child(2)::before { background-image: url('../assets/nika-reasons/two-bg.webp'); }
.info-card:nth-child(3)::before { background-image: url('../assets/nika-reasons/three-bg.webp'); }

.info-card > * {
    position: relative;
    z-index: 1;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(129, 150, 255, 0.2);
}

.info-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(75, 107, 255, 0.12) 0%, rgba(255, 138, 31, 0.18) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.info-card-icon.icon-random::before { content: '🎲'; }
.info-card-icon.icon-limitless::before { content: '♾️'; }
.info-card-icon.icon-smart::before { content: '🤖'; }

.info-card h3 {
    font-size: 18px;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.section-head > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.section h2 {
    font-size: 28px;
}

.section p {
    color: var(--text-secondary);
    font-size: 15px;
}


.games-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.games-grid--wide {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.game-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--stroke-soft);
    background: var(--bg-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(255, 148, 96, 0.24) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px rgba(129, 150, 255, 0.22);
    border-color: rgba(75, 107, 255, 0.35);
}

.game-card:hover::after {
    opacity: 1;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jackpot-bar {
    display: flex;
    justify-content: center;
}

.jackpot-wrapper {
    padding: 22px 46px;
    border-radius: 999px;
    background: linear-gradient(98deg, rgba(255, 152, 80, 0.2) 0%, rgba(78, 117, 255, 0.2) 100%);
    border: 1px solid rgba(204, 214, 245, 0.8);
    box-shadow: 0 18px 40px rgba(129, 150, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.jackpot-label {
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.jackpot-value {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-primary);
}

.reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.reason-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--stroke-soft);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.22;
}

.reason-card > * {
    position: relative;
    z-index: 1;
}

.reason-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(129, 150, 255, 0.24);
}

.reason-primary::before {
    background-image: url('../assets/nika-hero/first-bg.webp');
}

.reason-secure::before {
    background-image: url('../assets/nika-reasons/first-bg.webp');
}

.reason-shield::before {
    background-image: url('../assets/nika-reasons/two-bg.webp');
}

.reason-vip::before {
    background-image: url('../assets/nika-reasons/three-bg.webp');
}

.reason-badge {
    display: inline-flex;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(75, 107, 255, 0.12);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--accent-blue);
}

.games-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.live-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--stroke-soft);
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
}

.live-card span {
    padding: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

.live-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(129, 150, 255, 0.22);
}

.hot-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.instant-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.provider-card {
    padding: 24px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--stroke-soft);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.provider-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(129, 150, 255, 0.2);
}

.provider-name {
    font-weight: 700;
    font-size: 18px;
}

.provider-count {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer {
    margin-top: auto;
    background: #ffffff;
    border-top: 1px solid var(--stroke-soft);
    padding: 32px 40px 46px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
}

.footer-brand img {
    width: 96px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-note p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 9, 30, 0.72);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 11;
}

.backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 1280px) {
    .content {
        padding: 32px 28px 70px;
    }

    .topbar {
        padding: 20px 28px;
    }

    .hero-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-content {
        justify-content: center;
    }

    .hero-bubble {
        margin: 0 auto;
    }

    .hero-visual {
        min-height: 220px;
    }
}

@media (max-width: 1100px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.35s ease;
        box-shadow: 30px 0 60px rgba(4, 9, 30, 0.55);
    }

    .sidebar.is-open {
        transform: translateX(0);
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .topbar {
        position: sticky;
        top: 0;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .topbar-logo {
        display: inline-flex;
    }

    .topbar-search {
        display: none;
    }

    .content {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 820px) {
    .topbar {
        gap: 16px;
    }

    .topbar-actions {
        flex: 0 0 auto;
        gap: 10px;
    }

    .topbar-actions .btn {
        width: auto;
        padding: 10px 18px;
    }

    .content {
        gap: 44px;
    }

    .hero-card {
        padding: 36px 28px;
        border-radius: 28px;
    }
    
    .hero-card::before {
        left: -80px;
        right: -150px;
        background-position: right center;
        background-size: cover;
        transform: translateX(80px);
    }

    .hero-bubble::after {
        content: none;
    }

    .hero-content {
        justify-content: center;
    }

    .hero-bubble {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        min-height: 260px;
        margin-top: 18px;
        background-position: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }


    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-view {
        align-self: stretch;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .topbar-search {
        display: none;
    }
    
    .topbar {
        padding: 16px 18px;
        gap: 14px;
    }

    .topbar-left {
        gap: 12px;
    }

    .topbar-logo img {
        width: 82px;
    }

    .topbar-actions {
        display: inline-flex;
        gap: 8px;
    }

    .topbar-actions .btn {
        width: auto;
        padding: 9px 16px;
        font-size: 11px;
        letter-spacing: 0.04em;
    }

    .content {
        padding: 28px 20px 60px;
    }

    .hero-card {
        padding: 0;
        border-radius: 26px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-card::before {
        display: none;
    }

    .hero-content {
        padding: 20px;
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hero-mobile-image {
        display: block;
        text-align: center;
        background: none;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        order: 1;
    }

    .hero-mobile-image img {
        width: 100%;
        height: auto;
        border-radius: 16px;
        display: block;
    }

    .hero-bubble {
        padding: 20px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(204, 214, 245, 0.6);
        box-shadow: 0 18px 40px rgba(129, 150, 255, 0.18);
        text-align: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        order: 2;
    }

    .hero-title-desktop,
    .hero-text-desktop {
        display: none;
    }

    .hero-title-mobile,
    .hero-text-mobile {
        display: block;
    }

    .hero-title-mobile {
        font-size: clamp(20px, 6vw, 28px);
        line-height: 1.3;
        text-align: center;
        font-weight: 800;
        color: var(--text-primary);
        margin-bottom: 18px;
    }

    .hero-badge {
        font-size: 11px;
    }

    .hero-text-mobile {
        text-align: center;
        font-size: 14px;
        color: var(--text-secondary);
        max-width: 520px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .hero-visual {
        display: none;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .games-grid--wide,
    .hot-grid,
    .instant-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .jackpot-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 18px 26px;
    }

    .footer {
        padding: 28px 20px 40px;
    }

    .footer-main {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .topbar {
        padding: 12px 16px;
    }
    
    .topbar-logo img {
        width: 70px;
    }
    
    .topbar-actions {
        gap: 6px;
    }
    
    .topbar-actions .btn {
        padding: 8px 12px;
        font-size: 10px;
    }

    .content {
        padding: 20px 16px 50px;
    }

    .hero-card {
        padding: 0;
        border-radius: 22px;
    }

    .hero-card::before {
        display: none;
    }

    .hero-content {
        padding: 16px;
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .hero-mobile-image {
        display: block;
        text-align: center;
        background: none;
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
        order: 1;
    }

    .hero-mobile-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        display: block;
    }

    .hero-bubble {
        padding: 16px;
        font-size: 13px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(204, 214, 245, 0.6);
        box-shadow: 0 18px 40px rgba(129, 150, 255, 0.18);
        text-align: center;
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
        order: 2;
    }

    .hero-title-desktop,
    .hero-text-desktop {
        display: none;
    }

    .hero-title-mobile,
    .hero-text-mobile {
        display: block;
    }

    .hero-title-mobile {
        font-size: clamp(18px, 7vw, 24px);
        line-height: 1.3;
        text-align: center;
        font-weight: 800;
        color: var(--text-primary);
        margin-bottom: 16px;
    }

    .hero-text-mobile {
        font-size: 13px;
        color: var(--text-secondary);
        max-width: 520px;
        line-height: 1.6;
        margin-bottom: 24px;
        text-align: center;
    }

    .hero-badge {
        font-size: 10px;
        padding: 8px 14px;
    }

    .hero-visual {
        display: none;
    }

    .info-card,
    .reason-card {
        padding: 22px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

/* Content Section Styles */
.content-section {
    padding: 60px 0;
    background: var(--bg-main);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.content-header {
    margin-bottom: 40px;
}

.content-header > div {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.2;
}

.content-subheader {
    margin: 50px 0 30px;
}

.content-subheader > div {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.content-text {
    margin-bottom: 40px;
}

.content-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.content-list {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.content-list li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.content-list li::before {
    content: '•';
    color: var(--accent-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.bonus-table {
    margin: 30px 0;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 25px rgba(129, 150, 255, 0.1);
}

.bonus-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.bonus-table th,
.bonus-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--stroke-soft);
}

.bonus-table th {
    background: linear-gradient(96deg, rgba(75, 107, 255, 0.1) 0%, rgba(255, 138, 31, 0.1) 100%);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bonus-table td {
    font-size: 15px;
    color: var(--text-secondary);
}

.bonus-table tr:last-child td {
    border-bottom: none;
}

.faq-section {
    margin-top: 60px;
}

.faq-item {
    margin-bottom: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke-soft);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(129, 150, 255, 0.1);
}

.faq-question {
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    background: linear-gradient(96deg, rgba(75, 107, 255, 0.05) 0%, rgba(255, 138, 31, 0.05) 100%);
    border-bottom: 1px solid var(--stroke-soft);
}

.faq-answer {
    padding: 20px 24px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Responsive Styles for Content Section */
@media (max-width: 1100px) {
    .content-wrapper {
        padding: 0 30px;
    }
    
    .content-header > div {
        font-size: 32px;
    }
    
    .content-subheader > div {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 40px 0;
    }
    
    .content-wrapper {
        padding: 0 20px;
    }
    
    .content-header > div {
        font-size: 28px;
    }
    
    .content-subheader > div {
        font-size: 22px;
    }
    
    .content-text p {
        font-size: 15px;
    }
    
    .bonus-table {
        font-size: 14px;
    }
    
    .bonus-table th,
    .bonus-table td {
        padding: 12px 16px;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 16px 20px;
    }
    
    .faq-answer {
        font-size: 15px;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 30px 0;
    }
    
    .content-wrapper {
        padding: 0 16px;
    }
    
    .content-header > div {
        font-size: 24px;
    }
    
    .content-subheader > div {
        font-size: 20px;
    }
    
    .content-text p {
        font-size: 14px;
    }
    
    .bonus-table {
        font-size: 12px;
    }
    
    .bonus-table th,
    .bonus-table td {
        padding: 10px 12px;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 14px 16px;
    }
    
    .faq-answer {
        font-size: 14px;
        padding: 14px 16px;
    }
}

/* Styles pour le contenu français détaillé */
.french-content {
    margin: 60px 0;
    padding: 0 24px;
}

.content-article {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-soft);
    line-height: 1.7;
}

.content-article h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-article h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 48px 0 24px 0;
    border-bottom: 2px solid var(--stroke-soft);
    padding-bottom: 12px;
}

.content-article h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 36px 0 18px 0;
}

.content-article h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px 0;
}

.content-article h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 18px 0 12px 0;
}

.content-article h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 12px 0 8px 0;
}

.content-article p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.content-article ul, .content-article ol {
    margin: 16px 0 16px 24px;
    color: var(--text-secondary);
}

.content-article li {
    margin-bottom: 8px;
}

.content-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: var(--bg-card-alt);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content-article th {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    color: white;
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.content-article td {
    padding: 12px;
    border-bottom: 1px solid var(--stroke-soft);
    color: var(--text-secondary);
}

.content-article tr:last-child td {
    border-bottom: none;
}

.content-article tr:nth-child(even) {
    background: rgba(75, 107, 255, 0.02);
}

.content-article strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .french-content {
        margin: 40px 0;
        padding: 0 16px;
    }
    
    .content-article {
        padding: 24px;
        border-radius: var(--radius-md);
    }
    
    .content-article h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .content-article h2 {
        font-size: 1.5rem;
        margin: 32px 0 20px 0;
    }
    
    .content-article h3 {
        font-size: 1.25rem;
        margin: 24px 0 16px 0;
    }
    
    .content-article {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .content-article table {
        font-size: 0.85rem;
        min-width: 600px;
        white-space: nowrap;
    }
    
    .content-article th, 
    .content-article td {
        padding: 8px 6px;
        white-space: nowrap;
        min-width: 100px;
    }
}
