/*
 * BetScore Casino - Design System
 * Single fixed dark theme (stadium at night: deep navy + gold).
 * Canonical design tokens live in this file.
 */

:root {
    /* --- Surfaces --------------------------------------------------- */
    --background: #0b1738;
    --background-deep: #071026;
    --surface: #142450;
    --surface-2: #1b2f63;
    --surface-raised: #22376f;
    --card: #142450;
    --border: #2b437f;
    --border-strong: #3d5aa0;

    /* --- Text ------------------------------------------------------- */
    --foreground: #f4f7ff;
    --muted-foreground: #b9c6e6;
    --heading: #ffffff;

    /* --- Action colors ---------------------------------------------- */
    --primary: #f0c14b;
    --primary-strong: #e0ab2a;
    --primary-foreground: #10193a;
    --secondary: #1b2f63;
    --secondary-foreground: #f4f7ff;
    --accent: #f0c14b;
    --accent-foreground: #10193a;
    --destructive: #ff6b6b;
    --destructive-foreground: #2a0a0a;
    --success: #6fe3a4;
    --field: #4ba36b;

    /* --- Typography ------------------------------------------------- */
    --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

    --fs-xs: 0.875rem;
    --fs-sm: 0.9375rem;
    --fs-base: 1.0625rem;
    --fs-lg: 1.1875rem;
    --fs-h4: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
    --fs-h3: clamp(1.25rem, 1.12rem + 0.6vw, 1.5rem);
    --fs-h2: clamp(1.5rem, 1.24rem + 1.3vw, 2.25rem);
    --fs-h1: clamp(1.875rem, 1.4rem + 2.4vw, 3.25rem);

    /* --- Spacing ---------------------------------------------------- */
    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);

    /* --- Shape & effects -------------------------------------------- */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    --shadow-sm: 0 2px 8px rgba(3, 8, 25, 0.35);
    --shadow-md: 0 10px 28px rgba(3, 8, 25, 0.45);
    --shadow-glow: 0 8px 26px rgba(240, 193, 75, 0.28);

    --container: 1240px;
    --header-h: 60px;
}

@media (min-width: 1024px) {
    :root { --header-h: 72px; }
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

/* ============================================
   BASE TYPOGRAPHY
   Body: Barlow. Headings: Barlow Condensed (jersey/scoreboard feel)
   ============================================ */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--background);
    background-image:
        radial-gradient(1100px 520px at 78% -8%, rgba(240, 193, 75, 0.10), transparent 62%),
        radial-gradient(900px 520px at 4% 22%, rgba(59, 96, 190, 0.16), transparent 60%);
    background-attachment: fixed;
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--heading);
    line-height: 1.14;
    letter-spacing: 0.005em;
    margin: 0 0 var(--space-sm);
    text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 var(--space-md); }

p, li {
    max-width: 72ch;
}

a {
    color: var(--primary);
    text-underline-offset: 0.15em;
}

a:hover { color: var(--primary-strong); }

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 3px;
}

strong { font-weight: 700; }

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: var(--space-2xs); }

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: var(--space-xl) 0;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1200;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: var(--space-sm) var(--space-md);
    font-weight: 700;
    border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
    left: 0;
}

/* ============================================
   LAYOUT PRIMITIVES
   .container - max width wrapper
   .section  - vertical rhythm band
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-md);
}

@media (min-width: 768px) {
    .container { padding-inline: var(--space-lg); }
}

.section {
    padding-block: var(--space-2xl);
}

.section--tight { padding-block: var(--space-xl); }

.section--alt {
    background: linear-gradient(180deg, rgba(20, 36, 80, 0.0), rgba(20, 36, 80, 0.72), rgba(20, 36, 80, 0.0));
}

.section-head {
    margin-bottom: var(--space-lg);
}

.section-head--center {
    text-align: center;
}

.section-head--center .section-head__lead {
    margin-inline: auto;
}

.section-head__eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-2xs);
}

.section-head__title { margin-bottom: var(--space-xs); }

.section-head__lead {
    color: var(--muted-foreground);
    max-width: 68ch;
    margin-bottom: 0;
}

/* Generic responsive grids used by pages */
.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .grid-2, .grid-3, .grid-4 { gap: var(--space-lg); }
}

/* Sitemap directory: spacing between themed link groups */
.grid-2 + h3,
.grid-3 + h3 {
    margin-top: var(--space-xl);
}

/* Repeated conversion row after each value block */
.section-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

/* Split layout: copy column + media column (desktop only) */
.split {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

@media (min-width: 1024px) {
    .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--space-2xl); }
    .split--media-first .split__media { order: -1; }
}

/* ============================================
   BUTTONS
   .btn--primary  gold, main CTA
   .btn--ghost    outlined, header login
   .btn--sm/lg    size modifiers, .btn--block full width
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-height: 48px;
    padding: 0.7rem 1.6rem;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn--primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
    background: var(--primary-strong);
    color: var(--primary-foreground);
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn--ghost:hover {
    background: rgba(240, 193, 75, 0.14);
    color: var(--primary);
}

.btn--solid {
    background: var(--surface-raised);
    border-color: var(--border-strong);
    color: var(--secondary-foreground);
}

.btn--solid:hover {
    background: var(--surface-2);
    color: var(--secondary-foreground);
}

.btn--sm {
    min-height: 44px;
    padding: 0.4rem 1.05rem;
    font-size: 1rem;
}

.btn--lg {
    min-height: 54px;
    padding: 0.85rem 2.2rem;
    font-size: 1.25rem;
}

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

@media (min-width: 768px) {
    .btn--block { width: auto; display: inline-flex; }
}

/* ============================================
   HEADER + PRIMARY NAV + MOBILE DRAWER
   header z 1000 / toggle 1001 / drawer 999
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--background-deep);
    border-bottom: 2px solid var(--primary);
}

.site-header__inner {
    max-width: var(--container);
    margin-inline: auto;
    min-height: var(--header-h);
    padding: var(--space-xs) var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary);
    text-decoration: none;
    flex-shrink: 0;
}

.site-brand__mark {
    display: inline-flex;
    color: var(--primary);
}

.site-brand__text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    line-height: 1;
    color: var(--foreground);
    white-space: nowrap;
}

.site-brand__text strong { font-weight: 700; }
.site-brand__text em {
    font-style: normal;
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 359px) {
    .site-brand__text { font-size: 1.15rem; }
    .site-brand__mark svg { width: 22px; height: 22px; }
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 9px;
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    height: 2.5px;
    width: 100%;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.primary-nav {
    display: none;
}

.primary-nav.is-open {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--background-deep);
    overflow-y: auto;
    padding: var(--space-md) var(--space-md) var(--space-2xl);
}

.primary-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.primary-nav__list a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--foreground);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.primary-nav__list a:hover,
.primary-nav__list a[aria-current="page"] {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-left: auto;
    flex-shrink: 0;
}

@media (max-width: 400px) {
    .header-actions .btn--sm { padding: 0.4rem 0.7rem; font-size: 0.95rem; }
    .site-header__inner { gap: var(--space-2xs); padding-inline: var(--space-xs); }
}

@media (min-width: 1024px) {
    .nav-toggle { display: none; }

    .primary-nav {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        overflow-x: auto;
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: var(--space-xs);
    }

    .primary-nav__list li { margin: 0; flex-shrink: 0; }

    .primary-nav__list a {
        min-height: 40px;
        border-bottom: 3px solid transparent;
        font-size: 1.0625rem;
        padding: 0 0.55rem;
    }

    .primary-nav__list a[aria-current="page"] {
        border-bottom-color: var(--primary);
    }
}

/* ============================================
   HERO - stadium band with integrated foreground art
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    padding-block: var(--space-xl) 0;
    background:
        radial-gradient(680px 340px at 78% 12%, rgba(240, 193, 75, 0.20), transparent 68%),
        linear-gradient(180deg, #0d1c46 0%, #0b1738 62%, var(--background) 100%);
    border-bottom: 1px solid var(--border);
}

.hero__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-md);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    align-items: center;
}

.hero__copy { position: relative; z-index: 2; }

.hero__title {
    font-size: var(--fs-h1);
    margin-bottom: var(--space-sm);
}

.hero__title .accent { color: var(--primary); }

.hero__lead {
    color: var(--foreground);
    font-size: var(--fs-lg);
    max-width: 46ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.hero__media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
}

.hero__media img {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 40px rgba(4, 10, 30, 0.65));
}

/* stadium floodlight glow behind foreground art */
.hero__glow {
    position: absolute;
    inset: auto 0 0 0;
    height: 78%;
    z-index: -1;
    background:
        radial-gradient(closest-side, rgba(240, 193, 75, 0.28), transparent 72%),
        radial-gradient(closest-side at 50% 100%, rgba(76, 175, 110, 0.20), transparent 70%);
    pointer-events: none;
}

.hero__pitch {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 120px;
    z-index: -2;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 74px),
        linear-gradient(180deg, rgba(24, 78, 48, 0.0), rgba(24, 78, 48, 0.55));
    pointer-events: none;
}

@media (min-width: 768px) {
    .hero__inner { padding-inline: var(--space-lg); }
}

@media (min-width: 1024px) {
    .hero { padding-block: var(--space-2xl) 0; }
    .hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: var(--space-xl);
        min-height: 460px;
    }
    .hero__title { max-width: 15ch; }
    .hero__media img { max-width: 560px; }
}

/* ============================================
   CARDS
   .feature-card  - icon + title + text, accent hover
   .numbered-card - big gold numeral, reference "1..4" list
   .tile          - compact label tile (formats, methods, mini games)
   ============================================ */

.feature-card {
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: var(--space-xs);
    border-radius: var(--radius-sm);
    background: rgba(240, 193, 75, 0.14);
    font-size: 1.35rem;
}

.feature-card__title { margin-bottom: var(--space-2xs); }

.feature-card__text {
    color: var(--muted-foreground);
    margin-bottom: var(--space-xs);
}

.feature-card__link {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.numbered-card {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: var(--space-md);
}

.numbered-card__num {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    flex-shrink: 0;
}

.numbered-card__title { margin-bottom: var(--space-2xs); }
.numbered-card__text { color: var(--muted-foreground); margin: 0; }

.tile-grid {
    display: grid;
    gap: var(--space-sm);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.tile {
    min-width: 0;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: var(--space-sm);
    text-align: center;
}

.tile__label {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-2xs);
}

.tile__text {
    font-size: var(--fs-sm);
    color: var(--muted-foreground);
    margin: 0;
}

/* ============================================
   MEDIA
   .media-panel - framed rectangular photo/scene
   ============================================ */

.media-panel {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.media-panel img {
    display: block;
    width: 100%;
    height: auto;
}

.media-panel__caption {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--fs-xs);
    color: var(--muted-foreground);
}

/* .float-art - transparent cutout artwork integrated into the background */
.float-art {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 16px 34px rgba(4, 10, 30, 0.6));
}

@media (min-width: 1024px) {
    .float-art { max-width: 480px; }
}

/* ============================================
   ENGAGEMENT PATTERNS
   .tldr-box  - key takeaways near page top
   .callout   - tip / warning / note
   .stat-block, .pull-quote
   ============================================ */

.tldr-box {
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.tldr-box__title {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-xs);
}

.tldr-box__text { margin-bottom: var(--space-xs); }

.tldr-box__list {
    margin: 0;
    padding-left: 1.1rem;
}

.callout {
    border: 1px solid var(--border-strong);
    border-left: 5px solid var(--primary);
    background: rgba(240, 193, 75, 0.09);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin-block: var(--space-md);
}

.callout--warning {
    border-left-color: var(--destructive);
    background: rgba(255, 107, 107, 0.10);
}

.callout--neutral {
    border-left-color: var(--border-strong);
    background: var(--surface);
}

.callout__title {
    font-family: var(--font-display);
    font-size: var(--fs-h4);
    margin-bottom: var(--space-2xs);
    color: var(--heading);
}

.callout__text { margin: 0; color: var(--foreground); }

.stat-block {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    min-width: 0;
    padding: var(--space-md);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.stat-block__number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
}

.stat-block__label {
    font-weight: 600;
    color: var(--foreground);
}

.stat-block__note {
    font-size: var(--fs-xs);
    color: var(--muted-foreground);
}

.pull-quote {
    margin: var(--space-lg) 0;
    padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
    border-left: 5px solid var(--primary);
    background: var(--surface);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.pull-quote p {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
    line-height: 1.3;
    color: var(--heading);
    margin-bottom: var(--space-xs);
}

.pull-quote__cite {
    font-style: normal;
    font-size: var(--fs-sm);
    color: var(--muted-foreground);
}

/* ============================================
   DISCLOSURES / FAQ ACCORDION
   Native details/summary, one column, gold chevron
   ============================================ */

.faq-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xs);
    align-items: start;
}

.faq-item {
    align-self: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item__q {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 52px;
    padding: var(--space-sm) var(--space-md);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: var(--fs-h4);
    color: var(--heading);
    list-style: none;
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q::after {
    content: "";
    margin-left: auto;
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    border-right: 2.5px solid var(--primary);
    border-bottom: 2.5px solid var(--primary);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__q::after {
    transform: rotate(-135deg) translate(-2px, -2px);
}

.faq-item[open] .faq-item__q { color: var(--primary); }

.faq-item__a {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--muted-foreground);
    animation: faq-in 0.2s ease;
}

.faq-item__a p:last-child { margin-bottom: 0; }

@keyframes faq-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

/* ============================================
   TABLES - comparison / mechanics
   .is-highlight marks the recommended column
   ============================================ */

.table-wrapper {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    margin-block: var(--space-md);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 540px;
    font-size: var(--fs-sm);
}

.data-table__caption {
    caption-side: top;
    text-align: left;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-display);
    font-size: var(--fs-h4);
    color: var(--heading);
}

.data-table th,
.data-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}

.data-table thead th {
    background: var(--surface-raised);
    font-family: var(--font-display);
    font-size: 1.0625rem;
    letter-spacing: 0.03em;
    color: var(--primary);
    white-space: nowrap;
}

.data-table tbody th {
    color: var(--foreground);
    font-weight: 600;
}

.data-table tbody td { color: var(--muted-foreground); }

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }

.data-table .is-highlight {
    background: rgba(240, 193, 75, 0.10);
    color: var(--foreground);
}

.data-table thead .is-highlight {
    background: rgba(240, 193, 75, 0.22);
}

/* ============================================
   PROS / CONS
   ============================================ */

.pros-cons {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    align-items: start;
}

@media (min-width: 768px) {
    .pros-cons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pros-cons__col {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
}

.pros-cons__head {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: var(--fs-h4);
    color: var(--heading);
    margin-bottom: var(--space-xs);
}

.pros-cons__sign {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    background: var(--success);
    color: #06301b;
}

.pros-cons__col--con .pros-cons__sign {
    background: var(--destructive);
    color: var(--destructive-foreground);
}

.pros-cons__list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted-foreground);
}

/* ============================================
   STEPS + CHECKLIST
   ============================================ */

.step-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg);
    display: grid;
    gap: var(--space-sm);
}

.step-list__item {
    counter-increment: step;
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md) var(--space-md) var(--space-md) 3.5rem;
    margin: 0;
}

.step-list__item::before {
    content: counter(step);
    position: absolute;
    left: var(--space-md);
    top: var(--space-md);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: var(--primary-foreground);
    font-family: var(--font-display);
    font-weight: 700;
}

.step-list__title { margin-bottom: var(--space-2xs); }
.step-list__text { margin: 0; color: var(--muted-foreground); }

.checklist {
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin-block: var(--space-md);
}

.checklist__title {
    font-family: var(--font-display);
    font-size: var(--fs-h4);
    color: var(--heading);
    margin-bottom: var(--space-xs);
}

.checklist__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checklist__list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: var(--space-xs);
    color: var(--foreground);
}

.checklist__list li::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 0.5rem;
    width: 7px;
    height: 13px;
    border-right: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
    transform: rotate(42deg);
}

/* ============================================
   CRO PATTERNS
   .cta-band     - gold conversion band
   .badge-row    - trust / provider / payment badges
   ============================================ */

.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, #f7d271 100%);
    color: var(--primary-foreground);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    margin-block: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.cta-band__title {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 1.15rem + 1vw, 2rem);
    line-height: 1.15;
    color: var(--primary-foreground);
    margin-bottom: var(--space-xs);
}

.cta-band__text {
    color: #1a2547;
    max-width: 60ch;
    margin-inline: auto;
    margin-bottom: var(--space-md);
}

.cta-band .btn--primary {
    background: var(--background-deep);
    color: var(--primary);
    box-shadow: none;
    border-color: var(--background-deep);
}

.cta-band .btn--primary:hover {
    background: #0f1c44;
    color: var(--primary);
}

.cta-band__note {
    margin: var(--space-sm) 0 0;
    font-size: var(--fs-xs);
    color: #23304f;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
}

.badge-row__label {
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.badge-row__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    list-style: none;
    margin: 0;
    padding: 0;
}

.badge-row__item {
    margin: 0;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    background: var(--surface);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--foreground);
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs { margin-bottom: var(--space-sm); }

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: var(--fs-xs);
    color: var(--muted-foreground);
}

.breadcrumbs__list li { margin: 0; }

.breadcrumbs__list li + li::before {
    content: "›";
    margin-right: var(--space-xs);
    color: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    margin-top: var(--space-2xl);
    background: var(--background-deep);
    border-top: 2px solid var(--primary);
}

.site-footer__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: var(--space-xl) var(--space-md);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .site-footer__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-inline: var(--space-lg);
    }
}

.site-footer__col { min-width: 0; }

.site-footer__brand {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--foreground);
    display: block;
    margin-bottom: var(--space-xs);
}

.site-footer__brand em {
    font-style: normal;
    color: var(--primary);
}

.site-footer__title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.site-footer__note {
    font-size: var(--fs-sm);
    color: var(--muted-foreground);
    max-width: 46ch;
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__list a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--foreground);
    text-decoration: none;
}

.site-footer__list a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    list-style: none;
    margin: 0 0 var(--space-sm);
    padding: 0;
}

.payment-icons__item {
    margin: 0;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--muted-foreground);
    letter-spacing: 0.02em;
}

.site-footer__bar {
    border-top: 1px solid var(--border);
}

.site-footer__bar {
    max-width: var(--container);
    margin-inline: auto;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.site-footer__legal {
    font-size: var(--fs-xs);
    color: var(--muted-foreground);
    margin: 0;
    max-width: 90ch;
}

.site-footer__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.site-footer__copy {
    font-size: var(--fs-sm);
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .site-footer__bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-inline: var(--space-lg);
    }
}

/* ============================================
   SCROLL REVEAL (progressive enhancement only)
   JS adds .reveal-ready; content is visible without JS
   ============================================ */

.reveal-ready {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-ready.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .reveal-ready,
    .reveal-ready.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .faq-item__a { animation: none; }

    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* ============================================
   GATEWAY PRELOADER (bet.html)
   ============================================ */

.preloader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.preloader__spinner {
    width: 54px;
    height: 54px;
    border: 4px solid var(--border-strong);
    border-top-color: var(--primary);
    border-radius: var(--radius-pill);
    animation: spin 0.9s linear infinite;
}

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