/* ============================================================
   JACK CASINO - DESIGN SYSTEM
   Dark theme (charcoal-navy) with neon green / steel
   blue / gold crypto palette by default; automatic light theme
   via prefers-color-scheme. Fonts: Space Grotesk (display),
   Manrope (body). Mobile-first. No theme switcher.
   ============================================================ */

:root {
    --background: #0C1018;
    --foreground: #E8EDF5;
    --card: #141C2C;
    --card-foreground: #E8EDF5;
    --popover: #415d91;
    --popover-foreground: #E8EDF5;
    --primary: #22E07A;
    --primary-foreground: #0C1018;
    --secondary: #141C2C;
    --secondary-foreground: #E8EDF5;
    --muted: #1C2534;
    --muted-foreground: #8A94A8;
    --accent: #F5C445;
    --accent-foreground: #0C1018;
    --destructive: #DC2626;
    --destructive-foreground: #FFFFFF;
    --border: #2A3548;
    --input: #161E2E;
    --ring: #22E07A;

    /* Spacing scale (8px base grid) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-12: 96px;

    --header-height: 72px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;

    --font-display: "Space Grotesk", "Segoe UI", sans-serif;
    --font-body: "Manrope", "Segoe UI", sans-serif;

    /* Signature neon seam + bloom */
    --seam: linear-gradient(120deg, rgba(34, 224, 122, .65), rgba(245, 196, 69, .65));
    --bloom: 0 0 0 1px rgba(34, 224, 122, .06), 0 10px 40px rgba(34, 224, 122, .08);
}

/* ============================================
   LIGHT THEME - same token system, light values
   Green/gold hues preserved; shades darkened for
   contrast on light surfaces. Header overrides its
   hardcoded dark rgba backgrounds here as well.
   ============================================ */
@media (prefers-color-scheme: light) {
    :root {
        color-scheme: light;
        --background: #F5F8FC;
        --foreground: #415d91;
        --card: #FFFFFF;
        --card-foreground: #415d91;
        --popover: #EDF2F8;
        --popover-foreground: #415d91;
        --primary: #0a7a40;
        --secondary: #E9F0F7;
        --secondary-foreground: #415d91;
        --muted: #E3EAF2;
        --muted-foreground: #4A5568;
        --accent: #8c6200;
        --border: #D6DEE8;
        --input: #EEF3F9;
        --ring: #0a7a40;
    }

    .hero__media img {
        box-shadow: 0 24px 60px rgba(15, 23, 42, .22), var(--bloom);
    }

    tbody td,
    .ticker__row {
        border-bottom-color: rgba(16, 23, 36, .1);
    }
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

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

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

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

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--accent);
}

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

section {
    overflow: clip;
}

::selection {
    background: rgba(34, 224, 122, .35);
    color: var(--foreground);
}

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

.skip-link:focus {
    left: 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;
}

/* ============================================
   TYPOGRAPHY - Space Grotesk display, Manrope body
   H1 30→52px / H2 26→38px / H3 20→26px / H4 18→20px
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 var(--space-3);
    color: var(--foreground);
}

h1 {
    font-size: 30px;
    font-weight: 700;
}

h2 {
    font-size: 26px;
    font-weight: 600;
}

h3 {
    font-size: 20px;
    font-weight: 600;
}

h4 {
    font-size: 18px;
    font-weight: 500;
}

@media (min-width: 1024px) {
    h1 { font-size: 52px; }
    h2 { font-size: 38px; }
    h3 { font-size: 26px; }
    h4 { font-size: 20px; }
}

.lead {
    font-size: 19px;
    color: var(--muted-foreground);
    max-width: 68ch;
}

.prose {
    max-width: 78ch;
}

.prose p {
    margin-bottom: var(--space-3);
}

.kicker {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.kicker--gold {
    color: var(--accent);
}

/* ============================================
   LAYOUT - container, sections, grids
   ============================================ */
.container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: var(--space-2);
}

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

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

@media (min-width: 1024px) {
    .section { padding-block: var(--space-12); }
}

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

.section__head {
    max-width: 720px;
    margin-bottom: var(--space-5);
}

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

.grid--2,
.grid--3,
.grid--4 {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
    .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)); }
}

/* ============================================
   BUTTONS - neon green primary, ghost, gold
   Min 48px touch targets, 250ms ease hover lift
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.btn--primary {
    background: linear-gradient(120deg, #22E07A, #4BF59B);
    color: var(--primary-foreground);
    box-shadow: 0 6px 24px rgba(34, 224, 122, .28);
}

.btn--primary:hover {
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: 0 10px 34px rgba(34, 224, 122, .42);
}

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

.btn--ghost:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn--gold {
    background: linear-gradient(120deg, #F5C445, #FFD970);
    color: var(--accent-foreground);
    box-shadow: 0 6px 24px rgba(245, 196, 69, .26);
}

.btn--gold:hover {
    color: var(--accent-foreground);
    transform: translateY(-2px);
    box-shadow: 0 10px 34px rgba(245, 196, 69, .4);
}

.btn--lg {
    min-height: 56px;
    padding: 15px 38px;
    font-size: 18px;
}

/* ============================================
   HEADER - sticky translucent bar + slide-in drawer
   backdrop-filter removed on mobile (fixed-drawer trap)
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(12, 16, 24, .92);
    border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) {
    .site-header {
        background: rgba(12, 16, 24, .78);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    min-height: var(--header-height);
}

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

.site-brand:hover {
    color: var(--foreground);
}

.site-brand__mark {
    display: block;
    border-radius: 9px;
    box-shadow: 0 0 18px rgba(34, 224, 122, .35);
}

.site-brand__text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-brand__accent {
    color: var(--primary);
    margin-left: 4px;
}

/* Navigation: hidden drawer on mobile, inline on desktop */
.site-nav {
    display: none;
}

@media (max-width: 1023px) {
    .site-nav.is-open {
        display: flex;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        flex-direction: column;
        justify-content: space-between;
        gap: var(--space-4);
        background: var(--background);
        padding: var(--space-4) var(--space-3) var(--space-5);
        overflow-y: auto;
        animation: drawer-in .28s ease-out;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .site-nav__link {
        display: flex;
        align-items: center;
        min-height: 52px;
        padding: 0 var(--space-2);
        font-size: 19px;
        border-radius: var(--radius-sm);
    }

    .site-nav__link:hover {
        background: var(--card);
    }

    .site-nav__actions {
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
    }

    .site-nav__actions .btn {
        width: 100%;
    }
}

@keyframes drawer-in {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--foreground);
    border-radius: 999px;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.site-nav__link:hover {
    color: var(--primary);
}

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (min-width: 1024px) {
    .site-nav {
        display: flex;
        align-items: center;
        gap: var(--space-4);
    }
}

/* Hamburger toggle - hidden on desktop */
.nav-toggle {
    position: relative;
    z-index: 1001;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
}

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

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

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

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

/* ============================================
   HERO - full-bleed banners with crypto particles
   ============================================ */
.hero {
    position: relative;
    isolation: isolate;
    padding-block: var(--space-8);
    background:
        radial-gradient(60% 90% at 85% 10%, rgba(34, 224, 122, .10), transparent 60%),
        radial-gradient(50% 80% at 10% 90%, rgba(245, 196, 69, .07), transparent 60%),
        var(--background);
    overflow: clip;
}

@media (min-width: 1024px) {
    .hero { padding-block: var(--space-12); }
}

.hero::before {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: -1;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(34, 224, 122, .5), transparent),
        radial-gradient(2px 2px at 70% 20%, rgba(245, 196, 69, .45), transparent),
        radial-gradient(1.5px 1.5px at 40% 70%, rgba(120, 170, 255, .4), transparent),
        radial-gradient(2px 2px at 85% 60%, rgba(34, 224, 122, .4), transparent),
        radial-gradient(1.5px 1.5px at 55% 45%, rgba(245, 196, 69, .35), transparent),
        radial-gradient(1.5px 1.5px at 10% 80%, rgba(120, 170, 255, .35), transparent);
    background-size: 480px 480px;
    animation: particle-drift 36s linear infinite;
    pointer-events: none;
}

@keyframes particle-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-120px, -80px, 0); }
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
        gap: var(--space-8);
    }
}

.hero__content {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero__content { text-align: left; }
}

.hero__title .hero__highlight {
    background: linear-gradient(100deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__text {
    color: var(--muted-foreground);
    font-size: 18px;
    max-width: 56ch;
    margin-inline: auto;
}

@media (min-width: 1024px) {
    .hero__text { margin-inline: 0; }
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
    margin-top: var(--space-4);
}

@media (min-width: 1024px) {
    .hero__actions { justify-content: flex-start; }
}

.hero__micro {
    margin-top: var(--space-2);
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted-foreground);
}

.hero__media {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero__media img {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    background:
        linear-gradient(var(--card), var(--card)) padding-box,
        var(--seam) border-box;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .5), var(--bloom);
    object-fit: cover;
}

/* ============================================
   CARDS - signature gradient seam + neon bloom
   ============================================ */
.card,
.info-card {
    position: relative;
    min-width: 0;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    background:
        linear-gradient(var(--card), var(--card)) padding-box,
        var(--seam) border-box;
    box-shadow: var(--bloom);
    transition: transform .25s ease-out, box-shadow .25s ease-out;
}

@media (min-width: 1024px) {
    .card, .info-card { padding: var(--space-4); }
}

.info-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 0 1px rgba(34, 224, 122, .14), 0 18px 56px rgba(34, 224, 122, .16);
}

.info-card--gold {
    background:
        linear-gradient(var(--card), var(--card)) padding-box,
        linear-gradient(120deg, rgba(245, 196, 69, .7), rgba(34, 224, 122, .5)) border-box;
}

.info-card--wide {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
    align-items: center;
}

@media (min-width: 768px) {
    .info-card--wide {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        gap: var(--space-5);
    }
}

.info-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-2);
    font-size: 28px;
    border-radius: 14px;
    background: rgba(34, 224, 122, .1);
    border: 1px solid rgba(34, 224, 122, .25);
}

.info-card--gold .info-card__icon {
    background: rgba(245, 196, 69, .1);
    border-color: rgba(245, 196, 69, .3);
}

.info-card__media {
    margin: calc(var(--space-3) * -1) calc(var(--space-3) * -1) var(--space-2);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
}

.info-card--wide .info-card__media {
    margin: calc(var(--space-3) * -1);
    border-radius: var(--radius-md);
}

@media (min-width: 1024px) {
    .info-card__media { margin: calc(var(--space-4) * -1) calc(var(--space-4) * -1) var(--space-3); }
    .info-card--wide .info-card__media { margin: calc(var(--space-4) * -1); }
}

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

.info-card__badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary-foreground);
    background: var(--primary);
    border-radius: 999px;
}

.info-card--gold .info-card__badge {
    background: var(--accent);
    color: var(--accent-foreground);
}

.info-card__title {
    margin-bottom: 10px;
}

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

.info-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--primary);
}

.info-card__link svg {
    transition: transform .25s ease;
}

.info-card__link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   STAT HIGHLIGHT - quotable figures on seam panels
   ============================================ */
.stat-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
}

@media (min-width: 640px) {
    .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .stat-row { grid-template-columns: repeat(var(--stat-cols, 3), minmax(0, 1fr)); }
}

.stat-cell {
    min-width: 0;
    padding: var(--space-4) var(--space-3);
    text-align: center;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    background:
        linear-gradient(var(--card), var(--card)) padding-box,
        var(--seam) border-box;
    box-shadow: var(--bloom);
}

.stat-cell__figure {
    display: block;
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .stat-cell__figure { font-size: 48px; }
}

.stat-cell__figure--green { color: var(--primary); }
.stat-cell__figure--gold { color: var(--accent); }

.stat-cell__label {
    display: block;
    margin-top: 8px;
    color: var(--muted-foreground);
    font-size: 15px;
}

.stat-cell__caption {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted-foreground);
}

.stat-cell--pulse .stat-cell__figure {
    animation: stat-pulse 2.6s ease-in-out infinite;
}

@keyframes stat-pulse {
    0%, 100% { text-shadow: 0 0 0 rgba(34, 224, 122, 0); }
    50% { text-shadow: 0 0 26px rgba(34, 224, 122, .75); }
}

/* ============================================
   FAQ ACCORDION - native details/summary
   ============================================ */
.faq {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    max-width: 860px;
}

.faq__item {
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    background:
        linear-gradient(var(--card), var(--card)) padding-box,
        linear-gradient(120deg, rgba(34, 224, 122, .28), rgba(245, 196, 69, .28)) border-box;
    transition: box-shadow .3s ease;
}

.faq__item[open] {
    box-shadow: 0 0 0 1px rgba(34, 224, 122, .18), 0 12px 40px rgba(34, 224, 122, .1);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    min-height: 56px;
    padding: 16px var(--space-3);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

@media (min-width: 1024px) {
    .faq__question { font-size: 20px; padding-inline: var(--space-4); }
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__chevron {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform .3s ease;
}

.faq__item[open] .faq__chevron {
    transform: rotate(180deg);
}

.faq__answer {
    padding: 0 var(--space-3) var(--space-3);
    color: var(--muted-foreground);
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .faq__answer { padding-inline: var(--space-4); }
}

.faq__answer p {
    margin: 0;
    max-width: 72ch;
}

/* ============================================
   CTA BANNER - full-width conversion band
   ============================================ */
.cta-banner {
    position: relative;
    margin-block: var(--space-8);
    padding-block: var(--space-8);
    background:
        radial-gradient(70% 120% at 50% 0%, rgba(34, 224, 122, .09), transparent 65%),
        var(--secondary);
    border-block: 1px solid transparent;
    border-image: linear-gradient(90deg, rgba(34, 224, 122, .55), rgba(245, 196, 69, .55)) 1;
    box-shadow: 0 0 80px rgba(34, 224, 122, .08);
}

@media (min-width: 1024px) {
    .cta-banner {
        margin-block: var(--space-12);
        padding-block: var(--space-12);
    }
}

.cta-banner__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-banner__title {
    font-size: 28px;
    max-width: 22ch;
}

@media (min-width: 1024px) {
    .cta-banner__title { font-size: 38px; }
}

.cta-banner__text {
    color: var(--muted-foreground);
    max-width: 60ch;
    margin-bottom: var(--space-4);
}

.cta-banner__micro {
    margin: var(--space-2) 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted-foreground);
}

/* ============================================
   FOOTER - 4 columns, crypto chips, compliance
   ============================================ */
.site-footer {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    background: var(--popover);
    border-top: 1px solid var(--border);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
    padding-bottom: var(--space-6);
}

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

@media (min-width: 1024px) {
    .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
}

.site-footer__heading {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--foreground);
    margin-bottom: var(--space-2);
}

.site-footer__note {
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted-foreground);
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--muted-foreground);
}

.site-footer__links a:hover {
    color: var(--primary);
}

.site-footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: var(--space-2);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 14px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
}

.badge--license {
    color: var(--accent);
    border: 1px solid rgba(245, 196, 69, .45);
    background: rgba(245, 196, 69, .08);
}

.badge--age {
    min-width: 44px;
    color: var(--foreground);
    border: 1px solid var(--destructive);
    background: rgba(220, 38, 38, .16);
    border-radius: 50%;
    aspect-ratio: 1;
    padding: 6px;
}

.crypto-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 var(--space-2);
    padding: 0;
    list-style: none;
}

.crypto-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 6px 14px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--muted-foreground);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    filter: grayscale(1);
    transition: filter .25s ease, color .25s ease, border-color .25s ease;
}

.crypto-chip:hover {
    filter: grayscale(0);
    color: var(--foreground);
    border-color: var(--primary);
}

.crypto-chip__coin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-foreground);
    background: var(--primary);
    border-radius: 50%;
}

.crypto-chip:nth-child(even) .crypto-chip__coin {
    background: var(--accent);
    color: var(--accent-foreground);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-2);
    padding-block: var(--space-3);
    border-top: 1px solid var(--border);
}

.site-footer__bottom p {
    margin: 0;
    font-size: 13px;
    color: var(--muted-foreground);
}

/* ============================================
   ENGAGEMENT PATTERNS
   TL;DR box, callout, pull quote, trust row, tables
   ============================================ */
.tldr {
    padding: var(--space-3);
    margin-bottom: var(--space-5);
    border-radius: var(--radius-md);
    border: 1px solid rgba(34, 224, 122, .35);
    background: rgba(34, 224, 122, .06);
}

.tldr__title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.tldr ul {
    margin: 0;
    padding-left: 20px;
    color: var(--foreground);
}

.tldr li + li {
    margin-top: 6px;
}

.callout {
    padding: var(--space-3);
    margin-block: var(--space-4);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    background: var(--card);
}

.callout--gold {
    border-left-color: var(--accent);
}

.callout__title {
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 6px;
}

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

.pull-quote {
    margin-block: var(--space-5);
    padding-left: var(--space-3);
    border-left: 3px solid var(--accent);
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    line-height: 1.4;
    color: var(--foreground);
}

@media (min-width: 1024px) {
    .pull-quote { font-size: 28px; }
}

.pull-quote cite {
    display: block;
    margin-top: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-style: normal;
    color: var(--muted-foreground);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-3) var(--space-5);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    background: var(--card);
    border: 1px solid var(--border);
}

.trust-row__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--muted-foreground);
}

.trust-row__item svg {
    color: var(--primary);
}

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

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: var(--card);
}

thead th {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-align: left;
    color: var(--muted-foreground);
    padding: 14px var(--space-2);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

tbody td {
    padding: 14px var(--space-2);
    border-bottom: 1px solid rgba(42, 53, 72, .5);
    color: var(--foreground);
    white-space: nowrap;
}

tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover {
    background: rgba(34, 224, 122, .04);
}

td.col--featured,
th.col--featured {
    background: rgba(34, 224, 122, .08);
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   LIVE BETS FEED - vertical ticker (clipped, static width)
   ============================================ */
.ticker {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--card);
}

.ticker__track {
    display: flex;
    flex-direction: column;
    animation: ticker-scroll 18s linear infinite;
}

.ticker:hover .ticker__track {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

.ticker__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    height: 44px;
    padding-inline: var(--space-2);
    font-size: 14px;
    border-bottom: 1px solid rgba(42, 53, 72, .5);
}

.ticker__row .ticker__game {
    color: var(--muted-foreground);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticker__row .ticker__win {
    font-family: var(--font-display);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--primary);
    white-space: nowrap;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   .reveal starts hidden; JS adds .is-visible
   Stagger via .reveal-delay-1/2/3
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* a11y-autofix: link-in-text-block */
/* axe link-in-text-block: inline links inside body copy must be
   distinguishable without relying on color. Scope to text containers so
   nav/button/card links (already visually distinct) keep their styling. */
:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* ============================================
   LIGHT-MODE HEADER BACKGROUND
   Placed after base header rules so the dark-mode
   rgba values do not win via source-order cascade.
   ============================================ */
@media (prefers-color-scheme: light) {
    .site-header {
        background: rgba(245, 248, 252, .94);
    }

    @media (min-width: 1024px) {
        .site-header {
            background: rgba(245, 248, 252, .82);
        }
    }
}

/* ============================================
   STEPS LIST - numbered process steps
   ============================================ */
.steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
    margin: var(--space-4) 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

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

.steps li {
    counter-increment: step;
    position: relative;
    min-width: 0;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    background: var(--card);
    border: 1px solid var(--border);
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--primary);
}

.steps__title {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-weight: 600;
}

.steps p {
    margin: 0;
    font-size: 15px;
    color: var(--muted-foreground);
}
