/* ═══════════════════════════════════════════════════════════════════════
   components.css — 42 UI-компонента системы Electric Sky
   Структура:
     1. Buttons
     2. Header / Footer / Navigation
     3. Hero sections
     4. Content blocks (TLDR, TOC, callouts, stats, prose)
     5. Cards (game, provider, blog, tool, category, casino)
     6. Catalog (filter panel, grid, pagination, empty)
     7. Tables (comparison, rtp, feature matrix)
     8. Interactive (accordion, tabs, modal, tooltip, slider, lightbox, video, fake-link)
     9. Tools (provably-fair form, crash calculator)
    10. Forms (input, select, checkbox, search)
    11. Metrics (star, progress, score badge)
    12. Utilities (back-to-top, skeleton, 404)
   ═══════════════════════════════════════════════════════════════════════ */

/* =======================================================================
   1. BUTTONS
   ======================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 12px 22px;
    border-radius: var(--r-md);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
    user-select: none;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--grad-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}
.btn--primary:hover {
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
    color: #FFFFFF;
}

.btn--secondary {
    background: var(--surface);
    color: var(--primary);
    border-color: var(--border-strong);
}
.btn--secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
}
.btn--ghost:hover { background: var(--bg-alt); color: var(--primary); }

.btn--danger {
    background: var(--danger);
    color: #FFFFFF;
}

.btn--icon {
    width: 40px; height: 40px; padding: 0;
    border-radius: var(--r-md);
}

.btn--sm { padding: 8px 14px; font-size: var(--fs-xs); }
.btn--lg { padding: 16px 28px; font-size: var(--fs-md); border-radius: var(--r-lg); }

.btn--block { width: 100%; }

/* =======================================================================
   2. SITE HEADER — mobile-first + mega-dropdown desktop
   ======================================================================= */

/* Reset: убираем браузерные маркеры для всех списков в header/drawer */
.site-header ul,
.site-header ol,
.site-header li,
.drawer-nav ul,
.drawer-nav li,
.lang-switcher ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* Sticky-обёртка.
   ВАЖНО: никаких backdrop-filter / transform / filter / will-change здесь —
   иначе header становится containing block для fixed-потомков (drawer, mega-menu)
   и они позиционируются относительно хедера, а не viewport. */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    height: 64px;
    padding: 0 var(--container-pad);
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;   /* якорь для absolute-позиционирования mega-menu */
}

/* ────────── LOGO ────────── */
.site-header__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}
.site-header__logo img {
    display: block;
    height: 40px;
    width: auto;
}
.site-header__logo-placeholder {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 130px;
    height: 40px;
    padding: 4px 8px;
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.04), rgba(6, 182, 212, 0.04));
    line-height: 1;
    user-select: none;
}
.site-header__logo-placeholder-title {
    font-size: 10px;
    font-weight: var(--fw-bold);
    color: var(--primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.site-header__logo-placeholder-size {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

/* ────────── DESKTOP NAV (скрыта на mobile) ────────── */
.site-header__nav {
    display: none;
}
.site-header__menu {
    display: flex;
    gap: 2px;
}
.site-header__menu-item { position: static; }
.site-header__menu-item--has-children { position: relative; }
.site-header__menu-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text);
    border-radius: var(--r-md);
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast);
}
.site-header__menu-link:hover {
    background: var(--primary-50);
    color: var(--primary);
}
.site-header__menu-item.is-active > .site-header__menu-link {
    background: var(--primary-50);
    color: var(--primary);
}
.site-header__menu-caret {
    margin-left: 2px;
    opacity: 0.6;
    transition: transform var(--t-fast);
}
.site-header__menu-item--has-children:hover .site-header__menu-caret {
    transform: rotate(180deg);
    opacity: 1;
}

/* ────────── SUBMENU (desktop) ────────── */
.site-header__submenu {
    position: absolute;
    top: 100%;         /* прижат к нижней границе хедера — нет gap */
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.16);
    padding: var(--sp-5);
    margin-top: 10px;  /* визуальный отступ */
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--t-fast), visibility var(--t-fast), transform var(--t-fast);
    z-index: 50;
    pointer-events: none;
}
/* Невидимый мост между пунктом меню и submenu,
   чтобы курсор не терял hover пока переходит через gap */
.site-header__submenu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 16px;
}
.site-header__menu-item--has-children:hover > .site-header__submenu,
.site-header__menu-item--has-children:focus-within > .site-header__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* "All …" — pill-плашка в шапке */
.site-header__submenu-all {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin-bottom: var(--sp-4);
    font-size: 11px;
    font-weight: var(--fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-50);
    border-radius: var(--r-full);
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast);
}
.site-header__submenu-all:hover {
    background: var(--primary);
    color: #FFFFFF;
}

/* Flat (Tools / Providers / Comparisons) */
.site-header__submenu--tools_flat,
.site-header__submenu--providers_flat,
.site-header__submenu--comparisons_flat {
    left: 0;
    min-width: 260px;
    max-width: 340px;
}
.site-header__submenu-list { display: block; }
.site-header__submenu-list a {
    display: block;
    padding: 9px 12px;
    font-size: var(--fs-sm);
    color: var(--text);
    border-radius: var(--r-sm);
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast);
}
.site-header__submenu-list a:hover {
    background: var(--primary-50);
    color: var(--primary);
    padding-left: 16px;
}

/* MEGA-MENU (Games / Blog) — fixed относительно viewport, отцентровано по container.
   Используем fixed потому что header теперь НЕ containing block (убран backdrop-filter). */
.site-header__submenu--games_by_category,
.site-header__submenu--blog_by_category {
    position: fixed;
    top: var(--header-h);              /* 80px — сразу под desktop header */
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(10px);
    width: min(calc(var(--container-max) - 2 * var(--container-pad)), calc(100vw - 2 * var(--container-pad)));
    max-width: 1152px;
    margin-top: 0;
    padding: var(--sp-6);
}
.site-header__menu-item--has-children:hover > .site-header__submenu--games_by_category,
.site-header__menu-item--has-children:focus-within > .site-header__submenu--games_by_category,
.site-header__menu-item--has-children.is-hover > .site-header__submenu--games_by_category,
.site-header__menu-item--has-children:hover > .site-header__submenu--blog_by_category,
.site-header__menu-item--has-children:focus-within > .site-header__submenu--blog_by_category,
.site-header__menu-item--has-children.is-hover > .site-header__submenu--blog_by_category {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
/* Класс .is-hover добавляется JS-ом с задержкой,
   чтобы курсор успевал перейти с пункта меню на submenu через gap */
.site-header__menu-item--has-children.is-hover > .site-header__submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ────────── GAMES MEGA-MENU — фиксированная раскладка 5 колонок ────────── */
.site-header__games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0 var(--sp-6);
    align-items: start;
}
.site-header__games-col {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.site-header__games-col-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 8px;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: var(--fw-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 2px solid var(--primary-50);
}
.site-header__games-col-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background: var(--grad-primary);
    border-radius: 2px;
    flex-shrink: 0;
}
.site-header__games-col-title:not(:first-child) {
    margin-top: var(--sp-4);
}
.site-header__games-col-link {
    display: block;
    padding: 5px 10px;
    font-size: var(--fs-sm);
    color: var(--text);
    border-radius: var(--r-sm);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast);
}
.site-header__games-col-link:hover {
    background: var(--primary-50);
    color: var(--primary);
    padding-left: 14px;
}

/* Grid — для Blog и других mega, которые остались на старом шаблоне */
.site-header__submenu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5) var(--sp-6);
}
.site-header__submenu-grid--games {
    grid-template-columns: repeat(3, 1fr);
}
.site-header__submenu-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
/* FEATURED: крупная категория занимает весь ряд, игры разложены в 5 колонок */
.site-header__submenu-group--featured {
    grid-column: 1 / -1;
}
.site-header__submenu-group--featured .site-header__submenu-group-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px 8px;
}
.site-header__submenu-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 10px;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: var(--fw-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 2px solid var(--primary-50);
}
.site-header__submenu-group-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 14px;
    background: var(--grad-primary);
    border-radius: 2px;
}
.site-header__submenu-group-list a {
    display: block;
    padding: 6px 10px;
    font-size: var(--fs-sm);
    color: var(--text);
    border-radius: var(--r-sm);
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast);
}
.site-header__submenu-group-list a:hover {
    background: var(--primary-50);
    color: var(--primary);
    padding-left: 14px;
}

/* ────────── ACTIONS (lang + lucky + burger) ────────── */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.site-header__lucky {
    display: none;
    font-weight: var(--fw-semibold);
}
.site-header__lucky-icon { font-size: 1.1em; }

/* ────────── BURGER ────────── */
.site-header__burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 10px 8px;
    border-radius: var(--r-sm);
    gap: 5px;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.site-header__burger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--t-base), opacity var(--t-base);
}
.site-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ────────── MOBILE SECOND-TIER (Get Lucky) ────────── */
.site-header__mobile-cta {
    display: flex;
    justify-content: center;
    padding: 10px var(--container-pad);
    background: var(--surface);
    border-top: 1px solid var(--border-subtle);
}
.site-header__mobile-cta .btn {
    width: 90%;
    max-width: 500px;
}

/* ────────── MOBILE DRAWER — выезжает ПОД хедером, на всю оставшуюся высоту ────────── */
.site-header__drawer {
    position: fixed;
    top: var(--header-h-mobile);  /* 120px: 64px first-tier + ~56px mobile-cta */
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface);
    z-index: var(--z-drawer);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -2px 20px rgba(15, 23, 42, 0.08);
}
.site-header__drawer[hidden] { display: none; }

.drawer-nav { display: flex; flex-direction: column; }

.drawer-nav__list {
    flex: 1;
    padding: var(--sp-3) 0;
}
.drawer-nav__item + .drawer-nav__item {
    border-top: 1px solid var(--border-subtle);
}
.drawer-nav__link {
    display: flex;
    align-items: center;
    padding: var(--sp-4) var(--container-pad);
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    color: var(--text);
    text-decoration: none;
    transition: background var(--t-fast);
}
.drawer-nav__link:hover { background: var(--primary-50); color: var(--primary); }

.drawer-nav__details { width: 100%; }
.drawer-nav__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-4) var(--container-pad);
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    color: var(--text);
    cursor: pointer;
    user-select: none;
    list-style: none;
}
.drawer-nav__summary::-webkit-details-marker { display: none; }
.drawer-nav__summary::marker { content: ''; }
.drawer-nav__summary:hover { background: var(--primary-50); }

.drawer-nav__arrow {
    color: var(--text-muted);
    transition: transform var(--t-fast);
    font-size: 14px;
}
.drawer-nav__details[open] .drawer-nav__arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.drawer-nav__content {
    background: var(--bg-alt);
    padding: var(--sp-3) 0;
}
.drawer-nav__all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 var(--container-pad) var(--sp-3);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: var(--fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--surface);
    border: 1px solid var(--primary-50);
    border-radius: var(--r-full);
    text-decoration: none;
}
.drawer-nav__all:hover { background: var(--primary); color: #FFFFFF; border-color: var(--primary); }

.drawer-nav__group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: var(--sp-4) var(--container-pad) 6px;
    font-size: 11px;
    font-weight: var(--fw-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.drawer-nav__group-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background: var(--grad-primary);
    border-radius: 2px;
}
.drawer-nav__sublink {
    display: block;
    padding: 9px var(--container-pad) 9px calc(var(--container-pad) + 16px);
    font-size: var(--fs-sm);
    color: var(--text);
    text-decoration: none;
    transition: background var(--t-fast);
}
.drawer-nav__sublink:hover {
    background: var(--primary-50);
    color: var(--primary);
}

/* ────────── DESKTOP OVERRIDES (≥1024px) ────────── */
@media (min-width: 1024px) {
    .site-header__inner {
        height: var(--header-h);
        gap: var(--sp-5);
    }
    .site-header__logo img { height: 44px; }
    .site-header__logo-placeholder {
        width: 180px;
        height: 48px;
    }
    .site-header__logo-placeholder-title { font-size: 11px; }
    .site-header__logo-placeholder-size { font-size: 10px; }

    .site-header__nav { display: flex; flex: 1; justify-content: center; }
    .site-header__lucky { display: inline-flex; }
    .site-header__burger { display: none; }
    .site-header__mobile-cta { display: none; }
    .site-header__drawer { display: none !important; }
}

/* =======================================================================
   3. LANG SWITCHER (дивы, не select)
   ======================================================================= */
.lang-switcher { position: relative; }
.lang-switcher__current {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-md);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    color: var(--text);
    cursor: pointer;
    transition: border var(--t-fast), background var(--t-fast);
}
.lang-switcher__current:hover { border-color: var(--primary); background: var(--primary-50); }
.lang-switcher__code { letter-spacing: 0.04em; }
.lang-switcher__caret { font-size: 0.75em; color: var(--text-muted); transition: transform var(--t-fast); }
.lang-switcher__current[aria-expanded="true"] .lang-switcher__caret { transform: rotate(180deg); }

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 160px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    padding: 4px;
    z-index: 100;
    animation: fade-in var(--t-fast) ease both;
}
.lang-switcher__dropdown[hidden] { display: none; }
.lang-switcher__item {
    display: block;
    padding: 8px 12px;
    font-size: var(--fs-sm);
    color: var(--text);
    border-radius: var(--r-sm);
    text-decoration: none;
    transition: background var(--t-fast);
}
.lang-switcher__item:hover { background: var(--primary-50); color: var(--primary); }
.lang-switcher__item.is-active { background: var(--primary-50); color: var(--primary); font-weight: var(--fw-semibold); }

/* =======================================================================
   4. SITE FOOTER
   ======================================================================= */
.site-footer {
    background: #0F172A;
    color: #CBD5E1;
    padding: var(--sp-12) 0 var(--sp-6) 0;
    margin-top: var(--sp-16);
}
.site-footer__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    padding-bottom: var(--sp-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 640px) {
    .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
    .site-footer { padding: var(--sp-16) 0 var(--sp-8) 0; }
    .site-footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        padding-bottom: var(--sp-10);
    }
}
.site-footer__brand { text-decoration: none; }
.site-footer__brand img { height: 56px; filter: brightness(0) invert(1) opacity(0.95); }
.site-footer__brand-text {
    font-size: 1.4rem;
    font-weight: var(--fw-bold);
    color: #F8FAFC;
    letter-spacing: -0.02em;
}
.site-footer__brand-accent {
    background: linear-gradient(135deg, #818CF8 0%, #67E8F9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.site-footer__tagline { color: #94A3B8; font-size: var(--fs-sm); margin-top: var(--sp-3); }
.site-footer__heading {
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #F8FAFC;
    margin-bottom: var(--sp-4);
}
.site-footer__links { list-style: none !important; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: var(--sp-2); }
.site-footer__links a {
    color: #CBD5E1;
    font-size: var(--fs-sm);
    transition: color var(--t-fast);
    text-decoration: none;
}
.site-footer__links a:hover { color: var(--accent-light); }

.site-footer__bottom {
    padding-top: var(--sp-6);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-3);
    font-size: var(--fs-xs);
    color: #64748B;
}

   5. HERO SECTIONS
   ======================================================================= */
.hero {
    padding: var(--sp-16) 0 var(--sp-20) 0;
    background: var(--grad-bg-hero);
    position: relative;
    overflow: hidden;
}
.hero__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    position: relative;
}
.hero__eyebrow {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--r-full);
    margin-bottom: var(--sp-4);
}
.hero__title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    margin: 0 0 var(--sp-5) 0;
    letter-spacing: -0.03em;
}
.hero__title-accent {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__lead {
    color: var(--text-muted);
    font-size: var(--fs-lg);
    line-height: var(--lh-relaxed);
    margin: 0 0 var(--sp-8) 0;
}
.hero__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

.hero-page {
    padding: var(--sp-12) 0 var(--sp-8) 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-subtle);
}

.hero-game, .hero-provider {
    padding: var(--sp-12) 0;
    background: var(--grad-bg-hero);
}
.hero-game__layout, .hero-provider__layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--sp-10);
    align-items: center;
}
.hero-game__cover {
    aspect-ratio: 16/10;
    background: var(--surface);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.hero-game__cover img { width: 100%; height: 100%; object-fit: cover; }
.hero-game__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-4); }

/* =======================================================================
   6. CONTENT BLOCKS
   ======================================================================= */

/* TL;DR Box */
.tldr-box {
    padding: var(--sp-6);
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}
.tldr-box__label {
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--sp-3);
}

/* Key Takeaways */
.key-takeaways {
    padding: var(--sp-6);
    background: var(--primary-50);
    border-radius: var(--r-lg);
}
.key-takeaways__title {
    font-size: var(--fs-md);
    margin-bottom: var(--sp-4);
}
.key-takeaways__list { list-style: none; }
.key-takeaways__list li {
    padding-left: var(--sp-6);
    margin-bottom: var(--sp-3);
    position: relative;
}
.key-takeaways__list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.5em;
    width: 16px; height: 16px;
    background: var(--primary);
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M7 13l-3-3 1.4-1.4L7 10.2l5.6-5.6L14 6l-7 7z"/></svg>') center/contain no-repeat;
}

/* Table of Contents (sticky) */
.toc {
    padding: var(--sp-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    position: sticky;
    top: calc(var(--header-h) + var(--sp-4));
}
.toc__title {
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--sp-4);
}
.toc__list { list-style: none; }
.toc__link {
    display: block;
    padding: 6px 10px;
    margin-left: -10px;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    border-left: 2px solid transparent;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    transition: all var(--t-fast);
}
.toc__link:hover { color: var(--primary); background: var(--primary-50); }
.toc__link.is-active { border-left-color: var(--primary); color: var(--primary); font-weight: var(--fw-semibold); }

/* Prose typography (for long-form content) */
.prose { font-size: var(--fs-md); line-height: var(--lh-relaxed); color: var(--text); }
.prose h2 { font-size: var(--fs-2xl); margin: var(--sp-10) 0 var(--sp-4) 0; }
.prose h3 { font-size: var(--fs-xl); margin: var(--sp-8) 0 var(--sp-3) 0; }
.prose h4 { font-size: var(--fs-lg); margin: var(--sp-6) 0 var(--sp-2) 0; }
.prose p  { margin-bottom: var(--sp-4); }
.prose ul, .prose ol { margin: 0 0 var(--sp-4) var(--sp-6); }
.prose li { margin-bottom: var(--sp-2); }
.prose strong { font-weight: var(--fw-semibold); color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(79, 70, 229, 0.4); }
.prose a:hover { text-decoration-color: var(--primary); }
.prose blockquote {
    padding: var(--sp-4) var(--sp-6);
    border-left: 4px solid var(--primary);
    background: var(--primary-50);
    margin: var(--sp-6) 0;
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-style: italic;
}
.prose code {
    padding: 2px 6px;
    background: var(--bg-alt);
    border-radius: var(--r-xs);
    font-size: 0.9em;
}
.prose img { border-radius: var(--r-md); margin: var(--sp-4) 0; }

/* Callouts */
.callout {
    padding: var(--sp-4) var(--sp-5);
    border-radius: var(--r-md);
    border: 1px solid;
    margin: var(--sp-5) 0;
    display: flex;
    gap: var(--sp-3);
}
.callout__icon { flex-shrink: 0; width: 20px; height: 20px; }
.callout__body { flex: 1; }
.callout__body p:last-child { margin: 0; }

.callout--info    { background: #EFF6FF; border-color: #BFDBFE; color: #1E3A8A; }
.callout--success { background: var(--success-50); border-color: #A7F3D0; color: #064E3B; }
.callout--warning { background: var(--alert-50); border-color: #FED7AA; color: #7C2D12; }
.callout--danger  { background: #FEF2F2; border-color: #FECACA; color: #7F1D1D; }

/* Stat cards */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--sp-4);
    margin: var(--sp-6) 0;
}
.stat-card {
    padding: var(--sp-6);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.stat-card__value {
    font-family: var(--font-mono);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: var(--sp-2);
}
.stat-card__label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* Quote block */
.quote {
    padding: var(--sp-8);
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.quote::before {
    content: '\201C';
    position: absolute;
    top: -10px; left: 20px;
    font-size: 100px;
    line-height: 1;
    color: var(--primary-50);
    font-family: Georgia, serif;
}
.quote__text { font-size: var(--fs-lg); line-height: var(--lh-relaxed); margin: 0 0 var(--sp-4) 0; position: relative; }
.quote__author { font-size: var(--fs-sm); color: var(--text-muted); font-style: italic; }

/* Data table */
.data-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.data-table th, .data-table td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--border-subtle); }
.data-table th { background: var(--bg-alt); font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: var(--bg); }

/* Feature list */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--sp-6);
    list-style: none;
}
.feature-list__item {
    padding: var(--sp-5);
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    transition: border var(--t-fast), box-shadow var(--t-fast);
}
.feature-list__item:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); }
.feature-list__icon {
    width: 44px; height: 44px;
    background: var(--grad-primary);
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    color: #FFFFFF;
    margin-bottom: var(--sp-3);
}
.feature-list__title { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.feature-list__text { color: var(--text-muted); font-size: var(--fs-sm); }

/* =======================================================================
   7. CARDS (game / provider / blog / tool / category / casino)
   ======================================================================= */
.card {
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform var(--t-base), box-shadow var(--t-base), border var(--t-base);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.card__cover { aspect-ratio: 16/10; background: var(--bg-alt); overflow: hidden; }
.card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.card:hover .card__cover img { transform: scale(1.05); }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.card__title { font-size: var(--fs-md); margin: 0; }
.card__meta { display: flex; gap: var(--sp-2); flex-wrap: wrap; font-size: var(--fs-xs); color: var(--text-muted); }
.card__excerpt { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; flex: 1; }
.card__footer { display: flex; justify-content: space-between; align-items: center; padding-top: var(--sp-3); border-top: 1px solid var(--border-subtle); }

/* Game card — overlay with rating */
.game-card__badge {
    position: absolute;
    top: var(--sp-3); right: var(--sp-3);
    padding: 4px 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #FFFFFF;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    border-radius: var(--r-full);
    backdrop-filter: blur(4px);
}
.game-card__cover { position: relative; }

/* Provider card */
.provider-card__logo { height: 44px; width: auto; margin-bottom: var(--sp-3); }

/* Casino card (inline in game reviews, blog) */
.casino-card {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}
.casino-card__logo { width: 80px; flex-shrink: 0; }
.casino-card__info { flex: 1; }
.casino-card__name { font-weight: var(--fw-semibold); margin: 0; }
.casino-card__bonus { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }

/* Category tile */
.category-tile {
    padding: var(--sp-6);
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all var(--t-base);
}
.category-tile:hover { border-color: var(--primary); background: var(--primary-50); transform: translateY(-2px); }
.category-tile__icon {
    width: 56px; height: 56px;
    margin: 0 auto var(--sp-3);
    background: var(--grad-primary);
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    color: #FFFFFF; font-size: 24px;
}
.category-tile__name { font-size: var(--fs-md); margin: 0 0 var(--sp-1) 0; }
.category-tile__count { font-size: var(--fs-xs); color: var(--text-muted); }

/* =======================================================================
   8. CATALOG / FILTERS
   ======================================================================= */
.catalog { display: grid; grid-template-columns: 280px 1fr; gap: var(--sp-8); }
.filter-panel {
    padding: var(--sp-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    position: sticky;
    top: calc(var(--header-h) + var(--sp-4));
    max-height: calc(100vh - var(--header-h) - var(--sp-8));
    overflow-y: auto;
}
.filter-panel__group { margin-bottom: var(--sp-5); }
.filter-panel__group-title {
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--sp-3);
}

/* Chip/Pill filters */
.chip-group { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--bg-alt);
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    border-radius: var(--r-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--t-fast);
}
.chip:hover { background: var(--primary-50); color: var(--primary); }
.chip.is-active { background: var(--primary); color: #FFFFFF; }

/* Sort dropdown */
.sort-dropdown { display: inline-flex; align-items: center; gap: var(--sp-2); }
.sort-dropdown__select {
    padding: 8px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-md);
    background: var(--surface);
    font-size: var(--fs-sm);
    color: var(--text);
}

/* Load more */
.load-more { display: flex; justify-content: center; margin-top: var(--sp-8); }

/* Empty state */
.empty-state {
    padding: var(--sp-16) var(--sp-4);
    text-align: center;
    color: var(--text-muted);
}
.empty-state__icon { font-size: 48px; margin-bottom: var(--sp-4); opacity: 0.5; }
.empty-state__title { font-size: var(--fs-xl); color: var(--text); margin-bottom: var(--sp-2); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-8); }
.pagination__item {
    min-width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--r-md);
    font-size: var(--fs-sm); color: var(--text);
    transition: all var(--t-fast);
}
.pagination__item:hover { background: var(--primary-50); color: var(--primary); }
.pagination__item.is-active { background: var(--primary); color: #FFFFFF; }

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    padding: var(--sp-4) 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}
.breadcrumbs__link { color: var(--text-muted); }
.breadcrumbs__link:hover { color: var(--primary); }
.breadcrumbs__sep { color: var(--text-dim); }
.breadcrumbs__current { color: var(--text); font-weight: var(--fw-medium); }

/* =======================================================================
   9. COMPARISON / TABLES
   ======================================================================= */
.compare-side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
}
.compare-col {
    padding: var(--sp-6);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}
.compare-col__header { text-align: center; margin-bottom: var(--sp-5); }
.compare-col__cover { aspect-ratio: 16/10; border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--sp-3); }

.feature-matrix { width: 100%; border-collapse: separate; border-spacing: 0; }
.feature-matrix th, .feature-matrix td { padding: var(--sp-3) var(--sp-4); text-align: center; }
.feature-matrix th { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-muted); background: var(--bg-alt); }
.feature-matrix td:first-child { text-align: left; color: var(--text-muted); font-size: var(--fs-sm); }

/* =======================================================================
   10. INTERACTIVE (accordion, tabs, modal, tooltip, slider, lightbox)
   ======================================================================= */

/* Accordion */
.accordion__item {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    margin-bottom: var(--sp-3);
    overflow: hidden;
    background: var(--surface);
}
.accordion__header {
    display: flex;
    width: 100%;
    padding: var(--sp-4) var(--sp-5);
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    color: var(--text);
    cursor: pointer;
}
.accordion__icon {
    width: 20px; height: 20px;
    flex-shrink: 0;
    transition: transform var(--t-fast);
    color: var(--primary);
}
.accordion__item.is-open .accordion__icon { transform: rotate(180deg); }
.accordion__body {
    padding: 0 var(--sp-5) var(--sp-5);
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
    display: none;
}
.accordion__item.is-open .accordion__body { display: block; animation: fade-in var(--t-fast) ease both; }

/* Tabs */
.tabs__list {
    display: flex;
    gap: var(--sp-2);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--sp-6);
    overflow-x: auto;
}
.tabs__tab {
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 2px solid transparent;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text-muted);
    white-space: nowrap;
    transition: color var(--t-fast), border var(--t-fast);
    cursor: pointer;
}
.tabs__tab:hover { color: var(--text); }
.tabs__tab.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fade-in var(--t-fast) ease both; }

/* Modal */
.modal {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    padding: var(--sp-4);
    z-index: var(--z-modal);
    animation: fade-in var(--t-base) ease both;
}
.modal[hidden] { display: none; }
.modal__dialog {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: var(--sp-8);
    max-width: 560px;
    width: 100%;
    box-shadow: var(--shadow-xl);
}

/* Tooltip */
.tooltip { position: relative; }
.tooltip__content {
    position: absolute; bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    background: #0F172A;
    color: #FFFFFF;
    font-size: var(--fs-xs);
    border-radius: var(--r-sm);
    white-space: nowrap;
    opacity: 0; visibility: hidden;
    transition: opacity var(--t-fast);
    pointer-events: none;
    z-index: var(--z-tooltip);
}
.tooltip:hover .tooltip__content, .tooltip:focus-within .tooltip__content { opacity: 1; visibility: visible; }

/* Slider (auto-detect images in /slider/ folder) */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--bg-alt);
}
.slider__track {
    display: flex;
    transition: transform var(--t-slow);
}
.slider__slide {
    flex: 0 0 100%;
    aspect-ratio: 16/9;
}
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--text);
    z-index: 2;
    transition: background var(--t-fast);
}
.slider__nav:hover { background: #FFFFFF; color: var(--primary); }
.slider__nav--prev { left: var(--sp-3); }
.slider__nav--next { right: var(--sp-3); }
.slider__dots {
    position: absolute;
    bottom: var(--sp-3); left: 50%;
    transform: translateX(-50%);
    display: flex; gap: var(--sp-2);
    z-index: 2;
}
.slider__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: background var(--t-fast), transform var(--t-fast);
}
.slider__dot.is-active { background: #FFFFFF; transform: scale(1.3); }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex; align-items: center; justify-content: center;
    z-index: var(--z-modal);
    animation: fade-in var(--t-base) ease both;
}
.lightbox[hidden] { display: none; }
.lightbox__image { max-width: 92vw; max-height: 88vh; border-radius: var(--r-sm); }

/* Video embed */
.video-embed {
    aspect-ratio: 16/9;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #000;
}
.video-embed iframe { width: 100%; height: 100%; border: 0; }

/* Fake-link button (affiliate) */
.fake-link { cursor: pointer; }

/* =======================================================================
   11. TOOL-SPECIFIC (provably-fair, crash-calculator)
   ======================================================================= */
.pf-verifier, .crash-calc {
    padding: var(--sp-8);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
}
.pf-verifier__form, .crash-calc__form {
    display: grid;
    gap: var(--sp-4);
}
.pf-verifier__result, .crash-calc__result {
    padding: var(--sp-5);
    background: var(--bg-alt);
    border-radius: var(--r-md);
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
}
.pf-verifier__hash { word-break: break-all; color: var(--primary); }

/* =======================================================================
   12. FORMS
   ======================================================================= */
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.label { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--text); }
.input, .select, .textarea {
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    color: var(--text);
    transition: border var(--t-fast), box-shadow var(--t-fast);
}
.input:focus, .select:focus, .textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}
.input--mono { font-family: var(--font-mono); }

.checkbox { display: inline-flex; align-items: center; gap: var(--sp-2); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--primary); }

.search-bar {
    position: relative;
    max-width: 480px;
}
.search-bar__input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-full);
    background: var(--surface);
    font-size: var(--fs-sm);
}
.search-bar__icon {
    position: absolute; left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* =======================================================================
   13. METRICS (rating, progress, score)
   ======================================================================= */

/* Star rating */
.star-rating { display: inline-flex; gap: 2px; color: var(--alert); }
.star-rating__star { font-size: 16px; }
.star-rating__star.is-empty { color: var(--border-strong); }

/* Progress bar */
.progress {
    width: 100%; height: 8px;
    background: var(--bg-alt);
    border-radius: var(--r-full);
    overflow: hidden;
}
.progress__bar {
    height: 100%;
    background: var(--grad-growth);
    border-radius: var(--r-full);
    transition: width var(--t-slow);
}

/* Score badge */
.score-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    padding: 6px 12px;
    background: var(--grad-primary);
    color: #FFFFFF;
    font-family: var(--font-mono);
    font-weight: var(--fw-bold);
    border-radius: var(--r-md);
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}
.score-badge__value { font-size: var(--fs-md); }
.score-badge__max { font-size: var(--fs-xs); opacity: 0.8; }

/* Meta badge (used for provider name, category, etc.) */
.meta-badge {
    display: inline-flex;
    padding: 4px 10px;
    background: var(--bg-alt);
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    border-radius: var(--r-full);
}

/* =======================================================================
   14. UTILITIES
   ======================================================================= */

/* Back to top */
.back-to-top {
    position: fixed;
    right: var(--sp-6); bottom: var(--sp-6);
    width: 48px; height: 48px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--primary);
    z-index: var(--z-tooltip);
    opacity: 0; visibility: hidden;
    transition: opacity var(--t-base), visibility var(--t-base), transform var(--t-fast);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-2px); background: var(--primary); color: #FFFFFF; }

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--bg-alt) 0%, #F1F5F9 50%, var(--bg-alt) 100%);
    background-size: 400px 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--r-sm);
}

/* 404 */
.page-404 { text-align: center; padding: var(--sp-24) var(--container-pad); }
.page-404__code {
    font-size: 120px;
    line-height: 1;
    font-weight: var(--fw-black);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.05em;
}
.page-404__title { font-size: var(--fs-2xl); margin: var(--sp-4) 0 var(--sp-3); }
.page-404__text { color: var(--text-muted); margin-bottom: var(--sp-8); }

/* Sticky CTA bar (mobile) */
.sticky-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: var(--sp-3) var(--container-pad);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
    z-index: var(--z-header);
    display: none;
}

/* Badge (for NEW, HOT, etc.) */
.badge {
    display: inline-flex;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: var(--fw-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--r-xs);
}
.badge--new { background: var(--success); color: #FFFFFF; }
.badge--hot { background: var(--alert); color: #FFFFFF; }
.badge--live { background: var(--danger); color: #FFFFFF; }


/* =======================================================================
   GAME-REVIEW - specialized components (rebuilt 2026-04-19)
   Hero: cover+intro единым блоком, stats под ним в 4 колонки, CTA ниже.
   Casino-cards: логотип + рейтинг + бонус + USP + full-width CTA.
   Dual-bet section: выделенный фон, текст full-width, панели по центру.
   Takeaways: UPPERCASE + SVG + нумерованный список, акцентный блок.
   Final CTA: centered с title/subtitle/button.
   Mobile-first: overrides в конце через min-width.
   ======================================================================= */

/* ----------- Hero-game top (cover + intro в одной карточке) ----------- */
.hero-game__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    align-items: stretch;
    margin-bottom: var(--sp-6);
}
.hero-game__cover-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--sp-4);
    box-shadow: var(--shadow-sm);
    min-height: 260px;
}
.hero-game__cover-img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    border-radius: var(--r-lg);
}
.hero-game__intro {
    display: flex; flex-direction: column; justify-content: center;
    gap: var(--sp-3);
    padding: var(--sp-4) 0;
}
.hero-game__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.hero-game__lead { font-size: var(--fs-md); color: var(--text-muted); margin: 0; line-height: var(--lh-relaxed); }

/* 4 карточки с цифрами в строку под hero-top */
.hero-game__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
}
.hero-game__cta {
    display: flex; flex-wrap: wrap; gap: var(--sp-3);
    justify-content: center;
    margin-top: var(--sp-5);
}
.hero-game__cta .btn { min-width: 220px; }

/* ----------- TL;DR с фирменным заголовком ----------- */
.tldr-box {
    position: relative;
    padding: var(--sp-6) var(--sp-6);
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}
.tldr-box__label {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--sp-3);
    padding: 4px 12px;
    background: var(--primary-50);
    border-radius: var(--r-full);
}

/* ----------- Demo frame (rebuilt: 2 rectangular CTA по центру) ----------- */
.demo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-alt);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.demo-frame__cover {
    position: absolute; inset: 0;
    display: flex;
    align-items: center; justify-content: center;
}
.demo-frame__cover img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.demo-frame__actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    align-items: center;
    padding: var(--sp-4);
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
}
.demo-frame__btn { min-width: 220px; }
.demo-frame__iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%; border: 0;
}
.demo-frame.is-loaded .demo-frame__cover { display: none; }

/* ----------- Casino cards (Where to play) ----------- */
.casino-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    margin-top: var(--sp-6);
}
.casino-card {
    display: flex; flex-direction: column;
    gap: var(--sp-4);
    padding: var(--sp-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.casino-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.casino-card__head {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: var(--sp-3);
    align-items: center;
}
.casino-card__logo {
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-alt);
    border-radius: var(--r-md);
    padding: var(--sp-2);
    height: 56px;
}
.casino-card__logo img { max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.casino-card__logo-text { font-weight: var(--fw-bold); color: var(--primary); font-size: var(--fs-sm); }
.casino-card__name { font-weight: var(--fw-bold); font-size: var(--fs-lg); }
.casino-card__rating { display: flex; align-items: center; gap: var(--sp-2); margin-top: 2px; }
.stars { color: #F59E0B; font-size: var(--fs-md); letter-spacing: 1px; }
.stars__empty { color: var(--border-strong); }
.stars__half   { position: relative; color: #F59E0B; }
.casino-card__rating-value { font-weight: var(--fw-bold); font-size: var(--fs-sm); }

.casino-card__bonus {
    padding: var(--sp-4);
    background: linear-gradient(135deg, var(--primary-50) 0%, #FFFFFF 100%);
    border: 1px solid var(--primary-50);
    border-radius: var(--r-md);
    text-align: center;
}
.casino-card__bonus-label {
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--sp-1);
}
.casino-card__bonus-value { font-weight: var(--fw-bold); font-size: var(--fs-lg); color: var(--text); }

.casino-card__usp {
    display: flex; align-items: center; gap: var(--sp-2);
    font-size: var(--fs-sm);
    color: var(--success);
    font-weight: var(--fw-medium);
}

/* ----------- Regions bars (scale visualization) ----------- */
.regions-bars {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--sp-6);
    margin-top: var(--sp-6);
}
.regions-bars__header {
    display: flex; flex-direction: column;
    margin-bottom: var(--sp-5);
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--border-subtle);
}
.regions-bars__title { font-weight: var(--fw-semibold); font-size: var(--fs-md); }
.regions-bars__hint  { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 2px; }
.regions-bars__row {
    display: grid; grid-template-columns: 1fr; gap: var(--sp-2);
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--border-subtle);
}
.regions-bars__row:last-child { border-bottom: 0; }
.regions-bars__label { font-weight: var(--fw-medium); }
.regions-bars__track {
    position: relative; height: 10px;
    background: var(--bg-alt); border-radius: var(--r-full); overflow: hidden;
}
.regions-bars__fill {
    height: 100%;
    background: var(--grad-primary);
    border-radius: var(--r-full);
    transition: width var(--t-slow);
}
.regions-bars__value { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); }
.regions-bars__pct { font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.regions-bars__yoy {
    font-size: var(--fs-xs); color: var(--success);
    background: var(--success-50);
    padding: 2px 8px; border-radius: var(--r-full);
    font-weight: var(--fw-semibold);
}

/* ----------- PF steps ----------- */
.pf-steps { list-style: none; padding: 0; margin: var(--sp-6) 0; display: flex; flex-direction: column; gap: var(--sp-4); }
.pf-steps__item {
    display: grid; grid-template-columns: 48px 1fr; gap: var(--sp-4);
    padding: var(--sp-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
}
.pf-steps__num {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: var(--r-full);
    background: var(--primary-50);
    color: var(--primary);
    font-weight: var(--fw-bold); font-size: var(--fs-md);
}
.pf-steps__title { font-weight: var(--fw-semibold); margin-bottom: var(--sp-1); font-size: var(--fs-md); }
.pf-steps__text  { color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-relaxed); }
.pf-steps__text code { background: var(--bg-alt); padding: 1px 6px; border-radius: var(--r-xs); font-size: 0.92em; }
.pf-formula {
    display: block;
    background: var(--text);
    color: #A5F3FC;
    padding: var(--sp-4);
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    overflow-x: auto;
    margin: var(--sp-3) 0;
}

/* ----------- Callout (всегда column, полная ширина, formula scrolls на mobile) ----------- */
.callout {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    padding: var(--sp-5); border-radius: var(--r-lg); margin: var(--sp-5) 0;
    border-left: 4px solid var(--primary); background: var(--primary-50);
    width: 100%;
}
.callout--info  { border-color: var(--info);  background: #EFF6FF; }
.callout--tip   { border-color: var(--success); background: var(--success-50); }
.callout--warn  { border-color: var(--alert); background: var(--alert-50); }
.callout__title { font-weight: var(--fw-semibold); margin: 0; }
.callout__text  { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }
.callout .pf-formula { width: 100%; max-width: 100%; margin: 0; white-space: pre-wrap; word-break: break-word; }

/* ----------- Dual-bet section (акцентированный блок) ----------- */
.dual-bet-section {
    position: relative;
    background:
        radial-gradient(1100px 500px at 50% -100px, rgba(99, 102, 241, 0.18) 0%, transparent 65%),
        linear-gradient(180deg, var(--accent-50) 0%, var(--bg) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding-block: var(--sp-10);
    overflow: hidden;
}
.dual-bet-section::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(6, 182, 212, 0.10) 0, transparent 25%),
        radial-gradient(circle at 85% 80%, rgba(168, 85, 247, 0.10) 0, transparent 25%);
    pointer-events: none;
}
.dual-bet-section > .container { position: relative; z-index: 1; }
.dual-bet-section__header {
    text-align: center;
    margin-bottom: var(--sp-6);
}
.dual-bet-section__badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    background: #FFFFFF;
    border: 1px solid var(--primary-light);
    color: var(--primary);
    border-radius: var(--r-full);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.18);
    margin-bottom: var(--sp-4);
}
.dual-bet-section__badge svg { flex: 0 0 auto; }
.dual-bet-section__title {
    text-align: center;
    color: var(--text);
    margin: 0;
    font-size: clamp(1.75rem, 3vw + 0.6rem, 2.5rem);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dual-bet-section__intro,
.dual-bet-section__outro {
    max-width: none;
    margin-left: 0; margin-right: 0;
}
.dual-bet {
    display: grid; grid-template-columns: 1fr; gap: var(--sp-4);
    margin: var(--sp-8) auto;
    max-width: 820px;
}
.dual-bet__panel {
    padding: var(--sp-5);
    background: var(--surface);
    border: 2px dashed var(--primary-light);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
}
.dual-bet__panel:first-child { background: linear-gradient(180deg, #ECFEFF 0%, #FFFFFF 100%); border-color: var(--accent); }
.dual-bet__panel:last-child  { background: linear-gradient(180deg, #EEF2FF 0%, #FFFFFF 100%); border-color: var(--primary); }
.dual-bet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-3); }
.dual-bet__tag {
    font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em;
    font-weight: var(--fw-bold); color: var(--primary);
    background: #FFFFFF; padding: 4px 10px; border-radius: var(--r-full);
}
.dual-bet__amount { font-size: var(--fs-2xl); font-weight: var(--fw-bold); font-family: var(--font-mono); }
.dual-bet__target { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.dual-bet__target strong { color: var(--success); font-family: var(--font-mono); }
.dual-bet__note   { font-size: var(--fs-sm); color: var(--text-muted); }

/* ----------- Tables ----------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); margin: var(--sp-5) 0; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: var(--fs-sm); }
.table th, .table td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--border-subtle); }
.table th {
    background: var(--bg-alt);
    font-weight: var(--fw-semibold);
    color: var(--text-muted);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.table--compact th, .table--compact td { padding: var(--sp-3); }
.table tr:last-child td { border-bottom: 0; }
.multiplier-table td:first-child { font-weight: var(--fw-bold); color: var(--primary); font-size: var(--fs-md); }
.spec-sheet th { background: var(--bg-alt); width: 40%; text-transform: none; letter-spacing: 0; color: var(--text); font-size: var(--fs-sm); }

/* ----------- Feature cards ----------- */
.feature-cards { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); margin-top: var(--sp-6); }
.feature-card {
    padding: var(--sp-5); background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature-card__icon {
    margin-bottom: var(--sp-3);
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: var(--r-md);
    background: var(--primary-50); color: var(--primary);
}
.feature-card__icon svg { width: 24px; height: 24px; display: block; }
.feature-card__title { font-weight: var(--fw-semibold); font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.feature-card__text  { color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-relaxed); }

/* ----------- Screenshots grid (with lightbox triggers) ----------- */
.screenshots-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); margin-top: var(--sp-5); }
.screenshots-grid__item,
.screenshots-grid__placeholder {
    position: relative;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-alt);
    cursor: pointer;
    aspect-ratio: 16 / 10;
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.screenshots-grid__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.screenshots-grid__item img,
.screenshots-grid__placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }
.screenshots-grid__item::after {
    content: "\2922";
    position: absolute; top: 8px; right: 8px;
    width: 28px; height: 28px;
    background: rgba(15, 23, 42, 0.7);
    color: #FFFFFF;
    border-radius: var(--r-sm);
    display: grid; place-items: center;
    font-size: 14px;
    opacity: 0; transition: opacity var(--t-base);
}
.screenshots-grid__item:hover::after { opacity: 1; }
.screenshots-grid__placeholder { cursor: default; }

/* ----------- Lightbox ----------- */
body.lightbox-open { overflow: hidden; }
.lightbox {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.92);
    display: flex; align-items: center; justify-content: center;
    z-index: var(--z-modal);
    padding: var(--sp-6);
    animation: fade-in var(--t-fast) ease both;
}
.lightbox[hidden] { display: none; }
.lightbox__figure {
    margin: 0;
    max-width: min(1200px, 100%); max-height: 100%;
    display: flex; flex-direction: column; align-items: center;
    gap: var(--sp-3);
}
.lightbox__image {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-xl);
}
.lightbox__caption { color: #E2E8F0; font-size: var(--fs-sm); text-align: center; max-width: 640px; }
.lightbox__nav, .lightbox__close {
    position: absolute;
    background: rgba(15, 23, 42, 0.5);
    color: #FFFFFF;
    border-radius: var(--r-full);
    width: 48px; height: 48px;
    display: grid; place-items: center;
    font-size: 28px; cursor: pointer;
    transition: background var(--t-fast);
}
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(15, 23, 42, 0.8); }
.lightbox__nav--prev { left: var(--sp-4); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: var(--sp-4); top: 50%; transform: translateY(-50%); }
.lightbox__close { top: var(--sp-4); right: var(--sp-4); font-size: 26px; }

/* ----------- Video-embed ----------- */
.video-embed {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    background: var(--bg-alt); border-radius: var(--r-xl); overflow: hidden;
    box-shadow: var(--shadow-md);
}
.video-embed__play { position: relative; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: transparent; }
.video-embed__play img { width: 100%; height: 100%; object-fit: cover; }
.video-embed__icon {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    background: var(--primary); color: #FFFFFF;
    border-radius: var(--r-full);
    display: grid; place-items: center;
    box-shadow: var(--shadow-lg);
    transition: transform var(--t-base), background var(--t-base);
}
.video-embed__play:hover .video-embed__icon { background: var(--primary-dark); transform: translate(-50%, -50%) scale(1.08); }
.video-embed__iframe { width: 100%; height: 100%; border: 0; }

/* ----------- Fits / Not-fits ----------- */
.fits-box { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); margin-top: var(--sp-5); }
.fits-box__col { padding: var(--sp-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.fits-box__col--yes { border-left: 4px solid var(--success); }
.fits-box__col--no  { border-left: 4px solid var(--alert); }
.fits-box__title { font-weight: var(--fw-semibold); margin-bottom: var(--sp-3); font-size: var(--fs-md); }
.fits-box__list { list-style: none !important; padding: 0; margin: 0; }
.fits-box__list li {
    padding: var(--sp-2) 0 var(--sp-2) var(--sp-6);
    position: relative; font-size: var(--fs-sm);
}
.fits-box__col--yes .fits-box__list li::before {
    content: "\2713"; position: absolute; left: 0; top: var(--sp-2);
    color: var(--success); font-weight: var(--fw-bold);
}
.fits-box__col--no .fits-box__list li::before {
    content: "\2715"; position: absolute; left: 0; top: var(--sp-2);
    color: var(--alert); font-weight: var(--fw-bold);
}

/* ----------- Key takeaways (акцентный блок) ----------- */
.takeaways {
    background: linear-gradient(135deg, var(--text) 0%, #1E293B 100%);
    color: #FFFFFF;
    border-radius: var(--r-2xl);
    padding: var(--sp-8);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}
.takeaways::before {
    content: '';
    position: absolute; top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.35) 0%, transparent 70%);
    pointer-events: none;
}
.takeaways__header {
    display: flex; align-items: center; gap: var(--sp-3);
    margin-bottom: var(--sp-6);
    position: relative; z-index: 1;
}
.takeaways__icon {
    display: grid; place-items: center;
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #FFFFFF;
    border-radius: var(--r-md);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.45);
}
.takeaways__title {
    font-size: var(--fs-xl);
    font-weight: var(--fw-black);
    letter-spacing: 0.08em;
    margin: 0;
    color: #FFFFFF;
}
.takeaways__list {
    list-style: none !important;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: var(--sp-4);
    position: relative; z-index: 1;
}
.takeaways__item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: var(--sp-4);
    align-items: start;
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.takeaways__item:last-child { padding-bottom: 0; border-bottom: 0; }
.takeaways__num {
    font-family: var(--font-mono);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--accent-light);
    line-height: 1;
}
.takeaways__text { font-size: var(--fs-md); line-height: var(--lh-relaxed); color: #E2E8F0; }

/* ----------- Final CTA (centered, with title/subtitle) ----------- */
.final-cta {
    text-align: center;
    padding: var(--sp-10) var(--sp-6);
    margin-top: var(--sp-8);
    background: var(--grad-bg-hero);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
}
.final-cta__title {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    margin-bottom: var(--sp-2);
    color: var(--text);
}
.final-cta__subtitle {
    font-size: var(--fs-md);
    color: var(--text-muted);
    margin-bottom: var(--sp-5);
}
.final-cta .btn--lg { padding: 18px 36px; font-size: var(--fs-md); }
.final-cta__note { margin-top: var(--sp-4); font-size: var(--fs-xs); }

/* ----------- Prose review (H3 subheadings внутри обзора) ----------- */
.prose--review h3 {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    margin-top: var(--sp-8);
    margin-bottom: var(--sp-3);
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: var(--lh-tight);
    padding-left: var(--sp-3);
    border-left: 3px solid var(--primary);
}
.prose--review h3:first-child { margin-top: 0; }
.prose--review p { margin-bottom: var(--sp-4); max-width: none; }

/* ----------- Responsive overrides (mobile-first) ----------- */
@media (min-width: 640px) {
    .casino-cards { grid-template-columns: repeat(2, 1fr); }
    .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-cards { grid-template-columns: repeat(2, 1fr); }
    .dual-bet { grid-template-columns: repeat(2, 1fr); }
    .fits-box { grid-template-columns: repeat(2, 1fr); }
    .hero-game__stats { grid-template-columns: repeat(2, 1fr); }
    .regions-bars__row {
        grid-template-columns: 160px 1fr 140px;
        align-items: center;
        gap: var(--sp-4);
    }
    .regions-bars__value { justify-content: flex-end; }
    .demo-frame__actions { flex-direction: row; }
    .demo-frame__btn { min-width: 200px; }
}
@media (min-width: 768px) {
    .hero-game__top { grid-template-columns: 360px 1fr; gap: var(--sp-8); align-items: center; }
    .hero-game__cover-wrap { min-height: 320px; }
    .hero-game__stats { grid-template-columns: repeat(4, 1fr); }
    .casino-cards { grid-template-columns: repeat(3, 1fr); }
    .screenshots-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-cards { grid-template-columns: repeat(3, 1fr); }
    .takeaways { padding: var(--sp-10); }
    .takeaways__title { font-size: var(--fs-2xl); }
}
@media (min-width: 1024px) {
    .hero-game__top { grid-template-columns: 420px 1fr; }
}

/* ----------- Misc utils: nowrap hero-stat values + ext-link ----------- */
.hero-game__stats .stat-card__value { white-space: nowrap; font-size: var(--fs-xl); }
.stat-cards--hero .stat-card__value { white-space: nowrap; }
.ext-link { color: var(--primary); text-decoration: none; display: inline-flex; align-items: center; }
.ext-link:hover { text-decoration: underline; }

/* ===========================================================================
   DEMO SECTION (restructured: intro + CTA above, iframe below)
   =========================================================================== */
.demo-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--sp-6);
}
.demo-intro__title { margin-bottom: var(--sp-3); }
.demo-intro__text  { margin: 0 auto var(--sp-5); color: var(--text-muted); }
.demo-intro__cta {
    display: flex; flex-wrap: wrap; gap: var(--sp-3);
    justify-content: center;
}
.demo-intro__cta .btn { min-width: 220px; }

/* ===========================================================================
   REVIEW SECTION — specialised header + inline components inside prose
   =========================================================================== */
.section--review {
    padding-block: var(--sp-10);
    background:
        linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
}
.review-head {
    text-align: center;
    margin-bottom: var(--sp-8);
    display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
}
.review-head__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: var(--r-full);
}
.review-head__title {
    margin: 0;
    font-size: clamp(1.75rem, 3vw + 0.6rem, 2.75rem);
    letter-spacing: -0.02em;
    line-height: var(--lh-tight);
    font-weight: var(--fw-bold);
    color: var(--text);
    max-width: 24ch;
}
.review-head__rule {
    display: block;
    width: 80px; height: 4px;
    margin-top: var(--sp-2);
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

/* ----- Inline pull quote ----- */
.review-pullquote {
    margin: var(--sp-8) 0;
    padding: var(--sp-6) var(--sp-8);
    border-left: 5px solid var(--primary);
    background: linear-gradient(90deg, var(--primary-50) 0%, transparent 60%);
    border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.review-pullquote blockquote {
    margin: 0 0 var(--sp-3);
    font-size: clamp(1.15rem, 1.4vw + 0.6rem, 1.5rem);
    font-weight: var(--fw-semibold);
    line-height: 1.4;
    color: var(--text);
    letter-spacing: -0.005em;
    font-style: italic;
    quotes: "“" "”";
}
.review-pullquote figcaption {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    font-style: normal;
}

/* ----- 2-col compare (good vs bad) ----- */
.review-compare {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    margin: var(--sp-8) 0;
}
.review-compare__col {
    padding: var(--sp-5) var(--sp-6);
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.review-compare__col--good {
    background: linear-gradient(180deg, var(--success-50) 0%, #FFFFFF 100%);
    border-color: var(--success);
}
.review-compare__col--bad {
    background: linear-gradient(180deg, var(--alert-50) 0%, #FFFFFF 100%);
    border-color: var(--alert);
}
.review-compare__label {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--r-full);
    margin-bottom: var(--sp-3);
}
.review-compare__col--good .review-compare__label {
    background: var(--success); color: #FFFFFF;
}
.review-compare__col--good .review-compare__label::before { content: "✓ "; }
.review-compare__col--bad .review-compare__label {
    background: var(--alert); color: #FFFFFF;
}
.review-compare__col--bad .review-compare__label::before { content: "✕ "; }
.review-compare__col ul {
    list-style: none; padding: 0; margin: 0;
}
.review-compare__col li {
    padding: var(--sp-2) 0;
    padding-left: 24px;
    position: relative;
    border-bottom: 1px dashed var(--border-subtle);
    font-size: var(--fs-sm);
    line-height: 1.5;
}
.review-compare__col li:last-child { border-bottom: 0; }
.review-compare__col--good li::before {
    content: "✓";
    position: absolute; left: 0; top: var(--sp-2);
    color: var(--success); font-weight: var(--fw-bold);
}
.review-compare__col--bad li::before {
    content: "—";
    position: absolute; left: 0; top: var(--sp-2);
    color: var(--alert); font-weight: var(--fw-bold);
}

/* ----- Inline stat highlight ----- */
.review-highlight {
    margin: var(--sp-8) 0;
    padding: 28px;
    border-radius: var(--r-xl);
    background:
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.14) 0%, transparent 55%),
        linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #F8FAFC;
    text-align: center;
    box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.35);
}
.review-highlight__value {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 6vw + 0.5rem, 4.5rem);
    font-weight: var(--fw-bold);
    line-height: 1;
    background: linear-gradient(135deg, #60A5FA 0%, #A5F3FC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}
.review-highlight__label {
    margin-top: var(--sp-2);
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    color: #E2E8F0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.review-highlight__note {
    margin-top: var(--sp-4);
    font-size: var(--fs-sm);
    color: #94A3B8;
    max-width: 520px;
    margin-left: auto; margin-right: auto;
    line-height: 1.6;
}

/* ----- Inline callout box ----- */
.review-callout {
    display: flex; gap: var(--sp-4);
    margin: var(--sp-8) 0;
    padding: var(--sp-5) var(--sp-6);
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--info);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}
.review-callout--warn  { border-left-color: var(--alert);   background: var(--alert-50); }
.review-callout--tip   { border-left-color: var(--success); background: var(--success-50); }
.review-callout__icon {
    flex: 0 0 36px;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: var(--r-full);
    background: var(--alert); color: #FFFFFF;
    font-weight: var(--fw-bold); font-size: var(--fs-lg);
    line-height: 1;
}
.review-callout--tip  .review-callout__icon { background: var(--success); }
.review-callout__body { flex: 1 1 auto; }
.review-callout__title {
    font-weight: var(--fw-bold);
    font-size: var(--fs-md);
    margin-bottom: var(--sp-2);
    color: var(--text);
}
.review-callout__text {
    font-size: var(--fs-sm);
    line-height: 1.6;
    color: var(--text);
}

/* ----------- Review components — responsive ----------- */
@media (min-width: 768px) {
    .review-compare { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
    .review-pullquote { padding: var(--sp-8) var(--sp-10); }
    .review-highlight { padding: var(--sp-10); }
}
