/*
 * BetScore Casino - shared visual foundation
 * Fixed dark-navy theme with restrained gold accents.
 */

:root {
    color-scheme: dark;
    --font-display: "Montserrat", sans-serif;
    --font-body: "Inter", sans-serif;

    --background: #07142f;
    --background-deep: #040d22;
    --surface: #0b1a3a;
    --surface-raised: #10244d;
    --surface-soft: #182d57;
    --surface-inset: #061027;
    --foreground: #f7f8fc;
    --foreground-strong: #ffffff;
    --muted: #c3cbe0;
    --muted-strong: #dbe1ee;
    --gold: #f3c764;
    --gold-light: #ffe39a;
    --gold-dark: #9e6f21;
    --gold-ink: #191000;
    --line: #405276;
    --line-soft: #263a62;
    --success: #72d7aa;
    --success-ink: #051d14;
    --warning: #ffd47a;
    --warning-ink: #211400;
    --danger: #ff9d9d;
    --danger-ink: #2b0707;
    --focus: #fff0b8;

    --shadow-sm: 0 10px 28px #02081780;
    --shadow-md: 0 22px 65px #020817a6;
    --shadow-gold: 0 15px 45px #b67a2438;
    --gold-gradient: linear-gradient(115deg, #a66f20 0%, #f3c764 44%, #ffe39a 62%, #c58a2c 100%);
    --nav-gradient: linear-gradient(90deg, #07142f 0%, #0d2045 48%, #07142f 100%);
    --hero-gradient: radial-gradient(circle at 74% 30%, #173a6c 0%, #0b1a3a 34%, #040d22 78%);
    --section-gradient: linear-gradient(180deg, #07142f 0%, #0b1a3a 52%, #07142f 100%);
    --card-gradient: linear-gradient(145deg, #10244d 0%, #07142f 100%);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --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: 4.5rem;
    --space-4xl: 6rem;

    --container: 76rem;
    --container-narrow: 52rem;
    --header-height: 4.5rem;
    --transition: 180ms ease;
}

/* ============================================
   RESET & DOCUMENT - Predictable, overflow-safe base
   ============================================ */

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

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

body {
    min-width: 20rem;
    margin: 0;
    overflow-x: clip;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.68;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

main {
    display: block;
    min-width: 0;
}

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

img {
    display: block;
}

button,
a,
input,
textarea,
select,
summary {
    font: inherit;
}

button,
summary {
    cursor: pointer;
}

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

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

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

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

section {
    position: relative;
    overflow: clip;
}

figure,
blockquote {
    margin: 0;
}

ul,
ol {
    padding-left: 1.25rem;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 var(--space-md);
    color: var(--foreground-strong);
    font-family: var(--font-display);
    line-height: 1.16;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.25rem, calc(4vw + 0.5rem), 4.75rem);
}

h2 {
    font-size: clamp(1.8rem, calc(2.5vw + 0.75rem), 3.25rem);
}

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

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

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

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

::selection {
    background: var(--gold);
    color: var(--gold-ink);
}

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

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

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

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

/* ============================================
   LAYOUT - Shared containers and section rhythm
   ============================================ */

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

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

.content-section {
    padding-block: var(--space-3xl);
    background: var(--background);
}

.content-section--soft {
    background: var(--section-gradient);
}

.content-section--inset {
    margin-inline: var(--space-md);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--surface-inset);
}

.section-grid {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
}

.section-grid--top {
    align-items: start;
}

.section-head {
    max-width: 52rem;
    margin-bottom: var(--space-xl);
}

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

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

.section-head__kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    margin-bottom: var(--space-sm);
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.section-head__lead {
    max-width: 46rem;
    margin: 0 auto;
    color: var(--muted-strong);
    font-size: clamp(1rem, calc(0.45vw + 0.95rem), 1.2rem);
}

.section-head--left .section-head__lead {
    margin-left: 0;
}

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

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

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

.prose ul,
.prose ol {
    display: grid;
    gap: var(--space-xs);
}

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

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

/* ============================================
   HEADER & NAVIGATION - Fixed premium navigation shell
   ============================================ */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    min-height: var(--header-height);
    border-bottom: 1px solid var(--gold-dark);
    background: var(--nav-gradient);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: var(--header-height);
    gap: var(--space-sm);
}

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

.site-brand__mark {
    display: grid;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    place-items: center;
    margin-right: var(--space-xs);
    color: var(--gold);
}

.site-brand__text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.site-brand__text strong {
    overflow: hidden;
    font-size: 1rem;
    letter-spacing: -0.035em;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.site-brand__text span {
    margin-top: 0.2rem;
    letter-spacing: 0.12em;
}

.nav-toggle {
    position: relative;
    z-index: 1001;
    display: inline-grid;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.65rem;
    place-content: center;
    gap: 0.3rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--foreground-strong);
}

.nav-toggle span {
    display: block;
    width: 1.35rem;
    height: 2px;
    border-radius: var(--radius-pill);
    background: currentColor;
    transition: transform var(--transition), opacity var(--transition);
}

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

.primary-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    max-width: 100vw;
    padding: var(--space-lg);
    overflow-y: auto;
    background: var(--background);
}

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

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

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

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

.primary-nav__list a[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--gold);
}

.primary-nav__actions {
    margin-top: var(--space-lg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.header-actions .btn--ghost {
    display: none;
}

/* ============================================
   BUTTONS - Conversion and navigation actions
   ============================================ */

.btn {
    display: inline-flex;
    min-height: 2.875rem;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.7rem 1.2rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

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

.btn--gold {
    border-color: var(--gold-light);
    background: var(--gold-gradient);
    color: var(--gold-ink);
    box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
    box-shadow: 0 18px 50px #b67a2466;
}

.btn--ghost {
    border-color: var(--gold);
    background: var(--surface);
    color: var(--gold-light);
}

.btn--ghost:hover {
    background: var(--surface-raised);
}

.btn--sm {
    min-height: 2.6rem;
    padding-inline: 0.9rem;
    font-size: 0.875rem;
}

.btn--lg {
    min-height: 3.5rem;
    padding-inline: clamp(1.5rem, calc(2vw + 1rem), 2.75rem);
    font-size: 1rem;
}

/* ============================================
   HERO - Integrated stadium artwork and split copy
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - var(--header-height));
    overflow: clip;
    background: var(--hero-gradient);
}

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

.hero::before {
    top: -20%;
    right: 12%;
    width: clamp(6rem, 18vw, 16rem);
    height: 140%;
    background: linear-gradient(90deg, #f3c76400, #f3c7643d, #ffe39a82, #f3c76400);
    transform: rotate(23deg);
    filter: blur(8px);
}

.hero::after {
    right: -10%;
    bottom: -35%;
    width: 80%;
    aspect-ratio: 1;
    border: 1px solid var(--line-soft);
    border-radius: 50%;
    box-shadow: 0 0 0 2rem #10244d1f, 0 0 0 5rem #10244d14;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(100% - 2rem, var(--container));
    min-height: calc(100svh - var(--header-height));
    margin-inline: auto;
    padding-block: var(--space-2xl);
    gap: var(--space-xl);
    align-items: center;
}

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

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

.hero__title .gold-text,
.hero__title strong {
    color: var(--gold);
}

.hero__lead {
    max-width: 42rem;
    color: var(--muted-strong);
    font-size: clamp(1rem, calc(0.65vw + 0.95rem), 1.25rem);
}

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

.hero__microcopy {
    max-width: 38rem;
    margin-top: var(--space-sm);
    color: var(--muted);
    font-size: 0.875rem;
}

.hero__media {
    position: relative;
    z-index: 1;
    align-self: end;
    min-height: 22rem;
}

.hero__media img[data-visual-role="hero-foreground"] {
    width: 100%;
    height: 100%;
    max-height: 42rem;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 25px 35px #02081799);
}

.hero__stadium-lines {
    position: absolute;
    z-index: -1;
    right: -15%;
    bottom: 7%;
    width: 125%;
    height: 35%;
    border-top: 1px solid var(--line);
    border-radius: 50% 50% 0 0;
    background: linear-gradient(180deg, #10244d33, #07142f00);
    transform: perspective(420px) rotateX(62deg);
}

/* ============================================
   CARDS - Premium content containers
   ============================================ */

.card,
.feature-card,
.link-card,
.row-card,
.stat-card,
.review-card,
.social-proof-card {
    min-width: 0;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: var(--card-gradient);
    box-shadow: var(--shadow-sm);
}

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

.card--gold {
    border-color: var(--gold-dark);
    box-shadow: var(--shadow-gold);
}

.feature-grid,
.link-grid,
.review-grid,
.stat-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    align-items: stretch;
}

.feature-card,
.link-card {
    display: flex;
    padding: var(--space-lg);
    flex-direction: column;
}

.feature-card__icon,
.row-card__icon {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 auto;
    place-items: center;
    margin-bottom: var(--space-md);
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-md);
    background: var(--surface-inset);
    color: var(--gold);
    font-size: 1.75rem;
}

.feature-card__title,
.link-card__title,
.row-card__title {
    margin-bottom: var(--space-sm);
}

.feature-card__text,
.link-card__text,
.row-card__text {
    color: var(--muted-strong);
}

.feature-card__link,
.link-card__link {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    color: var(--gold-light);
    font-weight: 800;
    text-underline-offset: 0.2em;
}

.link-card__points {
    display: grid;
    margin: 0 0 var(--space-md);
    gap: var(--space-xs);
    color: var(--muted-strong);
}

.link-card__points li::marker {
    color: var(--gold);
}

.row-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
}

.row-card--flat {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.row-card-stack {
    display: grid;
    gap: var(--space-md);
}

.row-card-stack--2 {
    margin-top: var(--space-md);
}

.row-card__title--sm {
    font-size: 1.05rem;
}

.row-card__icon {
    width: 3rem;
    height: 3rem;
    margin: 0;
    font-size: 1.4rem;
}

.row-card__body {
    min-width: 0;
}

.row-card__text {
    margin: 0;
}

/* ============================================
   GAMIFICATION & PRODUCT VISUALS - Four balanced features
   ============================================ */

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

.game-feature {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-md);
    background: var(--card-gradient);
    box-shadow: var(--shadow-sm);
}

.game-feature__visual {
    display: grid;
    min-height: 14rem;
    place-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--line-soft);
    background: var(--surface-inset);
}

.game-feature__visual img {
    width: 100%;
    max-height: 15rem;
    object-fit: contain;
}

.game-feature__body {
    padding: var(--space-lg);
}

.game-feature__body p {
    margin: 0;
    color: var(--muted-strong);
}

.product-frame {
    position: relative;
    min-width: 0;
    padding: 0.35rem;
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-lg);
    background: var(--gold-gradient);
    box-shadow: var(--shadow-gold);
}

.product-frame__screen {
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 0.35rem);
    background: var(--surface-inset);
}

.product-frame img {
    width: 100%;
}

/* ============================================
   PROCESS STEPS - Withdrawal, claiming and verification flows
   ============================================ */

.process-steps {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    list-style: none;
    counter-reset: process;
}

.process-step {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: var(--card-gradient);
}

.process-step__num {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--gold-dark);
    border-radius: 50%;
    background: var(--surface-inset);
    color: var(--gold-light);
    font-family: var(--font-display);
    font-weight: 800;
}

.process-step__body {
    min-width: 0;
}

.process-step__title {
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
}

.process-step__text {
    margin: 0;
    color: var(--muted-strong);
}

/* ============================================
   SUMMARY, CALLOUTS & CHECKLISTS - Citation-friendly breaks
   ============================================ */

.tldr,
.callout,
.checklist {
    min-width: 0;
    padding: var(--space-lg);
    border: 1px solid var(--gold-dark);
    border-left-width: 4px;
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
}

.tldr__title,
.callout__title,
.checklist__title {
    margin: 0 0 var(--space-sm);
    color: var(--gold-light);
    font-family: var(--font-display);
    font-weight: 800;
}

.tldr__list,
.checklist__list {
    display: grid;
    margin: 0;
    padding: 0;
    gap: var(--space-sm);
    list-style: none;
}

.tldr__list li,
.checklist__list li {
    position: relative;
    padding-left: 1.7rem;
    color: var(--foreground);
}

.tldr__list li::before,
.checklist__list li::before {
    position: absolute;
    top: 0.2rem;
    left: 0;
    color: var(--gold);
    font-weight: 900;
    content: "✓";
}

.callout {
    display: flex;
    gap: var(--space-md);
}

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

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

.callout--success {
    border-color: var(--success);
}

.callout__icon {
    flex: 0 0 auto;
    color: var(--gold);
    font-size: 1.5rem;
}

.callout__body {
    min-width: 0;
}

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

/* ============================================
   STAT & SOCIAL PROOF - Evidence-aware presentation
   ============================================ */

.stat-card {
    padding: var(--space-lg);
    text-align: center;
}

.stat-card__number {
    display: block;
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: clamp(2rem, calc(3vw + 1rem), 4rem);
    font-weight: 800;
    line-height: 1;
}

.stat-card__label {
    display: block;
    margin-top: var(--space-sm);
    color: var(--foreground-strong);
    font-weight: 700;
}

.stat-card__source,
.source-note__meta {
    display: block;
    margin-top: var(--space-xs);
    color: var(--muted);
    font-size: 0.875rem;
}

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

.review-card,
.social-proof-card {
    padding: var(--space-lg);
}

.review-card__source {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-weight: 800;
}

.review-card__text {
    color: var(--muted-strong);
}

.review-card__meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.875rem;
}

.rating-stars {
    display: inline-flex;
    gap: 0.2rem;
    color: var(--gold);
}

.source-note {
    padding-top: var(--space-sm);
    border-top: 1px solid var(--line-soft);
    color: var(--muted-strong);
    font-size: 0.875rem;
}

/* ============================================
   PULL QUOTE - Editorial visual break
   ============================================ */

.pull-quote {
    padding: var(--space-xl);
    border-top: 1px solid var(--gold-dark);
    border-bottom: 1px solid var(--gold-dark);
    text-align: center;
}

.pull-quote blockquote {
    color: var(--foreground-strong);
    font-family: var(--font-display);
    font-size: clamp(1.4rem, calc(1.8vw + 0.8rem), 2.4rem);
    font-weight: 700;
    line-height: 1.35;
}

.pull-quote blockquote::before {
    color: var(--gold);
    content: "“";
}

.pull-quote blockquote::after {
    color: var(--gold);
    content: "”";
}

.pull-quote figcaption {
    margin-top: var(--space-md);
    color: var(--muted);
    font-size: 0.875rem;
}

/* ============================================
   TABLES - Comparison and RTP data
   ============================================ */

.table-wrapper,
[class*="table-"] {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: var(--surface);
}

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

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

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

.data-table thead th {
    background: var(--surface-inset);
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 0.875rem;
    letter-spacing: 0.03em;
}

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

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

.data-table .is-highlight {
    background: var(--surface-raised);
    box-shadow: inset 2px 0 0 var(--gold), inset -2px 0 0 var(--gold);
}

/* ============================================
   ACCORDIONS - Native details/summary disclosures
   ============================================ */

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

.faq-item,
details {
    height: fit-content;
    min-width: 0;
    align-self: start;
}

.faq-item {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.faq-item__q,
details > summary {
    position: relative;
    display: flex;
    min-height: 3.5rem;
    align-items: center;
    padding: var(--space-md) 3.5rem var(--space-md) var(--space-md);
    color: var(--foreground-strong);
    font-family: var(--font-display);
    font-weight: 700;
    list-style: none;
}

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

.faq-item__q::after,
details > summary::after {
    position: absolute;
    right: var(--space-md);
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    border: 1px solid var(--gold-dark);
    border-radius: 50%;
    color: var(--gold-light);
    content: "+";
    transition: transform var(--transition);
}

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

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

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

.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;
}

/* ============================================
   PAYMENTS & TRUST BADGES - Compact scannable rows
   ============================================ */

.payment-row,
.trust-badges {
    display: flex;
    max-width: 100%;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    list-style: none;
}

.payment-chip,
.trust-badge {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-raised);
    color: var(--foreground-strong);
    font-size: 0.875rem;
    font-weight: 800;
    text-align: center;
}

.payment-chip--lg {
    min-width: 8rem;
    min-height: 4rem;
    border-color: var(--gold-dark);
    font-family: var(--font-display);
    font-size: 1rem;
}

.payment-note {
    max-width: 44rem;
    margin: var(--space-md) auto 0;
    color: var(--muted);
    font-size: 0.875rem;
    text-align: center;
}

/* ============================================
   MEDIA - Framed editorial figures and captions
   ============================================ */

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

.media-figure img {
    width: 100%;
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-md);
    background: var(--surface-inset);
    box-shadow: var(--shadow-md);
}

.media-figure figcaption {
    margin-top: var(--space-sm);
    color: var(--muted);
    font-size: 0.875rem;
    text-align: center;
}

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

.cta-band {
    margin-block: var(--space-2xl);
    padding: 1px;
    border-radius: var(--radius-lg);
    background: var(--gold-gradient);
    box-shadow: var(--shadow-gold);
}

.cta-band__inner {
    padding: clamp(1.75rem, calc(4vw + 0.5rem), 4rem) var(--space-lg);
    border-radius: calc(var(--radius-lg) - 1px);
    background: var(--surface-inset);
    text-align: center;
}

.cta-band__title {
    max-width: 46rem;
    margin-inline: auto;
}

.cta-band__text {
    max-width: 43rem;
    margin: 0 auto var(--space-lg);
    color: var(--muted-strong);
}

.cta-band__note {
    max-width: 40rem;
    margin: var(--space-sm) auto 0;
    color: var(--muted);
    font-size: 0.875rem;
}

/* ============================================
   FORMS & CODE - Accessible utility surfaces
   ============================================ */

input,
textarea,
select {
    min-height: 3rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-inset);
    color: var(--foreground);
}

::placeholder {
    color: var(--muted);
}

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

pre {
    padding: var(--space-md);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: var(--surface-inset);
}

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

/* ============================================
   FOOTER - Navigation, payments and responsibility
   ============================================ */

.site-footer {
    border-top: 1px solid var(--gold-dark);
    background: var(--background-deep);
}

.site-footer__inner {
    padding-block: var(--space-2xl) var(--space-lg);
}

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

.footer-col__title {
    display: block;
    margin-bottom: var(--space-sm);
    color: var(--gold-light);
    font-family: var(--font-display);
    font-weight: 800;
}

.footer-col__text,
.footer-col__note {
    color: var(--muted-strong);
    font-size: 0.9rem;
}

.footer-col__note {
    margin-top: var(--space-sm);
    color: var(--muted);
}

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

.footer-links a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: var(--foreground);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.payment-row--footer {
    justify-content: flex-start;
}

.footer-flags {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: var(--muted-strong);
    font-size: 0.9rem;
}

.age-badge {
    display: inline-grid;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    place-items: center;
    border: 2px solid var(--danger);
    border-radius: 50%;
    color: var(--foreground-strong);
    font-family: var(--font-display);
    font-weight: 800;
}

.site-footer__bar {
    display: flex;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--line-soft);
    flex-direction: column;
    gap: var(--space-xs);
    color: var(--muted);
    font-size: 0.875rem;
}

.site-footer__bar p {
    margin: 0;
}

/* ============================================
   SITEMAP - Grouped page listing
   ============================================ */

.sitemap-groups {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.sitemap-group {
    padding: var(--space-lg);
}

.sitemap-group__title {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--line-soft);
    color: var(--gold-light);
}

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

.sitemap-list li {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.sitemap-list a {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    text-underline-offset: 0.2em;
}

.sitemap-list a:hover {
    color: var(--foreground-strong);
    text-decoration: underline;
}

.sitemap-list a[aria-current="page"] {
    color: var(--muted);
    pointer-events: none;
}

.sitemap-list__desc {
    color: var(--muted-strong);
    font-size: 0.95rem;
    line-height: 1.6;
}

.sitemap-note {
    margin-top: var(--space-xl);
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

@media (min-width: 48rem) {
    .sitemap-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .sitemap-groups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

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

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

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

/* ============================================
   TABLET - Increased density and two-column sections
   ============================================ */

@media (min-width: 48rem) {
    :root {
        --header-height: 5rem;
    }

    .container,
    .section-inner,
    .site-header__inner,
    .site-footer__inner {
        width: min(100% - 3rem, var(--container));
    }

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

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

    .hero__inner {
        width: min(100% - 3rem, var(--container));
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }

    .hero__media {
        min-height: 33rem;
    }

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

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

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

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

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

    .site-footer__bar {
        flex-direction: row;
        justify-content: space-between;
    }

    .header-actions .btn--ghost {
        display: inline-flex;
    }
}

/* ============================================
   DESKTOP - Reference-matched horizontal navigation and hero
   ============================================ */

@media (min-width: 64rem) {
    :root {
        --header-height: 5.5rem;
    }

    .site-header {
        position: sticky;
    }

    .site-header__inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: var(--space-lg);
    }

    .nav-toggle {
        display: none;
    }

    .site-brand__mark {
        width: 2.75rem;
        height: 2.75rem;
    }

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

    .site-brand__text strong {
        font-size: 1.5rem;
    }

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

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

    .primary-nav__list a {
        position: relative;
        min-height: 3rem;
        padding-inline: 0.8rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .primary-nav__list a[aria-current="page"] {
        background: transparent;
        box-shadow: none;
    }

    .primary-nav__list a[aria-current="page"]::after {
        position: absolute;
        right: 0.8rem;
        bottom: 0;
        left: 0.8rem;
        height: 2px;
        border-radius: var(--radius-pill);
        background: var(--gold);
        content: "";
    }

    .primary-nav__actions {
        display: none;
    }

    .hero {
        min-height: 42rem;
    }

    .hero__inner {
        min-height: 42rem;
        padding-block: var(--space-2xl);
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: var(--space-3xl);
    }

    .hero__copy {
        order: 2;
    }

    .hero__media {
        order: 1;
        min-height: 38rem;
    }

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

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

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

    .process-steps .process-step::after {
        position: absolute;
        top: 50%;
        right: calc(var(--space-md) * -1 - 0.35rem);
        width: 1.4rem;
        height: 1px;
        background: var(--gold-dark);
        content: "";
    }

    .process-steps .process-step:last-child::after {
        display: none;
    }

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

    .site-footer__grid {
        grid-template-columns: 1.15fr 0.7fr 1.15fr 1fr;
    }
}

/* ============================================
   WIDE DESKTOP - Maximum content width and navigation scale
   ============================================ */

@media (min-width: 80rem) {
    .primary-nav__list {
        gap: var(--space-xs);
    }

    .primary-nav__list a {
        padding-inline: 1rem;
        font-size: 0.95rem;
    }

    .header-actions {
        gap: var(--space-sm);
    }

    .btn--sm {
        padding-inline: 1.15rem;
    }
}

/* ============================================
   NARROW MOBILE - Keep header controls inside 320px
   ============================================ */

@media (max-width: 23.4rem) {
    .site-header__inner {
        width: min(100% - 1rem, var(--container));
        gap: var(--space-xs);
    }

    .site-brand__mark {
        display: none;
    }

    .site-brand__text strong {
        font-size: 0.9rem;
    }

    .site-brand__text span {
        font-size: 0.68rem;
    }

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

/* ============================================
   REDUCED MOTION - Preserve visibility and usability
   ============================================ */

@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-ready [data-reveal]:not(.is-visible) {
        opacity: 1;
        transform: none;
    }
}
