/*
 * BetScore Casino - shared dark stadium design system
 * Mobile-first, fixed dark theme, WCAG-aware contrast.
 */

:root {
    color-scheme: dark;
    --background: #081226;
    --background-deep: #050c1b;
    --surface: #0d1d3a;
    --surface-raised: #12284d;
    --surface-soft: #172f58;
    --surface-glass: #102345;
    --foreground: #f7f9ff;
    --muted: #c1cbe0;
    --muted-strong: #d7dff0;
    --primary: #ffd761;
    --primary-hover: #ffe48b;
    --primary-foreground: #121721;
    --secondary: #2e65a7;
    --secondary-foreground: #ffffff;
    --accent: #69c9ff;
    --accent-foreground: #061323;
    --destructive: #d3404c;
    --destructive-foreground: #ffffff;
    --gold: #efbd43;
    --gold-deep: #bc7e13;
    --blue-glow: #31aaff;
    --line: #315787;
    --line-soft: #203c66;
    --success: #62d99b;
    --warning: #ffd761;
    --shadow-sm: 0 10px 26px rgba(0, 0, 0, 0.22);
    --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.34);
    --shadow-gold: 0 0 0 1px rgba(255, 224, 122, 0.5), 0 10px 30px rgba(239, 189, 67, 0.25);
    --radius-sm: 0.55rem;
    --radius-md: 0.9rem;
    --radius-lg: 1.25rem;
    --radius-pill: 999px;
    --space-2xs: 0.35rem;
    --space-xs: 0.55rem;
    --space-sm: 0.8rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4.5rem;
    --container: 1180px;
    --content: 760px;
    --header-height: 8.5rem;
    --font-body: "Inter", sans-serif;
    --font-display: "Montserrat", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

html {
    min-width: 320px;
    scroll-behavior: smooth;
    background: var(--background-deep);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: clip;
    background:
        radial-gradient(circle at 82% 8%, rgba(42, 139, 225, 0.15), transparent 24rem),
        radial-gradient(circle at 12% 32%, rgba(239, 189, 67, 0.07), transparent 20rem),
        linear-gradient(135deg, var(--background-deep) 0%, var(--background) 48%, #0a1a38 100%);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

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

button {
    color: inherit;
}

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

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

[class*="grid"] > *,
[class*="flex"] > *,
.card,
.info-card,
.game-card,
.review-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;
}

section {
    position: relative;
    overflow: clip;
}

main {
    min-height: 60vh;
}

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

/* ============================================
   TYPOGRAPHY - bold condensed stadium hierarchy
   ============================================ */

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

h1 {
    font-size: clamp(2.05rem, calc(5vw + 0.55rem), 3.9rem);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(1.65rem, calc(2.8vw + 0.65rem), 2.75rem);
    letter-spacing: -0.025em;
}

h3 {
    font-size: clamp(1.15rem, calc(1vw + 0.85rem), 1.45rem);
}

p,
ul,
ol,
blockquote,
figure {
    margin-top: 0;
}

p {
    margin-bottom: 1rem;
}

.lead {
    max-width: 68ch;
    color: var(--muted-strong);
    font-size: clamp(1.05rem, calc(0.5vw + 0.95rem), 1.25rem);
}

.eyebrow,
.hero__eyebrow {
    margin-bottom: 0.7rem;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article) a:not([class]) {
    color: var(--primary);
    font-weight: 600;
    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(--primary-hover);
}

.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: 0.6rem;
    left: 0.6rem;
    transform: translateY(-160%);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 800;
    text-decoration: none;
}

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

/* ============================================
   FOCUS - visible keyboard affordances
   ============================================ */

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

summary:focus-visible {
    border-radius: var(--radius-sm);
    outline-offset: -3px;
}

/* ============================================
   HEADER & NAVIGATION - two-tier mobile, inline desktop
   ============================================ */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    width: 100%;
    min-height: var(--header-height);
    border-bottom: 2px solid var(--gold);
    background: var(--background);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "actions actions"
        "brand toggle";
    align-items: center;
    width: min(100% - 1.25rem, var(--container));
    min-height: var(--header-height);
    margin-inline: auto;
}

.header-actions {
    grid-area: actions;
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line-soft);
}

.site-brand {
    grid-area: brand;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-width: 0;
    padding: 0.7rem 0;
    color: var(--primary);
    text-decoration: none;
}

.site-brand__mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    margin-right: 0.55rem;
    color: var(--primary);
}

.site-brand__text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: var(--primary);
    font-family: var(--font-display);
    line-height: 1;
}

.site-brand__text strong {
    font-size: clamp(1.2rem, 6vw, 1.75rem);
    letter-spacing: -0.035em;
}

.site-brand__text span {
    margin-top: 0.22rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.menu-toggle {
    position: relative;
    z-index: 1001;
    grid-area: toggle;
    display: grid;
    width: 3rem;
    height: 3rem;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    place-content: center;
    gap: 0.32rem;
}

.menu-toggle span {
    display: block;
    width: 1.45rem;
    height: 0.16rem;
    border-radius: var(--radius-pill);
    background: var(--primary);
    transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

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

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

.nav-list,
.footer-nav,
.badge-row,
.pay-row,
.hero__markers {
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    min-height: 3rem;
    align-items: center;
    padding: 0.8rem 1rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.is-current {
    border-color: var(--line);
    background: var(--surface-raised);
    color: var(--primary);
}

/* ============================================
   BUTTONS - gold conversion actions
   ============================================ */

.btn {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.25rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.btn--primary {
    border-color: #ffe696;
    background: linear-gradient(180deg, #ffe681 0%, var(--primary) 52%, #e5a527 100%);
    box-shadow: var(--shadow-gold);
    color: var(--primary-foreground);
}

.btn--primary:hover {
    background: linear-gradient(180deg, #fff0ad 0%, var(--primary-hover) 52%, #efb83b 100%);
}

.btn--ghost {
    border-color: #8aa2c5;
    background: var(--background);
    color: var(--foreground);
}

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

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

.btn--lg {
    width: 100%;
    min-height: 3.6rem;
    padding: 1rem 1.6rem;
    font-size: clamp(1rem, calc(0.65vw + 0.9rem), 1.25rem);
}

/* ============================================
   HERO - integrated fantasy-arena foreground art
   ============================================ */

.hero {
    min-height: calc(100svh - var(--header-height));
    border-bottom: 2px solid var(--gold);
    background:
        linear-gradient(90deg, rgba(5, 12, 27, 0.97) 0%, rgba(7, 17, 37, 0.84) 55%, rgba(7, 17, 37, 0.28) 100%),
        radial-gradient(circle at 77% 48%, rgba(49, 170, 255, 0.34), transparent 22rem),
        radial-gradient(circle at 50% 110%, rgba(33, 116, 90, 0.26), transparent 28rem),
        linear-gradient(180deg, #0b1b39 0%, var(--background-deep) 100%);
}

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

.hero::before {
    inset: 0;
    background:
        repeating-linear-gradient(112deg, transparent 0 7rem, rgba(70, 129, 194, 0.05) 7.1rem 7.2rem),
        linear-gradient(180deg, transparent 72%, rgba(19, 75, 93, 0.24));
}

.hero::after {
    right: -6rem;
    bottom: -12rem;
    width: 28rem;
    height: 28rem;
    border: 2px solid rgba(77, 181, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(49, 170, 255, 0.25), inset 0 0 70px rgba(49, 170, 255, 0.15);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: inherit;
    width: min(100% - 1.5rem, var(--container));
    margin-inline: auto;
    padding: clamp(2.2rem, 7vw, 5.2rem) 0 0;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 42rem;
    padding-bottom: 1.75rem;
}

.hero__title {
    max-width: 14ch;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.55);
}

.hero__lead {
    max-width: 60ch;
    margin-bottom: 1.25rem;
    color: var(--muted-strong);
    font-size: clamp(1rem, calc(0.65vw + 0.92rem), 1.2rem);
}

.hero__markers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.3rem;
}

.hero__markers li {
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--surface-glass);
    color: var(--muted-strong);
    font-size: 0.88rem;
    font-weight: 700;
}

.hero__cta {
    max-width: 30rem;
    margin-bottom: 0.7rem;
}

.hero__note {
    max-width: 54ch;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.hero__art {
    position: relative;
    z-index: 1;
    align-self: end;
    width: min(100%, 34rem);
    margin: -2rem auto 0;
    pointer-events: none;
}

.hero__art::before {
    position: absolute;
    z-index: -1;
    top: 10%;
    right: 3%;
    width: 68%;
    aspect-ratio: 1;
    border: 2px solid rgba(76, 185, 255, 0.46);
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(49, 170, 255, 0.55), inset 0 0 70px rgba(49, 170, 255, 0.22);
    content: "";
}

.hero__art img {
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

/* ============================================
   SECTION BANDS - continuous navy arena rhythm
   ============================================ */

.band {
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 90% 50%, rgba(42, 139, 225, 0.11), transparent 22rem),
        linear-gradient(120deg, rgba(6, 14, 31, 0.98), rgba(10, 29, 62, 0.96));
}

.band:nth-of-type(even) {
    background:
        radial-gradient(circle at 8% 50%, rgba(239, 189, 67, 0.07), transparent 18rem),
        linear-gradient(120deg, rgba(9, 25, 52, 0.98), rgba(5, 13, 29, 0.98));
}

.band--raised {
    background: linear-gradient(145deg, var(--surface) 0%, var(--surface-raised) 100%);
}

.band--arena {
    background:
        radial-gradient(circle at 50% 0, rgba(49, 170, 255, 0.19), transparent 23rem),
        linear-gradient(180deg, #0a1934, #060d1e);
}

.band__inner,
.section-inner {
    width: min(100% - 1.5rem, var(--container));
    margin-inline: auto;
    padding: clamp(2.8rem, 7vw, 5.5rem) 0;
}

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

.band__inner--split {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.band__body {
    min-width: 0;
}

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

.band__body > p,
.band__body > ul,
.band__body > ol {
    max-width: 72ch;
    color: var(--muted-strong);
}

.band__title {
    max-width: 24ch;
}

.band__title::after,
.section-title::after {
    display: block;
    width: min(13rem, 55%);
    height: 0.28rem;
    margin-top: 0.75rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--primary), var(--accent));
    content: "";
}

.band__media {
    position: relative;
    margin: 0;
}

.band__media::before {
    position: absolute;
    z-index: -1;
    inset: 16% 10%;
    border-radius: 50%;
    background: rgba(49, 170, 255, 0.18);
    filter: blur(40px);
    content: "";
}

.band__media img {
    width: 100%;
    max-height: 32rem;
    object-fit: contain;
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.32));
}

/* ============================================
   CARDS - structured game and information blocks
   ============================================ */

.card-grid,
.game-grid,
.review-grid,
.stat-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.card,
.info-card,
.game-card,
.review-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, var(--surface-raised), var(--surface));
    box-shadow: var(--shadow-sm);
}

.card,
.info-card,
.review-card {
    padding: 1.25rem;
}

.card:hover,
.game-card:hover,
.review-card:hover {
    border-color: rgba(255, 215, 97, 0.72);
}

.card__icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 215, 97, 0.52);
    border-radius: 50%;
    background: rgba(239, 189, 67, 0.1);
    color: var(--primary);
    font-size: 1.35rem;
    place-items: center;
}

.card__title,
.game-card__title,
.review-card__topic {
    margin-bottom: 0.55rem;
}

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

.card__link {
    color: var(--primary);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.game-card {
    overflow: hidden;
}

.game-grid--with-art {
    align-items: center;
}

.game-card__art {
    position: relative;
}

.game-card__art::before {
    position: absolute;
    z-index: -1;
    inset: 18% 12%;
    border-radius: 50%;
    background: rgba(49, 170, 255, 0.18);
    filter: blur(40px);
    content: "";
}

.game-card__art img {
    width: 100%;
    max-height: 32rem;
    object-fit: contain;
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.32));
}

.game-card__img {
    width: 100%;
    aspect-ratio: 7 / 5;
    border-bottom: 1px solid var(--line);
    object-fit: cover;
}

.game-card__body {
    padding: 1.15rem;
}

.game-card__meta {
    margin-bottom: 0.55rem;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 800;
}

.review-card__context {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

/* ============================================
   SUMMARY & CALLOUTS - scannable evidence-aware notes
   ============================================ */

.summary-box,
.callout {
    min-width: 0;
    margin: 1.5rem 0;
    padding: 1.2rem;
    border-radius: var(--radius-md);
}

.summary-box {
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(24, 58, 105, 0.92), rgba(11, 29, 58, 0.96));
    box-shadow: inset 4px 0 0 var(--primary);
}

.summary-box__title,
.callout__title {
    margin-bottom: 0.45rem;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 800;
}

.summary-box__text,
.callout__text {
    color: var(--muted-strong);
}

.summary-box__list {
    display: grid;
    gap: 0.45rem;
    padding-left: 1.2rem;
    margin-bottom: 0;
    color: var(--muted-strong);
}

.callout {
    border: 1px solid var(--line);
    border-left: 0.35rem solid var(--accent);
    background: var(--surface);
}

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

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

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

.callout > :last-child,
.summary-box > :last-child {
    margin-bottom: 0;
}

/* ============================================
   STATS & QUOTES - editorial visual breaks
   ============================================ */

.stat {
    display: flex;
    min-width: 0;
    min-height: 9rem;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    text-align: center;
}

.stat__value {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: clamp(2rem, calc(3vw + 1rem), 3.5rem);
    font-weight: 800;
    line-height: 1;
}

.stat__label {
    margin-top: 0.6rem;
    color: var(--foreground);
    font-weight: 700;
}

.stat__source {
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.pullquote {
    max-width: 50rem;
    margin: 2rem auto;
    padding: 1.5rem 0 1.5rem 1.4rem;
    border-left: 0.35rem solid var(--primary);
}

.pullquote blockquote {
    margin: 0;
}

.pullquote p {
    margin-bottom: 0.8rem;
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: clamp(1.25rem, calc(1.4vw + 0.95rem), 2rem);
    font-weight: 700;
    line-height: 1.4;
}

.pullquote figcaption {
    color: var(--muted);
}

/* ============================================
   STEPS - numbered claim or registration process
   ============================================ */

.steps {
    display: grid;
    gap: 0.9rem;
    padding: 0;
    margin: 1.5rem 0;
    list-style: none;
    counter-reset: step;
}

.steps__item {
    position: relative;
    min-width: 0;
    padding: 1.1rem 1rem 1.1rem 4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    counter-increment: step;
}

.steps__item::before {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    content: counter(step);
    font-family: var(--font-display);
    font-weight: 800;
    place-items: center;
}

.steps__title,
.steps__text {
    display: block;
}

.steps__title {
    margin-bottom: 0.25rem;
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 700;
}

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

/* ============================================
   TABLES - compact comparisons with highlighted rows
   ============================================ */

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

.table-wrapper {
    margin: 1.5rem 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

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

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

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

.data-table thead th {
    border-top: 0;
    background: var(--surface-raised);
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 0.9rem;
}

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

.data-table tr.is-recommended > * {
    background: rgba(239, 189, 67, 0.11);
    box-shadow: inset 0 2px 0 rgba(255, 215, 97, 0.72), inset 0 -2px 0 rgba(255, 215, 97, 0.72);
}

/* ============================================
   DISCLOSURES - native FAQ accordion
   ============================================ */

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

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

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

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

.faq-item__q::after {
    position: absolute;
    right: 1rem;
    width: 0.75rem;
    height: 0.75rem;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    content: "";
    transform: rotate(45deg) translateY(-0.15rem);
    transition: transform 180ms ease;
}

.faq-item[open] .faq-item__q::after {
    transform: rotate(225deg) translate(-0.15rem, -0.15rem);
}

.faq-item[open] .faq-item__q {
    background: var(--surface-raised);
    color: var(--primary);
}

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

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

/* ============================================
   BADGES & PAYMENTS - trust and banking rows
   ============================================ */

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

.badge,
.pay-chip {
    display: inline-flex;
    min-height: 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 800;
}

.badge {
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted-strong);
}

.pay-block {
    margin: 1.5rem 0;
}

.pay-row {
    align-items: stretch;
}

.pay-chip {
    min-width: 7rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid #b7c3d8;
    background: #f8fafc;
    color: #18243a;
    font-size: 0.88rem;
    text-align: center;
}

.pay-note {
    max-width: 68ch;
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 0.88rem;
}

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

/* ============================================
   SCROLLER - finite horizontal cards, no marquee
   ============================================ */

.scroller {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scroll-padding-inline: 0.1rem;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--primary) var(--surface);
}

.scroller__track {
    display: flex;
    width: max-content;
    max-width: none;
    gap: 0.9rem;
}

.scroller__track > * {
    width: min(78vw, 19rem);
    flex: 0 0 auto;
    scroll-snap-align: start;
}

/* ============================================
   CTA - prominent full-width conversion band
   ============================================ */

.cta-inline {
    display: flex;
    max-width: 34rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.4rem;
}

.cta-inline__note,
.cta-band__note {
    color: var(--muted);
    font-size: 0.88rem;
}

.cta-band {
    border-top: 1px solid var(--line);
    border-bottom: 2px solid var(--gold);
    background:
        radial-gradient(circle at 50% 25%, rgba(49, 170, 255, 0.22), transparent 24rem),
        linear-gradient(135deg, #07142d 0%, #102b59 55%, #07142d 100%);
}

.cta-band__inner {
    width: min(100% - 1.5rem, 58rem);
    margin-inline: auto;
    padding: clamp(3rem, 8vw, 5.5rem) 0;
    text-align: center;
}

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

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

.cta-band .btn {
    width: min(100%, 28rem);
}

.cta-band__note {
    max-width: 58ch;
    margin: 0.8rem auto 0;
}

/* ============================================
   FOOTER - legal, payment and responsible gaming
   ============================================ */

.site-footer {
    border-top: 2px solid var(--gold);
    background: linear-gradient(145deg, #050c1b, #0b1c3a);
}

.site-footer__inner {
    width: min(100% - 1.5rem, var(--container));
    margin-inline: auto;
    padding: 2.5rem 0 1.5rem;
}

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

.footer-brand {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
}

.footer-heading {
    margin-bottom: 0.85rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-note {
    max-width: 68ch;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-note--small {
    margin-top: 0.8rem;
    font-size: 0.85rem;
}

.footer-nav {
    display: grid;
    gap: 0.5rem;
}

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

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

.pay-row--footer {
    gap: 0.45rem;
}

.pay-row--footer .pay-chip {
    min-width: auto;
    min-height: 2.25rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.78rem;
}

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

.rg-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-copy {
    margin: 1.5rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

/* ============================================
   REVEAL ENHANCEMENT - visible without JavaScript
   ============================================ */

.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 550ms var(--ease), transform 550ms var(--ease);
}

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

/* ============================================
   TABLET - expanded grids and split sections
   ============================================ */

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

    .site-header__inner {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        grid-template-areas: "brand nav actions toggle";
        gap: 1rem;
        width: min(100% - 2rem, var(--container));
    }

    .site-brand {
        padding: 0;
    }

    .header-actions {
        padding: 0;
        border-bottom: 0;
    }

    .primary-nav {
        position: static;
        z-index: auto;
        grid-area: nav;
        display: block;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        padding: 0;
        background: transparent;
    }

    .nav-list {
        flex-direction: row;
        justify-content: center;
        gap: 0.15rem;
        white-space: nowrap;
    }

    .nav-link {
        min-height: 2.75rem;
        padding: 0.55rem 0.65rem;
        font-size: 0.9rem;
    }

    .menu-toggle {
        display: none;
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1.02fr) minmax(18rem, 0.98fr);
        align-items: center;
        padding-top: 2.5rem;
    }

    .hero__content {
        padding: 2rem 0 3rem;
    }

    .hero__art {
        align-self: end;
        width: min(48vw, 39rem);
        margin: 0 -1.5rem 0 -2rem;
    }

    .btn--lg {
        width: auto;
        min-width: 20rem;
    }

    .band__inner,
    .section-inner {
        width: min(100% - 2rem, var(--container));
    }

    .band__inner--split {
        grid-template-columns: minmax(0, 1.08fr) minmax(17rem, 0.92fr);
        gap: 3rem;
    }

    .band__inner--split.is-reversed .band__body {
        order: 2;
    }

    .band__inner--split.is-reversed .band__media {
        order: 1;
    }

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

    .faq-list {
        gap: 0.8rem;
    }

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

    .footer-col:last-child {
        grid-column: 1 / -1;
    }

    .rg-row {
        flex-direction: row;
        align-items: center;
    }
}

/* ============================================
   DESKTOP - reference-scale hero and stadium bands
   ============================================ */

@media (min-width: 1024px) {
    .site-header {
        background: linear-gradient(90deg, #081632, #102958 55%, #081632);
    }

    .site-header__inner {
        grid-template-columns: minmax(13rem, auto) minmax(0, 1fr) auto;
        grid-template-areas: "brand nav actions";
        gap: 2rem;
    }

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

    .nav-list {
        gap: 0.55rem;
    }

    .nav-link {
        padding-inline: 0.85rem;
        font-size: 0.98rem;
    }

    .header-actions {
        gap: 0.7rem;
    }

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

    .hero {
        min-height: clamp(42rem, 72vh, 50rem);
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(25rem, 0.95fr);
        padding-top: 1rem;
    }

    .hero__content {
        padding-block: 4rem;
    }

    .hero__title {
        font-size: clamp(3.45rem, 5.2vw, 5rem);
    }

    .hero__art {
        width: min(51vw, 47rem);
        margin-right: -4.5rem;
        margin-left: -5rem;
    }

    .band__inner--split {
        grid-template-columns: minmax(0, 1fr) minmax(25rem, 0.95fr);
        min-height: 31rem;
    }

    .band__media img {
        max-height: 29rem;
    }

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

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

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

    .game-grid--with-art .game-card__art {
        order: -1;
    }

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

    .footer-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(12rem, 0.65fr) minmax(0, 1.1fr);
    }

    .footer-col:last-child {
        grid-column: auto;
    }
}

@media (min-width: 1280px) {
    .site-header__inner,
    .hero__inner,
    .band__inner,
    .section-inner,
    .site-footer__inner {
        width: min(100% - 3rem, var(--container));
    }
}

/* ============================================
   SMALL MOBILE - protect 320px header composition
   ============================================ */

@media (max-width: 374px) {
    .site-header__inner {
        width: min(100% - 0.8rem, var(--container));
    }

    .header-actions {
        gap: 0.35rem;
    }

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

    .site-brand__mark {
        margin-right: 0.4rem;
    }

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

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

    .hero__inner,
    .band__inner,
    .section-inner,
    .cta-band__inner,
    .site-footer__inner {
        width: min(100% - 1rem, var(--container));
    }
}

/* ============================================
   REDUCED MOTION - no hidden or moving content
   ============================================ */

@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 [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
