/*
 * Zoccer Casino Design System
 * Dark stadium-night surfaces, pop-art halftones and vivid scoreboard accents.
 */

:root {
    color-scheme: dark;
    --background: #080e28;
    --background-deep: #050a1d;
    --surface: #101b48;
    --surface-strong: #16265f;
    --surface-soft: #1c2d67;
    --card: #111d4d;
    --card-hover: #17275f;
    --foreground: #f7f9ff;
    --muted: #243464;
    --muted-foreground: #c4cee7;
    --border: #33477f;
    --border-strong: #43cfff;

    --primary: #8cff21;
    --primary-hover: #a1ff48;
    --primary-foreground: #071020;
    --secondary: #25c9ff;
    --secondary-hover: #60d9ff;
    --secondary-foreground: #061223;
    --accent: #ff28ce;
    --accent-hover: #ff58d9;
    --accent-foreground: #18051a;
    --gold: #ffc83d;
    --gold-foreground: #1c1200;
    --destructive: #ff5f6d;
    --destructive-foreground: #160305;
    --success: #62e89a;

    --font-heading: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-body: "Inter", Arial, sans-serif;

    --text-xs: 0.875rem;
    --text-sm: 0.9375rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: clamp(1.75rem, calc(3vw + 1rem), 2.75rem);
    --text-3xl: clamp(2.25rem, calc(5vw + 0.5rem), 4.5rem);
    --text-hero: clamp(2.75rem, calc(7vw + 0.5rem), 6.75rem);

    --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(4rem, calc(7vw + 1rem), 7rem);

    --radius-sm: 0.5rem;
    --radius-md: 0.875rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --radius-pill: 999px;

    --shadow-sm: 0 0.35rem 0 #050818;
    --shadow-button: 0 0.42rem 0 #050818, 0 0 0 0.15rem #050818;
    --shadow-glow-blue: 0 0 2rem rgba(37, 201, 255, 0.2);
    --shadow-glow-lime: 0 0 2rem rgba(140, 255, 33, 0.18);
    --shadow-glow-pink: 0 0 2rem rgba(255, 40, 206, 0.18);

    --header-height: 4.5rem;
    --container: 80rem;
    --content-width: 46rem;
    --transition: 180ms ease;
}

/* ============================================
   RESET & OVERFLOW SAFETY - Predictable layout
   ============================================ */

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

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

body {
    min-width: 320px;
    margin: 0;
    background:
        radial-gradient(circle at 15% 8%, rgba(37, 201, 255, 0.1), transparent 24rem),
        radial-gradient(circle at 86% 28%, rgba(255, 40, 206, 0.08), transparent 28rem),
        var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

body.menu-open {
    overflow: hidden;
}

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,
a,
code {
    overflow-wrap: break-word;
}

a[href^="http"] {
    word-break: break-all;
}

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

pre,
.code-block {
    min-width: 0;
    padding: var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--background-deep);
}

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

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

.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

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

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

section,
header,
footer {
    position: relative;
    overflow: clip;
}

figure,
blockquote {
    margin: 0;
}

ul,
ol {
    padding-inline-start: 1.35rem;
}

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

/* ============================================
   ACCESSIBILITY - Skip link, focus and motion
   ============================================ */

.skip-link {
    position: fixed;
    top: var(--space-sm);
    left: var(--space-sm);
    z-index: 2000;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 800;
    transform: translateY(-180%);
    transition: transform var(--transition);
}

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

:focus-visible {
    outline: 0.2rem solid var(--secondary);
    outline-offset: 0.2rem;
}

.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 - Condensed scoreboard headings
   ============================================ */

h1,
h2,
h3,
h4 {
    margin: 0 0 var(--space-md);
    color: var(--foreground);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.05;
    text-wrap: balance;
}

h1 {
    font-size: var(--text-hero);
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

h2 {
    font-size: var(--text-2xl);
    letter-spacing: -0.015em;
    text-transform: uppercase;
}

h3 {
    font-size: clamp(1.35rem, calc(1.5vw + 1rem), 1.9rem);
    line-height: 1.15;
}

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

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

.lead {
    max-width: 42rem;
    color: var(--foreground);
    font-size: clamp(1.075rem, calc(0.5vw + 1rem), 1.3rem);
    line-height: 1.65;
}

.eyebrow {
    margin-bottom: var(--space-sm);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.1;
    text-transform: uppercase;
}

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

.prose > * + * {
    margin-top: var(--space-md);
}

.prose h3,
.prose h4 {
    margin-top: var(--space-xl);
    color: var(--foreground);
}

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

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

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

/* ============================================
   LAYOUT - Containers, sections and grids
   ============================================ */

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.section {
    padding-block: var(--space-3xl);
    border-top: 1px solid rgba(67, 207, 255, 0.12);
    background:
        radial-gradient(circle at 8% 100%, rgba(37, 201, 255, 0.08), transparent 25rem),
        radial-gradient(circle at 96% 0%, rgba(140, 255, 33, 0.05), transparent 25rem),
        var(--background);
}

.section::after,
.hero::after,
.cta-band::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 9rem;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(67, 207, 255, 0.21) 0 1.2px, transparent 1.5px);
    background-size: 9px 9px;
    mask-image: linear-gradient(to top, #000, transparent);
}

.section--surface {
    background:
        linear-gradient(135deg, rgba(37, 201, 255, 0.05), transparent 42%),
        var(--surface);
}

.section--deep {
    background: var(--background-deep);
}

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

.section__intro {
    max-width: 48rem;
    margin-bottom: var(--space-xl);
    color: var(--muted-foreground);
}

.section__cta {
    margin-top: var(--space-xl);
}

.content-grid,
.card-grid,
.game-grid,
.stat-grid,
.social-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

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

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

.media-section__media img {
    width: 100%;
    object-fit: contain;
}

.media-section__body {
    min-width: 0;
}

/* ============================================
   HEADER & NAVIGATION - Opaque mobile drawer
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-height);
    overflow: visible;
    border-bottom: 1px solid rgba(67, 207, 255, 0.16);
    background: var(--background-deep);
}

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

.site-brand {
    flex: 0 1 auto;
    min-width: 0;
    color: var(--primary);
    text-decoration: none;
}

.site-brand__text,
.site-footer__brand {
    display: inline-flex;
    flex-direction: column;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 8vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 0.72;
    text-transform: uppercase;
}

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

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

.nav-toggle span {
    width: 1.35rem;
    height: 0.14rem;
    border-radius: var(--radius-pill);
    background: var(--primary);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(0.46rem) 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.46rem) rotate(-45deg);
}

.primary-nav {
    display: none;
}

.primary-nav.is-open {
    position: fixed;
    z-index: 999;
    inset: var(--header-height) 0 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    max-width: 100vw;
    padding: var(--space-lg) max(var(--space-md), calc((100vw - var(--container)) / 2));
    overflow-y: auto;
    background: var(--background);
}

.primary-nav__list,
.primary-nav__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    color: var(--foreground);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.primary-nav__list a:hover,
.primary-nav__list a:focus-visible {
    background: var(--surface);
    color: var(--primary);
}

/* ============================================
   BUTTONS - Pop-art raised action controls
   ============================================ */

.btn {
    width: fit-content;
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border: 0.16rem solid var(--background-deep);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-button);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: 0.015em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-0.15rem);
}

.btn:active {
    transform: translateY(0.2rem);
    box-shadow: 0 0.12rem 0 var(--background-deep), 0 0 0 0.13rem var(--background-deep);
}

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

.btn--primary:hover {
    background: var(--primary-hover);
}

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

.btn--secondary:hover {
    background: var(--secondary-hover);
}

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

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

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

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

.btn--sm {
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    font-size: 1.1rem;
}

.btn--lg {
    min-height: 3.75rem;
    padding: 0.9rem clamp(1.25rem, 5vw, 2.4rem);
    font-size: clamp(1.35rem, calc(2vw + 1rem), 2rem);
}

/* ============================================
   HERO - Stadium lights with integrated foreground
   ============================================ */

.hero {
    min-height: calc(100svh - var(--header-height));
    display: flex;
    align-items: center;
    padding-block: var(--space-2xl);
    background:
        radial-gradient(ellipse at 0 4%, rgba(178, 238, 255, 0.9) 0 0.2rem, rgba(37, 201, 255, 0.26) 0.65rem, transparent 7rem),
        radial-gradient(ellipse at 100% 4%, rgba(178, 238, 255, 0.9) 0 0.2rem, rgba(37, 201, 255, 0.26) 0.65rem, transparent 7rem),
        linear-gradient(to bottom, rgba(7, 13, 38, 0.2), var(--background) 88%),
        var(--background);
}

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

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

.hero__title {
    color: var(--primary);
    text-shadow: 0.05em 0.05em 0 var(--background-deep);
}

.hero__subtitle {
    margin-bottom: var(--space-md);
    color: var(--secondary);
    font-size: clamp(1.3rem, calc(1.6vw + 1rem), 2rem);
    letter-spacing: 0.01em;
}

.hero__lead {
    max-width: 39rem;
    margin-bottom: var(--space-lg);
    color: var(--foreground);
    font-size: clamp(1.05rem, calc(0.7vw + 1rem), 1.3rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}

.hero__art {
    position: relative;
    z-index: 1;
    min-height: 18rem;
    display: grid;
    place-items: end center;
}

.hero__art::before {
    content: "";
    position: absolute;
    inset: 20% 5% 0;
    z-index: -1;
    background: radial-gradient(ellipse, rgba(37, 201, 255, 0.22), transparent 66%);
    filter: blur(1rem);
}

.hero__art img[data-visual-role="hero-foreground"] {
    width: min(100%, 46rem);
    max-height: 45rem;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0.7rem 0.7rem 0 rgba(5, 10, 29, 0.74));
}

/* ============================================
   CARDS - Content containers and category tiles
   ============================================ */

.card,
.info-card,
.game-tile,
.testimonial-card {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgba(37, 201, 255, 0.06), transparent 38%),
        var(--card);
    box-shadow: var(--shadow-sm);
}

.card,
.info-card,
.testimonial-card {
    padding: var(--space-lg);
}

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

.info-card {
    position: relative;
    overflow: clip;
}

.info-card::after {
    content: "";
    position: absolute;
    inset: auto -2rem -3rem auto;
    width: 8rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background-image: radial-gradient(circle, currentColor 0 1.4px, transparent 1.7px);
    background-size: 8px 8px;
    opacity: 0.12;
}

.info-card--lime { color: var(--primary); }
.info-card--blue { color: var(--secondary); }
.info-card--pink { color: var(--accent); }
.info-card--gold { color: var(--gold); }

.info-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    margin-bottom: var(--space-md);
    border: 2px solid currentColor;
    border-radius: 50%;
    background: var(--background-deep);
    color: inherit;
    font-size: 1.5rem;
}

.info-card__title {
    color: var(--foreground);
}

.info-card__text {
    color: var(--muted-foreground);
}

.game-tile {
    padding: var(--space-sm);
    text-align: center;
}

.game-tile--lime { border-color: var(--primary); box-shadow: var(--shadow-sm), var(--shadow-glow-lime); }
.game-tile--blue { border-color: var(--secondary); box-shadow: var(--shadow-sm), var(--shadow-glow-blue); }
.game-tile--pink { border-color: var(--accent); box-shadow: var(--shadow-sm), var(--shadow-glow-pink); }
.game-tile--gold { border-color: var(--gold); }

.game-tile__frame {
    position: relative;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - var(--space-sm));
    background:
        radial-gradient(circle, rgba(255, 40, 206, 0.25), transparent 55%),
        var(--background-deep);
}

.game-tile__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0 1px, transparent 1.3px);
    background-size: 7px 7px;
    mask-image: radial-gradient(circle, #000, transparent 70%);
}

.game-tile__frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.game-tile__title {
    margin: var(--space-md) 0 var(--space-xs);
    color: var(--foreground);
}

.game-tile__text {
    padding-inline: var(--space-xs);
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   SUMMARY & CALLOUTS - Scannable reading breaks
   ============================================ */

.tldr,
.callout {
    min-width: 0;
    margin-block: var(--space-xl);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.tldr {
    border: 2px solid var(--secondary);
    box-shadow: var(--shadow-glow-blue);
}

.tldr__title,
.callout__title {
    margin-bottom: var(--space-sm);
    color: var(--foreground);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

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

.tldr__list li::marker {
    color: var(--primary);
}

.callout {
    border-left: 0.35rem solid var(--secondary);
}

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

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

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

.callout__body {
    color: var(--muted-foreground);
}

/* ============================================
   STATS & QUOTES - Editorial emphasis patterns
   ============================================ */

.stat-highlight {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-lg);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-align: center;
    box-shadow: var(--shadow-glow-lime);
}

.stat-highlight__value {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, calc(5vw + 1rem), 5rem);
    font-weight: 700;
    line-height: 0.9;
}

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

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

.pull-quote {
    position: relative;
    margin-block: var(--space-2xl);
    padding: var(--space-xl);
    border-block: 2px solid var(--accent);
    background: linear-gradient(90deg, rgba(255, 40, 206, 0.09), transparent);
}

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

.pull-quote blockquote {
    padding-left: var(--space-lg);
    color: var(--foreground);
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, calc(2vw + 1rem), 2.5rem);
    font-weight: 600;
    line-height: 1.2;
}

.pull-quote figcaption {
    margin-top: var(--space-md);
    padding-left: var(--space-lg);
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   TABLES - VIP league and comparison data
   ============================================ */

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

.data-table caption {
    padding: var(--space-md);
    color: var(--foreground);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
}

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

.data-table thead th {
    background: var(--background-deep);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

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

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

.data-table tbody tr:hover > * {
    background: rgba(37, 201, 255, 0.06);
}

.data-table .is-highlighted > * {
    background: rgba(140, 255, 33, 0.08);
}

.data-table .is-highlighted > :first-child {
    box-shadow: inset 0.3rem 0 0 var(--primary);
}

/* ============================================
   STEPS - Numbered process and checklists
   ============================================ */

.steps {
    margin-block: var(--space-xl);
}

.steps__list {
    display: grid;
    gap: var(--space-md);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

.steps__item {
    position: relative;
    min-width: 0;
    min-height: 4.25rem;
    display: grid;
    gap: var(--space-2xs);
    align-content: center;
    padding: var(--space-md) var(--space-md) var(--space-md) 4.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--card);
    counter-increment: steps;
}

.steps__item::before {
    content: counter(steps);
    position: absolute;
    top: 50%;
    left: var(--space-md);
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border: 2px solid var(--background-deep);
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    transform: translateY(-50%);
}

.steps__label {
    color: var(--foreground);
    font-weight: 700;
}

.steps__text {
    color: var(--muted-foreground);
}

/* ============================================
   FAQ ACCORDION - Native details disclosures
   ============================================ */

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

.faq-item {
    height: fit-content;
    align-self: start;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--background-deep);
    box-shadow: var(--shadow-sm);
    overflow: clip;
}

.faq-item[open] {
    border-color: var(--secondary);
}

.faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 220ms ease, content-visibility 220ms ease allow-discrete;
}

.faq-item[open]::details-content {
    block-size: auto;
}

.faq-item__question {
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md);
    color: var(--foreground);
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, calc(0.8vw + 1rem), 1.45rem);
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    list-style: none;
}

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

.faq-item__question::after {
    content: "+";
    flex: 0 0 1.8rem;
    width: 1.8rem;
    height: 1.8rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--secondary);
    border-radius: 50%;
    color: var(--secondary);
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1;
    transition: transform var(--transition), color var(--transition), background-color var(--transition);
}

.faq-item[open] .faq-item__question::after {
    content: "−";
    background: var(--secondary);
    color: var(--secondary-foreground);
    transform: rotate(180deg);
}

.faq-item__question:focus-visible {
    outline-offset: -0.25rem;
}

.faq-item__answer {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--muted-foreground);
}

.faq-item__answer > *:last-child {
    margin-bottom: 0;
}

/* ============================================
   TRUST BADGES - Payment and provider signals
   ============================================ */

.trust-strip {
    padding: var(--space-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.trust-strip__title {
    margin-bottom: var(--space-md);
    color: var(--foreground);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    text-transform: uppercase;
}

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

.trust-badge {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid #7b8ebd;
    border-radius: var(--radius-sm);
    background: #eef3ff;
    color: #111b42;
    font-size: var(--text-sm);
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 0.2rem 0 #25c9ff;
}

/* ============================================
   SOCIAL PROOF - Optional evidence-backed cards
   ============================================ */

.testimonial-card__quote {
    color: var(--foreground);
    font-size: var(--text-lg);
    line-height: 1.55;
}

.testimonial-card__quote::before {
    content: "“";
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 2rem;
}

.testimonial-card__author {
    margin-top: var(--space-md);
    color: var(--muted-foreground);
    font-size: var(--text-sm);
    font-style: normal;
}

/* ============================================
   CTA BAND - Full-width conversion section
   ============================================ */

.cta-band {
    padding-block: var(--space-3xl);
    border-block: 1px solid rgba(140, 255, 33, 0.35);
    background:
        radial-gradient(circle at 15% 50%, rgba(37, 201, 255, 0.16), transparent 20rem),
        radial-gradient(circle at 85% 50%, rgba(255, 40, 206, 0.12), transparent 20rem),
        var(--surface);
}

.cta-band__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-band__title {
    max-width: 56rem;
    color: var(--primary);
}

.cta-band__text {
    max-width: 42rem;
    margin-bottom: var(--space-xl);
    color: var(--foreground);
    font-size: var(--text-lg);
}

.cta-band__note {
    margin-top: var(--space-md);
    color: var(--muted-foreground);
    font-size: var(--text-xs);
}

/* ============================================
   FOOTER - Internal links, payments and 18+
   ============================================ */

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

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

.site-footer__brand {
    margin-bottom: var(--space-md);
    font-size: 2rem;
}

.site-footer__note {
    max-width: 34rem;
    color: var(--muted-foreground);
}

.site-footer__heading {
    margin-bottom: var(--space-sm);
    color: var(--foreground);
    font-size: 1.25rem;
}

.site-footer__links {
    display: grid;
    gap: var(--space-xs);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    color: var(--muted-foreground);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

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

.site-footer__payments,
.site-footer__legal {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.age-marker {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    color: var(--foreground);
}

.age-marker__badge {
    flex: 0 0 3.25rem;
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    border: 2px solid var(--primary);
    border-radius: 50%;
    background: var(--surface);
    color: var(--foreground);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.site-footer__small {
    max-width: 70rem;
    color: var(--muted-foreground);
    font-size: var(--text-xs);
}

/* ============================================
   LOADER - Canonical gateway preloader support
   ============================================ */

.gateway-page .site-header,
.gateway-page .site-footer,
.gateway-page .skip-link {
    display: none;
}

.gateway-page #main-content,
.gateway-page .preloader-page {
    min-height: 100svh;
}

.preloader-page {
    min-height: calc(100svh - var(--header-height));
    display: grid;
    place-items: center;
    background: var(--background);
}

.preloader {
    width: 4rem;
    aspect-ratio: 1;
    border: 0.35rem solid var(--border);
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ============================================
   SCROLL REVEAL - Progressive enhancement only
   ============================================ */

[data-reveal] {
    opacity: 1;
    transform: none;
}

.js-reveal [data-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translateY(1.25rem);
}

.js-reveal [data-reveal] {
    transition: opacity 500ms ease, transform 500ms ease;
}

.js-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ============================================
   TABLET - Section-local grids and wider header
   ============================================ */

@media (min-width: 768px) {
    :root {
        --header-height: 5.25rem;
    }

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

    .site-brand__text {
        flex-direction: row;
        gap: 0.3em;
        font-size: 2.25rem;
        line-height: 1;
    }

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

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

    .media-section__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: var(--space-2xl);
    }

    .media-section--reverse .media-section__media {
        order: 2;
    }

    .media-section--reverse .media-section__body {
        order: 1;
    }

    .hero__grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: var(--space-lg);
    }

    .hero__art {
        min-height: 29rem;
    }

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

/* ============================================
   DESKTOP - Inline navigation and reference scale
   ============================================ */

@media (min-width: 1024px) {
    :root {
        --header-height: 6rem;
    }

    .site-header {
        position: relative;
    }

    .site-header__inner {
        gap: var(--space-xl);
    }

    .site-brand__text {
        font-size: clamp(2.3rem, 3.1vw, 3.7rem);
    }

    .nav-toggle {
        display: none;
    }

    .primary-nav,
    .primary-nav.is-open {
        position: static;
        inset: auto;
        z-index: auto;
        flex: 1 1 auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: var(--space-lg);
        max-width: none;
        padding: 0;
        overflow: visible;
        background: transparent;
    }

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

    .primary-nav a {
        font-size: 1.2rem;
    }

    .primary-nav__actions .btn--ghost {
        border-color: transparent;
        box-shadow: none;
        background: transparent;
    }

    .hero {
        min-height: min(56rem, calc(100svh - var(--header-height)));
        padding-block: var(--space-3xl);
    }

    .hero__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }

    .hero__art {
        min-height: 36rem;
    }

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

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

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

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

/* ============================================
   WIDE DESKTOP - Keeps content within 1280px
   ============================================ */

@media (min-width: 1280px) {
    .hero__grid {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        gap: var(--space-2xl);
    }

    .section {
        padding-block: 6.5rem;
    }
}

/* ============================================
   REDUCED MOTION - No hidden content or spin
   ============================================ */

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

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

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