/*
 * Wild Chance Casino - design system
 * Dark emerald jungle, warm parchment and gold accents.
 */

:root {
    --c-emerald-950: #05150d;
    --c-emerald-900: #0a2318;
    --c-emerald-800: #0e3122;
    --c-emerald-700: #144430;
    --c-emerald-600: #1d5a3f;
    --c-ink: #163a27;
    --c-ink-soft: #2a4a35;
    --c-link-light: #1b5236;
    --c-gold-200: #fbe9b4;
    --c-gold-300: #f4d78a;
    --c-gold-400: #e7bf63;
    --c-gold-500: #d2a144;
    --c-gold-600: #a7772a;
    --c-sage: #c9d4a2;
    --c-cream: #f6ecd3;
    --c-parchment: #ecd8ab;
    --c-amber: #f2b54a;
    --c-amber-ink: #2b1700;
    --c-ember: #e8692c;
    --c-indigo: #3b3d99;
    --c-text: #eef1e4;
    --c-text-muted: #c8d3c2;

    --f-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
    --f-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

    --container: 1080px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --band-pad: clamp(3rem, 7vw, 5.5rem);
    --radius: 12px;
    --radius-lg: 14px;
    --glow-gold: 0 0 22px rgba(231, 191, 99, 0.35);
    --shadow-card: 0 10px 24px rgba(0, 0, 0, 0.35);
    --header-bottom: 64px;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

[class*="grid"] > *,
[class*="flex"] > * {
    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;
}

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

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

details {
    height: fit-content;
}

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

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

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-emerald-950);
    overflow-x: clip;
}

body.is-menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--f-display);
    line-height: 1.2;
    margin: 0 0 0.6em;
    overflow-wrap: break-word;
    hyphens: auto;
}

p {
    margin: 0 0 1em;
}

img {
    display: block;
}

a {
    color: var(--c-gold-300);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex="0"]:focus-visible {
    outline: 3px solid var(--c-gold-300);
    outline-offset: 3px;
    border-radius: 6px;
}

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

strong {
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.visually-hidden {
    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: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: var(--c-gold-300);
    color: var(--c-emerald-900);
    font-weight: 700;
    border-radius: 8px;
}

.skip-link:focus {
    top: 1rem;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: linear-gradient(180deg, var(--c-emerald-800), var(--c-emerald-900));
    border-bottom: 2px solid var(--c-gold-500);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.site-header__top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    min-height: 64px;
}

.site-header__emblem {
    display: flex;
}

.site-header__emblem .icon {
    width: 34px;
    height: 34px;
    filter: drop-shadow(0 0 6px rgba(231, 191, 99, 0.45));
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 0;
    text-decoration: none;
}

.site-brand__text,
.footer-brand__text {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(1rem, 4.6vw, 1.5rem);
    color: var(--c-gold-300);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .site-brand__text,
    .footer-brand__text {
        background: linear-gradient(180deg, #fff1bf 0%, #eec468 55%, #c8902f 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        filter: drop-shadow(0 2px 6px rgba(231, 191, 99, 0.35));
    }
}

.header-actions {
    display: none;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1.5px solid var(--c-gold-500);
    border-radius: 10px;
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-gold-300);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

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

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

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

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 59;
    display: none;
    padding: 0.75rem var(--gutter) 2rem;
    background: var(--c-emerald-900);
    border-top: 2px solid var(--c-gold-500);
    overflow-y: auto;
    overscroll-behavior: contain;
}

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

.site-nav__spark {
    display: none;
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 52px;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--c-gold-300);
    text-decoration: none;
    border-bottom: 1px solid rgba(231, 191, 99, 0.25);
}

.site-nav__list a[aria-current="page"] {
    color: var(--c-gold-200);
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

.site-nav__actions {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.site-nav__actions .pill {
    width: 100%;
}

.site-nav__note {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: var(--c-text-muted);
}

@media (min-width: 1024px) {
    .site-header {
        position: relative;
    }

    .site-header__top {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        min-height: 92px;
        gap: 1.5rem;
    }

    .site-header__emblem .icon {
        width: 64px;
        height: 64px;
    }

    .site-brand__text {
        font-size: clamp(2rem, 3vw, 2.6rem);
    }

    .menu-toggle {
        display: none;
    }

    .header-actions {
        display: flex;
        justify-self: end;
        align-items: center;
        gap: 0.6rem;
    }

    .site-nav {
        position: relative;
        top: auto;
        bottom: auto;
        z-index: auto;
        display: block;
        padding: 0;
        overflow: visible;
        background: linear-gradient(180deg, #164a33, #103a28);
        border-top: 2px solid var(--c-gold-500);
    }

    .site-nav__spark {
        display: block;
        position: absolute;
        top: 0;
        left: 50%;
        width: 26px;
        height: 26px;
        transform: translate(-50%, -55%);
        filter: drop-shadow(0 0 6px rgba(255, 220, 130, 0.9));
    }

    .site-nav__list {
        display: flex;
        justify-content: center;
        gap: clamp(2rem, 4.5vw, 4.5rem);
    }

    .site-nav__list a {
        min-height: 52px;
        font-size: 1.1rem;
        border-bottom: 2px solid transparent;
    }

    .site-nav__list a:hover,
    .site-nav__list a[aria-current="page"] {
        color: var(--c-gold-200);
        border-bottom-color: var(--c-gold-400);
        text-decoration: none;
    }

    .site-nav__actions {
        display: none;
    }

    .site-main {
        margin-inline: 10px;
        border-inline: 2px solid var(--c-gold-600);
    }
}

/* ============================================
   BUTTONS & LINKS
   ============================================ */
.pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    border: 2px solid var(--c-gold-400);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.pill:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.pill--primary {
    color: var(--c-emerald-900);
    background: linear-gradient(180deg, #eef1c6 0%, #c9d49b 45%, #a9bb7c 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 0 20px rgba(231, 191, 99, 0.45),
        inset 0 2px 0 rgba(255, 255, 255, 0.6), inset 0 -3px 6px rgba(70, 90, 40, 0.35);
}

.pill--cream {
    color: var(--c-emerald-900);
    background: linear-gradient(180deg, #fff4d6 0%, #f0d48f 55%, #d9ad5a 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.7);
}

.pill--green {
    color: var(--c-cream);
    background: linear-gradient(180deg, #2a6b49, #154631);
    border-color: var(--c-gold-500);
    box-shadow: 0 3px 8px rgba(40, 20, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.pill--outline {
    color: var(--c-cream);
    background: linear-gradient(180deg, #1f5a3e, #0f3825);
    border-color: var(--c-gold-400);
    box-shadow: 0 0 14px rgba(231, 191, 99, 0.25);
}

.pill--sm {
    min-height: 44px;
    padding: 0.55rem 1.15rem;
    font-size: 0.95rem;
}

.pill--lg {
    min-height: 56px;
    padding: 0.85rem 2.4rem;
    font-size: 1.1rem;
}

.pill--spark {
    margin-right: 14px;
    padding-right: 2rem;
}

.pill__sparkle {
    position: absolute;
    right: -15px;
    top: 50%;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    filter: drop-shadow(0 0 6px rgba(255, 220, 130, 0.9));
    pointer-events: none;
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 700;
    color: var(--c-gold-300);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.text-link:hover {
    color: var(--c-gold-200);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.75rem;
    margin-top: 1.5rem;
}

@media (max-width: 479.98px) {
    .btn-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-row > .pill {
        width: calc(100% - 14px);
    }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    padding: clamp(15rem, 64vw, 26rem) 0 3.75rem;
    background-color: var(--c-emerald-800);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--hero-image, none);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--hero-pos-m, 70% center);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 214, 120, 0.9) 0 1.5px, transparent 3px),
        radial-gradient(circle at 26% 8%, rgba(255, 214, 120, 0.7) 0 2px, transparent 3.5px),
        radial-gradient(circle at 88% 22%, rgba(255, 214, 120, 0.85) 0 1.5px, transparent 3px),
        radial-gradient(circle at 78% 46%, rgba(255, 214, 120, 0.6) 0 2px, transparent 4px),
        radial-gradient(circle at 94% 60%, rgba(255, 214, 120, 0.35) 0 5px, transparent 12px),
        linear-gradient(to top, rgba(6, 26, 17, 0.97) 0%, rgba(6, 26, 17, 0.9) 42%, rgba(6, 26, 17, 0.35) 66%, rgba(6, 26, 17, 0) 84%);
}

.hero__inner {
    position: relative;
}

.hero__content {
    max-width: 36rem;
}

.hero__title {
    font-weight: 800;
    font-size: clamp(1.65rem, 6.4vw, 2.9rem);
    line-height: 1.12;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--c-gold-300);
    text-shadow: 0 2px 14px rgba(231, 160, 60, 0.45), 0 2px 2px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(1.1rem, 3.4vw, 1.35rem);
    line-height: 1.35;
    color: var(--c-sage);
    margin-bottom: 0.75rem;
}

.hero__lead {
    font-size: 1.075rem;
    color: #e8eedb;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.75rem;
    margin-top: 1.5rem;
}

.hero__rg {
    margin-top: 1.25rem;
}

.hero--short {
    padding-top: clamp(12rem, 52vw, 20rem);
}

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 0.5rem;
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0;
    font-size: 0.9rem;
    color: var(--c-sage);
}

.crumbs li + li::before {
    content: "›";
    margin-right: 0.5rem;
    color: var(--c-gold-400);
}

.crumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-cream);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

@media (min-width: 1024px) {
    .hero {
        align-items: center;
        min-height: clamp(500px, 38vw, 620px);
        padding: 4.5rem 0 5rem;
    }

    .hero--short {
        min-height: clamp(420px, 32vw, 520px);
        padding-top: 4rem;
    }

    .hero::before {
        background-position: var(--hero-pos, center 35%);
    }

    .hero::after {
        background:
            radial-gradient(circle at 12% 18%, rgba(255, 214, 120, 0.9) 0 1.5px, transparent 3px),
            radial-gradient(circle at 34% 82%, rgba(255, 214, 120, 0.7) 0 2px, transparent 3.5px),
            radial-gradient(circle at 48% 30%, rgba(255, 214, 120, 0.6) 0 1.5px, transparent 3px),
            radial-gradient(circle at 88% 22%, rgba(255, 214, 120, 0.85) 0 1.5px, transparent 3px),
            radial-gradient(circle at 92% 70%, rgba(255, 214, 120, 0.35) 0 5px, transparent 12px),
            linear-gradient(to top, rgba(6, 24, 15, 0.65) 0%, rgba(6, 24, 15, 0) 22%),
            linear-gradient(90deg, rgba(8, 44, 30, 0.88) 0%, rgba(8, 44, 30, 0.72) 32%, rgba(8, 44, 30, 0) 56%);
    }
}

/* ============================================
   GOLD DIVIDER (double rule + medallion)
   ============================================ */
.gold-divider {
    position: relative;
    z-index: 5;
    height: 0;
}

.gold-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -3px;
    height: 6px;
    border-top: 2px solid var(--c-gold-400);
    border-bottom: 1px solid var(--c-gold-600);
    background: var(--c-emerald-900);
    box-shadow: 0 0 12px rgba(231, 191, 99, 0.45);
}

.gold-divider__mark {
    position: absolute;
    left: 50%;
    top: 0;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 8px rgba(255, 214, 120, 0.85));
}

.gold-divider--medallion .gold-divider__mark {
    width: 64px;
    height: 64px;
}

@media (min-width: 1024px) {
    .gold-divider--medallion .gold-divider__mark {
        width: 88px;
        height: 88px;
    }
}

/* ============================================
   BANDS (section surfaces)
   ============================================ */
.band {
    position: relative;
    isolation: isolate;
    padding-block: var(--band-pad);
}

.band--tight {
    padding-block: clamp(2.25rem, 5vw, 3.25rem);
}

.band--emerald {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(29, 90, 63, 0.55), transparent 60%),
        linear-gradient(180deg, var(--c-emerald-800), var(--c-emerald-900));
}

.band--parchment {
    color: var(--c-ink);
    background-color: var(--c-parchment);
}

.band--parchment::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse at center, rgba(110, 70, 25, 0) 55%, rgba(110, 70, 25, 0.3) 100%),
        url("./assets/2f57a153e80a47c9cf769dc358b38e75.webp") center / cover no-repeat;
}

.band--sand {
    color: var(--c-ink);
    background:
        radial-gradient(ellipse at center, rgba(110, 70, 25, 0) 50%, rgba(110, 70, 25, 0.25) 100%),
        linear-gradient(180deg, #f3e4c1, #e7cf9c);
}

.band--jungle {
    background-color: var(--c-emerald-950);
}

.band--jungle::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("./assets/f021d58177a4a1ea8b24e93a6c5b5494.webp") center / cover no-repeat;
}

.band--jungle::after,
.band--dust::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 6% 14%, rgba(255, 214, 120, 0.85) 0 1.5px, transparent 3px),
        radial-gradient(circle at 15% 62%, rgba(255, 214, 120, 0.7) 0 2px, transparent 3.5px),
        radial-gradient(circle at 24% 88%, rgba(255, 214, 120, 0.5) 0 1.5px, transparent 3px),
        radial-gradient(circle at 39% 6%, rgba(255, 214, 120, 0.6) 0 1.5px, transparent 3px),
        radial-gradient(circle at 57% 94%, rgba(255, 214, 120, 0.6) 0 2px, transparent 3.5px),
        radial-gradient(circle at 71% 9%, rgba(255, 214, 120, 0.7) 0 1.5px, transparent 3px),
        radial-gradient(circle at 84% 38%, rgba(255, 214, 120, 0.8) 0 2px, transparent 3.5px),
        radial-gradient(circle at 93% 76%, rgba(255, 214, 120, 0.85) 0 1.5px, transparent 3px),
        radial-gradient(circle at 97% 20%, rgba(255, 214, 120, 0.3) 0 5px, transparent 12px),
        radial-gradient(circle at 3% 80%, rgba(255, 214, 120, 0.25) 0 6px, transparent 14px);
}

:is(.band--parchment, .band--sand) a:not([class]) {
    color: var(--c-link-light);
}

/* ============================================
   SECTION HEADINGS & PROSE
   ============================================ */
.section-head {
    max-width: 46rem;
    margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

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

.section-title {
    font-weight: 800;
    font-size: clamp(1.45rem, 3.4vw, 2.25rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--c-gold-300);
    text-shadow: 0 2px 12px rgba(231, 191, 99, 0.35);
}

.section-title--plain {
    text-transform: none;
    letter-spacing: 0;
}

.section-intro {
    margin: 0;
    font-size: 1.05rem;
    color: var(--c-text-muted);
}

:is(.band--parchment, .band--sand) .section-title {
    color: var(--c-ink);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

:is(.band--parchment, .band--sand) .section-intro {
    color: var(--c-ink-soft);
}

.prose {
    max-width: 68ch;
}

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

.prose h3 {
    font-size: 1.2rem;
    color: var(--c-gold-300);
    margin-top: 1.5em;
}

:is(.band--parchment, .band--sand) .prose h3 {
    color: var(--c-ink);
}

.lead {
    font-size: 1.1rem;
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1em;
}

.bullet-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.6rem;
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0.2rem;
    top: 0.55em;
    width: 0.6rem;
    height: 0.6rem;
    background: var(--c-gold-400);
    transform: rotate(45deg);
    box-shadow: 0 0 6px rgba(231, 191, 99, 0.6);
}

:is(.band--parchment, .band--sand) .bullet-list li::before {
    background: var(--c-gold-600);
    box-shadow: none;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist li {
    position: relative;
    padding-left: 2.25rem;
    margin-bottom: 0.75rem;
    min-height: 1.6rem;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: linear-gradient(180deg, #fbe7a6, #d2a144 60%, #a8751f);
}

.checklist li::after {
    content: "";
    position: absolute;
    left: 0.52rem;
    top: 0.42em;
    width: 0.45rem;
    height: 0.75rem;
    border-right: 2.5px solid var(--c-emerald-900);
    border-bottom: 2.5px solid var(--c-emerald-900);
    transform: rotate(45deg);
}

/* ============================================
   PENDING BADGE
   ============================================ */
.badge-pending {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: var(--c-amber);
    color: var(--c-amber-ink);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.4;
    white-space: nowrap;
}

/* ============================================
   JOURNEY (timeline + torn parchment cards)
   ============================================ */
.journey {
    --line-color: #1e4f36;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0 0 0 3.25rem;
}

.journey::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 0.5rem;
    bottom: 0.9rem;
    width: 3px;
    background: var(--line-color);
    border-radius: 2px;
}

.journey::after {
    content: "";
    position: absolute;
    left: calc(1.25rem - 5.5px);
    bottom: 0.35rem;
    width: 14px;
    height: 14px;
    border-top: 3px solid var(--line-color);
    border-right: 3px solid var(--line-color);
    transform: rotate(135deg);
}

.band--emerald .journey,
.band--jungle .journey {
    --line-color: var(--c-gold-500);
}

.journey__item {
    position: relative;
    display: flex;
    filter: drop-shadow(0 8px 10px rgba(40, 22, 5, 0.35));
}

.journey__node {
    position: absolute;
    left: calc(-2rem - 16.5px);
    top: 1.25rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid var(--c-gold-400);
    background: radial-gradient(circle at 40% 35%, #2a6b49, #0e3122);
    color: var(--c-cream);
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 0 10px rgba(231, 191, 99, 0.5);
}

.journey--plain {
    padding: 0;
}

.journey--plain::before,
.journey--plain::after {
    display: none;
}

.parchment-card {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1.75rem 1.25rem 1.6rem;
    text-align: center;
    color: var(--c-ink);
    background: radial-gradient(ellipse at 50% 40%, #fbf1d6 0%, #f0dcae 60%, #dcb97c 100%);
    clip-path: polygon(2% 3%, 12% 0%, 25% 2.5%, 38% 0.5%, 52% 2%, 66% 0%, 80% 2.5%, 92% 0.5%, 99% 3%, 97.5% 15%, 100% 30%, 98% 46%, 100% 62%, 97.5% 78%, 99.5% 92%, 96% 99%, 84% 97%, 70% 100%, 55% 97.5%, 40% 100%, 26% 97%, 12% 99.5%, 1% 97%, 2.5% 82%, 0% 66%, 2% 50%, 0% 34%, 2.5% 18%);
    box-shadow: inset 0 0 0 2px rgba(150, 95, 30, 0.25), inset 0 0 28px rgba(120, 66, 18, 0.55);
}

.journey__item:nth-child(odd) .parchment-card {
    transform: rotate(-1deg);
}

.journey__item:nth-child(even) .parchment-card {
    transform: rotate(1deg);
}

.parchment-card__big {
    margin: 0;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 3.1rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: #173f29;
}

.parchment-card__title {
    margin: 0;
    font-size: 1.15rem;
    color: var(--c-ink);
}

.parchment-card__label {
    margin: 0;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.05rem;
}

.parchment-card__text {
    margin: 0.25rem 0 0.75rem;
    font-size: 0.975rem;
    color: #2b3d2d;
}

.parchment-card > .pill {
    margin-top: auto;
}

@media (min-width: 640px) {
    .journey--plain {
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    }
}

@media (min-width: 1024px) {
    .journey {
        grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
        gap: 1.75rem;
        padding: 3.25rem 0 0;
    }

    .journey::before {
        left: 0;
        right: 4px;
        top: 1.25rem;
        bottom: auto;
        width: auto;
        height: 3px;
    }

    .journey::after {
        left: auto;
        right: 2px;
        bottom: auto;
        top: calc(1.25rem - 5.5px);
        transform: rotate(45deg);
    }

    .journey__node {
        left: 50%;
        top: calc(-2rem - 16.5px);
        transform: translateX(-50%);
    }

    .journey--plain {
        grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
        padding: 0;
    }
}

/* ============================================
   TILES (game categories)
   ============================================ */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.tile {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 16rem;
    border: 2px solid var(--c-gold-500);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--c-emerald-800);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tile__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(6, 26, 17, 0.97) 0%, rgba(8, 35, 23, 0.9) 48%, rgba(8, 35, 23, 0.2) 70%, rgba(8, 35, 23, 0) 85%);
}

.tile__mark {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 0 5px rgba(255, 214, 120, 0.7));
}

.tile__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0 0.7rem 0.9rem;
    text-align: center;
}

.tile__title {
    margin: 0;
    font-size: 1rem;
    color: var(--c-gold-200);
}

.tile__text {
    margin: 0 0 0.4rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--c-text);
}

.tile:hover,
.tile:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45), 0 0 22px rgba(231, 191, 99, 0.45);
}

@media (min-width: 768px) {
    .tile-grid {
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .tile-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tile {
        min-height: 17.5rem;
    }

    .tile__body {
        padding: 0 1rem 1rem;
    }

    .tile__title {
        font-size: 1.075rem;
    }
}

/* ============================================
   SPLIT LAYOUT & FRAMED MEDIA
   ============================================ */
.split {
    display: grid;
    gap: clamp(1.75rem, 4vw, 3.5rem);
    align-items: center;
}

.framed-media {
    margin: 0;
    border: 3px solid var(--c-gold-400);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--c-emerald-800);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 26px rgba(231, 191, 99, 0.35), 0 14px 30px rgba(0, 0, 0, 0.45);
}

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

@media (min-width: 1024px) {
    .split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .split--reverse > :first-child {
        order: 2;
    }

    .split--stretch {
        align-items: stretch;
    }

    .split--stretch .framed-media {
        height: 100%;
    }
}

/* ============================================
   PHONE MOCKUP
   ============================================ */
.phone-stage {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: end;
    margin-bottom: calc(var(--band-pad) * -1);
    padding-top: 1rem;
}

.phone {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(260px, 74vw);
    padding: 12px 12px 0;
    background: #0c0c0c;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 0 0 2px #3a3a3a, 0 0 0 4px #111, 0 20px 40px rgba(0, 0, 0, 0.45), inset 0 0 0 1px #444;
}

.phone__notch {
    position: absolute;
    top: 12px;
    left: 50%;
    z-index: 2;
    width: 42%;
    height: 22px;
    background: #0c0c0c;
    border-radius: 0 0 14px 14px;
    transform: translateX(-50%);
}

.phone__bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 32px 12px 10px;
    background: #f3f1ea;
    border-radius: 28px 28px 0 0;
}

.phone__url {
    position: relative;
    flex: 1;
    height: 26px;
    border-radius: 999px;
    background: #e2dfd5;
}

.phone__url::after {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    top: 50%;
    height: 6px;
    border-radius: 4px;
    background: #b3afa3;
    transform: translateY(-50%);
}

.phone__refresh {
    width: 18px;
    height: 18px;
    color: #6c6a62;
}

.phone__screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    min-height: 300px;
    padding: 1.75rem 1rem 2.75rem;
    background: linear-gradient(180deg, #1a5038, #0b2a1c);
}

.phone__compass {
    width: 88px;
    height: 88px;
    filter: drop-shadow(0 0 10px rgba(255, 214, 120, 0.7));
}

.phone__caption {
    margin: 0;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    color: var(--c-cream);
}

.phone__line {
    display: block;
    width: 70%;
    height: 10px;
    border-radius: 6px;
    background: #b7c39a;
}

.phone__line + .phone__line {
    width: 50%;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    display: grid;
    gap: 0.85rem;
    align-items: start;
}

.faq-item {
    border: 1.5px solid var(--c-gold-500);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--c-emerald-800), var(--c-emerald-900));
    overflow: hidden;
}

.faq-item[open] {
    box-shadow: 0 0 18px rgba(231, 191, 99, 0.25);
}

.faq-item__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 0.9rem 1.15rem;
    cursor: pointer;
    list-style: none;
}

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

.faq-item__summary:focus-visible {
    outline-offset: -3px;
}

.faq-item__q {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--c-gold-200);
}

.faq-item__chevron {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--c-gold-400);
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-item__chevron {
    transform: rotate(180deg);
}

.faq-item__answer {
    padding: 1rem 1.15rem 1.15rem;
    color: var(--c-ink);
    background: linear-gradient(180deg, #f5e8c8, #ecd9ae);
    border-top: 1px solid var(--c-gold-500);
}

.faq-item__answer a {
    color: var(--c-link-light);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

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

/* ============================================
   TERMS TABLE
   ============================================ */
.table-wrapper {
    border-radius: var(--radius);
}

.terms-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid var(--c-gold-500);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(8, 32, 22, 0.94);
}

.terms-table caption {
    caption-side: top;
    padding: 0 0 0.6rem;
    text-align: left;
    font-size: 0.95rem;
    color: inherit;
}

.terms-table th,
.terms-table td {
    padding: 0.85rem 1.1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(246, 236, 211, 0.35);
}

.terms-table thead th {
    font-family: var(--f-display);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-emerald-900);
    background: linear-gradient(180deg, var(--c-gold-300), var(--c-gold-500));
}

.terms-table tbody th {
    width: 40%;
    font-family: var(--f-display);
    font-weight: 700;
    color: var(--c-gold-300);
}

.terms-table td {
    color: #fff;
}

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

@media (max-width: 639.98px) {
    .terms-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .terms-table tr,
    .terms-table tbody th,
    .terms-table td {
        display: block;
        width: 100%;
    }

    .terms-table tbody th {
        border-bottom: 0;
        padding-bottom: 0.2rem;
    }

    .terms-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.875rem;
        color: var(--c-sage);
    }

    .terms-table tbody tr {
        border-bottom: 1px solid rgba(246, 236, 211, 0.35);
    }

    .terms-table tbody tr:last-child {
        border-bottom: 0;
    }

    .terms-table td {
        border-bottom: 0;
        padding-top: 0.3rem;
    }
}

/* ============================================
   NOTICE, INFO CARD, LINK CARD
   ============================================ */
.notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    border: 2px solid var(--c-gold-500);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #123e2b, #0b2a1d);
    color: var(--c-text);
}

.notice__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--c-gold-300);
}

.notice__title {
    margin: 0 0 0.3rem;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--c-gold-200);
}

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

.notice--amber {
    border: 0;
    border-left: 4px solid var(--c-amber);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: #17503a;
}

.notice--amber .notice__icon {
    color: var(--c-amber);
}

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

.info-card {
    position: relative;
    height: 100%;
    padding: 1.5rem;
    border: 2px solid var(--c-gold-500);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(20, 68, 48, 0.95), rgba(9, 33, 22, 0.96));
    box-shadow: var(--shadow-card);
    color: var(--c-text);
}

.info-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
    color: var(--c-gold-300);
    filter: drop-shadow(0 0 8px rgba(231, 191, 99, 0.45));
}

.info-card__title {
    font-size: 1.2rem;
    color: var(--c-gold-200);
}

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

.link-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    height: 100%;
    padding: 1.25rem 1.25rem 1.35rem;
    border: 1px solid var(--c-gold-500);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #144430, #0b2a1d);
    color: var(--c-text);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.link-card:hover {
    transform: translateY(-3px);
    border-color: var(--c-gold-300);
    box-shadow: var(--glow-gold);
}

.link-card__icon {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 26px;
    height: 26px;
}

.link-card__title {
    margin: 0;
    padding-right: 2rem;
    font-size: 1.1rem;
    color: var(--c-gold-300);
    text-decoration: underline;
    text-decoration-color: rgba(231, 191, 99, 0.5);
    text-underline-offset: 0.2em;
}

.link-card__text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--c-text-muted);
}

.link-card__cta {
    align-self: flex-start;
    margin-top: auto;
}

.link-card__text + .link-card__cta {
    margin-top: max(0.75rem, auto);
}

@media (min-width: 480px) {
    .card-grid--links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .card-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

/* ============================================
   RESPONSIBLE GAMING BADGES
   ============================================ */
.rg-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
}

.rg-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--c-gold-300);
    text-decoration: none;
}

.rg-badge__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.rg-badge--link .rg-badge__text {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.rg-badge--link:hover {
    color: var(--c-gold-200);
}

.rg-badges__note {
    flex-basis: 100%;
    margin: 0;
    font-size: 0.95rem;
    color: var(--c-text-muted);
}

.rg-badges--compact {
    gap: 0.5rem 1.25rem;
}

.rg-badges--compact .rg-badge {
    font-size: 0.95rem;
}

.rg-badges--compact .rg-badge__icon {
    width: 34px;
    height: 34px;
}

:is(.band--parchment, .band--sand) .rg-badge {
    color: var(--c-ink);
}

:is(.band--parchment, .band--sand) .rg-badges__note {
    color: var(--c-ink-soft);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    padding: 3.25rem 0 2rem;
    color: var(--c-text-muted);
    background: linear-gradient(180deg, var(--c-emerald-900), var(--c-emerald-950));
    border-top: 2px solid var(--c-gold-500);
}

.site-footer__spark {
    position: absolute;
    top: 0;
    left: 50%;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -55%);
    filter: drop-shadow(0 0 6px rgba(255, 220, 130, 0.9));
}

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

.site-footer__brand {
    grid-column: 1 / -1;
}

.site-footer__brand p {
    max-width: 34ch;
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    text-decoration: none;
}

.footer-brand__icon {
    width: 36px;
    height: 36px;
}

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

.site-footer__heading {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-gold-300);
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__col a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-text);
    text-decoration: none;
}

.site-footer__col a:hover,
.site-footer__col a[aria-current="page"] {
    color: var(--c-gold-200);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.site-footer__marks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(231, 191, 99, 0.3);
}

.licence-mark {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.licence-mark__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.licence-mark__title {
    margin: 0;
    font-family: var(--f-display);
    font-weight: 700;
    color: var(--c-gold-300);
}

.licence-mark__meta {
    margin: 0;
    font-size: 0.875rem;
}

.site-footer__disclaimer {
    max-width: 75ch;
    margin: 1.5rem 0 0;
    font-size: 0.9rem;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--c-gold-600);
    font-size: 0.875rem;
}

.site-footer__bottom p {
    margin: 0;
}

@media (min-width: 1024px) {
    .site-footer__cols {
        grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
    }

    .site-footer__brand {
        grid-column: auto;
    }
}

/* ============================================
   HOMEPAGE SECTIONS
   ============================================ */
.welcome-band::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    box-shadow: inset 0 0 70px rgba(95, 55, 15, 0.35);
    background:
        radial-gradient(ellipse 9px 20px at 1.5% 22%, rgba(150, 205, 95, 0.7), transparent 75%),
        radial-gradient(ellipse 7px 16px at 3% 64%, rgba(255, 220, 130, 0.65), transparent 75%),
        radial-gradient(ellipse 10px 22px at 98.5% 30%, rgba(150, 205, 95, 0.7), transparent 75%),
        radial-gradient(ellipse 7px 15px at 97% 78%, rgba(255, 220, 130, 0.65), transparent 75%);
}

.welcome-terms {
    max-width: 46rem;
    margin: 2.5rem auto 0;
    text-align: center;
}

.welcome-terms p {
    margin-bottom: 0.5rem;
}

:is(.band--parchment, .band--sand) .text-link {
    color: var(--c-link-light);
}

:is(.band--parchment, .band--sand) .text-link:hover {
    color: var(--c-ink);
}

.section-intro .badge-pending {
    margin-left: 0.35rem;
    vertical-align: middle;
    white-space: normal;
}

.slots-more {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}

.live-copy .section-title,
.rg-panel .section-title {
    color: var(--c-gold-300);
}

.demo-copy .section-title {
    color: var(--c-ink);
}

.licence-strip {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.licence-strip__icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(231, 191, 99, 0.35));
}

.licence-strip__title {
    font-size: clamp(1.2rem, 2.6vw, 1.6rem);
    color: var(--c-gold-300);
}

.licence-strip__body {
    max-width: 72ch;
}

.rg-panel {
    display: grid;
    gap: 2rem;
    align-items: center;
}

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

.rg-panel .rg-badge__icon {
    width: 64px;
    height: 64px;
}

.rg-panel .rg-badge {
    font-size: 1.1rem;
}

@media (max-width: 639.98px) {
    .licence-strip {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .rg-panel {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 3.5rem;
    }
}

/* ============================================
   BONUSSER PAGE
   ============================================ */
.band--parchment.bonus-welcome::before {
    background:
        radial-gradient(ellipse at center, rgba(110, 70, 25, 0) 50%, rgba(80, 45, 12, 0.45) 100%),
        url("./assets/2f57a153e80a47c9cf769dc358b38e75.webp") center / cover no-repeat;
}

.terms-intro,
.terms-after {
    max-width: 68ch;
    margin-bottom: 1.75rem;
}

.terms-after {
    margin-top: 1.75rem;
}

.band--jungle.cashback-band::before {
    background:
        linear-gradient(180deg, rgba(5, 21, 13, 0.55), rgba(5, 21, 13, 0.75)),
        url("./assets/f021d58177a4a1ea8b24e93a6c5b5494.webp") center / cover no-repeat;
}

.cashback-band .info-card {
    background: rgba(9, 33, 22, 0.88);
}

.bonus-map .split {
    position: relative;
}

.map-trail {
    display: none;
}

.map-copy .section-title {
    color: var(--c-ink);
}

.vip-teaser__grid {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

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

.vip-teaser__line {
    width: min(100%, 260px);
    justify-self: center;
}

.coins-copy .section-title {
    color: var(--c-ink);
}

.coins-art {
    width: min(100%, 280px);
    justify-self: center;
    filter: drop-shadow(0 10px 12px rgba(60, 35, 5, 0.4));
}

.coins-copy .badge-pending {
    margin-left: 0.35rem;
    vertical-align: middle;
    white-space: normal;
}

.welcome-terms .badge-pending {
    margin-left: 0.35rem;
    vertical-align: middle;
    white-space: normal;
}

@media (min-width: 1024px) {
    .vip-teaser__grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: 3rem;
    }

    .vip-teaser__line {
        justify-self: end;
        width: 300px;
    }

    .map-trail {
        display: block;
        position: absolute;
        left: 44%;
        top: 50%;
        width: 12%;
        transform: translateY(-50%);
        pointer-events: none;
        z-index: 1;
    }
}

/* ============================================
   SPIL PAGE
   ============================================ */
.parchment-card .badge-pending {
    margin-bottom: 0.35rem;
    white-space: normal;
    text-align: center;
}

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

.tile-grid--long .tile {
    min-height: 20rem;
}

.tile-grid--long .tile::after {
    background: linear-gradient(to top, rgba(6, 26, 17, 0.97) 0%, rgba(8, 35, 23, 0.92) 62%, rgba(8, 35, 23, 0.25) 82%, rgba(8, 35, 23, 0) 95%);
}

.tile-grid--long .tile__text {
    text-align: center;
}

@media (min-width: 480px) {
    .tile-grid--long {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .tile-grid--long {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tile-grid--long .tile {
        min-height: 25rem;
    }
}

.crash-copy .section-title,
.mobile-copy .section-title {
    color: var(--c-gold-300);
}

.crash-panel {
    padding: 1rem;
    border: 2px solid var(--c-gold-500);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #0f3a28, #08201a);
    box-shadow: var(--shadow-card), 0 0 22px rgba(231, 191, 99, 0.2);
}

.crash-chart {
    display: block;
    width: 100%;
    height: auto;
}

.crash-curve {
    fill: none;
    stroke: var(--c-ember);
    stroke-width: 5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px rgba(242, 181, 74, 0.85));
}

.crash-head {
    fill: var(--c-gold-200);
    filter: drop-shadow(0 0 8px rgba(255, 214, 120, 0.95));
}

.crash-panel.is-inview .crash-curve {
    stroke-dasharray: 1;
    animation: crash-draw 2.4s ease-out both;
}

.crash-panel.is-inview .crash-head {
    transform-box: fill-box;
    transform-origin: center;
    animation: crash-pulse 1.8s ease-in-out 2.4s 3;
}

@keyframes crash-draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}

@keyframes crash-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.5); }
}

.trail-art {
    width: min(100%, 280px);
    height: auto;
    justify-self: center;
}

.rg-slim {
    background: linear-gradient(180deg, #071c13, #0a2318);
}

.faq-list--narrow {
    max-width: 52rem;
    margin-inline: auto;
}

.cta-band__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-band .section-intro a {
    color: var(--c-gold-300);
}

/* ============================================
   OM OS PAGE
   ============================================ */
.story-body .section-title {
    margin-bottom: 1rem;
}

.mascot-copy .section-title {
    color: var(--c-gold-300);
}

.mascot-art {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    isolation: isolate;
}

.mascot-art::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 191, 99, 0.38) 0%, rgba(231, 191, 99, 0.14) 45%, transparent 70%);
}

.mascot-art img {
    width: min(100%, 420px);
    height: auto;
    object-fit: contain;
}

.licence-card {
    padding: clamp(1.15rem, 3vw, 2rem);
    border: 2px solid var(--c-gold-500);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(14, 49, 34, 0.96), rgba(7, 28, 19, 0.97));
    box-shadow: var(--shadow-card), 0 0 24px rgba(231, 191, 99, 0.18);
}

.licence-card__head {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.licence-card__icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(231, 191, 99, 0.35));
}

.licence-card__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--c-gold-300);
}

.licence-card__intro {
    max-width: 72ch;
}

.licence-card__intro > p:last-child {
    margin-bottom: 0;
}

.licence-card .terms-table {
    border-width: 1px;
}

.licence-card .terms-table td {
    color: var(--c-cream);
}

.licence-card .badge-pending {
    margin-left: 0.35rem;
    vertical-align: middle;
}

.callout-band {
    background: #17503a;
    border-left: 6px solid var(--c-amber);
}

.callout-band__inner {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.callout-band__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: var(--c-amber);
}

.callout-band__title {
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
    color: var(--c-gold-200);
}

.callout-band__body {
    max-width: 72ch;
}

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

.rg-tiles {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
}

.rg-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    text-align: center;
    color: var(--c-ink);
}

.rg-tile p {
    margin: 0;
    max-width: 28ch;
}

.rg-tile__circle {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 0.9rem;
    border-radius: 50%;
    background: linear-gradient(180deg, #fbe7a6, #d2a144 60%, #a8751f);
    box-shadow: 0 6px 12px rgba(60, 35, 5, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.55);
}

.rg-tile__icon {
    width: 40px;
    height: 40px;
    color: var(--c-emerald-900);
}

.rg-tile__title {
    font-size: 1.15rem;
    color: var(--c-ink);
}

.rg-about-foot {
    display: flex;
    justify-content: center;
}

.rg-about-foot .rg-badge__icon {
    width: 64px;
    height: 64px;
}

.rg-about-foot .rg-badge {
    font-size: 1.1rem;
}

.rg-about-foot .rg-badges {
    justify-content: center;
    text-align: center;
}

:is(.band--parchment, .band--sand) .rg-badges__note a {
    color: var(--c-link-light);
}

.support-link {
    display: flex;
    justify-content: center;
    margin: -1rem 0 1.5rem;
}

.support-grid .info-card {
    background: linear-gradient(180deg, rgba(14, 49, 34, 0.96), rgba(7, 28, 19, 0.97));
}

.about-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    text-align: center;
}

.about-cta__note {
    margin: 0;
    font-size: 0.95rem;
    color: var(--c-text-muted);
}

@media (max-width: 639.98px) {
    .licence-card__head,
    .callout-band__inner {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (min-width: 768px) {
    .rg-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ============================================
   VIP PAGE
   ============================================ */
.hero__age {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--c-gold-200);
}

.tier-flag,
.vip-flag {
    display: flex;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.tier-stairs {
    position: relative;
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0 0 0 3.25rem;
    list-style: none;
}

.tier-stairs::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--c-gold-600), var(--c-gold-300));
}

.tier-stairs__step {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
}

.tier-stairs__node {
    position: absolute;
    left: -3.25rem;
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 calc(4px + var(--i) * 3px) rgba(255, 214, 120, calc(0.35 + var(--i) * 0.14)));
}

.tier-stairs__label {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--c-cream);
}

@media (min-width: 768px) {
    .tier-stairs {
        display: flex;
        align-items: flex-end;
        gap: 0.5rem;
        padding: 0;
    }

    .tier-stairs::before {
        display: none;
    }

    .tier-stairs__step {
        flex: 1;
        flex-direction: column;
        justify-content: flex-end;
        gap: 0.5rem;
        padding-bottom: 0.75rem;
        margin-bottom: calc(var(--i) * 2.25rem);
        border-bottom: 3px solid var(--c-gold-400);
        box-shadow: 0 6px 12px -8px rgba(231, 191, 99, calc(0.3 + var(--i) * 0.15));
    }

    .tier-stairs__node {
        position: static;
        width: 52px;
        height: 52px;
    }
}

.vip-cashback {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 2px solid var(--c-gold-500);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(20, 68, 48, 0.95), rgba(9, 33, 22, 0.97));
    box-shadow: var(--shadow-card), 0 0 24px rgba(231, 191, 99, 0.18);
}

.vip-cashback__art {
    width: 96px;
    height: 96px;
    justify-self: center;
    filter: drop-shadow(0 0 10px rgba(231, 191, 99, 0.45));
}

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

@media (min-width: 768px) {
    .vip-cashback {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 2.25rem;
    }

    .vip-cashback__art {
        width: 132px;
        height: 132px;
    }
}

.medal-row {
    display: block;
    width: min(100%, 420px);
    height: auto;
    justify-self: center;
    filter: drop-shadow(0 8px 10px rgba(60, 35, 5, 0.35));
}

/* ============================================
   BETALINGER PAGE
   ============================================ */
.band--parchment.pay-methods::before {
    background:
        radial-gradient(ellipse at center, rgba(110, 70, 25, 0) 55%, rgba(110, 70, 25, 0.3) 100%),
        url("./assets/e16baa56f2b4fa30f6b5226bae2e2022.webp") center / cover no-repeat;
}

.pay-methods::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border-top: 3px double var(--c-gold-600);
    border-bottom: 3px double var(--c-gold-600);
}

.pay-note {
    max-width: 46rem;
    margin: 2.5rem auto 0;
    text-align: center;
    font-weight: 600;
}

.currency-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
}

.cur {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.cur__circle {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border: 3px solid var(--c-gold-400);
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #1d5a3f, #0b2a1d);
    color: var(--c-gold-200);
    box-shadow: var(--glow-gold);
}

.cur--pending .cur__circle {
    border-style: dashed;
}

.cur__code {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 1.2rem;
}

.cur__glyph {
    width: 44px;
    height: 44px;
}

.cur__name {
    font-weight: 700;
    color: var(--c-cream);
}

.currency-copy,
.process-copy {
    margin-inline: auto;
}

.journey__item > .info-card {
    flex: 1;
    height: auto;
}

.process-copy {
    margin-top: 2.5rem;
}

.kyc-copy .section-title {
    color: var(--c-gold-300);
}

.strict-wrap {
    max-width: 52rem;
    padding-left: clamp(1rem, 3vw, 2rem);
    border-left: 6px solid #1e4f36;
}

.strict-band .section-title {
    color: var(--c-ink);
}

.strict-lead {
    font-size: 1.1rem;
    font-weight: 600;
}

.rule-chips {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    margin: 1.75rem 0;
}

.chargeback-title {
    max-width: 46rem;
    color: var(--c-gold-300);
}

.tips-copy .section-title {
    color: var(--c-gold-300);
}

@media (min-width: 640px) {
    .rule-chips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1023.98px) {
    .split > .framed-media {
        order: -1;
    }
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-section {
    scroll-margin-top: 4.5rem;
}

.faq-notice {
    margin: 0 auto 1.5rem;
}

.faq-section .section-head--left {
    margin-inline: 0;
}

.band--parchment.topic-band::before {
    background:
        radial-gradient(ellipse at center, rgba(110, 70, 25, 0) 55%, rgba(110, 70, 25, 0.3) 100%),
        url("./assets/2246d4f621bbb35dbe67dd1a4ed43b50.webp") center / cover no-repeat;
}

.topic-band {
    padding-bottom: calc(var(--band-pad) + 0.75rem);
}

.topic-band::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border-top: 3px double var(--c-gold-600);
    border-bottom: 3px double var(--c-gold-600);
}

.topic-spark {
    position: absolute;
    left: 50%;
    bottom: 0.4rem;
    width: 30px;
    height: 30px;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 5px rgba(255, 214, 120, 0.8));
}

.topic-wrap {
    position: relative;
    max-width: 54rem;
    margin-inline: auto;
}

.topic-route {
    display: none;
}

.topic-chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topic-chip {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0.6rem 1.25rem;
    border: 2px solid var(--c-gold-400);
    border-radius: 999px;
    background: linear-gradient(180deg, #1f5a3e, #0f3825);
    color: var(--c-cream);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(40, 20, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(40, 20, 0, 0.4), var(--glow-gold);
}

@media (min-width: 1024px) {
    .topic-wrap {
        padding-block: 1.25rem;
    }

    .topic-route {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 100%;
    }

    .topic-chips {
        gap: 1.75rem 1.25rem;
    }
}

.faq-split {
    display: grid;
    gap: 1.75rem;
    align-items: start;
}

.faq-split .parchment-card {
    padding: 1.1rem 1rem 1rem;
}

.faq-split .parchment-card__big {
    font-size: 2.2rem;
}

@media (min-width: 1024px) {
    .faq-split {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 3rem;
    }

    .faq-split .journey {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
        padding: 0 0 0 3.25rem;
    }

    .faq-split .journey::before {
        left: 1.25rem;
        right: auto;
        top: 0.5rem;
        bottom: 0.9rem;
        width: 3px;
        height: auto;
    }

    .faq-split .journey::after {
        left: calc(1.25rem - 5.5px);
        right: auto;
        top: auto;
        bottom: 0.35rem;
        transform: rotate(135deg);
    }

    .faq-split .journey__node {
        left: calc(-2rem - 16.5px);
        top: 1.25rem;
        transform: none;
    }
}

.rg-faq-badges {
    margin-top: 1.5rem;
}

.rg-faq-copy .section-title {
    color: var(--c-gold-300);
}

.mobile-copy .section-title {
    color: var(--c-ink);
}

/* ============================================
   MOTION PREFERENCES
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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

    .pill:hover,
    .tile:hover,
    .tile:focus-within,
    .link-card:hover {
        transform: none;
    }
}