
/* Millioner - Shared Styles for All Languages */

:root {
  /* Бэкграунды */
  --bg-0: #091423; /* общий фон/topbar/sidebar */
  --bg-1: #0b1727; /* панели/внутренние блоки */
  --bg-card: #050b14; /* фон карточек/оверлеев */
  --bg-chip: #203e5a; /* чипы под баннером */

  /* Текст */
  --text-0: #e6f0ff; /* основной светлый текст */
  --text-1: #9db6d6; /* второстепенный текст */
  --muted:  #7a92b2; /* подписи/иконки */

  /* Акценты */
  --accent-gold: #e2bf29; /* золото (рамки/медали) */
  --accent-green: #249c3d; /* CTA («CSATLAKOZZ MOST») */
  --accent-cyan: #66d1ff; /* вторичный подсвет */

  /* Прочее */
  --stroke: #17263a;  /* тонкие бордеры 1px */
  --shadow: 0 8px 24px rgba(0,0,0,.35);

  /* Радиусы и типографика */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;

  --fz-12: 12px;
  --fz-14: 14px;
  --fz-16: 16px;
  --fz-18: 18px;
  --fz-24: 24px;
}

* { 
    box-sizing: border-box;
}

html, body { 
    height: 100%; 
}

body {
    margin: 0; 
    background: var(--bg-0); 
    color: var(--text-0);
    font-family: 'Outfit', 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: var(--fz-14);
    font-weight: 400;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga' 1, 'kern' 1, 'calt' 1, 'ss01' 1;
    text-rendering: optimizeLegibility;
}

/* Skip link */
.skip {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent-green);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: var(--r-sm);
    z-index: 1000;
}

.skip:focus {
    top: 6px;
}

/* Layout */
.layout {
    display: flex;
    min-height: 60dvh;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 248px;
    height: 100vh;
    background: var(--bg-0);
    border-right: 1px solid var(--stroke);
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
}

.content { 
    margin-left: 248px;
    flex: 1;
    display: flex;
    flex-direction: column;
  
}

/* Sidebar */
.sidebar__logo {
    padding: 23px;
    border-bottom: 1px solid var(--stroke);
    text-align: center;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* Sidebar menu */
.menu { 
    display: flex;
    flex-direction: column;
    gap: 4px; 
    padding: 16px 12px; 
    flex: 1;
}

.menu__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px; 
    border-radius: var(--r-md); 
    color: var(--text-1);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: var(--fz-14);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.menu__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(226, 191, 41, 0.1) 0%, rgba(226, 191, 41, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu__item .icon { 
    width: 20px; 
    height: 20px; 
    color: var(--muted);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.menu__item span {
    position: relative;
    z-index: 1;
}

.menu__item:hover { 
    background: rgba(15, 35, 55, 0.6);
    color: var(--text-0);
    transform: translateX(4px);
}

.menu__item:hover::before {
    opacity: 1;
}

.menu__item:hover .icon {
    color: var(--accent-cyan);
    transform: scale(1.1);
}

.menu__item--active { 
    background: linear-gradient(135deg, rgba(15, 35, 55, 0.8) 0%, rgba(15, 35, 55, 0.6) 100%);
    color: #fff; 
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.menu__item--active::after {
    content: ""; 
    position: absolute;
    inset: 0 auto 0 0; 
    width: 3px; 
    background: linear-gradient(180deg, var(--accent-gold) 0%, #ffd700 100%);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px rgba(226, 191, 41, 0.4);
}

.menu__item--active .icon {
    color: var(--accent-gold);
}

.menu__item--active span {
    font-weight: 600;
}

.sidebar__footer {
    padding: 20px 16px;
    border-top: 1px solid var(--stroke);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

.lang, .support {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-1);
    font-size: var(--fz-12);
    cursor: pointer;
    border-radius: var(--r-sm);
    transition: all 0.3s ease;
    position: relative;
}

.lang:hover, .support:hover {
    background: rgba(15, 35, 55, 0.6);
    color: var(--text-0);
}

.flag-img {
    width: 32px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px;
}

.support .icon {
    width: 24px;
    height: 24px;
}

/* Topbar */
.topbar {
    position: fixed; 
    top: 0; 
    left: 248px;
    right: 0;
    z-index: 50;
    background: var(--bg-0);
    border-bottom: 1px solid var(--stroke);
}

.topbar__inner {
    max-width: 100%;
    margin: 0;
    padding: 16px 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.topbar__right {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--text-0);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-logo {
    display: none;
    width: auto;
    object-fit: contain;
}

.topbar__left {
    display: none;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.is-visible {
    display: block;
    opacity: 1;
}

/* Search */
.search {
    position: relative;
    width: min(400px, 40vw);
}

.search .icon {
    position: absolute; 
    left: 12px; 
    top: 50%; 
    transform: translateY(-50%);
    width: 18px; 
    height: 18px; 
    color: var(--muted);
}

.search input {
    width: 100%; 
    height: 40px; 
    padding: 0 12px 0 36px;
    color: var(--text-0); 
    background: #091322; 
    border: 1px solid var(--stroke);
    border-radius: var(--r-sm);
    font-size: var(--fz-14);
    font-family: 'Outfit', 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
}

.search input:focus { 
    outline: none; 
    box-shadow: 0 0 0 2px rgba(102,209,255,.25); 
}

/* Auth buttons */
.auth { 
    display: flex; 
    gap: 12px; 
}

.btn {
    height: auto; 
    min-width: 160px;
    padding: 12px 28px; 
    border-radius: 50px; 
    border: 2px solid transparent;
    font-size: 23.5px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--ghost { 
    background: linear-gradient(180deg, #4CC1F9 0%, #007BFF 100%);
    border: 2px solid rgba(212, 175, 55, 0.8);
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
    background: linear-gradient(180deg, #6DD5FF 0%, #0056b3 100%);
    transform: scale(1.03);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), 0 4px 12px rgba(76, 193, 249, 0.3);
}

.btn--primary { 
    background: #18833c;
    border: none;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 6px rgba(24, 131, 60, 0.15);
    position: relative;
    overflow: hidden;
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn--primary:hover {
    background: #22c55e;
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 3px 10px rgba(34, 197, 94, 0.2);
}

.btn--primary:hover::before {
    left: 100%;
}

/* Sparkle Button Variables */
:root {
    --transition: 0.25s;
    --spark: 1.8s;
}

.sparkle-button {
    --cut: 0.1em;
    --active: 0;
    --bg: radial-gradient(
            40% 50% at center 100%,
            hsl(140 calc(var(--active) * 80%) calc((var(--active) * 25%) + 35%)),
            transparent
        ),
        radial-gradient(
            80% 100% at center 120%,
            hsl(140 calc(var(--active) * 70%) calc((var(--active) * 20%) + 30%)),
            transparent
        ),
        hsl(140 60% 35%);
    position: relative;
    width: 100%;
}

.btn--cta {
    background: var(--bg);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
    border: 0;
    cursor: pointer;
    padding: 1.2em 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25em;
    white-space: nowrap;
    border-radius: 100px;
    position: relative;
    width: 100%;
    box-shadow: 0 0 calc(var(--active) * 6em) calc(var(--active) * 3em) hsl(140 80% 50% / 0.75),
        0 0.05em 0 0 hsl(140 calc(var(--active) * 97%) calc((var(--active) * 50%) + 30%)) inset,
        0 -0.05em 0 0 hsl(140 calc(var(--active) * 97%) calc(var(--active) * 60%)) inset;
    transition: box-shadow var(--transition), scale var(--transition), background var(--transition);
    scale: calc(1 + (var(--active) * 0.1));
}

.btn--cta:active {
    scale: 1;
}

svg {
    overflow: visible !important;
}

.sparkle path {
    color: #ffffff;
    transform-box: fill-box;
    transform-origin: center;
    fill: currentColor;
    stroke: currentColor;
    animation-delay: calc((var(--transition) * 1.5) + (var(--delay) * 1s));
    animation-duration: 0.6s;
    transition: color var(--transition);
}

.btn--cta:is(:hover, :focus-visible) path {
    animation-name: bounce;
}

@keyframes bounce {
    35%, 65% {
        scale: var(--scale);
    }
}

.sparkle path {
    --scale: 1.5;
    --delay: 0.1;
    --base: 40%;
}

.btn--cta:before {
    content: "";
    position: absolute;
    inset: -0.25em;
    z-index: -1;
    border: 0.25em solid hsl(140 80% 50% / 0.5);
    border-radius: 100px;
    opacity: var(--active, 0);
    transition: opacity var(--transition);
}

.spark {
    position: absolute;
    inset: 0;
    border-radius: 100px;
    rotate: 0deg;
    overflow: hidden;
    mask: linear-gradient(white, transparent 50%);
    animation: flip calc(var(--spark) * 2) infinite steps(2, end);
}

@keyframes flip {
    to {
        rotate: 360deg;
    }
}

.spark:before {
    content: "";
    position: absolute;
    width: 200%;
    aspect-ratio: 1;
    top: 0%;
    left: 50%;
    z-index: -1;
    translate: -50% -15%;
    rotate: 0;
    transform: rotate(-90deg);
    opacity: calc((var(--active)) + 0.4);
    background: conic-gradient(from 0deg, transparent 0 340deg, white 360deg);
    transition: opacity var(--transition);
    animation: rotate var(--spark) linear infinite both;
}

.spark:after {
    content: "";
    position: absolute;
    inset: var(--cut);
    border-radius: 100px;
}

.backdrop {
    position: absolute;
    inset: var(--cut);
    background: #18833c;
    border-radius: 100px;
    transition: background var(--transition);
}

@keyframes rotate {
    to {
        transform: rotate(90deg);
    }
}

.btn--cta:is(:hover, :focus-visible) {
    --active: 1;
    --play-state: running;
}

.btn--cta:is(:hover, :focus-visible) ~ :is(.bodydrop, .particle-pen) {
    --active: 1;
    --play-state: running;
}

.bodydrop {
    display: none;
}

.particle-pen {
    position: absolute;
    width: 200%;
    aspect-ratio: 1;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    -webkit-mask: radial-gradient(white, transparent 65%);
    mask: radial-gradient(white, transparent 65%);
    z-index: -1;
    opacity: var(--active, 0);
    transition: opacity var(--transition);
    pointer-events: none;
}

.particle {
    fill: white;
    width: calc(var(--size, 0.25) * 1rem);
    aspect-ratio: 1;
    position: absolute;
    top: calc(var(--y) * 1%);
    left: calc(var(--x) * 1%);
    opacity: var(--alpha, 1);
    animation: float-out calc(var(--duration, 1) * 1s) calc(var(--delay) * -1s) infinite linear;
    transform-origin: var(--origin-x, 1000%) var(--origin-y, 1000%);
    z-index: -1;
    animation-play-state: var(--play-state, paused);
}

.particle path {
    fill: hsl(140 80% 70%);
    stroke: none;
}

.particle:nth-of-type(even) {
    animation-direction: reverse;
}

@keyframes float-out {
    to {
        rotate: 360deg;
    }
}

.text {
    translate: 2% -6%;
    letter-spacing: 0.01ch;
    background: linear-gradient(90deg, hsl(0 0% 98%), hsl(0 0% 88%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background var(--transition);
}

.btn--cta:is(:hover, :focus-visible) .text {
    background: linear-gradient(90deg, hsl(0 0% 100%), hsl(0 0% 95%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn--cta svg.sparkle {
    inline-size: 1.8em;
    translate: -15% -5%;
}

.btn--play {
    background: var(--accent-green); 
    color: #fff; 
    height: 36px; 
    padding: 0 16px; 
    border-radius: 10px; 
    border: 0; 
    font-weight: 600;
}

/* Main */
.main { 
    width: 100%;
    padding: 36px 24px 48px;
    margin-top: 80px;
}

.main > section,
.main > nav {
    width: 100%;
    padding: 0;
}

/* Hero */
.hero {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    padding: 0;
    height: 50vh;
}

.hero > .hero-banner {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.hero-banner {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-card);
    height: 100%;
}

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

.hero-content {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 700px;
    width: auto;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 40px 60px 48px;
    background: #091423;
    border-radius: 24px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: none;
    overflow: visible;
}

.hero-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(226, 191, 41, 0.05), transparent);
    border-radius: 20px;
    z-index: -1;
    pointer-events: none;
}

.badge {
    align-self: center; 
    background: rgba(226, 191, 41, 0.1);
    border: 1px solid rgba(226, 191, 41, 0.3);
    padding: 10px 24px; 
    border-radius: 6px; 
    font-size: 13px; 
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h2,
.hero-title { 
    margin: 0; 
    font-size: clamp(32px, 4vw, 56px); 
    line-height: 1.2; 
    color: #fff;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
    margin: 0 0 1em 0;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    font-weight: 400;
}

/* Chips */
.chips {
    margin-top: 12px; 
    display: grid; 
    grid-auto-flow: column; 
    gap: 8px; 
    overflow-x: auto; 
    padding-bottom: 8px;
    mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.chip {
    height: 32px; 
    padding: 0 14px; 
    background: var(--bg-chip); 
    border: 1px solid #214666;
    color: #cfe4ff; 
    border-radius: 999px; 
    display: inline-grid; 
    place-items: center; 
    gap: 8px; 
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: var(--fz-12);
}

.chip:hover {
    background: #254466;
    border-color: #2a4a70;
}

.chip.is-active { 
    outline: 2px solid rgba(102,209,255,.35); 
    background: #254466;
}

.chip .icon {
    width: 16px;
    height: 16px;
}

/* Sections + grid */
.section { 
    margin-top: 24px; 
}

.section__head {
    display: flex; 
    align-items: baseline; 
    justify-content: space-between; 
    margin-bottom: 12px;
}

.section h3 { 
    margin: 0;
    font-size: var(--fz-18); 
    color: var(--text-0);
    font-weight: 700;
}

.section__count { 
    color: var(--text-1); 
    font-size: var(--fz-12); 
}

.card-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

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

@media (max-width: 1600px) { 
    .card-grid { 
        grid-template-columns: repeat(7, 1fr);
    } 
}

@media (max-width: 1360px) { 
    .card-grid { 
        grid-template-columns: repeat(6, 1fr);
    } 
}

@media (max-width: 1024px) { 
    .card-grid { 
        grid-template-columns: repeat(4, 1fr);
    } 
}

@media (max-width: 640px) { 
    .card-grid { 
    grid-template-columns: repeat(2, 1fr);
    } 
}

.game-card {
    position: relative;
    border-radius: var(--r-md); 
    overflow: hidden; 
    background: var(--bg-card);
    outline: 1px solid rgba(255,255,255,.04);
    transition: all 0.2s ease;
    aspect-ratio: 2/3; /* Фиксированная пропорция как раньше */
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    outline-color: rgba(255,255,255,.08);
}

.game-card picture, 
.game-card img {
    display: block; 
    width: 100%; 
    height: auto; 
    aspect-ratio: 2/3; 
    object-fit: cover;
}

.game-card__overlay {
    position: absolute;
    inset: 0; 
    display: grid; 
    place-items: center;
    background: linear-gradient(to top, rgba(5,11,20,.8), transparent 40%);
    opacity: 0; 
    transition: .2s ease;
}

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

.game-card__rank {
    position: absolute; 
    left: 8px; 
    bottom: 8px; 
    width: 36px; 
    height: 36px; 
    border-radius: 50%;
    display: grid; 
    place-items: center; 
    font-weight: 800;
    color: #07101c; 
    background: radial-gradient(circle at 30% 30%, #fff8cc, var(--accent-gold));
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
    font-size: var(--fz-14);
}

.game-card__ribbon {
    position: absolute; 
    top: 8px; 
    right: -32px; 
    transform: rotate(45deg);
    background: linear-gradient(180deg, #ffe071, var(--accent-gold));
    color: #221; 
    font-size: 11px; 
    font-weight: 700;
    padding: 4px 40px;
}

/* Mobile/Tablet adaptations */
@media (max-width: 1024px) {
    .layout {
        flex-direction: column;
    }
    
    .sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: 84vw;
        max-width: 320px;
        transform: translateX(-100%);
        z-index: 1000;
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .content {
        margin-left: 0;
    }
    
    .topbar {
        left: 0;
    }
    
    .topbar__inner {
        padding: 12px 16px;
        justify-content: space-between;
    }
    
    .topbar__right {
        gap: 12px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .search {
        width: min(300px, 50vw);
    }
    
    .chips {
        margin-left: 16px;
        margin-right: 16px;
    }
    
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        margin: 0 16px;
    }
    
 
    
    .topbar__inner {
        padding: 12px 16px;
    }
    
    .search {
        width: min(400px, 60vw);
    }
    
    .main {
        padding: 16px 16px 48px;
    }
    
    .chips {
        mask-image: none;
        scrollbar-width: thin;
    }
    
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .game-card__rank {
        width: 28px;
        height: 28px;
        font-size: var(--fz-12);
    }
}

@media (max-width: 768px) {
    /* Performance optimizations */
    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Reduce repaints */
    body {
        overflow-x: hidden;
    }
    
    /* Hide sidebar on mobile */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        will-change: transform;
    display: none;
}

    .sidebar.is-open {
        display: block;
        transform: translateX(0);
    }
    
    /* Adjust content for mobile */
    .content {
        margin-left: 0;
    }
    
    .topbar {
        left: 0;
    }
    
    /* Mobile header */
    .topbar__inner {
        padding: 12px 16px;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .topbar__left {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        justify-content: center;
        padding-bottom: 8px;
    }
    
    .mobile-logo {
        display: block !important;
        height: 32px;
        width: auto;
    }
    
    .hamburger {
        display: flex !important;
        flex-shrink: 0;
    }
    
    /* Hide search on mobile */
    .search {
    display: none;
}

    .topbar__right {
        width: 100%;
    }
    
    /* Auth buttons styling */
    .auth {
        display: flex;
        gap: 8px;
        width: 100%;
    }
    
    .btn {
        padding: 0 16px;
        font-size: 28px;
        min-width: auto;
        flex: 1;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn--primary {
        font-size: 21.5px;
        padding: 0 16px !important;
    }
    
    /* Sidebar footer mobile */
    .sidebar .flag-img {
        width: 64px;
        height: 48px;
    }
    
    .sidebar .support .icon {
        width: 48px;
        height: 48px;
    }
    
    .lang, .support {
        padding: 16px;
        font-size: 14px;
    }
    
    /* Section titles mobile adjustments */
    .section-title-tertiary::before {
        font-size: 1.2rem;
    }
    
    /* Main content */
    .main {
        padding-top: 110px;
        margin-top: 0;
    }
    
    /* Hero section */
    .hero {
        height: auto !important;
        min-height: auto;
        margin-top: 120px;
    }
    
    .hero-banner {
        height: auto !important;
        min-height: auto;
        border-radius: 16px;
        background: #4CC1F9 !important;
        padding: 24px 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-img {
        display: none !important;
    }
    
    .hero-content {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding: 32px 24px 36px !important;
        gap: 14px;
        text-align: center;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(9, 20, 35, 0.95) !important;
    border-radius: 20px;
    }
    
    .hero-content h2,
    .hero-title {
        font-size: clamp(22px, 6vw, 28px) !important;
    text-align: center;
        margin: 0 !important;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 14px !important;
        margin: 0 0 1em 0 !important;
        text-align: center;
        line-height: 1.5;
    }
    
    .badge {
        padding: 8px 14px !important;
        font-size: 11px !important;
        align-self: center;
    }
    
    /* Sparkle button mobile - simplified */
    .sparkle-button {
        align-self: center;
    }
    
    .btn--cta {
        height: 50px !important;
        min-width: 190px !important;
        padding: 0 30px !important;
        font-size: 15px !important;
        background: var(--accent-green) !important;
        border: none !important;
        color: white !important;
        border-radius: 50px !important;
        font-weight: 700 !important;
    text-transform: uppercase;
        box-shadow: 0 4px 12px rgba(24, 131, 60, 0.4);
    }
    
    .btn--cta:active {
        transform: scale(0.98);
    }
    
    .sparkle-button .text {
        font-size: 15px !important;
    }
    
    .sparkle {
        width: 16px;
        height: 16px;
        display: none !important;
    }
    
    /* Disable animations on mobile */
    .sparkle-button button,
    .sparkle-button button *,
    .sparkle,
    .spark,
    .backdrop,
    .bodydrop {
        animation: none !important;
        will-change: auto !important;
    }
    
    .particle,
    .particle-pen {
        display: none !important;
    }
    
    .btn--cta .spark,
    .btn--cta .backdrop,
    .bodydrop {
        display: none !important;
    }
    
    /* Disable hover effects on mobile */
    .game-card:hover {
        transform: none !important;
        box-shadow: none !important;
        will-change: auto !important;
    }
    
    .game-card__overlay {
        display: none !important;
    }
    
    /* Hide unnecessary elements for performance */
    .content-wrapper,
    footer {
        content-visibility: auto;
        contain-intrinsic-size: 0 1000px;
    }
    
    /* Card grid */
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    /* Chips */
    .chips {
        gap: 6px;
    }
    
    .chip {
        height: 28px;
        padding: 0 12px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    /* Smaller screens adjustments */
    .hero {
        height: auto;
        min-height: 380px;
    }
    
    .hero-banner {
        min-height: 380px;
    }
    
    .hero-content {
        padding: 24px 20px 28px;
        width: calc(100% - 32px);
    }
    
    .hero-content h2,
    .hero-title {
        font-size: clamp(18px, 5vw, 22px);
    }
    
    .hero-description {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .btn--cta {
        height: 44px;
        min-width: 160px;
        padding: 0 24px;
        font-size: 13px;
    }
    
    .sparkle-button .text {
        font-size: 13px;
    }
    
    .sparkle {
        width: 14px;
        height: 14px;
    }
    
    .badge {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    .sidebar {
        width: 85vw;
    }
    
    .topbar__inner {
        padding: 10px 12px;
    }
    
    .mobile-logo {
        height: 28px;
        width: auto;
    }
    
    .btn {
        padding: 0 12px;
        font-size: 26px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn--primary {
        font-size: 20px;
    }
    
    .main {
        padding: 8px 8px 24px;
    }
    
    
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .game-card__rank {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .game-card__ribbon {
        font-size: 9px;
        padding: 2px 30px;
    }
}

/* Legacy styles removed - using new design system */

/* Content wrapper styles for existing content */
.content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem 0 2rem;
    background: transparent;
    content-visibility: auto;
    contain-intrinsic-size: 0 800px;
    margin-top: 0;
    margin-bottom: 0;
}

.content-block {
    margin-bottom: 0;
}

.main-title {
    color: var(--accent-gold);
    font-size: 3rem;
    margin: 1rem 0 1rem 0;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title-primary {
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    border-left: 4px solid var(--accent-gold);
    padding-left: 1rem;
}

.section-title-secondary {
    color: #b5d1df;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-bottom: 2px solid rgba(76, 193, 249, 0.3);
    padding-bottom: 0.5rem;
}

.section-title-tertiary {
    color: #caa95e;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    position: relative;
    padding-left: 2rem;
}

.section-title-tertiary::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #caa95e;
    font-size: 1.5rem;
}

.subsection-title {
    color: #94cce7;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding-left: 1rem;
    border-left: 3px solid rgba(148, 204, 231, 0.6);
}

.content-wrapper p {
    color: #cedae1;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    font-family: 'Outfit', 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-feature-settings: 'liga' 1, 'kern' 1, 'calt' 1, 'ss01' 1;
    text-rendering: optimizeLegibility;
    font-weight: 400;
}

/* Horizontal Bonus Blocks */
.bonus-block-horizontal {
    margin: 2rem 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
}

.bonus-block-horizontal:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.04) 100%);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.bonus-content-horizontal {
    flex: 1;
}

.bonus-badge {
    background: linear-gradient(135deg, #D4AF37 0%, #C9A961 100%);
    color: #000;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
}

.bonus-title-horizontal {
    color: #E2C174;
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bonus-description-horizontal {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.bonus-features-horizontal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.bonus-features-horizontal li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding-left: 1.5rem;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.bonus-features-horizontal li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
    font-size: 1rem;
}

.bonus-claim-btn-horizontal {
    display: inline-block;
    background: linear-gradient(180deg, #4CC1F9 0%, #007BFF 100%);
    border: 2px solid rgba(212, 175, 55, 0.8);
    border-radius: 50px;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.bonus-claim-btn-horizontal:hover {
    background: linear-gradient(180deg, #6DD5FF 0%, #0056b3 100%);
    transform: scale(1.03);
}

/* Info Table */
.info-table-wrapper {
    margin: 2rem 0;
    overflow-x: auto;
}

.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03) 0%, rgba(212, 175, 55, 0.01) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    overflow: hidden;
}

.info-table tr {
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

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

.info-table td {
    padding: 1.2rem 1.5rem;
}

.table-label {
    color: #E2C174;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    width: 30%;
    border-right: 1px solid rgba(212, 175, 55, 0.15);
    background: rgba(212, 175, 55, 0.05);
}

.table-value {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-table tr:hover {
    background: rgba(212, 175, 55, 0.08);
}

.info-table tr:hover .table-label {
    color: #F4E4C1;
}

/* FAQ Section */
.faq-section {
    max-width: 1400px;
    width: 100%;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(20, 30, 50, 0.5);
    border: 1px solid rgba(76, 193, 249, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(76, 193, 249, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #4CC1F9;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    color: var(--text-1);
    line-height: 1.6;
    font-size: 1rem;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}


/* Info Table */
.info-table-wrapper {
    margin: 2rem 0;
    overflow-x: auto;
}

.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03) 0%, rgba(212, 175, 55, 0.01) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    overflow: hidden;
}

.info-table tr {
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

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

.info-table td {
    padding: 1.2rem 1.5rem;
}

.table-label {
    color: #E2C174;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    width: 30%;
    border-right: 1px solid rgba(212, 175, 55, 0.15);
    background: rgba(212, 175, 55, 0.05);
}

.table-value {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-table tr:hover {
    background: rgba(212, 175, 55, 0.08);
}

.info-table tr:hover .table-label {
    color: #F4E4C1;
}


/* Footer */
footer {
    background: var(--bg-0);
    border-top: 1px solid var(--stroke);
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Payment Methods Section */
.footer-payments-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.payment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.payment-item:hover {
    transform: translateY(-2px);
}

.payment-icon {
    font-size: 1.5rem;
    color: #D4AF37;
}

.payment-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

/* Middle Section - Disclaimer + Brand */
.footer-middle {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.disclaimer-section {
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 2rem;
}

.disclaimer-title {
    color: #D4AF37;
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    margin: 0 0 1.2rem 0;
    letter-spacing: 0.5px;
}

.disclaimer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 2rem;
}

.footer-logo {
    height: 80px;
    width: auto;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.footer-contact {
    color: #D4AF37;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    text-align: center;
}

/* Responsible Gaming Section */
.footer-responsible {
    margin-bottom: 2rem;
}

.helplines-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.helpline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.helpline-item:hover {
    transform: translateY(-2px);
}

.helpline-flag {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.helpline-name {
    color: #D4AF37;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.helpline-number {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.helpline-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    text-align: center;
}

.helpline-link:hover {
    color: #D4AF37;
    text-decoration: underline;
}

.age-badge-small {
    background: linear-gradient(135deg, #D4AF37 0%, #C9A961 100%);
    color: #000;
    font-size: 1rem;
    font-weight: 900;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    margin: 0.5rem 0;
}

.footer-bottom {
    padding: 2rem 0 0 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-top: 0.3rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-content,
    .content-wrapper {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 0 1rem;
        margin: 0;
        width: 100%;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .section-title-primary {
        font-size: 1.4rem;
        padding-left: 0.8rem;
        border-left-width: 3px;
    }

    .section-title-secondary {
        font-size: 1.3rem;
    }

    .section-title-tertiary {
        font-size: 1.2rem;
        padding-left: 1.5rem;
    }
    
    .section-title-tertiary::before {
        font-size: 1.1rem;
        top: 0;
    }

    .subsection-title {
        font-size: 1rem;
        padding-left: 0.8rem;
    }

    .content-wrapper p {
        font-size: 1.05rem;
    }

    .info-table-wrapper {
        overflow-x: auto;
        margin: 1.5rem 0;
        -webkit-overflow-scrolling: touch;
    }

    .info-table {
        min-width: 100%;
        font-size: 0.85rem;
    }

    .info-table td {
        padding: 1rem 0.8rem;
        display: block;
        width: 100% !important;
        border-right: none !important;
    }

    .table-label {
        font-size: 0.85rem;
        font-weight: 800;
        background: transparent !important;
        padding-bottom: 0.5rem !important;
    }

    .table-value {
        font-size: 0.8rem;
        padding-top: 0 !important;
        padding-bottom: 1rem !important;
    }

    .info-table tr {
        display: block;
        border-bottom: 2px solid rgba(212, 175, 55, 0.2) !important;
    }

    .bonus-block-horizontal {
        flex-direction: column;
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }

    .bonus-title-horizontal {
        font-size: 1.3rem;
    }

    .bonus-description-horizontal {
        font-size: 0.9rem;
    }

    .bonus-features-horizontal {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .bonus-features-horizontal li {
        font-size: 0.8rem;
    }

    .bonus-claim-btn-horizontal {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .faq-grid {
        flex-direction: column;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.2rem;
    }

    .faq-answer {
        font-size: 0.9rem;
        padding: 0 1.2rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.2rem 1.2rem 1.2rem;
    }

    footer {
        padding: 0;
        width: 100%;
        overflow-x: hidden;
    }

    .footer-content {
        padding: 2rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-payments-section {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
        width: 100%;
    }

    .payment-grid {
        gap: 1rem;
        justify-content: center;
        width: 100%;
    }

    .payment-item {
        gap: 0.4rem;
        flex: 0 0 auto;
    }

    .payment-icon {
        font-size: 1.2rem;
    }

    .payment-name {
        font-size: 0.65rem;
    }

    .footer-middle {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .disclaimer-section,
    .footer-brand-section {
        padding: 1.5rem 1rem;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .disclaimer-title {
        font-size: 1.1rem;
        text-align: center;
    }

    .disclaimer-text {
        font-size: 0.85rem;
        line-height: 1.6;
        text-align: center;
    }

    .footer-logo {
        height: 55px;
    }

    .footer-contact {
        font-size: 0.85rem;
    }

    .footer-responsible {
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .helplines-grid {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .helpline-item {
        flex: none;
        width: 100%;
    }

    .helpline-flag {
        font-size: 1.5rem;
    }

    .helpline-name {
        font-size: 0.8rem;
    }

    .helpline-number {
        font-size: 0.9rem;
    }

    .helpline-link {
        font-size: 0.75rem;
    }

    .age-badge-small {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    .footer-bottom {
        padding: 1.5rem 1rem 1.5rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-bottom p {
        font-size: 0.75rem;
        padding: 0 0.5rem;
    }

    .copyright-text {
        font-size: 0.7rem;
    }

    .cookie-banner {
        padding: 1rem 0;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
    }

    .cookie-icon {
        font-size: 2rem;
    }

    .cookie-title {
        font-size: 1rem;
    }

    .cookie-description {
        font-size: 0.8rem;
    }

    .cookie-accept-btn {
        width: 100%;
        padding: 10px 30px;
        font-size: 0.9rem;
    }

    .game-container {
        padding: 1.5rem;
    }

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

@media (max-width: 480px) {
    header {
        padding: 0.8rem;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
    }

    .logo {
        height: 50px;
    }

    .logo-image {
        max-width: 140px;
    }

    .language-selector {
        margin-left: 0;
    }

    .header-right {
        justify-content: center;
        margin-left: 0;
    }

    .btn-login,
    .btn-register {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }


    .content-wrapper {
        padding: 0 0.8rem;
        margin: 0;
        width: 100%;
    }

    .main-title {
        font-size: 1.4rem;
    }

    .section-title-primary {
        font-size: 1.1rem;
        padding-left: 0.6rem;
    }

    .section-title-secondary {
        font-size: 1rem;
    }

    .section-title-tertiary {
        font-size: 0.95rem;
        padding-left: 1.2rem;
    }
    
    .section-title-tertiary::before {
        font-size: 0.9rem;
        top: 0;
    }

    .subsection-title {
        font-size: 0.9rem;
    }

    .content-wrapper p {
        font-size: 0.95rem;
    }

    .bonus-block-horizontal {
        padding: 1rem;
        margin: 1rem 0;
    }

    .bonus-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
    }

    .bonus-title-horizontal {
        font-size: 1rem;
    }

    .bonus-description-horizontal {
        font-size: 0.8rem;
    }

    .bonus-features-horizontal li {
        font-size: 0.75rem;
    }

    .bonus-claim-btn-horizontal {
        font-size: 0.85rem;
        padding: 10px 20px;
    }

    .footer-content {
        padding: 1.5rem 0.8rem;
    }

    .footer-payments-section {
        padding-bottom: 1.5rem;
    }

    .payment-grid {
        gap: 0.8rem;
        justify-content: center;
    }

    .payment-icon {
        font-size: 1rem;
    }

    .payment-name {
        font-size: 0.6rem;
    }

    .disclaimer-section,
    .footer-brand-section {
        padding: 1.2rem 0.8rem;
        text-align: center;
    }

    .disclaimer-title {
        font-size: 1rem;
        text-align: center;
    }

    .disclaimer-text {
        font-size: 0.8rem;
        text-align: center;
    }

    .footer-logo {
        height: 50px;
    }

    .footer-contact {
        font-size: 0.8rem;
    }

    .helplines-grid {
        flex-direction: column;
        gap: 0.8rem;
    }

    .helpline-item {
        flex: none;
        width: 100%;
    }

    .helpline-flag {
        font-size: 1.3rem;
    }

    .helpline-name {
        font-size: 0.7rem;
    }

    .helpline-number {
        font-size: 0.8rem;
    }

    .helpline-link {
        font-size: 0.65rem;
    }

    .age-badge-small {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }

    .footer-bottom {
        padding: 1.2rem 0.8rem;
    }

    .footer-bottom p {
        font-size: 0.7rem;
        padding: 0 0.3rem;
    }

    .copyright-text {
        font-size: 0.65rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.98) 0%, rgba(26, 31, 58, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(212, 175, 55, 0.4);
    padding: 1.5rem 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cookie-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-title {
    color: #E2C174;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin: 0 0 0.5rem 0;
}

.cookie-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.cookie-accept-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #C9A961 100%);
    color: #000;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    padding: 12px 40px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.cookie-accept-btn:hover {
    background: linear-gradient(135deg, #E6B800 0%, #D4A017 100%);
    transform: scale(1.05);
    border-color: rgba(255, 215, 0, 0.5);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* Modern Luxury Font Override */
/* Luxury Gold Title Override */
.bonus-title-horizontal {
    background: linear-gradient(180deg, #c9e1ed 0%, #007BFF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 2.2rem !important;
}

/* Luxury Steps List */
.luxury-steps {
    list-style: none;
    counter-reset: luxury-counter;
    margin: 1.5rem 0;
    padding: 0;
}

.luxury-steps li {
    counter-increment: luxury-counter;
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.luxury-steps li::before {
    content: counter(luxury-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(180deg, #4CC1F9 0%, #007BFF 100%);
    border: 1px solid #d1a643;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0A1A2F;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 2px 8px rgba(212, 160, 23, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Video Slot Animation Styles */
.game-card--video {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.game-card--video:hover {
    transform: scale(1.05);
}

.game-card__video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--r-md);
    overflow: hidden;
}

.game-card__video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r-md);
    display: block;
}



/* Rank badge should stay on top */
.game-card--video .game-card__rank {
    z-index: 10;
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--accent-gold);
    color: var(--bg-0);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}


/* Very small mobile devices */
@media (max-width: 360px) {
    
    .hero {
        height: auto;
        min-height: 360px;
    }
    
    .hero-banner {
        min-height: 360px;
    }
    
    .hero-content {
        padding: 20px 16px 24px;
        width: calc(100% - 28px);
    }
    
    .hero-content h2,
    .hero-title {
        font-size: 16px;
    }
    
    .hero-description {
        font-size: 11px;
        line-height: 1.4;
    }
    
    .btn--cta {
        height: 40px;
        min-width: 140px;
        font-size: 12px;
        padding: 0 20px;
    }
    
    .sparkle-button .text {
        font-size: 12px;
    }
    
    .sparkle {
        width: 12px;
        height: 12px;
    }
    
    .badge {
        font-size: 9px;
        padding: 5px 10px;
    }
    
    .btn {
        padding: 0 12px;
        font-size: 26px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn--primary {
        font-size: 20px;
    }
    
    .mobile-logo {
        display: block !important;
        height: 28px;
        width: auto;
    }
}

/* Tablet landscape and small desktop */
@media (min-width: 769px) and (max-width: 1024px) {
    
    .sidebar {
        width: 220px;
    }
    
    .content {
        margin-left: 220px;
    }
    
    .topbar {
        left: 220px;
    }
}

/* Large desktop */
@media (min-width: 1440px) {
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
    .sidebar {
        width: 280px;
    }
    
    .content {
        margin-left: 280px;
    }
    
    .topbar {
        left: 280px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--stroke);
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--text-0);
}

.cookie-description {
    font-size: 13px;
    margin: 0;
    color: var(--muted);
    line-height: 1.4;
}

.cookie-accept-btn {
    background: var(--accent-green);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.cookie-accept-btn:hover {
    background: #27ae60;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 12px 16px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .cookie-icon {
        font-size: 24px;
    }
    
    .cookie-title {
        font-size: 14px;
    }
    
    .cookie-description {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .cookie-accept-btn {
        width: 100%;
        padding: 10px 24px;
    }
}


