/*
 * JB Casino - design system
 * Dark crypto-steampunk: deep navy, molten gold, burnished brass.
 * Dark-only theme. All tokens live here.
 */

:root {
    --navy-950: #060b18;
    --navy-900: #0a1328;
    --navy-850: #0d1a36;
    --navy-800: #112146;
    --navy-700: #1a2e5e;
    --slate-700: #1e2a42;

    --gold-100: #fff4cf;
    --gold-200: #ffe7a0;
    --gold-300: #ffd866;
    --gold-400: #f4c443;
    --gold-500: #dca22a;
    --gold-600: #b07d1c;
    --gold-700: #7d560f;

    --bronze-950: #1a1007;
    --bronze-900: #24170a;
    --bronze-800: #3a2610;
    --bronze-600: #8a5a26;
    --copper-500: #c17a3a;

    --cream: #f6ebcf;
    --text: #eef1f8;
    --text-muted: #c3cbe0;
    --ink: #1a1204;
    --cyan: #6fe3ff;

    --grad-gold: linear-gradient(180deg, #fff0b0 0%, #f6cf5a 38%, #dca22a 70%, #b98216 100%);
    --grad-gold-band: linear-gradient(180deg, #f9dd7e 0%, #e6b740 55%, #c08f22 100%);
    --grad-bronze-border: linear-gradient(135deg, #e8b070 0%, #8a4f1f 38%, #d79552 60%, #6b3a14 100%);
    --grad-tube-h: linear-gradient(180deg, #4e3309 0%, #b9862a 22%, #ffe9a6 50%, #b9862a 78%, #4e3309 100%);
    --grad-tube-v: linear-gradient(90deg, #4e3309 0%, #b9862a 22%, #ffe9a6 50%, #b9862a 78%, #4e3309 100%);
    --grad-panel-navy: linear-gradient(160deg, #182a52 0%, #0d1a36 55%, #0a1328 100%);
    --grad-panel-bronze: linear-gradient(135deg, #2f1f0c 0%, #1f1509 100%);

    --glow-gold: 0 0 18px rgba(244, 196, 67, 0.35), 0 0 42px rgba(244, 196, 67, 0.15);
    --line-gold: rgba(220, 162, 42, 0.55);
    --line-gold-soft: rgba(220, 162, 42, 0.25);

    --font-display: "Outfit", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

    --radius: 12px;
    --radius-sm: 8px;
    --radius-pill: 999px;
    --container: 1200px;
    --header-bottom: 64px;
    --section-y: clamp(56px, 8vw, 104px);
}

/* ============================================
   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 {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-bottom) + 16px);
}

body {
    margin: 0;
    background: var(--navy-950);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.5em;
    color: #ffffff;
}

h3 { font-size: 1.25rem; }

p {
    margin: 0 0 1em;
}

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

a:hover {
    color: var(--gold-200);
}

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

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

strong {
    color: #ffffff;
}

.visually-hidden {
    position: absolute !important;
    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: 12px;
    top: -60px;
    z-index: 200;
    background: var(--gold-400);
    color: var(--ink);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

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

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

.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ============================================
   TYPOGRAPHY HELPERS
   ============================================ */
.section {
    position: relative;
    padding-block: var(--section-y);
}

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

.section-title {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 800;
    color: var(--gold-300);
    text-align: center;
    margin: 0 0 16px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

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

.section-intro {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.section-intro p:last-child {
    margin-bottom: 0;
}

.prose {
    max-width: 780px;
}

.prose p,
.prose li {
    color: var(--text-muted);
}

.prose h3 {
    margin-top: 1.4em;
    color: var(--gold-200);
}

.text-link {
    color: var(--gold-300);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

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

.updated {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.1;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: 0;
    transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn--gold {
    background: var(--grad-gold);
    color: var(--ink);
    border: 1px solid #8a5f12;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.65), inset 0 -3px 0 rgba(120, 80, 10, 0.55), 0 4px 14px rgba(0, 0, 0, 0.45);
}

.btn--gold:hover,
.btn--gold:focus-visible {
    color: var(--ink);
    transform: translateY(-1px);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.7), inset 0 -3px 0 rgba(120, 80, 10, 0.55), 0 0 22px rgba(244, 196, 67, 0.65), 0 6px 18px rgba(0, 0, 0, 0.5);
}

.btn--outline {
    background: rgba(6, 11, 24, 0.75);
    color: var(--gold-200);
    border: 2px solid var(--gold-400);
}

.btn--outline:hover,
.btn--outline:focus-visible {
    color: var(--ink);
    background: var(--grad-gold);
    border-color: var(--gold-500);
}

.btn--sm {
    min-height: 44px;
    padding: 0 20px;
    font-size: 16px;
}

.btn--lg {
    min-height: 56px;
    min-width: min(100%, 260px);
    padding: 0 40px;
    font-size: 19px;
}

/* ============================================
   COIN MEDALLION
   ============================================ */
.jb-coin {
    --coin: 120px;
    position: relative;
    display: inline-grid;
    place-items: center;
    width: var(--coin);
    height: var(--coin);
    flex-shrink: 0;
}

.jb-coin img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.jb-coin__mark {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: calc(var(--coin) * 0.3);
    letter-spacing: -0.04em;
    color: #6a4508;
    text-shadow: 0 1px 0 rgba(255, 240, 190, 0.75), 0 -1px 0 rgba(60, 35, 0, 0.45);
    line-height: 1;
}

.jb-coin--brand { --coin: 40px; }
.jb-coin--sm { --coin: 64px; }
.jb-coin--md { --coin: 120px; }
.jb-coin--lg { --coin: 180px; }
.jb-coin--hub { --coin: 104px; }
.jb-coin--divider { --coin: 84px; }
.jb-coin--wm { --coin: clamp(220px, 28vw, 380px); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, #16295c 0%, #0b1636 100%);
    border-bottom: 1px solid var(--gold-500);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.header-traces {
    position: absolute;
    top: 0;
    height: 100%;
    width: 160px;
    opacity: 0.55;
    pointer-events: none;
}

.header-traces--left { left: 0; }

.header-traces--right {
    right: 0;
    transform: scaleX(-1);
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    text-decoration: none;
    min-height: 44px;
}

.site-brand__text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.01em;
    color: var(--gold-300);
    background: linear-gradient(180deg, #fff1b5 0%, #f6cf5a 50%, #d9a12a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.site-header .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;
    border-radius: 10px;
    border: 1px solid var(--line-gold);
    background: rgba(6, 11, 24, 0.6);
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-300);
    transition: transform 0.2s 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: 99;
    display: none;
    padding: 16px 16px 40px;
    background: var(--navy-950);
    border-top: 1px solid var(--line-gold-soft);
    overflow-y: auto;
    overscroll-behavior: contain;
}

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

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    border-bottom: 1px solid var(--line-gold-soft);
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
    color: var(--gold-300);
}

.site-nav__actions {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.site-nav__note {
    margin: 4px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

@media (min-width: 600px) {
    .header-traces { width: 220px; }
}

@media (min-width: 1024px) {
    .site-header__inner {
        min-height: 84px;
        gap: 24px;
    }

    .header-traces { width: 260px; }

    .jb-coin--brand { --coin: 48px; }

    .site-brand {
        margin-right: 0;
    }

    .site-brand__text {
        font-size: 28px;
    }

    .site-nav {
        position: static;
        display: block;
        flex: 1;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
        z-index: auto;
    }

    .site-nav__list {
        display: flex;
        justify-content: center;
        gap: 4px;
    }

    .site-nav__link {
        min-height: 44px;
        padding: 0 16px;
        border: 0;
        border-radius: var(--radius-pill);
        font-size: 16px;
        color: #d6dcec;
    }

    .site-nav__link:hover {
        color: var(--gold-200);
        background: rgba(244, 196, 67, 0.08);
    }

    .site-nav__link[aria-current="page"] {
        color: var(--gold-300);
        box-shadow: inset 0 -2px 0 var(--gold-400);
        border-radius: 0;
    }

    .site-nav__actions {
        display: none;
    }

    .site-header .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .menu-toggle {
        display: none;
    }
}

/* ============================================
   HERO (full-bleed environment + bonus card)
   ============================================ */
.hero {
    position: relative;
    isolation: isolate;
    background: var(--navy-950);
    border-bottom: 1px solid var(--gold-500);
}

.hero__bg {
    position: absolute;
    inset: 0 0 auto 0;
    height: min(68vw, 460px);
    z-index: -1;
    background-image: var(--hero-bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--hero-pos-mobile, 28% center);
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 11, 24, 0) 40%, rgba(6, 11, 24, 0.7) 80%, var(--navy-950) 100%);
}

.hero__inner {
    position: relative;
    padding-top: calc(min(68vw, 460px) - 48px);
    padding-bottom: 48px;
}

.hero__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.hero__title {
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.9);
}

.bonus-card {
    position: relative;
    border: 1px solid var(--gold-500);
    border-radius: var(--radius);
    background: rgba(9, 17, 38, 0.92);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 0 28px rgba(244, 196, 67, 0.3);
    overflow: hidden;
}

.bonus-card__band {
    background: var(--grad-gold-band);
    padding: 12px 20px 14px;
    text-align: center;
    border-bottom: 1px solid var(--gold-700);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.bonus-card__band::before {
    content: "";
    display: block;
    width: 40%;
    height: 8px;
    margin: 0 auto 10px;
    border-radius: 6px;
    background: rgba(60, 38, 4, 0.75);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.bonus-card__label {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
    color: var(--ink);
}

.bonus-card__body {
    padding: 20px 20px 24px;
    color: var(--text);
    text-align: center;
}

.bonus-card--with-cta .bonus-card__body {
    padding-bottom: 44px;
}

.bonus-card__body p {
    margin-bottom: 0.75em;
}

.bonus-card__body p:last-child {
    margin-bottom: 0;
}

.bonus-card__terms {
    font-size: 14px;
    color: var(--gold-100);
    border-top: 1px solid var(--line-gold-soft);
    padding-top: 10px;
}

.hero__cta {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: -28px;
}

.hero__secondary {
    margin: 14px 0 0;
    text-align: center;
}

.chip-row {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    background: var(--navy-900);
    border: 1px solid var(--gold-600);
    color: var(--cream);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

a.chip {
    min-height: 44px;
}

a.chip:hover,
a.chip:focus-visible {
    background: var(--grad-gold);
    color: var(--ink);
    border-color: var(--gold-500);
}

.chip__flag {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
    background:
        linear-gradient(90deg, transparent 5px, #ffffff 5px 7.5px, transparent 7.5px),
        linear-gradient(180deg, transparent 5px, #ffffff 5px 7px, transparent 7px),
        #c8102e;
}

.hero__note {
    align-self: center;
    margin: 14px 0 0;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    background: #0b1428;
    border: 1px solid var(--line-gold-soft);
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

@media (min-width: 768px) {
    .hero__bg {
        inset: 0;
        height: auto;
        background-position: var(--hero-pos, 32% center);
    }

    .hero--right .hero__bg::after {
        background:
            linear-gradient(90deg, rgba(6, 11, 24, 0) 0%, rgba(6, 11, 24, 0.12) 45%, rgba(10, 19, 40, 0.72) 100%),
            linear-gradient(180deg, rgba(6, 11, 24, 0) 75%, rgba(6, 11, 24, 0.6) 100%);
    }

    .hero--left .hero__bg {
        background-position: var(--hero-pos, 70% center);
    }

    .hero--left .hero__bg::after {
        background:
            linear-gradient(270deg, rgba(6, 11, 24, 0) 0%, rgba(6, 11, 24, 0.12) 45%, rgba(10, 19, 40, 0.72) 100%),
            linear-gradient(180deg, rgba(6, 11, 24, 0) 75%, rgba(6, 11, 24, 0.6) 100%);
    }

    .hero__inner {
        display: grid;
        align-items: center;
        min-height: clamp(560px, 50vw, 760px);
        padding-block: 72px;
    }

    .hero--right .hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    }

    .hero--right .hero__content {
        grid-column: 2;
    }

    .hero--left .hero__inner {
        grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    }

    .hero--compact .hero__inner {
        min-height: clamp(360px, 34vw, 480px);
        padding-block: 56px;
    }
}

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

    .bonus-card__body {
        padding: 24px 32px 28px;
        font-size: 17px;
    }

    .bonus-card--with-cta .bonus-card__body {
        padding-bottom: 48px;
    }
}

/* ============================================
   SCENE (section-wide raster foundations)
   ============================================ */
.scene {
    position: relative;
    isolation: isolate;
}

.scene__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--scene-bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--scene-pos, center);
}

.scene__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--navy-950) 0%, rgba(6, 11, 24, 0.45) 18%, rgba(6, 11, 24, 0.35) 70%, var(--navy-950) 100%);
}

/* ============================================
   PIPE SECTION (rock wall + gold conduit frame)
   ============================================ */
.pipe-section {
    position: relative;
    isolation: isolate;
    background: var(--navy-900);
    padding: 64px 0 72px;
}

.pipe-section__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: var(--section-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pipe-section__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 11, 24, 0.6) 0%, rgba(6, 11, 24, 0.35) 45%, rgba(6, 11, 24, 0.62) 100%);
}

.pipe-frame {
    position: absolute;
    inset: 16px 8px;
    z-index: -1;
    pointer-events: none;
    border: 7px solid #c4922d;
    border-radius: 22px;
    box-shadow:
        0 0 0 1.5px #4a3006,
        inset 0 0 0 1.5px #4a3006,
        0 0 16px rgba(244, 196, 67, 0.4),
        inset 0 0 16px rgba(244, 196, 67, 0.25);
}

.pipe-frame::before {
    content: "";
    position: absolute;
    inset: -5px;
    border: 2px solid #ffeab0;
    border-radius: 19px;
    filter: blur(0.4px);
    box-shadow: 0 0 4px rgba(255, 231, 160, 0.7);
}

.pipe-collar {
    position: absolute;
    background: var(--grad-tube-v);
    border: 1.5px solid #4a3006;
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(244, 196, 67, 0.45);
}

.pipe-collar--t1,
.pipe-collar--t2,
.pipe-collar--b1,
.pipe-collar--b2 {
    width: 12px;
    height: 20px;
}

.pipe-collar--t1 { top: -14px; left: 28%; }
.pipe-collar--t2 { top: -14px; left: 72%; }
.pipe-collar--b1 { bottom: -14px; left: 24%; }
.pipe-collar--b2 { bottom: -14px; left: 76%; }

.pipe-collar--l1,
.pipe-collar--r1 {
    width: 20px;
    height: 12px;
    background: var(--grad-tube-h);
}

.pipe-collar--l1 { left: -14px; top: 42%; }
.pipe-collar--r1 { right: -14px; top: 58%; }

.pipe-branch {
    position: absolute;
    z-index: -1;
    width: 14px;
    height: 8px;
    background: var(--grad-tube-h);
    border-block: 1px solid #4a3006;
    box-shadow: 0 0 8px rgba(244, 196, 67, 0.4);
    pointer-events: none;
}

.pipe-branch--l1 { left: 0; top: 26%; }
.pipe-branch--l2 { left: 0; top: 64%; }
.pipe-branch--r1 { right: 0; top: 36%; }
.pipe-branch--r2 { right: 0; top: 80%; }

.traces {
    position: absolute;
    z-index: -1;
    width: 120px;
    height: auto;
    opacity: 0.7;
    pointer-events: none;
}

.traces--right {
    transform: scaleX(-1);
}

.traces--pipe {
    display: none;
    top: 18%;
}

.traces--pipe.traces--left { left: 26px; }
.traces--pipe.traces--right { right: 26px; }

.gear {
    position: absolute;
    z-index: -1;
    width: 90px;
    height: 90px;
    pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(244, 196, 67, 0.3));
}

.gear--tr { top: -30px; right: -30px; }
.gear--bl { bottom: -30px; left: -30px; }

.pipe-section__inner {
    position: relative;
    width: min(100% - 48px, 1080px);
}

.pipe-section__outro {
    margin-top: 32px;
    text-align: center;
    color: var(--text-muted);
}

.pipe-section__outro p:last-child {
    margin-bottom: 0;
}

/* Octagon tile grid with coin hub */
.octo-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.octo-grid__traces,
.octo-grid__hub {
    display: none;
}

.octo {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 22px 18px 22px 0;
    min-height: 180px;
}

.octo::before,
.octo::after {
    content: "";
    position: absolute;
    clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
}

.octo::before {
    inset: 0;
    z-index: -2;
    background: var(--grad-bronze-border);
    filter: drop-shadow(0 0 10px rgba(244, 196, 67, 0.3));
}

.octo::after {
    inset: 4px;
    z-index: -1;
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
    background: var(--grad-panel-navy);
    box-shadow: inset 0 0 0 1px #c17a3a;
}

.octo__bolts {
    position: absolute;
    top: 10px;
    right: 30px;
    width: 34px;
    height: 8px;
    background: radial-gradient(circle, #f0c48a 0 2.4px, #5a3412 2.9px, transparent 3.6px) 0 0 / 11px 8px repeat-x;
}

.octo__art {
    margin-left: -14px;
    align-self: center;
}

.octo__art img {
    display: block;
    width: 112%;
    max-width: none;
    height: auto;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55));
}

.octo__body {
    position: relative;
}

.octo__title {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    color: var(--gold-100);
    margin-bottom: 6px;
}

.octo__text {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 14px;
}

@media (min-width: 768px) {
    .pipe-section {
        padding: 88px 0 96px;
    }

    .pipe-frame {
        inset: 20px 28px;
        border-width: 10px;
        border-radius: 28px;
    }

    .pipe-frame::before {
        inset: -7px;
        border-width: 3px;
        border-radius: 24px;
    }

    .pipe-collar--t1, .pipe-collar--t2, .pipe-collar--b1, .pipe-collar--b2 {
        width: 16px;
        height: 26px;
    }

    .pipe-collar--t1, .pipe-collar--t2 { top: -18px; }
    .pipe-collar--b1, .pipe-collar--b2 { bottom: -18px; }

    .pipe-collar--l1, .pipe-collar--r1 {
        width: 26px;
        height: 16px;
    }

    .pipe-collar--l1 { left: -18px; }
    .pipe-collar--r1 { right: -18px; }

    .pipe-branch {
        width: 32px;
        height: 12px;
    }

    .traces--pipe {
        display: block;
    }

    .gear {
        width: 140px;
        height: 140px;
    }

    .gear--tr { top: -40px; right: -40px; }
    .gear--bl { bottom: -40px; left: -40px; }

    .pipe-section__inner {
        width: min(100% - 120px, 1080px);
    }

    .octo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 56px;
        row-gap: 36px;
    }

    .octo-grid__traces {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
        filter: drop-shadow(0 0 4px rgba(244, 196, 67, 0.6));
    }

    .octo-grid__hub {
        display: grid;
        place-items: center;
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 3;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        background: radial-gradient(circle, rgba(244, 196, 67, 0.45) 0%, rgba(244, 196, 67, 0) 70%);
        padding: 14px;
    }

    .octo {
        z-index: 1;
    }
}

@media (min-width: 1024px) {
    .pipe-frame {
        inset: 24px 44px;
    }

    .pipe-branch {
        width: 48px;
    }

    .traces--pipe.traces--left { left: 64px; }
    .traces--pipe.traces--right { right: 64px; }

    .traces { width: 150px; }

    .octo {
        min-height: 210px;
        padding: 26px 26px 26px 0;
    }
}

/* ============================================
   GAME CARDS
   ============================================ */
.game-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 14px;
    scrollbar-color: var(--gold-600) transparent;
}

.game-card {
    position: relative;
    isolation: isolate;
    aspect-ratio: 3 / 4;
    border: 2px solid var(--gold-400);
    border-radius: 10px;
    overflow: hidden;
    background: var(--tint, #3a1010);
    scroll-snap-align: start;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.game-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, var(--tint, #3a1010) 82%);
}

.game-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 10px 16px;
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
}

.game-card__name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.game-card__play {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-gold);
    border: 1px solid #7d560f;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6), 0 3px 10px rgba(0, 0, 0, 0.5);
}

.game-card__play::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.game-card__play svg {
    position: relative;
    z-index: 2;
}

.game-card:hover,
.game-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 0 24px rgba(244, 196, 67, 0.5), 0 12px 26px rgba(0, 0, 0, 0.55);
}

.game-row__more {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

@media (min-width: 600px) {
    .game-row {
        grid-auto-columns: 38%;
    }
}

@media (min-width: 1024px) {
    .game-row {
        grid-auto-flow: row;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        overflow: visible;
        gap: 18px;
    }

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

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

/* ============================================
   STATS PANEL
   ============================================ */
.stats-panel {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--gold-500);
    border-radius: var(--radius);
    background: rgba(38, 24, 8, 0.88);
    box-shadow: 0 0 24px rgba(244, 196, 67, 0.18);
    overflow: hidden;
}

.stats-panel__cell {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 6px;
    padding: 20px 10px;
    text-align: center;
    border-right: 1px solid var(--line-gold);
    border-bottom: 1px solid var(--line-gold);
}

.stats-panel__cell:nth-child(2n) {
    border-right: 0;
}

.stats-panel__cell:nth-child(n+3) {
    border-bottom: 0;
}

.stats-panel__icon {
    width: 44px;
    height: 44px;
    color: var(--gold-300);
}

.stats-panel__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.1;
    color: var(--gold-300);
}

.stats-panel__label {
    font-size: 15px;
    color: var(--cream);
}

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

    .stats-panel__cell {
        border-bottom: 0;
        border-right: 1px solid var(--line-gold);
        padding: 24px 12px;
    }

    .stats-panel__cell:nth-child(2n) {
        border-right: 1px solid var(--line-gold);
    }

    .stats-panel__cell:last-child {
        border-right: 0;
    }

    .stats-panel__icon {
        width: 52px;
        height: 52px;
    }
}

/* ============================================
   VIP BADGES & LADDER
   ============================================ */
.vip-badge {
    display: block;
    width: 64px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55));
}

.vip-badge--mini {
    width: 28px;
    margin: 0 auto 4px;
}

.vip-ladder {
    --bw: 52px;
    --bh: 58.5px;
    --gap: 18px;
    --cell: 96px;
    --pipe: 6px;
    --rise: 22px;
    --angle: 10.92deg;
    --len: 116.1px;
    position: relative;
}

.vip-ladder--lg {
    --bw: 72px;
    --bh: 81px;
    --pipe: 9px;
    --gap: 22px;
}

.vip-ladder__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.vip-ladder__item {
    position: relative;
    display: grid;
    grid-template-columns: var(--bw) minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
}

.vip-ladder__item .vip-badge {
    position: relative;
    z-index: 2;
    width: var(--bw);
}

.vip-ladder__item::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: calc(var(--bw) / 2);
    top: calc(var(--bh) / 2);
    width: calc(var(--bw) * 1.9);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(244, 196, 67, calc(0.06 + var(--i) * 0.06)) 0%, rgba(244, 196, 67, 0) 70%);
    pointer-events: none;
}

.vip-ladder__item--diamond::before {
    background: radial-gradient(circle, rgba(111, 227, 255, 0.4) 0%, rgba(244, 196, 67, 0.15) 45%, rgba(244, 196, 67, 0) 70%);
    animation: glow-breathe 3.2s ease-in-out infinite;
}

.vip-ladder__item:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: calc(var(--bw) / 2 - var(--pipe) / 2);
    top: calc(var(--bh) / 2);
    width: var(--pipe);
    height: calc(100% + var(--gap));
    border-radius: 4px;
    background:
        radial-gradient(circle at 50% 50%, #ffe7a0 0 3px, #5c3d0c 3.5px, transparent 4.5px),
        var(--grad-tube-v);
    box-shadow: 0 0 8px rgba(244, 196, 67, 0.45);
}

.vip-ladder__text {
    align-self: center;
}

.vip-ladder__label {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--gold-100);
}

.vip-ladder__note {
    margin: 4px 0 0;
    font-size: 15px;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .vip-ladder--lg {
        --cell: 120px;
        --gap: 24px;
        --rise: 28px;
        --angle: 11deg;
        --len: 146.7px;
    }

    .vip-ladder__list {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }

    .vip-ladder__item {
        width: var(--cell);
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        row-gap: 10px;
        text-align: center;
    }

    .vip-ladder__item::before {
        left: 50%;
    }

    .vip-ladder__item:not(:last-child)::after {
        left: 50%;
        top: calc(var(--bh) / 2 - var(--pipe) / 2);
        width: calc(var(--cell) + var(--gap));
        height: var(--pipe);
        background:
            radial-gradient(circle at 50% 50%, #ffe7a0 0 3px, #5c3d0c 3.5px, transparent 4.5px),
            var(--grad-tube-h);
    }

    .vip-ladder--stepped .vip-ladder__item {
        margin-top: calc((4 - var(--i)) * var(--rise));
    }

    .vip-ladder--stepped .vip-ladder__item:not(:last-child)::after {
        width: var(--len);
        transform-origin: 0 50%;
        transform: rotate(calc(var(--angle) * -1));
    }
}

@media (min-width: 1024px) {
    .vip-ladder--lg {
        --bw: 96px;
        --bh: 108px;
        --pipe: 10px;
        --cell: 150px;
        --gap: 24px;
        --rise: 32px;
        --angle: 10.42deg;
        --len: 176.9px;
    }
}

/* ============================================
   STEP TRACK (numbered steps on a gold pipe)
   ============================================ */
.step-track {
    --medal: 56px;
    --gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--gap);
}

.step-track__item {
    position: relative;
    display: grid;
    grid-template-columns: var(--medal) minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
}

.step-track__medal {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    width: var(--medal);
    height: var(--medal);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    color: var(--ink);
    background: radial-gradient(circle at 35% 30%, #fff3c4 0%, #f2c14e 40%, #a87318 78%, #6b470c 100%);
    box-shadow: 0 0 0 3px #3b2706, 0 0 0 5px #d9a83f, 0 0 18px rgba(244, 196, 67, 0.45);
}

.step-track__card {
    background: var(--navy-850);
    border: 1px solid var(--line-gold);
    border-radius: var(--radius);
    padding: 18px;
}

.step-track__title {
    font-size: 19px;
    color: var(--gold-100);
    margin-bottom: 6px;
}

.step-track__card p {
    margin: 0;
    color: var(--text-muted);
}

.step-track__item:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: calc(var(--medal) / 2 - 5px);
    top: calc(var(--medal) / 2);
    width: 10px;
    height: calc(100% + var(--gap));
    border-radius: 5px;
    background:
        linear-gradient(180deg, transparent 30%, #4e3309 30% 31%, #f7d777 31% 34%, #4e3309 34% 35%, transparent 35% 65%, #4e3309 65% 66%, #f7d777 66% 69%, #4e3309 69% 70%, transparent 70%),
        var(--grad-tube-v);
    box-shadow: 0 0 10px rgba(244, 196, 67, 0.35);
}

.step-track__item:not(:last-child)::before {
    content: "";
    position: absolute;
    z-index: 2;
    left: calc(var(--medal) / 2 - 6px);
    top: calc(var(--medal) / 2);
    width: 12px;
    height: 34px;
    border-radius: 6px;
    background: radial-gradient(ellipse at center, rgba(255, 246, 210, 0.95) 0%, rgba(244, 196, 67, 0.6) 45%, rgba(244, 196, 67, 0) 75%);
    animation: pulse-v 3.2s linear infinite;
    pointer-events: none;
}

.step-track--tube .step-track__item:not(:last-child)::before {
    left: calc(var(--medal) / 2 - 5px);
    width: 10px;
    height: 24px;
    border-radius: 5px;
    background: linear-gradient(180deg, #fff1b5 0%, #e0aa3e 45%, #3b2706 45% 55%, #e0aa3e 55%, #b07d1c 100%);
    box-shadow: 0 0 10px rgba(255, 216, 102, 0.8);
}

@keyframes pulse-v {
    0% { top: calc(var(--medal) / 2); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: calc(100% + var(--gap) - 34px); opacity: 0; }
}

@keyframes pulse-h {
    0% { left: 50%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: calc(150% + var(--gap) - 34px); opacity: 0; }
}

@keyframes glow-breathe {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.12); }
}

@media (min-width: 768px) {
    .step-track {
        --medal: 72px;
        --gap: 24px;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
    }

    .step-track__item {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        row-gap: 18px;
    }

    .step-track__medal {
        font-size: 30px;
    }

    .step-track__card {
        width: 100%;
        height: 100%;
    }

    .step-track__item:not(:last-child)::after {
        left: 50%;
        top: calc(var(--medal) / 2 - 6px);
        width: calc(100% + var(--gap));
        height: 12px;
        border-radius: 6px;
        background:
            linear-gradient(90deg, transparent 30%, #4e3309 30% 31%, #f7d777 31% 34%, #4e3309 34% 35%, transparent 35% 65%, #4e3309 65% 66%, #f7d777 66% 69%, #4e3309 69% 70%, transparent 70%),
            var(--grad-tube-h);
    }

    .step-track__item:not(:last-child)::before {
        left: 50%;
        top: calc(var(--medal) / 2 - 7px);
        width: 34px;
        height: 14px;
        animation-name: pulse-h;
    }

    .step-track--tube .step-track__item:not(:last-child)::before {
        top: calc(var(--medal) / 2 - 6px);
        width: 26px;
        height: 12px;
        border-radius: 6px;
        background: linear-gradient(90deg, #fff1b5 0%, #e0aa3e 45%, #3b2706 45% 55%, #e0aa3e 55%, #b07d1c 100%);
    }
}

/* ============================================
   CALLOUT / INFO PANEL
   ============================================ */
.callout {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 22px 20px;
    border: 1px solid var(--line-gold-soft);
    border-left: 4px solid var(--gold-400);
    border-radius: 10px;
    background: var(--grad-panel-bronze);
}

.callout--navy {
    background: var(--navy-850);
}

.callout__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--gold-300);
    background: rgba(244, 196, 67, 0.1);
    border: 1px solid var(--line-gold);
}

.callout__icon .icon {
    width: 26px;
    height: 26px;
}

.callout__body h2,
.callout__body h3 {
    color: var(--gold-200);
}

.callout__body p {
    color: var(--cream);
}

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

/* ============================================
   CALM PANEL (responsible gaming)
   ============================================ */
.calm-panel {
    max-width: 820px;
    margin-inline: auto;
    padding: 28px 22px;
    text-align: center;
    background: var(--navy-850);
    border: 1px solid var(--line-gold-soft);
    border-radius: var(--radius);
}

.calm-panel__icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 14px;
}

.calm-panel__icon {
    width: 34px;
    height: 34px;
    color: #c9a35a;
}

.calm-panel__body h2 {
    font-size: clamp(22px, 2.6vw, 30px);
    color: var(--gold-200);
}

.calm-panel__body p {
    color: var(--text-muted);
}

.calm-panel__body p:last-child {
    margin-bottom: 0;
}

/* ============================================
   CHECK LIST
   ============================================ */
.check-panel {
    padding: 24px 20px;
    background: var(--grad-panel-bronze);
    border: 1px solid var(--gold-500);
    border-radius: var(--radius);
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.check-list__item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: var(--cream);
}

.check-list__mark {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 0 5px rgba(244, 196, 67, 0.45));
}

@media (min-width: 768px) {
    .check-list--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
    }

    .check-panel {
        padding: 30px 32px;
    }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    max-width: 900px;
    margin-inline: auto;
}

.faq-item {
    background: var(--navy-850);
    border: 1px solid var(--line-gold);
    border-radius: 10px;
    transition: box-shadow 0.2s ease;
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
}

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

.faq-item__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
}

.faq-item__chev {
    color: var(--gold-300);
    transition: transform 0.2s ease;
}

.faq-item[open] {
    border-left: 3px solid var(--gold-400);
    box-shadow: inset 0 0 24px rgba(244, 196, 67, 0.12);
}

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

.faq-item__q:focus-visible {
    outline-offset: -3px;
    border-radius: 10px;
}

.faq-item__a {
    padding: 0 18px 18px;
    color: var(--text-muted);
}

.faq-item__a p:last-child,
.faq-item__a ul:last-child {
    margin-bottom: 0;
}

/* ============================================
   TABLES
   ============================================ */
.table-scroll {
    border: 1px solid var(--gold-500);
    border-radius: var(--radius);
    background: var(--navy-900);
}

.data-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 16px;
}

.data-table caption {
    caption-side: bottom;
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    color: var(--text-muted);
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line-gold-soft);
    vertical-align: middle;
}

.data-table thead th {
    background: var(--grad-gold-band);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    border-bottom: 1px solid var(--gold-700);
}

.data-table tbody th {
    color: #ffffff;
    font-weight: 600;
}

.data-table td {
    color: var(--text-muted);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table th:first-child,
.data-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--navy-900);
}

.data-table thead th:first-child {
    background: #e6b740;
}

.data-table .is-yes {
    color: var(--gold-300);
}

/* ============================================
   COIN BAND (navy trust surface)
   ============================================ */
.coin-band {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    overflow-y: visible;
    background: var(--navy-900);
    border-top: 2px solid var(--gold-500);
    padding: 76px 0 64px;
    text-align: center;
}

.coin-band__divider {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 196, 67, 0.4) 0%, rgba(244, 196, 67, 0) 70%);
    padding: 10px;
}

.coin-band__wm {
    position: absolute;
    top: 50%;
    z-index: -1;
    opacity: 0.07;
    filter: grayscale(0.75) contrast(1.15);
    transform: translateY(-50%);
    pointer-events: none;
}

.coin-band__wm--left { left: calc(clamp(220px, 28vw, 380px) * -0.45); }
.coin-band__wm--right { right: calc(clamp(220px, 28vw, 380px) * -0.45); }

.traces--band {
    display: none;
    top: 40px;
}

.traces--band.traces--left { left: 0; }
.traces--band.traces--right { right: 0; }

.gear--band-bl { bottom: -36px; left: -36px; }
.gear--band-br { bottom: -36px; right: -36px; }

.coin-band__inner {
    position: relative;
    max-width: 880px;
}

.coin-band__inner p {
    color: var(--text-muted);
}

.coin-band__inner h2:not(.section-title) {
    font-size: clamp(22px, 2.6vw, 30px);
    color: var(--gold-300);
}

@media (min-width: 768px) {
    .traces--band {
        display: block;
    }

    .coin-band {
        padding: 88px 0 80px;
    }
}

/* ============================================
   LINK CARDS
   ============================================ */
.link-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.link-card {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 16px;
    align-items: center;
    padding: 22px 22px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.link-card::before,
.link-card::after {
    content: "";
    position: absolute;
    clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
}

.link-card::before {
    inset: 0;
    z-index: -2;
    background: var(--grad-gold);
}

.link-card::after {
    inset: 2px;
    z-index: -1;
    clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 15px, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 calc(100% - 15px), 0 15px);
    background: var(--grad-panel-navy);
}

.link-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--gold-200);
}

.link-card__text {
    grid-column: 1;
    color: var(--text-muted);
    font-size: 16px;
}

.link-card__arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 28px;
    height: 28px;
    color: var(--gold-300);
}

.link-card:hover,
.link-card:focus-visible {
    color: var(--text);
    transform: translateY(-4px);
    filter: drop-shadow(0 0 14px rgba(244, 196, 67, 0.45));
}

@media (min-width: 768px) {
    .link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
    position: relative;
    padding: 64px 0 72px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(244, 196, 67, 0.2) 0%, rgba(244, 196, 67, 0) 60%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
    border-top: 1px solid var(--line-gold);
}

.cta-band__inner {
    max-width: 820px;
}

.cta-band__title {
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 800;
    color: var(--gold-300);
}

.cta-band__text {
    color: var(--text-muted);
    font-size: 17px;
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
}

.cta-band__note {
    margin: 18px 0 0;
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background: var(--navy-950);
    border-top: 1px solid var(--gold-500);
    padding: 56px 0 32px;
}

.footer-gear {
    position: absolute;
    bottom: -44px;
    z-index: -1;
    width: 110px;
    height: 110px;
    pointer-events: none;
}

.footer-gear--left { left: -44px; }
.footer-gear--right { right: -44px; }

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

.site-brand--footer {
    margin-bottom: 12px;
}

.site-footer__heading {
    font-size: 17px;
    font-weight: 700;
    color: var(--gold-300);
    margin-bottom: 8px;
}

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

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

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    color: var(--gold-200);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.site-footer__text {
    color: var(--text-muted);
    font-size: 15px;
}

.site-footer__marks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 22px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line-gold-soft);
}

.age-badge {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gold-400);
    color: var(--gold-200);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
}

.site-footer__mark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cream);
    font-size: 15px;
}

.site-footer__mark .icon {
    color: var(--gold-300);
}

.site-footer__rg {
    max-width: 760px;
    margin: 20px auto 0;
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
}

.site-footer__copy {
    margin: 16px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

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

    .footer-gear {
        width: 160px;
        height: 160px;
        bottom: -64px;
    }

    .footer-gear--left { left: -64px; }
    .footer-gear--right { right: -64px; }
}

@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
        gap: 40px;
    }
}

/* ============================================
   HOME: POPULAR SLOTS (columned hall scene)
   ============================================ */
.slots-section {
    padding-block: var(--section-y);
    background: var(--navy-950);
}

.slots-section__intro p {
    color: var(--text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

/* ============================================
   HOME: PAYOUT BAND (gold light stream)
   ============================================ */
.payout-band {
    position: relative;
    isolation: isolate;
    background: var(--bronze-950);
    border-top: 1px solid var(--gold-600);
    padding: 56px 0 64px;
}

.payout-band__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--payout-bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 18% center;
}

.payout-band__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 16, 7, 0.78) 0%, rgba(26, 16, 7, 0.86) 100%);
}

.payout-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.payout-band__coin {
    display: none;
}

.payout-band__title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--gold-300);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.payout-band__copy p {
    color: var(--cream);
}

.payout-band__copy p:last-child {
    margin-bottom: 0;
}

@media (min-width: 640px) {
    .payout-band__inner {
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 32px;
    }

    .payout-band__coin {
        position: relative;
        display: grid;
        place-items: center;
        align-self: start;
    }

    .payout-band__coin::before {
        content: "";
        position: absolute;
        inset: -40%;
        z-index: -1;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 216, 102, 0.5) 0%, rgba(244, 196, 67, 0.18) 40%, rgba(244, 196, 67, 0) 70%);
    }

    .payout-band__coin .jb-coin {
        --coin: clamp(110px, 16vw, 200px);
        filter: drop-shadow(0 0 22px rgba(244, 196, 67, 0.55));
    }

    .payout-band__stats {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .payout-band {
        padding: 88px 0;
    }

    .payout-band__bg::after {
        background: linear-gradient(90deg, rgba(26, 16, 7, 0) 0%, rgba(26, 16, 7, 0.2) 20%, rgba(26, 16, 7, 0.72) 32%, rgba(26, 16, 7, 0.62) 100%);
    }

    .payout-band__inner {
        grid-template-columns: 200px minmax(0, 1fr) minmax(0, 540px);
        column-gap: 40px;
    }

    .payout-band__coin {
        align-self: center;
    }

    .payout-band__stats {
        grid-column: auto;
    }
}

/* ============================================
   HOME: REWARDS TEASER (navy + VIP ladder)
   ============================================ */
.rewards-teaser {
    position: relative;
    isolation: isolate;
    padding-block: var(--section-y);
    background: var(--navy-900);
}

.rewards-teaser::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(244, 196, 67, 0.14) 0%, rgba(244, 196, 67, 0) 70%);
    pointer-events: none;
}

.rewards-teaser__ladder {
    max-width: 300px;
    margin: 8px auto 32px;
}

.rewards-teaser__cta {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .rewards-teaser__ladder {
        max-width: none;
        margin-bottom: 40px;
    }
}

/* ============================================
   HOME: RESPONSIBLE GAMING inside licence band
   ============================================ */
.home-rg {
    margin-top: 40px;
}

/* ============================================
   BONUSSER: shared page helpers
   ============================================ */
.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.table-block {
    margin-top: 56px;
}

.table-block h3 {
    text-align: center;
    color: var(--gold-200);
}

.table-block__lead {
    max-width: 720px;
    margin: 0 auto 24px;
    text-align: center;
    color: var(--text-muted);
}

.terms-example {
    margin: 0 0 1em;
    color: var(--cream);
}

.check-after {
    margin-top: 32px;
}

.calm-panel__body h3 {
    font-size: clamp(20px, 2.4vw, 26px);
    color: var(--gold-200);
}

.faq-more {
    max-width: 900px;
    margin: 24px auto 0;
    text-align: center;
    color: var(--text-muted);
}

/* ============================================
   SPIL: anchor nav, live split, mini cards, banner, lottery
   ============================================ */
main section[id] {
    scroll-margin-top: 72px;
}

.anchor-nav {
    position: sticky;
    top: var(--header-bottom);
    z-index: 90;
    background: var(--navy-950);
    border-bottom: 1px solid var(--line-gold-soft);
}

.anchor-nav__list {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-600) transparent;
}

.anchor-nav__list li {
    flex: 0 0 auto;
}

.slots-section .game-row--3 {
    max-width: 860px;
    margin-inline: auto;
}

.live-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.framed-media {
    position: relative;
    margin: 0;
    border: 2px solid var(--gold-400);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--glow-gold);
}

.framed-media img {
    display: block;
    width: 100%;
    height: auto;
}

.framed-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(6, 11, 24, 0) 55%, rgba(6, 11, 24, 0.65) 100%);
    pointer-events: none;
}

.live-copy .section-title {
    font-size: clamp(26px, 3vw, 36px);
}

.live-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 440px;
    margin-top: 24px;
}

.live-tiles .game-card__name {
    font-size: 16px;
}

.mini-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.mini-card {
    padding: 24px 20px;
    text-align: center;
    background: var(--navy-850);
    border: 1px solid var(--gold-600);
    border-radius: var(--radius);
}

.mini-card .mini-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
    color: var(--gold-300);
}

.mini-card h3 {
    color: var(--gold-200);
    font-size: 20px;
}

.mini-card p {
    margin: 0;
    color: var(--text-muted);
}

.stadium-banner {
    position: relative;
    margin: 0;
    border: 2px solid var(--gold-400);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--glow-gold);
}

.stadium-banner img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
}

.stadium-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 19, 40, 0) 45%, var(--navy-900) 100%);
    pointer-events: none;
}

.stadium-banner__badges {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    list-style: none;
    margin: 0;
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.stadium-badge {
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    background: var(--navy-900);
    border: 1px solid var(--gold-500);
    color: var(--cream);
    font-size: 14px;
    font-weight: 600;
}

.lottery-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.lottery-art {
    position: relative;
    display: grid;
    place-items: center;
}

.lottery-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(244, 196, 67, 0.35) 0%, rgba(244, 196, 67, 0) 65%);
    pointer-events: none;
}

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

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

    .stadium-banner img {
        height: auto;
        aspect-ratio: 1600 / 700;
    }

    .lottery-split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
        gap: 48px;
    }
}

@media (min-width: 900px) {
    .live-split {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 48px;
    }
}

@media (min-width: 1024px) {
    .anchor-nav {
        position: static;
    }

    .anchor-nav__list {
        flex-wrap: wrap;
        justify-content: center;
        overflow: visible;
    }
}

/* ============================================
   VIP: hero focal point, levels, table, rewards
   ============================================ */
#vip-top {
    --hero-pos: 12% center;
    --hero-pos-mobile: 20% center;
}

.vip-steps .step-track {
    margin-top: 8px;
}

.vip-levels {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(244, 196, 67, 0.12) 0%, rgba(244, 196, 67, 0) 70%),
        var(--navy-950);
}

.vip-levels .traces {
    display: none;
    top: 40px;
    opacity: 0.35;
}

.vip-levels .traces--left { left: 0; }
.vip-levels .traces--right { right: 0; }

.vip-levels__ladder {
    max-width: 360px;
    margin: 8px auto 0;
}

.vip-table th,
.vip-table td {
    text-align: center;
}

.vip-table thead th:first-child,
.vip-table tbody th {
    text-align: left;
}

.vip-table thead th .vip-badge--mini {
    width: 30px;
    margin-bottom: 6px;
}

.vip-check {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    filter: drop-shadow(0 0 4px rgba(244, 196, 67, 0.4));
}

.vip-rewards {
    position: relative;
    isolation: isolate;
}

.vip-rewards__wrap {
    position: relative;
}

.vip-rewards__trace {
    display: none;
}

.vip-rewards .mini-card {
    position: relative;
}

@media (min-width: 768px) {
    .vip-levels .traces {
        display: block;
    }

    .vip-levels__ladder {
        max-width: none;
        padding-top: 8px;
    }

    .vip-rewards__trace {
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 40px;
        transform: translateY(-50%);
        z-index: 0;
        pointer-events: none;
        filter: drop-shadow(0 0 4px rgba(244, 196, 67, 0.5));
    }

    .vip-rewards .mini-cards {
        position: relative;
        z-index: 1;
    }
}

/* ============================================
   BETALINGER: hero, coin grid, speed, fees, support
   ============================================ */
#pay-top {
    --hero-pos: 30% center;
    --hero-pos-mobile: 25% center;
}

.speed-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    margin: 0 0 0.75em;
    padding: 4px 16px 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--grad-gold);
    border: 1px solid #8a5f12;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    animation: badge-glow 2.8s ease-in-out infinite;
}

.speed-badge .icon {
    width: 18px;
    height: 18px;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(244, 196, 67, 0.35); }
    50% { box-shadow: 0 0 22px rgba(244, 196, 67, 0.75); }
}

.coin-wrap {
    position: relative;
    isolation: isolate;
    max-width: 1000px;
    margin-inline: auto;
}

.coin-wrap::before {
    content: "";
    position: absolute;
    inset: -20% -5%;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 50%, rgba(244, 196, 67, 0.16) 0%, rgba(244, 196, 67, 0) 65%);
    pointer-events: none;
}

.coin-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 12px;
}

.coin-grid li {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 8px;
}

.coin-badge {
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 96px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #1f3566 0%, #0d1a36 70%);
    border: 3px solid var(--gold-400);
    box-shadow: inset 0 0 0 3px #0a1328, inset 0 3px 8px rgba(255, 255, 255, 0.15), inset 0 -6px 10px rgba(0, 0, 0, 0.5), 0 0 14px rgba(244, 196, 67, 0.3);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(18px, 4.6vw, 22px);
    color: var(--gold-300);
}

.coin-badge--more {
    background: var(--grad-gold);
    color: var(--ink);
}

.coin-name {
    font-size: 14px;
    color: var(--cream);
    text-align: center;
}

.pay-note {
    max-width: 860px;
    margin: 36px auto 0;
}

.pay-speed {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.pay-speed__art {
    position: relative;
    isolation: isolate;
    margin: 0;
    display: grid;
    place-items: center;
}

.pay-speed__art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(244, 196, 67, 0.3) 0%, rgba(244, 196, 67, 0) 65%);
    pointer-events: none;
}

.pay-speed__art img {
    width: min(100%, 340px);
    height: auto;
    object-fit: contain;
}

.pay-speed__copy p {
    color: var(--text-muted);
}

.pay-timeline {
    list-style: none;
    margin: 8px 0 0;
    padding: 0 0 0 8px;
    display: grid;
    gap: 22px;
    position: relative;
}

.pay-timeline::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 16px;
    bottom: 16px;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, #b9862a, #ffe9a6, #b9862a);
    box-shadow: 0 0 10px rgba(244, 196, 67, 0.6);
}

.pay-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.pay-timeline__node {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff3c4, #f2c14e 45%, #a87318);
    box-shadow: 0 0 14px rgba(244, 196, 67, 0.6);
}

.pay-timeline__item--check .pay-timeline__node::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2px dashed #ffb347;
}

.pay-timeline__label {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--gold-100);
}

.pay-timeline__text {
    margin: 2px 0 0;
    font-size: 15px;
    color: var(--text-muted);
}

.fee-panel {
    list-style: none;
    margin: 0;
    padding: 24px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    background: var(--grad-panel-bronze);
    border: 1px solid var(--gold-500);
    border-radius: var(--radius);
}

.fee-panel__item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    color: var(--cream);
}

.fee-panel__item p {
    margin: 0;
}

.fee-panel__item strong {
    display: block;
    color: var(--gold-200);
}

.fee-panel__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-gold);
    background: rgba(244, 196, 67, 0.1);
    color: var(--gold-300);
}

.pay-fiat .callout {
    max-width: 900px;
    margin-inline: auto;
}

.pay-fiat .callout__body h2 {
    font-size: clamp(22px, 2.6vw, 30px);
}

.pay-table tbody td:nth-child(2) {
    background: rgba(244, 196, 67, 0.08);
    color: var(--cream);
}

.support-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    max-width: 900px;
    margin-inline: auto;
    padding: 26px 20px;
    background: var(--navy-850);
    border: 1px solid var(--line-gold);
    border-radius: var(--radius);
}

.support-card__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid var(--line-gold);
    background: rgba(244, 196, 67, 0.1);
    color: var(--gold-300);
}

.support-card__icon .icon {
    width: 36px;
    height: 36px;
}

.support-card__body h2 {
    font-size: clamp(22px, 2.6vw, 30px);
    color: var(--gold-300);
}

.support-card__body p {
    color: var(--text-muted);
}

.support-card__body .check-list {
    margin-bottom: 18px;
}

.support-card__next {
    margin-bottom: 0;
}

@media (min-width: 640px) {
    .pay-timeline {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding-left: 0;
        gap: 12px;
    }

    .pay-timeline::before {
        left: 12.5%;
        right: 12.5%;
        top: 15px;
        bottom: auto;
        width: auto;
        height: 3px;
        background: linear-gradient(90deg, #b9862a, #ffe9a6, #b9862a);
    }

    .pay-timeline__item {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
        gap: 12px;
    }
}

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

    .fee-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 36px;
        padding: 30px 32px;
    }

    .support-card {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 28px;
        padding: 32px;
    }
}

@media (min-width: 900px) {
    .pay-speed {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 40px;
    }

    .pay-timeline {
        grid-column: 1 / -1;
        margin-top: 16px;
    }
}

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

/* ============================================
   FAQ: hero focal, quick answer, conduit frame, groups
   ============================================ */
#faq-top {
    --hero-pos: 20% center;
    --hero-pos-mobile: 16% center;
}

.faq-quick {
    position: relative;
    isolation: isolate;
    padding-block: var(--section-y);
    background: linear-gradient(135deg, #1a1007 0%, #3a2610 55%, #6b4510 100%);
    border-block: 1px solid var(--gold-600);
}

.faq-quick__streak {
    position: absolute;
    inset: -20% -10% -20% 30%;
    z-index: -1;
    background: linear-gradient(115deg, rgba(255, 216, 102, 0) 30%, rgba(255, 216, 102, 0.26) 48%, rgba(255, 231, 160, 0.1) 56%, rgba(255, 216, 102, 0) 72%);
    filter: blur(14px);
    pointer-events: none;
}

.faq-quick__waves {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    width: 120px;
    height: 100%;
    pointer-events: none;
}

.faq-quick .section-intro {
    color: var(--cream);
}

.faq-quick .stats-panel {
    max-width: 920px;
    margin-inline: auto;
}

.faq-frame {
    padding-block: var(--section-y);
    background: var(--navy-950);
}

.faq-frame .scene__bg::after {
    background: linear-gradient(180deg, var(--navy-950) 0%, rgba(6, 11, 24, 0.66) 10%, rgba(6, 11, 24, 0.66) 90%, var(--navy-950) 100%);
}

.faq-frame__inner {
    position: relative;
    z-index: 1;
    width: min(100% - 32px, 980px);
    margin-inline: auto;
}

.faq-pipe,
.faq-trace {
    display: none;
}

.faq-block {
    position: relative;
}

.faq-group {
    position: relative;
    isolation: isolate;
    padding: 34px 16px 28px;
}

.faq-group::before,
.faq-group::after {
    content: "";
    position: absolute;
    clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
}

.faq-group::before {
    inset: 0;
    z-index: -2;
    background: var(--grad-bronze-border);
    filter: drop-shadow(0 0 10px rgba(244, 196, 67, 0.3));
}

.faq-group::after {
    inset: 4px;
    z-index: -1;
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
    background: linear-gradient(160deg, #182a52 0%, #0d1a36 55%, #0a1328 100%);
    box-shadow: inset 0 0 0 1px #c17a3a;
}

main .faq-group[id] {
    scroll-margin-top: 140px;
}

.faq-group__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 22px;
    padding-right: 28px;
}

.faq-group__title {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    color: var(--gold-300);
}

.faq-group__lead {
    margin: 10px 0 0;
    color: var(--text-muted);
}

.faq-group__art {
    position: relative;
    isolation: isolate;
    margin: 0;
    display: grid;
    place-items: center;
}

.faq-group__art::before {
    content: "";
    position: absolute;
    inset: -10%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(244, 196, 67, 0.32) 0%, rgba(244, 196, 67, 0) 65%);
    pointer-events: none;
}

.faq-group__art img {
    width: min(60%, 200px);
    height: auto;
    object-fit: contain;
}

.faq-group__cta {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.faq-hub {
    position: relative;
    display: grid;
    place-items: center;
    height: 96px;
}

.faq-hub::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 8px;
    transform: translateX(-50%);
    border-radius: 4px;
    background: var(--grad-tube-v);
    box-shadow: 0 0 10px rgba(244, 196, 67, 0.45);
}

.faq-hub .jb-coin {
    position: relative;
    filter: drop-shadow(0 0 14px rgba(244, 196, 67, 0.55));
}

.faq-related__back {
    margin: 28px 0 0;
    text-align: center;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .faq-group {
        padding: 42px 38px 36px;
    }

    .faq-group__head--art {
        grid-template-columns: minmax(0, 1fr) 200px;
        align-items: center;
    }

    .faq-group__art img {
        width: 200px;
    }
}

@media (min-width: 1024px) {
    main .faq-group[id] {
        scroll-margin-top: 80px;
    }
}

@media (min-width: 1100px) {
    .faq-frame__inner {
        width: min(100% - 220px, 980px);
    }

    .faq-pipe {
        display: block;
        position: absolute;
        top: 0;
        height: 100%;
        z-index: 0;
        pointer-events: none;
        filter: drop-shadow(0 0 8px rgba(244, 196, 67, 0.5));
    }

    .faq-pipe--left { left: -96px; }

    .faq-pipe--right {
        right: -96px;
        transform: scaleX(-1);
    }

    .faq-trace {
        display: block;
        position: absolute;
        left: -70px;
        top: 30px;
        filter: drop-shadow(0 0 4px rgba(244, 196, 67, 0.6));
        pointer-events: none;
    }
}

/* ============================================
   SITEMAP: hero panel, conduit link groups, account CTA
   ============================================ */
.sm-hero {
    position: relative;
    isolation: isolate;
    background: var(--navy-950);
    border-bottom: 1px solid var(--gold-500);
    padding-block: 40px 56px;
}

.sm-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--sm-bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 78% center;
}

.sm-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 11, 24, 0) 45%, rgba(6, 11, 24, 0.75) 85%, var(--navy-950) 100%);
}

.sm-hero__panel {
    position: relative;
    max-width: 580px;
    padding: 38px 22px 24px;
    background: rgba(9, 17, 38, 0.93);
    border: 2px solid var(--gold-500);
    border-radius: var(--radius);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 0 28px rgba(244, 196, 67, 0.3);
    overflow: hidden;
}

.sm-hero__panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;
    background: var(--grad-gold-band);
    border-bottom: 1px solid var(--gold-700);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.sm-hero__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.sm-hero__panel p {
    margin: 0;
    color: var(--text);
}

.sm-groups-section {
    background: var(--navy-950);
}

.sm-groups {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.sm-groups__pipe,
.sm-groups__hub {
    display: none;
}

.sm-panel {
    position: relative;
    isolation: isolate;
    padding: 34px 24px 30px;
}

.sm-panel::before,
.sm-panel::after {
    content: "";
    position: absolute;
    clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
}

.sm-panel::before {
    inset: 0;
    z-index: -2;
    background: var(--grad-bronze-border);
    filter: drop-shadow(0 0 10px rgba(244, 196, 67, 0.3));
}

.sm-panel::after {
    inset: 4px;
    z-index: -1;
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
    background: linear-gradient(160deg, #1e2a42 0%, #0d1a36 55%, #0a1328 100%);
    box-shadow: inset 0 0 0 1px #c17a3a;
}

.sm-panel__title {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    color: var(--gold-300);
    margin-bottom: 18px;
}

.sm-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

.sm-links li {
    position: relative;
    padding-left: 24px;
}

.sm-links li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff3c4, #f2c14e 45%, #a87318);
    box-shadow: 0 0 8px rgba(244, 196, 67, 0.6);
}

.sm-links a {
    display: inline-block;
    min-height: 32px;
    text-decoration: none;
}

.sm-links__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    color: var(--gold-100);
    background-image: linear-gradient(90deg, #fff0b0, #dca22a);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    padding-bottom: 2px;
    transition: background-size 0.25s ease, color 0.2s ease;
}

.sm-links a:hover .sm-links__name,
.sm-links a:focus-visible .sm-links__name {
    color: var(--gold-300);
    background-size: 100% 2px;
}

.sm-links p {
    margin: 2px 0 0;
    color: var(--text-muted);
    font-size: 16px;
}

.sm-account {
    padding-block: var(--section-y);
    text-align: center;
    background:
        radial-gradient(ellipse 50% 70% at 50% 50%, rgba(244, 196, 67, 0.12) 0%, rgba(244, 196, 67, 0) 70%),
        var(--navy-900);
    border-top: 1px solid var(--line-gold-soft);
}

.sm-account__inner {
    max-width: 720px;
}

.sm-account__inner p {
    color: var(--text-muted);
}

.sm-account__actions {
    display: grid;
    justify-items: center;
    gap: 16px;
    margin-top: 24px;
}

.sm-account__btn {
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.65), inset 0 -3px 0 rgba(120, 80, 10, 0.55), 0 0 26px rgba(244, 196, 67, 0.5), 0 4px 14px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
    .sm-hero {
        padding-block: 64px 72px;
    }

    .sm-hero__bg {
        background-position: center;
    }

    .sm-hero__panel {
        padding: 44px 36px 30px;
    }
}

@media (min-width: 1024px) {
    .sm-groups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 48px;
        padding-top: 56px;
    }

    .sm-groups__pipe {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 56px;
        z-index: 0;
        pointer-events: none;
        filter: drop-shadow(0 0 6px rgba(244, 196, 67, 0.55));
    }

    .sm-groups__hub {
        display: block;
        position: absolute;
        top: 18px;
        z-index: 2;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        background: radial-gradient(circle, rgba(244, 196, 67, 0.4) 0%, rgba(244, 196, 67, 0) 70%);
        padding: 8px;
    }

    .sm-groups__hub--1 { left: calc((100% - 96px) / 3 + 24px); }
    .sm-groups__hub--2 { left: calc((100% - 96px) / 3 * 2 + 72px); }

    .sm-panel {
        padding: 40px 30px 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sm-links__name {
        transition: none;
    }
}

/* ============================================
   CONTINUOUS ANIMATION CONTROL
   ============================================ */
[data-animate]::before,
[data-animate]::after,
[data-animate] *,
[data-animate] *::before,
[data-animate] *::after {
    animation-play-state: paused;
}

[data-animate].is-inview::before,
[data-animate].is-inview::after,
[data-animate].is-inview *,
[data-animate].is-inview *::before,
[data-animate].is-inview *::after {
    animation-play-state: running;
}

.is-doc-hidden [data-animate] *,
.is-doc-hidden [data-animate] *::before,
.is-doc-hidden [data-animate] *::after {
    animation-play-state: paused;
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .step-track__item:not(:last-child)::before {
        display: none;
    }
}