/*
 * ZOCCER CASINO DESIGN SYSTEM
 * Dark stadium-night surfaces, neon pitch green and golden winner accents.
 * Mobile-first; fixed dark theme by project requirement.
 */

/* ============================================
   DESIGN TOKENS - Single fixed dark theme
   ============================================ */
:root {
    color-scheme: dark;
    --background: #071126;
    --background-deep: #040b1b;
    --surface: #0d1a34;
    --surface-strong: #132440;
    --surface-soft: #182c4c;
    --card: #101f3a;
    --card-hover: #152a49;
    --foreground: #f6f8ff;
    --muted: #1b2b48;
    --muted-foreground: #b9c4d8;
    --border: #29466e;
    --border-bright: #35c6ff;
    --primary: #8cff18;
    --primary-hover: #a5ff45;
    --primary-foreground: #071126;
    --secondary: #15e6b2;
    --secondary-foreground: #06162b;
    --accent: #ffd35a;
    --accent-strong: #f3b72d;
    --accent-foreground: #171000;
    --destructive: #d53c4d;
    --destructive-foreground: #ffffff;
    --info: #5bd6ff;
    --success: #71f2b7;
    --focus: #a6ff48;
    --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 20px 55px rgba(0, 0, 0, 0.38);
    --glow-green: 0 0 0 1px rgba(140, 255, 24, 0.42), 0 0 28px rgba(140, 255, 24, 0.18);
    --glow-blue: 0 0 0 1px rgba(53, 198, 255, 0.5), 0 0 30px rgba(53, 198, 255, 0.16);
    --glow-gold: 0 0 0 1px rgba(255, 211, 90, 0.55), 0 0 30px rgba(255, 184, 45, 0.2);
    --gradient-page: radial-gradient(circle at 78% 5%, rgba(31, 86, 144, 0.24), transparent 32%), radial-gradient(circle at 20% 45%, rgba(12, 226, 178, 0.08), transparent 28%), linear-gradient(180deg, #08142b 0%, #071126 46%, #050d20 100%);
    --gradient-primary: linear-gradient(135deg, #b5ff21 0%, #62ed2d 48%, #20e9b8 100%);
    --gradient-gold: linear-gradient(135deg, #ffe58f 0%, #f3b72d 55%, #ffde73 100%);
    --gradient-card: linear-gradient(145deg, rgba(25, 49, 82, 0.98), rgba(8, 19, 40, 0.98));
    --font-display: "Poppins", sans-serif;
    --font-body: "Inter", sans-serif;
    --radius-sm: 0.55rem;
    --radius-md: 0.9rem;
    --radius-lg: 1.3rem;
    --radius-xl: 1.8rem;
    --radius-pill: 999px;
    --space-2xs: 0.35rem;
    --space-xs: 0.6rem;
    --space-sm: 0.9rem;
    --space-md: 1.25rem;
    --space-lg: 1.75rem;
    --space-xl: 2.5rem;
    --space-2xl: 3.5rem;
    --space-3xl: 5rem;
    --container: 76rem;
    --header-height: 4.5rem;
    --text-max: 70ch;
}

/* ============================================
   RESET & OVERFLOW PREVENTION - Predictable layout
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
    background: var(--background);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--gradient-page);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

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

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

a {
    color: inherit;
}

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

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article) a:not([class]):hover {
    color: var(--primary);
}

a[href^="http"],
a[href^="mailto:"],
a[href^="tel:"] {
    overflow-wrap: anywhere;
}

button,
input,
textarea,
select {
    max-width: 100%;
    box-sizing: border-box;
    font: inherit;
}

button,
summary,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

section {
    position: relative;
    overflow: clip;
}

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

pre code,
.code-block code {
    display: block;
    min-width: 0;
    overflow-x: auto;
    white-space: pre;
}

.table-wrapper,
[class*="table-"] {
    min-width: 0;
    max-width: 100%;
}

details {
    height: fit-content;
}

::selection {
    background: var(--primary);
    color: var(--primary-foreground);
}

/* ============================================
   ACCESSIBILITY - Focus, skip link, reduced motion
   ============================================ */
.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

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

/* ============================================
   TYPOGRAPHY - Strong sports-editorial hierarchy
   ============================================ */
h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote,
figure {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.18;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2rem, calc(6vw + 0.4rem), 4.8rem);
}

h2 {
    font-size: clamp(1.65rem, calc(3.2vw + 0.5rem), 3rem);
}

h3 {
    font-size: clamp(1.2rem, calc(1.5vw + 0.7rem), 1.65rem);
}

h4 {
    font-size: 1.1rem;
}

p,
ul,
ol,
blockquote {
    margin-bottom: 1.15rem;
}

.prose {
    max-width: var(--text-max);
    color: var(--muted-foreground);
}

.prose > :last-child {
    margin-bottom: 0;
}

.prose strong {
    color: var(--foreground);
}

.eyebrow,
.section-head__kicker {
    margin-bottom: 0.7rem;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

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

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

/* ============================================
   LAYOUT - Containers, bands and balanced grids
   ============================================ */
.container,
.header-inner,
.footer-inner {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.section {
    padding-block: clamp(3.5rem, 8vw, 7rem);
}

.section--compact {
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.section--surface {
    background: linear-gradient(180deg, rgba(18, 37, 65, 0.52), rgba(7, 17, 38, 0.18));
    border-block: 1px solid rgba(91, 214, 255, 0.12);
}

.section--stadium::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 100%, rgba(40, 156, 130, 0.16), transparent 54%), linear-gradient(115deg, transparent 0 42%, rgba(91, 214, 255, 0.05) 43% 44%, transparent 45% 55%, rgba(91, 214, 255, 0.04) 56% 57%, transparent 58%);
}

.content-grid,
.card-grid,
.feature-grid,
.stats-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
}

.section-head {
    max-width: 52rem;
    margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

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

.section-head--right {
    margin-left: auto;
    text-align: right;
}

.section-head__title {
    margin-bottom: 0.8rem;
}

.section-head__lead {
    max-width: 68ch;
    margin-bottom: 0;
    color: var(--muted-foreground);
    font-size: clamp(1rem, 1.2vw, 1.12rem);
}

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

/* ============================================
   HEADER & NAVIGATION - Compact, opaque mobile drawer
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-height);
    background: var(--background-deep);
    border-bottom: 1px solid rgba(53, 198, 255, 0.24);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.site-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), var(--primary), transparent);
    opacity: 0.7;
}

.header-inner {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    gap: 0.45rem;
}

.site-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
}

.brand-mark {
    width: 2.15rem;
    flex: 0 0 2.15rem;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 0.95;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-brand__sub {
    margin-top: 0.28rem;
    color: var(--accent);
    font-size: 0.72em;
    letter-spacing: 0.08em;
}

.nav-toggle {
    position: relative;
    z-index: 1001;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle span {
    width: 1.25rem;
    height: 2px;
    border-radius: 2px;
    background: var(--foreground);
    transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.primary-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    max-width: 100vw;
    overflow-y: auto;
    padding: 1.25rem max(1rem, calc((100vw - var(--container)) / 2));
    background: var(--background);
}

.primary-nav.is-open {
    display: block;
}

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

.primary-nav__list a {
    display: flex;
    min-height: 3rem;
    align-items: center;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 600;
    text-decoration: none;
}

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

.primary-nav__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.header-actions {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
}

.header-actions__login {
    display: none;
}

.header-actions .btn {
    min-height: 2.55rem;
    padding-inline: 0.72rem;
    font-size: 0.78rem;
}

.age-badge {
    display: inline-flex;
    width: 2.55rem;
    height: 2.55rem;
    flex: 0 0 2.55rem;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--destructive);
    border-radius: 50%;
    background: var(--surface-strong);
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
}

.age-badge--lg {
    width: 3.25rem;
    height: 3.25rem;
    flex-basis: 3.25rem;
    font-size: 0.95rem;
}

/* ============================================
   BUTTONS & LINKS - High-contrast conversion controls
   ============================================ */
.btn {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.72rem 1.2rem;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: 0 0 26px rgba(140, 255, 24, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 0 34px rgba(140, 255, 24, 0.4);
}

.btn-outline {
    border-color: var(--secondary);
    background: var(--background-deep);
    color: var(--foreground);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-gold {
    border-color: var(--accent);
    background: var(--background-deep);
    color: var(--primary);
    box-shadow: var(--glow-gold);
}

.btn-gold:hover {
    background: var(--accent);
    color: var(--accent-foreground);
}

.btn-sm {
    min-height: 2.7rem;
    padding: 0.58rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    min-height: 3.45rem;
    padding: 0.85rem 1.55rem;
    font-size: clamp(1rem, 2vw, 1.12rem);
}

.link-arrow {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.link-arrow::after {
    content: "→";
    transition: transform 160ms ease;
}

.link-arrow:hover::after {
    transform: translateX(0.25rem);
}

/* ============================================
   HERO SYSTEM - Integrated stadium artwork and copy
   ============================================ */
.hero {
    isolation: isolate;
    min-height: calc(100svh - var(--header-height));
    background: radial-gradient(circle at 75% 25%, rgba(53, 198, 255, 0.25), transparent 28%), radial-gradient(circle at 72% 78%, rgba(255, 191, 53, 0.18), transparent 23%), linear-gradient(180deg, rgba(8, 20, 43, 0.2), var(--background-deep));
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.hero::before {
    inset: 0;
    background: linear-gradient(105deg, rgba(4, 11, 27, 0.96) 0%, rgba(4, 11, 27, 0.8) 47%, rgba(4, 11, 27, 0.12) 72%, rgba(4, 11, 27, 0.5) 100%);
}

.hero::after {
    right: 0;
    bottom: 0;
    left: 0;
    height: 32%;
    background: linear-gradient(180deg, transparent, rgba(4, 11, 27, 0.96));
}

.hero__inner {
    display: grid;
    min-height: calc(100svh - var(--header-height));
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    padding-block: 2.5rem 3rem;
}

.hero__copy {
    position: relative;
    z-index: 2;
    max-width: 43rem;
}

.hero__title {
    margin-bottom: 1.2rem;
    font-size: clamp(2rem, calc(7vw + 0.2rem), 4.7rem);
}

.hero__lead {
    max-width: 62ch;
    margin-bottom: 1.6rem;
    color: #d8e0ed;
    font-size: clamp(1rem, 2vw, 1.16rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero__art {
    position: absolute;
    z-index: 1;
    top: 5%;
    right: -22%;
    width: min(83vw, 36rem);
    height: 72%;
    pointer-events: none;
}

.hero__art img[data-visual-role="hero-foreground"] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.42));
}

.page-hero {
    padding-block: clamp(3rem, 7vw, 6rem);
    background: radial-gradient(circle at 82% 25%, rgba(53, 198, 255, 0.16), transparent 31%), linear-gradient(180deg, rgba(17, 37, 67, 0.68), rgba(7, 17, 38, 0.15));
    border-bottom: 1px solid rgba(53, 198, 255, 0.16);
}

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

.page-hero__title {
    margin-bottom: 1rem;
    font-size: clamp(2rem, calc(5vw + 0.35rem), 4rem);
}

.page-hero__copy .btn {
    margin-top: 1.5rem;
}

.page-hero__media {
    position: relative;
}

.page-hero__media::before {
    content: "";
    position: absolute;
    inset: 12% 14%;
    z-index: -1;
    border-radius: 50%;
    background: rgba(53, 198, 255, 0.18);
    filter: blur(45px);
}

.page-hero__media img {
    max-height: 35rem;
    margin-inline: auto;
    object-fit: contain;
}

/* ============================================
   CARDS - Neon-edged content containers
   ============================================ */
.card,
.info-card,
.feature-card,
.game-card {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    box-shadow: var(--shadow-sm);
}

.card,
.info-card,
.feature-card {
    padding: clamp(1.1rem, 3vw, 1.65rem);
}

.card--featured,
.info-card--featured {
    border-color: var(--primary);
    box-shadow: var(--glow-green);
}

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -2.5rem;
    bottom: -2.5rem;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: rgba(53, 198, 255, 0.09);
}

.feature-card__icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(140, 255, 24, 0.42);
    border-radius: 0.8rem;
    background: rgba(140, 255, 24, 0.08);
    color: var(--primary);
    font-size: 1.4rem;
}

.feature-card__title {
    margin-bottom: 0.6rem;
}

.feature-card p,
.game-card p,
.info-card p {
    color: var(--muted-foreground);
}

.game-card {
    position: relative;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--glow-green), var(--shadow-md);
}

.game-card--blue:hover {
    border-color: var(--border-bright);
    box-shadow: var(--glow-blue), var(--shadow-md);
}

.game-card--gold:hover {
    border-color: var(--accent);
    box-shadow: var(--glow-gold), var(--shadow-md);
}

.game-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface);
}

.game-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.game-card:hover .game-card__media img {
    transform: scale(1.035);
}

.game-card__body {
    padding: clamp(1.1rem, 3vw, 1.6rem);
}

.game-card__title {
    margin-bottom: 0.6rem;
}

/* ============================================
   MEDIA SPLITS - Editorial image/text rhythm
   ============================================ */
.media-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
}

.media-split__title {
    margin-bottom: 1rem;
}

.media-split__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem 1.2rem;
    margin-top: 1.5rem;
}

.media-split__media {
    position: relative;
    min-width: 0;
}

.media-split__media::before {
    content: "";
    position: absolute;
    inset: 12% 10%;
    z-index: -1;
    border-radius: 50%;
    background: rgba(53, 198, 255, 0.14);
    filter: blur(42px);
}

.media-split__media img {
    width: 100%;
    max-height: 33rem;
    object-fit: contain;
}

.media-frame {
    overflow: hidden;
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--glow-blue);
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   LISTS & PROCESS - Scannable facts and steps
   ============================================ */
.check-list,
.steps-list,
.link-directory,
.badge-row,
.footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list {
    display: grid;
    gap: 0.75rem;
}

.check-list li {
    position: relative;
    padding-left: 1.9rem;
    color: var(--muted-foreground);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    top: 0.05rem;
    left: 0;
    display: inline-flex;
    width: 1.25rem;
    height: 1.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.78rem;
    font-weight: 900;
}

.check-list--warning li::before {
    content: "!";
    background: var(--accent);
    color: var(--accent-foreground);
}

.steps-list {
    display: grid;
    counter-reset: steps;
    gap: 1rem;
}

.steps-list__item {
    position: relative;
    min-width: 0;
    padding: 1.2rem 1.2rem 1.2rem 4.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    counter-increment: steps;
}

.steps-list__item::before {
    content: counter(steps);
    position: absolute;
    top: 1.1rem;
    left: 1rem;
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    font-family: var(--font-display);
    font-weight: 800;
}

.steps-list__title {
    margin-bottom: 0.35rem;
    font-size: 1.08rem;
}

.steps-list__item p {
    margin-bottom: 0;
    color: var(--muted-foreground);
}

/* ============================================
   BADGES & TRUST ROWS - Providers and payments
   ============================================ */
.badge-block__title,
.footer-payments__title {
    margin-bottom: 0.8rem;
    color: var(--muted-foreground);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.pay-badge {
    display: inline-flex;
    min-height: 2.65rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: #e8edf7;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-row--trust .pay-badge {
    border-color: rgba(185, 196, 216, 0.28);
    filter: saturate(0.8);
}

/* ============================================
   TABLES - Comparison and structured data
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.data-table {
    width: 100%;
    min-width: 42rem;
    border-collapse: collapse;
    color: var(--foreground);
    font-size: 0.94rem;
}

.data-table caption {
    padding: 1rem;
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    text-align: left;
}

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

.data-table thead th {
    background: var(--surface-strong);
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

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

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

.data-table tr:last-child > * {
    border-bottom: 0;
}

.data-table .is-highlight {
    background: rgba(140, 255, 24, 0.08);
    box-shadow: inset 2px 0 var(--primary), inset -2px 0 var(--primary);
}

/* ============================================
   ACCORDIONS - Native details/summary disclosures
   ============================================ */
.faq-list,
.accordion-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem;
}

.faq-item,
.accordion-item {
    align-self: start;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.faq-item summary,
.accordion-item summary {
    position: relative;
    display: flex;
    min-height: 3.75rem;
    align-items: center;
    padding: 0.95rem 3.2rem 0.95rem 1rem;
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker,
.accordion-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after,
.accordion-item summary::after {
    content: "+";
    position: absolute;
    right: 1rem;
    display: inline-flex;
    width: 1.75rem;
    height: 1.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-bright);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.25rem;
    transition: transform 180ms ease;
}

.faq-item[open],
.accordion-item[open] {
    border-color: var(--border-bright);
    box-shadow: var(--glow-blue);
}

.faq-item[open] summary::after,
.accordion-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item__answer,
.accordion-item__content {
    padding: 0 1rem 1.15rem;
}

/* ============================================
   ENGAGEMENT PATTERNS - TL;DR, callouts, stats, quotes
   ============================================ */
.tldr-box,
.callout {
    min-width: 0;
    margin-block: 1.5rem;
    padding: 1.2rem;
    border-radius: var(--radius-md);
}

.tldr-box {
    border: 1px solid var(--border-bright);
    background: linear-gradient(135deg, rgba(53, 198, 255, 0.11), rgba(140, 255, 24, 0.06));
    box-shadow: var(--glow-blue);
}

.tldr-box__title,
.callout__title {
    margin-bottom: 0.55rem;
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 800;
}

.tldr-box ul {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted-foreground);
}

.callout {
    border: 1px solid var(--border);
    border-left: 4px solid var(--info);
    background: var(--surface-strong);
}

.callout--tip {
    border-left-color: var(--primary);
}

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

.callout--danger {
    border-left-color: var(--destructive);
}

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

.stat-highlight {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.stat-highlight__value {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
}

.stat-highlight__label {
    margin-top: 0.55rem;
    color: var(--foreground);
    font-weight: 700;
}

.stat-highlight__note {
    margin-top: 0.35rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.pull-quote {
    position: relative;
    margin: 2rem 0;
    padding: 1.5rem 1.25rem 1.5rem 2rem;
    border-left: 4px solid var(--accent);
    background: linear-gradient(90deg, rgba(255, 211, 90, 0.1), transparent);
}

.pull-quote::before {
    content: "“";
    position: absolute;
    top: -0.5rem;
    left: 0.45rem;
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 3.5rem;
    line-height: 1;
}

.pull-quote p {
    margin-bottom: 0.6rem;
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.4vw, 1.75rem);
    font-weight: 600;
    line-height: 1.4;
}

.pull-quote cite {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    font-style: normal;
}

/* ============================================
   SOCIAL PROOF - Available only for supplied evidence
   ============================================ */
.testimonial-grid,
.social-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
}

.testimonial-card,
.review-card {
    min-width: 0;
    padding: 1.35rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.testimonial-card blockquote,
.review-card blockquote {
    margin-bottom: 1rem;
    color: var(--foreground);
    font-size: 1.05rem;
}

.testimonial-card cite,
.review-card cite {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    font-style: normal;
}

/* ============================================
   TABS - Slot filters and category interfaces
   ============================================ */
.tabs {
    min-width: 0;
}

.tab-list {
    display: flex;
    max-width: 100%;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.2rem 0.2rem 0.75rem;
    scrollbar-color: var(--border) transparent;
}

.tab-button {
    min-height: 2.8rem;
    flex: 0 0 auto;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--foreground);
    font-weight: 700;
    cursor: pointer;
}

.tab-button[aria-selected="true"] {
    border-color: var(--primary);
    background: rgba(140, 255, 24, 0.12);
    color: var(--primary);
}

.tab-panel[hidden] {
    display: none;
}

/* ============================================
   DIRECTORY & CTA - Navigation aid and conversion band
   ============================================ */
.link-directory {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
}

.link-directory li {
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.link-directory a {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.link-directory span {
    display: block;
    margin-top: 0.3rem;
    color: var(--muted-foreground);
    font-size: 0.92rem;
}

.cta-band {
    padding-block: clamp(3rem, 8vw, 5.5rem);
    background: radial-gradient(circle at 50% 0%, rgba(140, 255, 24, 0.12), transparent 42%), linear-gradient(135deg, #0c1d38, #071126);
    border-block: 1px solid rgba(140, 255, 24, 0.34);
    text-align: center;
}

.cta-band__inner {
    max-width: 48rem;
}

.cta-band__title {
    margin-bottom: 0.8rem;
}

.cta-band__text {
    max-width: 62ch;
    margin: 0 auto 1.4rem;
    color: var(--muted-foreground);
}

.cta-band__note {
    margin: 0.85rem 0 0;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* ============================================
   FOOTER - Trust, licensing and responsible play
   ============================================ */
.site-footer {
    border-top: 2px solid rgba(21, 230, 178, 0.42);
    background: var(--background-deep);
}

.footer-inner {
    padding-block: 3rem 1.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

.footer-brand {
    max-width: 28rem;
}

.footer-brand .brand-mark,
.footer-brand .site-brand__text {
    display: inline-flex;
    vertical-align: middle;
}

.footer-brand .brand-mark {
    width: 3rem;
    margin-right: 0.55rem;
    color: var(--primary);
}

.footer-brand .site-brand__text {
    font-size: 1.25rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--muted-foreground);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.footer-nav h2,
.footer-payments h2 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.footer-nav li + li {
    margin-top: 0.45rem;
}

.footer-nav a {
    color: var(--muted-foreground);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

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

.footer-payments {
    margin-top: 2rem;
    padding-block: 1.5rem;
    border-block: 1px solid var(--border);
}

.footer-legal {
    padding-top: 1.5rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-legal__responsible {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    color: #d6deeb;
}

.footer-copy {
    margin-bottom: 0;
    color: var(--foreground);
}

/* ============================================
   SCROLL REVEAL - Progressive enhancement only
   ============================================ */
.reveal-target {
    opacity: 1;
    transform: none;
}

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

.js-reveal .reveal-target {
    transition: opacity 480ms ease, transform 480ms ease;
}

/* ============================================
   TABLET - Section-local two-column layouts
   ============================================ */
@media (min-width: 768px) {
    :root {
        --header-height: 5rem;
    }

    .container,
    .header-inner,
    .footer-inner {
        width: min(100% - 3rem, var(--container));
    }

    .card-grid,
    .feature-grid,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-grid,
    .social-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .link-directory {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .media-split,
    .page-hero__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .media-split--reverse .media-split__copy {
        order: 2;
    }

    .media-split--reverse .media-split__media {
        order: 1;
    }

    .hero__inner {
        align-items: center;
        padding-block: 4rem;
    }

    .hero__copy {
        width: 58%;
    }

    .hero__art {
        top: 4%;
        right: -5%;
        width: 55%;
        height: 90%;
    }

    .header-actions__login {
        display: inline-flex;
    }

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

/* ============================================
   DESKTOP - Reference-matched wide navigation and rhythm
   ============================================ */
@media (min-width: 1024px) {
    :root {
        --header-height: 5.75rem;
    }

    .site-header {
        background: rgba(4, 11, 27, 0.96);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    .header-inner {
        gap: 1.25rem;
    }

    .nav-toggle {
        display: none;
    }

    .site-brand {
        flex: 0 0 auto;
    }

    .brand-mark {
        width: 2.65rem;
        flex-basis: 2.65rem;
    }

    .site-brand__text {
        font-size: 1.3rem;
    }

    .primary-nav {
        position: static;
        display: flex;
        max-width: none;
        flex: 1 1 auto;
        align-items: center;
        justify-content: center;
        overflow: visible;
        padding: 0;
        background: transparent;
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        gap: 0.2rem;
    }

    .primary-nav__list a {
        min-height: 3rem;
        padding-inline: 0.72rem;
        font-size: 0.92rem;
    }

    .primary-nav__actions {
        display: none;
    }

    .header-actions {
        gap: 0.65rem;
    }

    .header-actions .btn {
        padding-inline: 1rem;
        font-size: 0.88rem;
    }

    .hero__inner {
        min-height: min(49rem, calc(100svh - var(--header-height)));
        padding-block: 5rem 7rem;
    }

    .hero__copy {
        width: 54%;
    }

    .hero__art {
        top: 1%;
        right: 1%;
        width: 51%;
        height: 98%;
    }

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

    .feature-grid--4,
    .stats-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-top {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }
}

/* ============================================
   LARGE DESKTOP - Maximum container refinement
   ============================================ */
@media (min-width: 1280px) {
    .primary-nav__list {
        gap: 0.55rem;
    }

    .primary-nav__list a {
        padding-inline: 0.85rem;
        font-size: 0.96rem;
    }

    .hero__copy {
        width: 52%;
    }
}

/* ============================================
   NARROW MOBILE - Header must fit at 320px
   ============================================ */
@media (max-width: 374px) {
    .header-inner {
        width: min(100% - 0.75rem, var(--container));
        gap: 0.3rem;
    }

    .brand-mark {
        width: 1.8rem;
        flex-basis: 1.8rem;
    }

    .site-brand {
        gap: 0.35rem;
    }

    .site-brand__text {
        font-size: 0.83rem;
    }

    .header-actions {
        gap: 0.25rem;
    }

    .header-actions .btn {
        min-height: 2.45rem;
        padding-inline: 0.55rem;
        font-size: 0.7rem;
    }

    .age-badge {
        width: 2.35rem;
        height: 2.35rem;
        flex-basis: 2.35rem;
        font-size: 0.7rem;
    }

    .hero__art {
        right: -34%;
        opacity: 0.68;
    }
}

/* ============================================
   REDUCED MOTION - Content remains fully visible
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js-reveal .reveal-target,
    .js-reveal .reveal-target:not(.is-visible) {
        opacity: 1;
        transform: none;
    }
}
