/*
 * BetScore Casino design system
 * Mobile-first, fixed dark navy / yellow pop-art identity.
 */

:root {
    color-scheme: dark;
    --background: #0d1429;
    --background-deep: #080d1c;
    --surface: #172342;
    --surface-strong: #203158;
    --surface-soft: #2b416f;
    --card: #182642;
    --card-raised: #20345b;
    --foreground: #f7f8fc;
    --foreground-strong: #ffffff;
    --muted: #263858;
    --muted-foreground: #c5ccda;
    --primary: #cba300;
    --primary-hover: #ffe15b;
    --primary-foreground: #0b1020;
    --secondary: #dce6ff;
    --secondary-foreground: #10182b;
    --accent: #cba300;
    --accent-foreground: #0b1020;
    --destructive: #b82638;
    --destructive-foreground: #ffffff;
    --success: #38d37d;
    --success-foreground: #07150d;
    --border: #6077a3;
    --border-strong: #0a0f1d;
    --focus: #fff09b;
    --paper: #f8f7f2;
    --paper-foreground: #111726;
    --paper-muted: #4c566b;
    --stadium-green: #27743d;
    --shadow-sm: 0 4px 0 #080b14;
    --shadow-md: 0 8px 0 #080b14;
    --shadow-lg: 0 14px 30px rgba(0, 0, 0, 0.32);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;
    --container: 1280px;
    --content: 780px;
    --header-height: 72px;
    --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;
    --font-display: "Archivo", sans-serif;
    --font-body: "Inter", sans-serif;
    --line: 2px solid var(--border-strong);
}

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

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

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

body {
    min-width: 320px;
    margin: 0;
    overflow-x: clip;
    background:
        radial-gradient(circle at 15% 10%, rgba(72, 99, 158, 0.22), transparent 32rem),
        linear-gradient(180deg, var(--background) 0%, var(--background-deep) 100%);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

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

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

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

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

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

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

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

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

section {
    overflow: clip;
}

details {
    height: fit-content;
}

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

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

:where(a, button, summary, input, textarea, select):focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

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

/* ============================================
   TYPOGRAPHY - Condensed, energetic display type
   ============================================ */

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote,
figure {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
.site-brand,
.btn,
summary {
    font-family: var(--font-display);
}

h1,
h2,
h3,
h4 {
    color: var(--foreground-strong);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h1 {
    margin-bottom: var(--space-lg);
    font-size: clamp(2.35rem, calc(6vw + 0.4rem), 4.6rem);
}

h2 {
    margin-bottom: var(--space-lg);
    font-size: clamp(1.8rem, calc(3.8vw + 0.5rem), 3rem);
}

h3 {
    margin-bottom: var(--space-sm);
    font-size: clamp(1.25rem, calc(1.8vw + 0.75rem), 1.65rem);
}

h4 {
    margin-bottom: var(--space-xs);
    font-size: 1.12rem;
}

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

p:last-child,
ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

.lead,
.page-lead {
    max-width: 65ch;
    color: var(--muted-foreground);
    font-size: clamp(1.05rem, calc(0.5vw + 0.95rem), 1.24rem);
    line-height: 1.7;
}

.eyebrow {
    margin-bottom: var(--space-sm);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

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

.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);
    transform: translateY(-160%);
    border: var(--line);
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 800;
    transition: transform 160ms ease;
}

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

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

main {
    min-height: 60vh;
}

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

.content-container {
    max-width: var(--content);
}

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

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

.section--navy {
    background:
        radial-gradient(circle at 90% 15%, rgba(255, 210, 30, 0.08), transparent 20rem),
        var(--surface);
}

.section--paper {
    background:
        radial-gradient(circle at 100% 100%, rgba(20, 35, 68, 0.09) 0 1px, transparent 1.5px) 0 0 / 8px 8px,
        var(--paper);
    color: var(--paper-foreground);
}

.section--paper h1,
.section--paper h2,
.section--paper h3,
.section--paper h4 {
    color: var(--paper-foreground);
}

.section--paper .lead,
.section--paper .page-lead {
    color: var(--paper-muted);
}

.section-heading {
    max-width: 1000px;
    margin-inline: auto;
    text-align: center;
}

.section-heading p {
    max-width: 70ch;
    margin-inline: auto;
    color: var(--muted-foreground);
}

.section--paper .section-heading p {
    color: var(--paper-muted);
}

.stack > * + * {
    margin-top: var(--space-lg);
}

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

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

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

/* Pop-art halftone layer for panels and banners. */
.halftone {
    position: relative;
    isolation: isolate;
}

.halftone::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(circle, rgba(3, 7, 18, 0.55) 0 1px, transparent 1.6px);
    background-size: 9px 9px;
    content: "";
    mask-image: linear-gradient(90deg, #000, transparent 62%);
    pointer-events: none;
}

/* ============================================
   HEADER & NAVIGATION - Fixed high-contrast shell
   ============================================ */

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

.site-header__inner {
    display: flex;
    width: min(100% - 1rem, var(--container));
    height: 100%;
    margin-inline: auto;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.site-brand {
    display: inline-flex;
    min-width: 0;
    color: var(--foreground-strong);
    align-items: center;
    gap: 0.55rem;
    line-height: 0.95;
    text-decoration: none;
    text-transform: uppercase;
}

.site-brand__mark {
    display: grid;
    width: 38px;
    flex: 0 0 38px;
    aspect-ratio: 1;
    place-items: center;
    filter: drop-shadow(0 3px 0 #000);
}

.site-brand__text {
    display: grid;
    min-width: 0;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.035em;
}

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

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

.site-header__controls {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 0.38rem;
}

.primary-nav {
    display: none;
    z-index: 999;
}

.primary-nav.is-open {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    max-width: 100vw;
    padding: var(--space-lg);
    overflow-y: auto;
    background: var(--background);
    flex-direction: column;
}

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

.primary-nav__list a {
    display: flex;
    min-height: 52px;
    padding: 0.8rem var(--space-md);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--foreground-strong);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    align-items: center;
    text-decoration: none;
}

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

.primary-nav__actions {
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.menu-toggle {
    position: relative;
    z-index: 1001;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    place-content: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    border-radius: 2px;
    background: var(--foreground-strong);
    transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.header-login,
.age-badge {
    display: none;
}

.age-badge {
    width: 44px;
    height: 44px;
    border: 2px solid var(--foreground-strong);
    border-radius: 50%;
    background: var(--foreground-strong);
    color: var(--background-deep);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 900;
    place-items: center;
}

/* ============================================
   BUTTONS - One dominant yellow conversion action
   ============================================ */

.btn {
    display: inline-flex;
    min-height: 48px;
    padding: 0.75rem 1.2rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.1;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    transition: transform 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

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

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

.btn--primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 0 var(--border-strong);
}

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

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

.btn--sm {
    min-height: 44px;
    padding: 0.63rem 0.9rem;
    font-size: 0.92rem;
}

.btn--lg {
    min-height: 56px;
    padding: 0.9rem 1.6rem;
    font-size: 1.12rem;
}

/* ============================================
   HEROES - Integrated transparent art over navy
   ============================================ */

.page-hero {
    position: relative;
    min-height: calc(100svh - var(--header-height));
    border-bottom: 5px solid var(--primary);
    background:
        radial-gradient(circle at 78% 45%, rgba(255, 210, 30, 0.22), transparent 17rem),
        radial-gradient(circle at 25% 15%, rgba(75, 104, 169, 0.3), transparent 24rem),
        var(--surface);
    isolation: isolate;
}

.page-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(circle, rgba(2, 6, 18, 0.7) 0 1.5px, transparent 2px);
    background-position: right top;
    background-size: 11px 11px;
    content: "";
    mask-image: linear-gradient(90deg, transparent 15%, #000 100%);
}

.page-hero__inner {
    display: grid;
    min-height: calc(100svh - var(--header-height));
    padding-block: var(--space-xl);
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

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

.page-hero__title {
    max-width: 14ch;
    color: var(--primary);
    text-shadow: 3px 3px 0 var(--border-strong);
}

.page-hero__subtitle {
    max-width: 20ch;
    margin-bottom: var(--space-md);
    font-size: clamp(1.25rem, calc(2vw + 0.8rem), 2rem);
}

.page-hero__lead {
    max-width: 60ch;
    color: var(--foreground);
    font-size: 1.05rem;
}

.page-hero__art {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    margin: -1rem auto -2rem;
    pointer-events: none;
}

.page-hero__art::before {
    position: absolute;
    z-index: -1;
    top: 44%;
    left: 55%;
    width: min(72vw, 340px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: repeating-conic-gradient(from -6deg, var(--primary) 0deg 5deg, transparent 5deg 13deg);
    content: "";
    opacity: 0.25;
}

.page-hero__art img {
    width: 100%;
    max-height: 58vh;
    object-fit: contain;
    filter: drop-shadow(0 16px 0 rgba(4, 7, 15, 0.48));
}

/* ============================================
   CARDS - Pop-art framed content containers
   ============================================ */

.card,
.info-card,
.game-card,
.social-proof-card {
    border: var(--line);
    border-radius: var(--radius-md);
    background: var(--card);
    box-shadow: var(--shadow-md);
}

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

.card--featured {
    border-color: var(--primary);
    background: linear-gradient(145deg, var(--card-raised), var(--card));
}

.info-card__media,
.game-card__media {
    position: relative;
    overflow: hidden;
    border-bottom: var(--line);
    background: var(--surface-strong);
}

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

.info-card__media img,
.game-card__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.info-card__kicker {
    margin-bottom: var(--space-xs);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.info-card__title,
.game-card__title,
.feature-item__title {
    color: var(--foreground-strong);
}

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

.game-card {
    display: grid;
    overflow: hidden;
    grid-template-columns: minmax(0, 1fr);
}

.game-card__body {
    display: flex;
    padding: var(--space-lg);
    flex-direction: column;
    align-items: flex-start;
}

.game-card__body .btn {
    margin-top: auto;
}

.feature-item {
    position: relative;
    min-width: 0;
    padding: var(--space-lg);
    border-top: 4px solid var(--primary);
    background: linear-gradient(180deg, rgba(255, 210, 30, 0.08), transparent 40%);
    text-align: center;
}

.feature-item__icon {
    display: grid;
    width: 64px;
    aspect-ratio: 1;
    margin: 0 auto var(--space-md);
    border: var(--line);
    border-radius: 50%;
    background: var(--primary);
    box-shadow: var(--shadow-sm);
    color: var(--primary-foreground);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    place-items: center;
}

/* ============================================
   SUMMARY, CALLOUTS & QUOTES - Editorial breaks
   ============================================ */

.tldr-box,
.callout,
.checklist {
    min-width: 0;
    padding: var(--space-lg);
    margin-block: var(--space-xl);
    border: var(--line);
    border-left: 8px solid var(--primary);
    border-radius: var(--radius-sm);
    background: var(--surface-strong);
    box-shadow: var(--shadow-sm);
}

.tldr-box__title,
.callout__title,
.checklist__title {
    margin-bottom: var(--space-sm);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 850;
}

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

.tldr-box li,
.checklist li {
    position: relative;
    padding-left: 1.8rem;
}

.tldr-box li::before,
.checklist li::before {
    position: absolute;
    top: 0.05em;
    left: 0;
    color: var(--primary);
    content: "✓";
    font-weight: 900;
}

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

.callout--warning .callout__title {
    color: #ff9aa7;
}

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

.callout--success .callout__title {
    color: #7ff0ae;
}

.section--paper .tldr-box,
.section--paper .callout,
.section--paper .checklist {
    background: #ffffff;
    color: var(--paper-foreground);
}

.pull-quote {
    position: relative;
    max-width: 68ch;
    padding: var(--space-xl) var(--space-lg);
    margin: var(--space-2xl) auto;
    border-block: 4px solid var(--primary);
    color: var(--foreground-strong);
    font-family: var(--font-display);
    font-size: clamp(1.3rem, calc(1.5vw + 1rem), 2rem);
    font-weight: 750;
    line-height: 1.35;
}

.pull-quote::before {
    position: absolute;
    top: -0.7em;
    left: var(--space-sm);
    padding-inline: var(--space-xs);
    background: var(--background);
    color: var(--primary);
    content: "“";
    font-size: 2.2em;
    line-height: 1;
}

.pull-quote cite {
    display: block;
    margin-top: var(--space-md);
    color: var(--muted-foreground);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
}

/* ============================================
   STATS & SOCIAL PROOF - Evidence-ready layouts
   ============================================ */

.stat-highlight {
    display: flex;
    min-width: 0;
    padding: var(--space-lg);
    border: var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    box-shadow: var(--shadow-sm);
    flex-direction: column;
    align-items: flex-start;
}

.stat-highlight__value {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: clamp(2.2rem, calc(3vw + 1rem), 4rem);
    font-weight: 900;
    line-height: 1;
}

.stat-highlight__label {
    margin-top: var(--space-xs);
    color: var(--foreground-strong);
    font-weight: 750;
}

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

.social-proof-card {
    position: relative;
}

.social-proof-card::before {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    color: var(--primary);
    content: "“";
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.social-proof-card__quote {
    padding-right: 2rem;
    color: var(--foreground-strong);
    font-size: 1.05rem;
}

.social-proof-card__meta {
    display: grid;
    margin-top: var(--space-md);
    color: var(--muted-foreground);
    font-size: 0.9rem;
    gap: 0.15rem;
}

/* ============================================
   TABLES - Responsive factual comparisons
   ============================================ */

.table-wrapper {
    margin-block: var(--space-lg);
    border: var(--line);
    border-radius: var(--radius-md);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

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

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

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

.data-table thead th {
    border-top: 0;
    background: var(--surface-strong);
    color: var(--foreground-strong);
    font-family: var(--font-display);
    font-weight: 800;
}

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

.data-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.035);
}

.data-table .is-highlight {
    background: rgba(255, 210, 30, 0.14);
    box-shadow: inset 3px 0 var(--primary), inset -3px 0 var(--primary);
}

.data-table thead .is-highlight {
    color: var(--primary);
}

.table-note {
    max-width: 75ch;
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.section--paper .table-wrapper {
    background: #ffffff;
}

.section--paper .data-table {
    color: var(--paper-foreground);
}

.section--paper .data-table thead th {
    background: #e7ebf2;
    color: var(--paper-foreground);
}

.section--paper .data-table tbody th {
    color: var(--paper-foreground);
}

.section--paper .data-table tbody tr:nth-child(even) {
    background: #f0f2f6;
}

.section--paper .table-note {
    color: var(--paper-muted);
}

/* ============================================
   FAQ & DISCLOSURES - Native accessible accordion
   ============================================ */

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

.faq-item {
    min-width: 0;
    align-self: start;
    border: var(--line);
    border-radius: var(--radius-sm);
    background: var(--card);
    box-shadow: var(--shadow-sm);
    overflow: clip;
}

.faq-item__q {
    position: relative;
    min-height: 56px;
    padding: 0.95rem 3.25rem 0.95rem var(--space-md);
    background: var(--primary);
    color: var(--primary-foreground);
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 850;
    list-style: none;
}

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

.faq-item__q::after {
    position: absolute;
    top: 50%;
    right: var(--space-md);
    width: 0.75rem;
    height: 0.75rem;
    transform: translateY(-65%) rotate(45deg);
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    content: "";
    transition: transform 180ms ease;
}

.faq-item[open] .faq-item__q::after {
    transform: translateY(-35%) rotate(225deg);
}

.faq-item__a {
    padding: var(--space-lg);
    color: var(--foreground);
}

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

.section--paper .faq-item {
    background: #ffffff;
}

.section--paper .faq-item__a {
    color: var(--paper-foreground);
}

@supports (interpolate-size: allow-keywords) {
    :root {
        interpolate-size: allow-keywords;
    }

    .faq-item::details-content {
        height: 0;
        overflow: clip;
        transition: height 180ms ease, content-visibility 180ms allow-discrete;
    }

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

/* ============================================
   STEPS - Yard-line inspired processes
   ============================================ */

.steps-list {
    display: grid;
    padding: 0;
    margin: var(--space-xl) 0;
    border: var(--line);
    border-radius: var(--radius-md);
    background:
        repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, 0.12) 34px 36px),
        var(--stadium-green);
    box-shadow: var(--shadow-md);
    grid-template-columns: minmax(0, 1fr);
    list-style: none;
    overflow: hidden;
}

.steps-list__item {
    position: relative;
    min-width: 0;
    padding: var(--space-lg) var(--space-lg) var(--space-lg) 4rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.65);
}

.steps-list__item:last-child {
    border-bottom: 0;
}

.steps-list__num {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

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

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

/* ============================================
   LOGO, PAYMENT & TRUST STRIPS - Static proof rows
   ============================================ */

.logo-strip,
.pay-row,
.trust-badges {
    display: flex;
    min-width: 0;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    list-style: none;
}

.logo-strip {
    padding: var(--space-lg);
    border: var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-strong);
}

.logo-strip__item {
    padding: 0.6rem 0.8rem;
    color: #dce3f1;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.pay-chip {
    display: inline-flex;
    min-height: 44px;
    padding: 0.55rem 0.8rem;
    border: 2px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: 0 3px 0 var(--border-strong);
    color: #101421;
    font-size: 0.85rem;
    font-weight: 800;
    align-items: center;
    justify-content: center;
}

.pay-row--sm {
    justify-content: flex-start;
}

.pay-row--sm .pay-chip {
    min-height: 36px;
    padding: 0.4rem 0.55rem;
    font-size: 0.75rem;
}

.trust-badge {
    display: inline-flex;
    min-height: 46px;
    color: var(--muted-foreground);
    font-size: 0.86rem;
    font-weight: 650;
    align-items: center;
    gap: var(--space-xs);
}

.trust-badge__mark {
    display: grid;
    min-width: 40px;
    min-height: 40px;
    padding: 0.3rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius-pill);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 900;
    place-items: center;
}

/* ============================================
   CTA BAND - High-contrast conversion section
   ============================================ */

.cta-band {
    position: relative;
    display: grid;
    min-width: 0;
    padding: var(--space-xl) var(--space-lg);
    margin-block: var(--space-xl);
    border: var(--line);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 100% 0, rgba(255, 210, 30, 0.28), transparent 15rem),
        var(--stadium-green);
    box-shadow: var(--shadow-md);
    justify-items: center;
    text-align: center;
}

.cta-band__title {
    max-width: 28ch;
    margin-bottom: var(--space-sm);
    color: var(--foreground-strong);
    font-family: var(--font-display);
    font-size: clamp(1.45rem, calc(2vw + 0.8rem), 2.25rem);
    font-weight: 850;
    line-height: 1.18;
}

.cta-band__text {
    max-width: 62ch;
    color: var(--foreground-strong);
}

.cta-band__note {
    margin-top: var(--space-sm);
    margin-bottom: 0;
    color: var(--foreground-strong);
    font-size: 0.875rem;
}

/* ============================================
   BREADCRUMBS - Compact contextual navigation
   ============================================ */

.breadcrumbs {
    width: min(100% - 2rem, var(--container));
    margin: var(--space-md) auto 0;
}

.breadcrumbs ol {
    display: flex;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
    list-style: none;
}

.breadcrumbs li {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

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

.breadcrumbs a {
    color: var(--foreground);
    text-underline-offset: 0.15em;
}

/* ============================================
   FOOTER - Navigation, payments and 18+ notices
   ============================================ */

.site-footer {
    border-top: 5px solid var(--primary);
    background: var(--background-deep);
}

.site-footer__inner {
    display: grid;
    width: min(100% - 2rem, var(--container));
    padding-block: var(--space-2xl);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
}

.site-footer__brand {
    display: inline-block;
    margin-bottom: var(--space-sm);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-footer__text,
.site-footer__legal,
.site-footer__copy {
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

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

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

.site-footer__links a {
    display: inline-flex;
    min-height: 44px;
    color: var(--foreground);
    align-items: center;
    text-decoration-color: var(--primary);
    text-underline-offset: 0.18em;
}

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

.site-footer__bar {
    display: grid;
    padding: var(--space-lg) max(var(--space-md), calc((100% - var(--container)) / 2));
    border-top: 1px solid var(--border);
    justify-items: center;
    text-align: center;
}

.trust-badges--footer {
    margin-bottom: var(--space-md);
}

.site-footer__legal {
    max-width: 95ch;
}

.site-footer__copy {
    margin-bottom: 0;
}

/* ============================================
   SCROLL ENHANCEMENT - Content visible by default
   ============================================ */

html.reveal-ready [data-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translateY(18px);
}

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

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

/* ============================================
   TABLET - Denser grids and larger spacing
   ============================================ */

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

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

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

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

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

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

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

    .site-brand__mark {
        width: 48px;
        flex-basis: 48px;
    }

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

    .header-login,
    .age-badge {
        display: grid;
    }

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

    .page-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
        gap: var(--space-xl);
    }

    .page-hero__art {
        width: 100%;
        margin: 0;
    }

    .page-hero__art img {
        max-height: 72vh;
    }

    .game-card {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }

    .game-card__media {
        border-right: var(--line);
        border-bottom: 0;
    }

    .game-card__media img {
        height: 100%;
        min-height: 300px;
    }

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

    .steps-list__item {
        border-right: 2px solid rgba(255, 255, 255, 0.65);
    }

    .steps-list__item:nth-child(2n) {
        border-right: 0;
    }

    .steps-list__item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .site-footer__inner {
        grid-template-columns: 1.2fr 0.7fr 1.1fr;
    }
}

/* ============================================
   DESKTOP - Inline navigation and wide hero geometry
   ============================================ */

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

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

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

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

    .primary-nav__list {
        overflow-x: auto;
        flex-direction: row;
        align-items: center;
        gap: 0.2rem;
        scrollbar-width: none;
    }

    .primary-nav__list::-webkit-scrollbar {
        display: none;
    }

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

    .primary-nav__list a {
        min-height: 48px;
        padding-inline: 0.7rem;
        font-size: clamp(0.86rem, 1.1vw, 1.05rem);
    }

    .primary-nav__actions {
        display: none;
    }

    .menu-toggle {
        display: none;
    }

    .site-header__controls {
        padding-left: var(--space-md);
        border-left: 1px solid var(--border);
    }

    .page-hero {
        min-height: min(820px, calc(100svh - var(--header-height)));
    }

    .page-hero__inner {
        min-height: min(820px, calc(100svh - var(--header-height)));
        padding-block: var(--space-xl);
        grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
        gap: var(--space-lg);
    }

    .page-hero__copy {
        padding-left: clamp(0rem, 3vw, 3rem);
    }

    .page-hero__title {
        max-width: 13ch;
    }

    .page-hero__art {
        align-self: end;
        max-width: 720px;
    }

    .page-hero__art img {
        max-height: 710px;
    }

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

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

    .steps-list__item,
    .steps-list__item:nth-child(2n) {
        border-right: 2px solid rgba(255, 255, 255, 0.65);
        border-bottom: 0;
    }

    .steps-list__item:last-child {
        border-right: 0;
    }
}

@media (min-width: 1280px) {
    .primary-nav__list a {
        padding-inline: 0.95rem;
    }

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

/* ============================================
   SMALL MOBILE - Preserve header fit at 320px
   ============================================ */

@media (max-width: 420px) {
    .header-login,
    .age-badge {
        display: none;
    }

    .header-register {
        min-height: 42px;
        padding-inline: 0.65rem;
        font-size: 0.82rem;
    }

    .site-brand__mark {
        width: 34px;
        flex-basis: 34px;
    }

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

    .site-header__inner {
        gap: 0.25rem;
    }

    .site-header__controls {
        gap: 0.15rem;
    }

    .menu-toggle {
        width: 43px;
        padding-inline: 8px;
    }
}

/* ============================================
   REDUCED MOTION - Full content stays 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;
    }

    html.reveal-ready [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}
