/*
 * JB Casino - shared design system
 * Dark crystal-cave crypto aesthetic: midnight navy, umber stone, glowing gold, cyan accents.
 */

:root {
    --c-bg: #0c0e20;
    --c-bg-2: #12142b;
    --c-bg-3: #1a1c38;
    --c-panel: #14162d;
    --c-screen: #0d1430;
    --c-stone: #2a2018;
    --c-stone-2: #3a2c20;
    --c-stone-edge: #5a4532;
    --c-gunmetal: #3a4050;
    --c-gunmetal-2: #59606f;
    --c-gold: #f5c84b;
    --c-gold-bright: #ffe28a;
    --c-gold-deep: #c8901e;
    --c-amber: #f0a028;
    --c-cyan: #5fd4ff;
    --c-cyan-deep: #2a8fbf;
    --c-text: #f2ead8;
    --c-muted: #c2baa8;
    --c-dim: #9a958a;
    --c-success: #6fd49a;
    --c-danger: #ef7b7b;
    --c-on-gold: #1c1404;

    --font-head: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --glow-gold: 0 0 18px rgba(245, 200, 75, 0.35);
    --glow-gold-strong: 0 0 30px rgba(245, 200, 75, 0.6);
    --glow-cyan: 0 0 22px rgba(95, 212, 255, 0.35);
    --shadow-deep: 0 14px 34px rgba(0, 0, 0, 0.45);
    --line-gold: rgba(245, 200, 75, 0.28);

    --container: 1160px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-y: clamp(56px, 8vw, 96px);
    --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 {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-bottom) + 16px);
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(1200px 600px at 50% -10%, rgba(80, 60, 140, 0.18), transparent 70%),
        var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.6em;
    color: var(--c-gold);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2rem, 5.2vw, 3.4rem);
    color: var(--c-gold-bright);
    text-shadow: 0 0 24px rgba(245, 200, 75, 0.45);
}

h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    text-shadow: 0 0 18px rgba(245, 200, 75, 0.3);
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 600;
}

h4 {
    font-size: 1.05rem;
    font-weight: 600;
}

p {
    margin: 0 0 1em;
}

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

ul[role="list"], ol[role="list"] {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    color: var(--c-gold);
    text-decoration-thickness: 1px;
    transition: color 0.2s ease;
}

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

:focus-visible {
    outline: 2px solid var(--c-gold-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

strong {
    color: var(--c-text);
    font-weight: 600;
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.95em;
    overflow-x: visible;
}

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

.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: 100;
    padding: 10px 16px;
    background: var(--c-gold);
    color: var(--c-on-gold);
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

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

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

.section {
    position: relative;
    padding-block: var(--section-y);
}

.section--tight {
    padding-block: calc(var(--section-y) * 0.6);
}

/* Section-wide scene background (pass --scene-bg inline or in page CSS) */
.section--scene {
    isolation: isolate;
}

.section__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--scene-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.prose {
    max-width: 72ch;
}

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

.prose li + li {
    margin-top: 0.4em;
}

.lead {
    font-size: 1.1rem;
    color: var(--c-text);
}

/* ============================================
   Buttons & links
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 48px;
    padding: 0.7em 1.6em;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn .icon {
    width: 1.1em;
    height: 1.1em;
}

.btn--primary {
    background: linear-gradient(180deg, #1d1a14, #0f0d0a);
    border-color: var(--c-gold);
    color: var(--c-gold-bright);
    box-shadow: 0 0 14px rgba(245, 200, 75, 0.3), inset 0 0 10px rgba(245, 200, 75, 0.12);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    color: var(--c-gold-bright);
    border-color: var(--c-gold-bright);
    box-shadow: var(--glow-gold-strong), inset 0 0 14px rgba(245, 200, 75, 0.22);
}

.btn--solid {
    background: linear-gradient(180deg, var(--c-gold-bright), var(--c-gold) 55%, var(--c-gold-deep));
    border-color: var(--c-gold-bright);
    color: var(--c-on-gold);
    box-shadow: var(--glow-gold);
}

.btn--solid:hover,
.btn--solid:focus-visible {
    color: var(--c-on-gold);
    box-shadow: var(--glow-gold-strong);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(245, 200, 75, 0.45);
    color: var(--c-text);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    border-color: var(--c-gold);
    color: var(--c-gold-bright);
    box-shadow: var(--glow-gold);
}

.btn--sm {
    min-height: 44px;
    padding: 0.55em 1.2em;
    font-size: 0.95rem;
}

.btn--block {
    width: 100%;
}

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

.text-link .icon {
    width: 1.1em;
    height: 1.1em;
    transition: transform 0.2s ease;
}

.text-link:hover .icon {
    transform: translateX(3px);
}

.icon {
    width: 24px;
    height: 24px;
    flex: none;
}

/* ============================================
   Header & navigation
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(13, 14, 34, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(245, 200, 75, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    text-decoration: none;
    color: var(--c-gold-bright);
}

.site-brand__mark {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 6px rgba(245, 200, 75, 0.5));
}

.site-brand__text {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    text-shadow: 0 0 14px rgba(245, 200, 75, 0.55);
    white-space: nowrap;
}

.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: 1px solid rgba(245, 200, 75, 0.4);
    border-radius: 10px;
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--c-gold);
    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 {
    display: none;
    position: fixed;
    top: var(--header-bottom);
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    z-index: 49;
    flex-direction: column;
    gap: 24px;
    padding: 20px var(--gutter) 32px;
    background: #0e1024;
    border-top: 1px solid rgba(245, 200, 75, 0.2);
    overflow-y: auto;
    overscroll-behavior: contain;
}

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

.site-nav__list {
    display: flex;
    flex-direction: column;
}

.nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 4px;
    color: var(--c-text);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--c-gold-bright);
}

.nav-link[aria-current="page"] {
    text-shadow: 0 0 12px rgba(245, 200, 75, 0.5);
}

.header-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.header-actions .btn {
    width: 100%;
    min-height: 48px;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .site-nav,
    .site-nav.is-open {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 28px;
        padding: 0;
        background: transparent;
        border: 0;
        overflow: visible;
    }

    .site-nav__list {
        flex-direction: row;
        gap: 4px;
    }

    .nav-link {
        min-height: 44px;
        padding: 0 12px;
        font-size: 0.98rem;
        font-weight: 500;
        color: var(--c-muted);
        border-bottom: 0;
        position: relative;
    }

    .nav-link[aria-current="page"]::after {
        content: "";
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 6px;
        height: 2px;
        background: var(--c-gold);
        border-radius: 2px;
        box-shadow: var(--glow-gold);
    }

    .header-actions {
        flex-direction: row;
        gap: 10px;
    }

    .header-actions .btn {
        width: auto;
        min-height: 44px;
    }
}

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumbs {
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c-muted);
}

.breadcrumbs li + li::before {
    content: "›";
    color: var(--c-gold);
}

.breadcrumbs a {
    color: var(--c-text);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* ============================================
   Hero (full-bleed environment)
   ============================================ */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(520px, 78vh, 760px);
    padding: 56px 0 88px;
}

.hero--plain {
    min-height: 0;
    padding: 64px 0 40px;
}

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

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(10, 12, 30, 0.6) 0%, rgba(10, 12, 30, 0.82) 50%, rgba(12, 14, 32, 0.92) 85%, var(--c-bg) 100%);
    pointer-events: none;
}

.hero--plain::before {
    display: none;
}

.hero__inner {
    position: relative;
}

.hero__content {
    max-width: 36rem;
}

.hero__title {
    margin-bottom: 0.45em;
}

.hero__lead {
    font-size: 1.08rem;
    color: var(--c-text);
}

.hero__lead p {
    margin-bottom: 0.8em;
}

.hero .chip-row {
    margin-bottom: 18px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 14px;
    margin-top: 24px;
}

.hero__note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
    font-size: 0.9rem;
    color: var(--c-muted);
}

@media (min-width: 1024px) {
    .hero {
        padding: 80px 0 110px;
    }

    .hero::before {
        background:
            radial-gradient(ellipse 60% 85% at 18% 48%, rgba(10, 12, 30, 0.9) 0%, rgba(10, 12, 30, 0.7) 45%, rgba(10, 12, 30, 0) 75%),
            linear-gradient(180deg, rgba(10, 12, 30, 0) 70%, var(--c-bg) 100%);
    }

    .hero__bg {
        background-position: center center;
    }

    .hero__content {
        max-width: min(560px, 46%);
    }
}

/* ============================================
   Section heading
   ============================================ */
.section-head {
    margin-bottom: clamp(28px, 4vw, 44px);
}

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

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

.section-head__title {
    margin-bottom: 0.35em;
}

.section-head__title::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 14px;
    background: linear-gradient(90deg, var(--c-gold-deep), var(--c-gold-bright), var(--c-gold-deep));
    border-radius: 3px;
    box-shadow: var(--glow-gold);
}

.section-head--center .section-head__title::after {
    margin-inline: auto;
}

.section-head__intro {
    max-width: 64ch;
    color: var(--c-muted);
}

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

/* ============================================
   Chips & badges
   ============================================ */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 4px 14px;
    border: 1px solid rgba(245, 200, 75, 0.6);
    border-radius: var(--radius-pill);
    background: rgba(12, 14, 32, 0.75);
    color: var(--c-gold-bright);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

a.chip {
    min-height: 44px;
    text-decoration: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

a.chip:hover,
a.chip:focus-visible {
    border-color: var(--c-gold-bright);
    box-shadow: 0 0 16px rgba(240, 160, 40, 0.45);
}

.chip--cyan {
    border-color: rgba(95, 212, 255, 0.6);
    color: #bfefff;
}

.badge-18 {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 38%, #5a4130, #2a1d13);
    border: 2px solid #c9963f;
    box-shadow: inset 0 0 0 3px #2a1d13, inset 0 0 0 4px rgba(255, 226, 138, 0.5), 0 0 12px rgba(245, 200, 75, 0.35);
    color: var(--c-gold-bright);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1;
}

/* ============================================
   Surfaces
   ============================================ */
.stone {
    position: relative;
    background: linear-gradient(160deg, var(--c-stone-2), var(--c-stone) 60%, #1f1711);
    border: 1px solid var(--c-stone-edge);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.08), var(--shadow-deep);
}

.stone--rough {
    border-radius: 18px;
    clip-path: polygon(2% 5%, 7% 0, 93% 1%, 98% 6%, 100% 48%, 98.5% 94%, 92% 100%, 8% 99%, 1% 95%, 0 52%);
}

.card {
    position: relative;
    padding: 22px;
    background: var(--c-panel);
    border: 1px solid var(--c-gunmetal);
    border-radius: var(--radius);
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.card--top-gold {
    border-top: 3px solid var(--c-gold);
}

.card:hover {
    border-color: rgba(245, 200, 75, 0.5);
    box-shadow: 0 0 22px rgba(245, 200, 75, 0.18);
}

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

.card p {
    color: var(--c-muted);
}

/* Plaque: dark charcoal, gold border, grey eyebrow bar */
.plaque {
    position: relative;
    padding: 26px 22px 20px;
    background: linear-gradient(180deg, #24211d, #15130f);
    border: 2px solid var(--c-gold);
    border-radius: var(--radius);
    box-shadow: 0 0 22px rgba(245, 200, 75, 0.28), inset 0 0 16px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.plaque::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 46%;
    height: 5px;
    transform: translateX(-50%);
    background: #8b8780;
    border-radius: 3px;
}

/* Framed game tile (JB Originals) */
.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 10px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--c-gunmetal-2), #2d323e 28%, #1e222c);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -2px 0 rgba(0, 0, 0, 0.5), var(--shadow-deep);
}

.tile::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 36px;
    height: 6px;
    transform: translateX(-50%);
    background: var(--c-gold);
    border-radius: 3px;
    box-shadow: var(--glow-gold);
}

.tile__tab {
    margin: 0;
    padding: 6px 10px;
    background: #1b1813;
    border: 2px solid var(--c-gold-deep);
    border-radius: 8px;
    color: var(--c-gold-bright);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
    text-shadow: none;
}

.tile__screen {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 40%, #16224a, var(--c-screen) 70%);
    border: 1px solid #2c3550;
    border-radius: 10px;
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.6);
    transition: box-shadow 0.3s ease;
}

.tile__screen img,
.tile__screen svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tile:hover .tile__screen,
.tile:focus-within .tile__screen {
    box-shadow: inset 0 0 26px rgba(245, 200, 75, 0.35), inset 0 0 44px rgba(95, 212, 255, 0.2);
}

.tile__text {
    margin: 0;
    color: var(--c-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ============================================
   Grids & layout helpers
   ============================================ */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: clamp(14px, 2.4vw, 24px);
    grid-template-columns: minmax(0, 1fr);
}

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

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

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

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

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

/* ============================================
   Callout & responsible note
   ============================================ */
.callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px 22px;
    background: #17182c;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 3px solid var(--c-amber);
    border-radius: var(--radius);
}

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

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

.callout__icon {
    flex: none;
    color: var(--c-gold);
    line-height: 0;
    margin-top: 2px;
}

.callout__body {
    min-width: 0;
    color: var(--c-text);
}

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

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

.callout__title {
    margin-bottom: 0.4em;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--c-gold-bright) !important;
}

.rg-note {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    border: 1px solid var(--c-gold-deep);
    border-radius: var(--radius);
    background: rgba(20, 22, 45, 0.92);
}

.rg-note__body {
    min-width: 0;
}

.rg-note__title {
    margin: 0 0 0.25em;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--c-gold-bright);
}

.rg-note__body p:last-child {
    margin-bottom: 0;
    color: var(--c-muted);
}

/* ============================================
   Medallions (trust badges)
   ============================================ */
.medallion {
    position: relative;
    display: grid;
    place-items: center;
    width: 128px;
    aspect-ratio: 1;
    flex: none;
}

.medallion--hex {
    width: 196px;
    aspect-ratio: 200 / 130;
}

.medallion__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.medallion__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    max-width: 78%;
    text-align: center;
}

.medallion__icon {
    color: var(--c-gold);
    line-height: 0;
}

.medallion__label {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.15;
    color: var(--c-gold-bright);
    text-shadow: 0 1px 0 #000;
}

.medallion__sub {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.2;
    color: #f0dfb6;
    overflow-wrap: anywhere;
}

/* ============================================
   Coin glyph
   ============================================ */
.coin-glyph {
    flex: none;
    filter: drop-shadow(0 0 5px rgba(245, 200, 75, 0.35));
}

/* ============================================
   Data tables
   ============================================ */
.table-scroll {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--c-gunmetal);
    background: var(--c-panel);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    overflow-x: visible;
}

.data-table th,
.data-table td {
    padding: 13px 16px;
    text-align: left;
    vertical-align: top;
}

.data-table thead th {
    background: linear-gradient(180deg, var(--c-gold-bright), var(--c-gold));
    color: var(--c-on-gold);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
}

.data-table tbody tr {
    border-top: 1px solid var(--c-gunmetal);
}

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

.data-table tbody th {
    color: var(--c-gold-bright);
    font-weight: 600;
}

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

.data-table .is-total td,
.data-table .is-total th {
    background: rgba(245, 200, 75, 0.08);
    font-weight: 600;
}

.data-table .is-total > :first-child {
    border-left: 3px solid var(--c-gold);
}

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

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

    .data-table--stack tr {
        padding: 10px 0;
    }

    .data-table--stack tbody th,
    .data-table--stack td {
        padding: 6px 16px;
    }

    .data-table--stack td[data-label] {
        display: flex;
        justify-content: space-between;
        gap: 12px;
    }

    .data-table--stack td[data-label]::before {
        content: attr(data-label);
        color: var(--c-muted);
        font-weight: 500;
        flex: none;
        max-width: 50%;
    }
}

/* ============================================
   Conduit steps (signature glowing beam)
   ============================================ */
.conduit {
    --rail-w: 72px;
    --rail-x: 36px;
    --beam-y: 50%;
    position: relative;
}

.conduit__list {
    position: relative;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
}

/* Beam: wide blurred glow + bright core, one layer on the shared wrapper */
.conduit__list::before,
.conduit__list::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    top: 20px;
    bottom: 20px;
    left: var(--rail-x);
    transform: translateX(-50%);
    border-radius: 6px;
}

.conduit__list::before {
    width: 16px;
    background: linear-gradient(180deg, rgba(240, 160, 40, 0), rgba(245, 200, 75, 0.85) 8%, rgba(245, 200, 75, 0.85) 92%, rgba(240, 160, 40, 0));
    filter: blur(7px);
}

.conduit__list::after {
    width: 4px;
    background: linear-gradient(180deg, transparent, #fff6d0 6%, var(--c-gold-bright) 50%, #fff6d0 94%, transparent);
    box-shadow: 0 0 10px rgba(255, 226, 138, 0.9);
}

.conduit__step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
}

.conduit__step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(var(--rail-x) - 7px);
    bottom: -20px;
    width: 14px;
    height: 12px;
    background: var(--c-gold-bright);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    filter: drop-shadow(0 0 4px rgba(245, 200, 75, 0.9));
}

.conduit__media {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    place-items: center;
    width: var(--rail-w);
}

.conduit__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(245, 200, 75, 0.35));
}

.conduit__num {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-top: 6px;
    border-radius: 50%;
    background: #15130f;
    border: 2px solid var(--c-gold);
    color: var(--c-gold-bright);
    font-family: var(--font-head);
    font-weight: 700;
    box-shadow: var(--glow-gold);
}

.conduit__plaque {
    grid-column: 2;
    grid-row: 1 / span 2;
    padding: 16px 18px;
    background: linear-gradient(180deg, #221e18, #15130f);
    border: 1px solid var(--c-gold-deep);
    border-radius: 12px;
}

.conduit__title {
    margin: 0 0 0.35em;
    font-size: 1.08rem;
    color: var(--c-gold-bright);
    text-shadow: none;
}

.conduit__plaque p {
    margin: 0;
    color: var(--c-muted);
    font-size: 0.95rem;
}

.conduit--numbers {
    --rail-w: 44px;
    --rail-x: 22px;
}

.conduit--numbers .conduit__num {
    grid-row: 1;
    margin-top: 6px;
    width: 44px;
    height: 44px;
}

@media (min-width: 1024px) {
    .conduit {
        --beam-y: 82px;
    }

    .conduit--numbers {
        --beam-y: 22px;
    }

    .conduit__list {
        grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
        gap: 24px;
    }

    .conduit__list::before,
    .conduit__list::after {
        top: var(--beam-y);
        bottom: auto;
        left: calc(100% / (var(--steps, 5) * 2));
        right: calc(100% / (var(--steps, 5) * 2));
        transform: translateY(-50%);
    }

    .conduit__list::before {
        width: auto;
        height: 16px;
        background: linear-gradient(90deg, rgba(240, 160, 40, 0.4), rgba(245, 200, 75, 0.9) 10%, rgba(245, 200, 75, 0.9) 90%, rgba(240, 160, 40, 0.4));
    }

    .conduit__list::after {
        width: auto;
        height: 4px;
        background: linear-gradient(90deg, #fff6d0, var(--c-gold-bright) 50%, #fff6d0);
    }

    .conduit__step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .conduit__step:not(:last-child)::after {
        left: auto;
        right: -19px;
        bottom: auto;
        top: calc(var(--beam-y) - 7px);
        width: 12px;
        height: 14px;
        clip-path: polygon(0 0, 100% 50%, 0 100%);
    }

    .conduit__media {
        width: 140px;
        height: 164px;
    }

    .conduit__media img {
        height: 100%;
    }

    .conduit__num {
        margin-top: 0;
    }

    .conduit__plaque {
        width: 100%;
        flex: 1;
    }
}

/* ============================================
   FAQ items (native disclosure)
   ============================================ */
.faq-list {
    display: grid;
    gap: 10px;
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
}

.faq-item {
    background: var(--c-panel);
    border: 1px solid rgba(245, 200, 75, 0.22);
    border-radius: 12px;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: rgba(245, 200, 75, 0.55);
}

.faq-item__q {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 14px 56px 14px 18px;
    cursor: pointer;
    list-style: none;
}

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

.faq-item__q::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--c-gold);
    border-bottom: 2px solid var(--c-gold);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}

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

.faq-item__q:focus-visible {
    outline: 2px solid var(--c-gold-bright);
    outline-offset: -2px;
    border-radius: 12px;
}

.faq-item__title {
    margin: 0;
    font-family: var(--font-head);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--c-text);
    text-shadow: none;
    line-height: 1.4;
}

.faq-item__a {
    padding: 0 18px 18px;
    border-top: 1px solid rgba(245, 200, 75, 0.15);
    padding-top: 14px;
}

.faq-item__a p {
    color: var(--c-muted);
}

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

/* ============================================
   Link cards
   ============================================ */
.link-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 100%;
    padding: 24px 20px 52px;
    background: linear-gradient(170deg, #2e241b, #1d1610);
    border: 1px solid var(--c-stone-edge);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--c-text);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.link-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 20px;
    width: 44px;
    height: 5px;
    background: var(--c-gold);
    border-radius: 0 0 4px 4px;
    box-shadow: var(--glow-gold);
}

.link-card__title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--c-gold-bright);
}

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

.link-card__arrow {
    position: absolute;
    right: 18px;
    bottom: 16px;
    color: var(--c-gold);
    line-height: 0;
    transition: transform 0.2s ease;
}

.link-card:hover,
.link-card:focus-visible {
    border-color: var(--c-gold);
    box-shadow: 0 0 22px rgba(245, 200, 75, 0.25);
    color: var(--c-text);
}

.link-card:hover .link-card__arrow {
    transform: translateX(4px);
}

/* ============================================
   Footer (cave floor scene)
   ============================================ */
.site-footer {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: clamp(80px, 10vw, 140px) 0 36px;
    background: var(--c-bg);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("./assets/8d2e62ea31740e82b511bf2a6ed6345e.webp");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, var(--c-bg) 0%, rgba(12, 14, 32, 0.4) 22%, rgba(12, 14, 32, 0.55) 100%),
        radial-gradient(ellipse 60% 70% at 50% 55%, rgba(30, 22, 16, 0.6), transparent 80%);
    pointer-events: none;
}

.footer-inner {
    max-width: 1000px;
}

.footer-grid {
    display: grid;
    gap: 28px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px 22px;
    background: rgba(26, 20, 15, 0.82);
    border: 1px solid rgba(90, 69, 50, 0.7);
    border-radius: var(--radius-lg);
}

.footer-col--brand,
.footer-col--license {
    grid-column: 1 / -1;
}

.footer-brand {
    margin: 0 0 6px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--c-gold-bright);
    text-shadow: 0 0 12px rgba(245, 200, 75, 0.45);
}

.footer-heading {
    margin: 0 0 8px;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--c-gold);
    font-size: 1rem;
}

.footer-text {
    margin: 0;
    color: var(--c-muted);
    font-size: 0.92rem;
}

.footer-links li a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-text);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links li a:hover,
.footer-links li a:focus-visible {
    color: var(--c-gold-bright);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
    text-align: center;
}

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

.footer-copy__brand {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--c-gold-bright);
}

.footer-plaque {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 640px;
    padding: 12px 20px;
    background: rgba(26, 20, 15, 0.92);
    border: 2px solid var(--c-gold-deep);
    border-radius: var(--radius);
    box-shadow: 0 0 18px rgba(245, 200, 75, 0.18);
    text-align: left;
}

.footer-plaque p {
    margin: 0;
    color: var(--c-text);
    font-size: 0.9rem;
}

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

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)) 1.4fr;
        background: rgba(26, 20, 15, 0.55);
    }

    .footer-col--brand,
    .footer-col--license {
        grid-column: auto;
    }
}

/* ============================================
   Homepage
   ============================================ */

/* Welcome package */
.home-welcome .section__bg {
    background-position: center 45%;
}

.welcome-stage {
    position: relative;
}

.welcome-plaques {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}

.welcome-plaque {
    width: 100%;
    max-width: 300px;
    padding-top: 30px;
}

.welcome-plaque p {
    margin: 0;
}

.welcome-plaque__label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.welcome-plaque__value {
    margin-top: 2px !important;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.45rem, 2.6vw, 1.75rem);
    line-height: 1.15;
    color: var(--c-gold-bright);
    text-shadow: 0 0 14px rgba(245, 200, 75, 0.45);
}

.welcome-plaque__sub {
    margin-top: 4px !important;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--c-text);
}

.welcome-plaque--main .welcome-plaque__value {
    font-size: clamp(1.8rem, 3.4vw, 2.3rem);
}

.welcome-ribbons {
    display: none;
}

.welcome-note {
    max-width: 780px;
    margin: 36px auto 0;
}

.welcome-note .text-link {
    margin-top: 4px;
}

@media (min-width: 768px) {
    .welcome-stage {
        padding-top: clamp(30px, 9vw, 150px);
    }

    .welcome-plaques {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: center;
    }

    .welcome-plaque {
        max-width: 240px;
    }

    .welcome-plaque--main {
        max-width: 280px;
        padding: 34px 26px 26px;
    }

    .welcome-ribbons {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 160px;
        transform: translateY(-10%);
        z-index: 0;
        pointer-events: none;
        filter: drop-shadow(0 0 6px rgba(245, 200, 75, 0.8));
    }

    .welcome-ribbons__glow {
        stroke-opacity: 0.35;
    }
}

/* JB Originals */
.home-originals .section__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 14, 32, 0.5);
}

.originals-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 6px;
}

.originals-grid .tile .btn {
    margin-top: auto;
}

.originals-grid .tile__text {
    flex: 1;
}

.originals-foot {
    margin: 28px 0 0;
    text-align: center;
}

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

/* Popular slots trays */
.slot-trays {
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr);
}

.slot-tray {
    position: relative;
    padding: 18px;
    background: linear-gradient(160deg, #3a2c20, #251c14 60%, #1c150f);
    border: 1px solid rgba(95, 212, 255, 0.4);
    border-radius: 30px 18px 34px 20px / 22px 30px 18px 32px;
    box-shadow: inset 0 0 0 1px rgba(245, 200, 75, 0.18), 0 0 24px rgba(95, 212, 255, 0.22), 0 0 44px rgba(245, 200, 75, 0.12);
}

.slot-tray::before,
.slot-tray::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 36px;
    background: linear-gradient(160deg, #fff3c0, var(--c-gold) 50%, var(--c-gold-deep));
    clip-path: polygon(50% 0, 100% 28%, 82% 100%, 18% 100%, 0 28%);
    filter: drop-shadow(0 0 6px rgba(245, 200, 75, 0.9));
    pointer-events: none;
}

.slot-tray::before {
    left: -6px;
    bottom: 12px;
    transform: rotate(-20deg);
}

.slot-tray::after {
    right: -6px;
    top: 12px;
    transform: rotate(18deg);
}

.slot-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
}

.slot-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    height: 100%;
    padding: 10px;
    background: linear-gradient(180deg, #221c16, #141110);
    border: 1px solid var(--c-stone-edge);
    border-radius: 12px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.slot-card:hover,
.slot-card:focus-within {
    border-color: rgba(245, 200, 75, 0.6);
    box-shadow: 0 0 16px rgba(245, 200, 75, 0.2);
}

.slot-card__thumb img {
    display: block;
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(245, 200, 75, 0.4);
}

.slot-card__title {
    margin: 0 0 2px;
    font-size: 1rem;
    color: var(--c-gold-bright);
    text-shadow: none;
}

.slot-card__text {
    margin: 0 0 8px;
    font-size: 0.86rem;
    line-height: 1.4;
    color: var(--c-muted);
}

.slot-card__btn {
    padding: 0.45em 1.1em;
}

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

@media (min-width: 1024px) {
    .slot-trays {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .slot-card {
        grid-template-columns: 72px minmax(0, 1fr);
        align-items: start;
    }

    .slot-card__thumb img {
        width: 72px;
        height: 72px;
    }
}

/* Latest Round & Race + trust */
.home-trust .section__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 14, 32, 0.35);
}

.trust-split {
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.lrr {
    position: relative;
    margin: 0;
    padding: 14px;
    background: linear-gradient(180deg, var(--c-gunmetal-2), #2d323e 30%, #1e222c);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -2px 0 rgba(0, 0, 0, 0.5), var(--shadow-deep);
}

.lrr::before,
.lrr::after {
    content: "";
    position: absolute;
    bottom: -8px;
    width: 20px;
    height: 34px;
    background: linear-gradient(160deg, #fff3c0, var(--c-gold) 50%, var(--c-gold-deep));
    clip-path: polygon(50% 0, 100% 28%, 82% 100%, 18% 100%, 0 28%);
    filter: drop-shadow(0 0 6px rgba(245, 200, 75, 0.9));
    pointer-events: none;
}

.lrr::before {
    left: -6px;
    transform: rotate(-16deg);
}

.lrr::after {
    right: -6px;
    transform: rotate(16deg);
}

.lrr__screen {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr);
    padding: 14px;
    background: var(--c-screen);
    border: 1px solid #2c3550;
    border-radius: 12px;
    box-shadow: inset 0 0 22px rgba(95, 212, 255, 0.25), inset 0 0 0 1px rgba(95, 212, 255, 0.35);
}

.lrr__feed {
    display: grid;
    gap: 8px;
}

.lrr__row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
    align-items: center;
}

.lrr__bar {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: #2f3b60;
}

.lrr__bar--short {
    width: 70%;
}

.lrr__bar--up {
    background: linear-gradient(90deg, #2f3b60, var(--c-success));
}

.lrr__bar--down {
    background: linear-gradient(90deg, #2f3b60, var(--c-danger));
}

.lrr__race {
    display: grid;
    gap: 4px;
    align-content: start;
}

.lrr__race li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 6px;
}

.lrr__race li.is-top {
    background: rgba(245, 200, 75, 0.08);
}

.lrr__rank {
    width: 1.2em;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--c-muted);
}

.lrr__race li.is-top .lrr__rank {
    color: var(--c-gold-bright);
}

.lrr__dot {
    flex: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #59606f;
}

.lrr__race li.is-top .lrr__dot {
    background: radial-gradient(circle at 40% 35%, #fff0b8, var(--c-gold) 60%, var(--c-gold-deep));
    box-shadow: 0 0 8px rgba(245, 200, 75, 0.7);
}

.lrr__bar--name {
    flex: 1;
    height: 7px;
    background: #4a5168;
}

.lrr__bar--amt {
    flex: none;
    width: 30px;
    height: 7px;
    background: #4a5168;
}

.lrr__race li.is-top .lrr__bar--name,
.lrr__race li.is-top .lrr__bar--amt {
    background: var(--c-gold);
}

.lrr__caption {
    margin-top: 12px;
    font-size: 0.88rem;
    text-align: center;
    color: var(--c-text);
}

.trust-panel {
    padding: 28px 22px;
    background: linear-gradient(160deg, rgba(58, 44, 32, 0.95), rgba(31, 23, 17, 0.96));
    border: 1px solid var(--c-stone-edge);
    border-radius: 28px 40px 30px 44px;
    box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.08), var(--shadow-deep);
}

.trust-title {
    text-align: center;
}

.trust-panel p {
    color: var(--c-muted);
}

.trust-panel p:last-child {
    margin-bottom: 0;
}

.trust-medals {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
    margin: 8px 0 22px !important;
}

.trust-medals .medallion {
    width: 112px;
}

.trust-medals .medallion--hex {
    width: 172px;
}

.trust-medals .medallion__sub {
    font-size: 0.68rem;
}

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

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

    .trust-panel {
        padding: 32px 28px;
    }
}

/* Fast payouts band */
.home-payouts {
    padding-block: clamp(64px, 9vw, 128px);
}

.home-payouts .section__bg {
    background-position: 75% center;
}

.home-payouts .section__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 14, 32, 0.82), rgba(12, 14, 32, 0.9));
}

.payout-copy {
    max-width: 560px;
}

.payout-title {
    margin-bottom: 0.7em;
}

.payout-title::after {
    content: "";
    display: block;
    width: min(220px, 70%);
    height: 8px;
    margin-top: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--c-gold-bright), var(--c-gold));
    box-shadow: var(--glow-gold);
}

.payout-list {
    color: var(--c-muted);
}

.payout-list li + li {
    margin-top: 0.3em;
}

.payout-coins {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 8px !important;
}

@media (min-width: 1024px) {
    .home-payouts .section__bg {
        background-position: center;
    }

    .home-payouts .section__bg::after {
        background: linear-gradient(90deg, rgba(12, 14, 32, 0.9) 0%, rgba(12, 14, 32, 0.72) 34%, rgba(12, 14, 32, 0) 55%);
    }

    .payout-copy {
        max-width: 42%;
    }
}

/* Kom i gang, FAQ, closing */
.center-cta {
    margin: 36px 0 0;
    text-align: center;
}

.home-faq__list {
    max-width: 820px;
    margin-inline: auto;
}

.home-faq__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 28px;
    margin: 22px 0 0;
}

.home-closing__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 860px;
    text-align: center;
}

.home-closing__inner .rg-note {
    text-align: left;
    width: 100%;
}

.home-closing__text {
    margin: 0;
    color: var(--c-muted);
}

/* ============================================
   Bonusser page
   ============================================ */
.bonus-band {
    background: linear-gradient(180deg, transparent, rgba(26, 28, 56, 0.55) 20%, rgba(26, 28, 56, 0.55) 80%, transparent);
}

.bonus-track {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 0 auto 28px;
    overflow: visible;
}

.bonus-note {
    margin: 16px 0 0;
    font-size: 0.92rem;
    color: var(--c-muted);
}

.bonus-note--center {
    max-width: 760px;
    margin: 28px auto 0;
    text-align: center;
}

.bonus-steps {
    padding-left: 1.4em;
    color: var(--c-muted);
}

.bonus-steps li + li {
    margin-top: 0.6em;
}

.bonus-steps li::marker {
    color: var(--c-gold);
    font-weight: 700;
}

/* Worked example chips */
.eq {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--c-panel);
    border: 1px solid var(--c-gunmetal);
    border-radius: var(--radius);
}

.eq__chip {
    min-width: 88px;
    padding: 10px 18px;
    border: 2px solid var(--c-gold);
    border-radius: var(--radius-pill);
    background: #15130f;
    color: var(--c-gold-bright);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.1rem, 4.5vw, 1.5rem);
    text-align: center;
    box-shadow: var(--glow-gold);
}

.eq__chip--total {
    background: rgba(245, 200, 75, 0.12);
}

.eq__chip--cyan {
    flex-basis: 100%;
    max-width: 220px;
    margin-top: 6px;
    border-color: var(--c-cyan);
    color: #bfefff;
    font-size: 1rem;
    box-shadow: var(--glow-cyan);
}

.eq__op {
    color: var(--c-gold);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
}

/* Terms box */
.terms-box {
    max-width: 880px;
    margin-inline: auto;
    padding: clamp(20px, 4vw, 34px);
    background: var(--c-panel);
    border: 1px solid var(--c-gunmetal);
    border-left: 3px solid var(--c-amber);
    border-radius: var(--radius);
}

.terms-box p {
    color: var(--c-muted);
}

.terms-box__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.8em;
}

.terms-box__head h2 {
    margin: 0;
}

.terms-box__icon {
    flex: none;
}

.terms-mini-wrap {
    margin: 18px 0;
    background: #1b1f2e;
}

.terms-mini {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
}

.terms-mini th,
.terms-mini td {
    padding: 11px 14px;
    text-align: left;
    border-top: 1px solid var(--c-gunmetal);
}

.terms-mini thead th {
    border-top: 0;
    background: #262b3c;
    color: var(--c-muted);
    font-weight: 600;
}

.terms-mini tbody th {
    color: var(--c-gold-bright);
    font-family: var(--font-head);
}

.terms-mini td {
    color: var(--c-text);
}

/* Rakeback art */
.rakeback-art {
    display: grid;
    place-items: center;
    max-width: 460px;
    margin-inline: auto;
}

.rakeback-art img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
}

/* Reward cards */
.reward-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reward-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 6px;
    filter: drop-shadow(0 0 6px rgba(245, 200, 75, 0.4));
}

.reward-card h3 {
    margin-bottom: 0.3em;
    color: var(--c-gold-bright);
}

/* VIP ladder */
.ladder {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 640px;
    margin: 0 auto;
}

.ladder::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 17px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--c-gold-deep), var(--c-gold-bright), var(--c-gold-deep));
    box-shadow: var(--glow-gold);
}

.ladder li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ladder svg {
    width: 36px;
    height: 36px;
}

.ladder span {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.72rem;
    color: var(--c-text);
}

@media (min-width: 480px) {
    .ladder span {
        font-size: 0.92rem;
    }
}

/* Payments link + FAQ */
.bonus-payments__box {
    max-width: 820px;
    margin-inline: auto;
    padding: 22px 24px;
    background: #17182c;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 3px solid var(--c-cyan);
    border-radius: var(--radius);
}

.bonus-payments__box h2 {
    font-size: clamp(1.25rem, 2.6vw, 1.6rem);
}

.bonus-payments__box p {
    margin: 0;
    color: var(--c-muted);
}

/* ============================================
   Spil page
   ============================================ */

/* Neon JB Originals tiles */
.originals-neon .tile {
    background: linear-gradient(180deg, #141a3a, #0d1430);
    border: 1px solid var(--c-gold);
    box-shadow: 0 0 16px rgba(245, 200, 75, 0.3), inset 0 0 14px rgba(245, 200, 75, 0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.originals-neon .tile:hover,
.originals-neon .tile:focus-within {
    border-color: var(--c-cyan);
    box-shadow: 0 0 22px rgba(95, 212, 255, 0.5), inset 0 0 16px rgba(95, 212, 255, 0.12);
}

.originals-neon .tile::before {
    background: var(--c-cyan);
    box-shadow: var(--glow-cyan);
}

/* Provably fair panel */
.pf-panel {
    max-width: 820px;
    margin: 36px auto 0;
    padding: clamp(20px, 4vw, 32px);
    background: linear-gradient(160deg, #181a36, #101228);
    border: 1px solid var(--c-gold-deep);
    border-left: 3px solid var(--c-cyan);
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
}

.pf-panel__title {
    color: var(--c-gold-bright);
}

.pf-panel p {
    color: var(--c-muted);
}

.pf-diagram {
    display: block;
    width: 100%;
    max-width: 440px;
    height: auto;
    margin: 8px auto 0;
    overflow: visible;
}

/* Provider cards */
.provider-row {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 4px 2px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.provider-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    padding: 20px 18px;
    background: var(--c-panel);
    border: 1px solid var(--c-gunmetal);
    border-radius: var(--radius);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.provider-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 200, 75, 0.55);
    box-shadow: 0 8px 22px rgba(245, 200, 75, 0.14);
}

.provider-card__name {
    margin-bottom: 0.4em;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-gold);
}

.provider-card p {
    margin: 0;
    color: var(--c-muted);
    font-size: 0.93rem;
}

@media (min-width: 1024px) {
    .provider-row {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        overflow: visible;
        padding-bottom: 4px;
    }

    .provider-card {
        flex: none;
    }
}

/* Framed media + splits */
.media-frame {
    margin: 0;
    overflow: hidden;
    border: 2px solid var(--c-gold);
    border-radius: 20px;
    box-shadow: var(--glow-gold), var(--shadow-deep);
    background: var(--c-screen);
}

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

@media (min-width: 768px) {
    .split--media-right .media-frame {
        order: 2;
    }
}

.game-list {
    padding-left: 1.2em;
    color: var(--c-muted);
}

.game-list li + li {
    margin-top: 0.4em;
}

.game-list li::marker {
    color: var(--c-gold);
}

.game-note {
    color: var(--c-muted);
    font-size: 0.93rem;
}

.sport-chips {
    margin-top: 6px;
}

/* Table games */
.table-games {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

.table-games .section-head {
    margin-bottom: 0;
}

.icon-row {
    display: flex !important;
    justify-content: center;
    gap: 22px;
}

.icon-row li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.icon-disc {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 38%, #1c2146, #0d1024);
    border: 1px solid var(--line-gold);
    box-shadow: var(--glow-gold);
}

.icon-row__label {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--c-text);
}

@media (min-width: 768px) {
    .table-games {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: 48px;
    }
}

/* Demo callout */
.demo-callout {
    max-width: 780px;
    margin-inline: auto;
}

.demo-callout .btn {
    margin-top: 12px;
}

/* ============================================
   Om os page
   ============================================ */
.about-summary {
    padding: 22px 22px 14px;
    background: linear-gradient(160deg, var(--c-stone-2), var(--c-stone) 60%, #1f1711);
    border: 1px solid var(--c-stone-edge);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-deep);
}

.about-summary__title {
    margin: 0 0 8px;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--c-gold-bright);
}

.about-summary ul {
    color: var(--c-text);
}

.about-summary li + li {
    margin-top: 0.4em;
}

.about-summary li::marker {
    color: var(--c-gold);
}

.about-operator__grid {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.facts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.97rem;
}

.facts-table th,
.facts-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid var(--c-gunmetal);
}

.facts-table tr:first-child th,
.facts-table tr:first-child td {
    border-top: 0;
}

.facts-table th {
    width: 38%;
    background: rgba(245, 200, 75, 0.08);
    color: var(--c-gold-bright);
    font-family: var(--font-head);
    font-weight: 600;
}

.facts-table td {
    color: var(--c-text);
}

.law-callout {
    max-width: 820px;
    margin-inline: auto;
}

.law-callout .callout__icon {
    color: var(--c-gold);
}

.trust-strip {
    margin-bottom: 28px;
    padding: 26px 14px;
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 9px),
        linear-gradient(160deg, #2a2018, #1c150f);
    border: 1px solid var(--c-stone-edge);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.45), var(--shadow-deep);
}

.trust-strip ul {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
}

.trust-strip .medallion {
    width: 112px;
}

.trust-strip .medallion__label {
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}

.safety-list {
    max-width: 780px;
    margin-inline: auto;
    color: var(--c-muted);
}

.safety-list li + li {
    margin-top: 0.6em;
}

.safety-list li::marker {
    color: var(--c-gold);
}

.about-after {
    max-width: 780px;
    margin: 18px auto 0;
    color: var(--c-muted);
}

.neon-row {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 880px;
    margin: 0 auto;
}

.neon-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 12px 16px;
    background: linear-gradient(180deg, #141a3a, #0d1430);
    border: 1px solid var(--c-gold);
    border-radius: var(--radius);
    box-shadow: 0 0 16px rgba(245, 200, 75, 0.28), inset 0 0 14px rgba(95, 212, 255, 0.08);
    color: var(--c-gold-bright);
    font-family: var(--font-head);
    font-weight: 600;
}

.neon-tile svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 6px rgba(95, 212, 255, 0.5));
}

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

.support-art {
    display: grid;
    place-items: center;
    background: transparent;
}

.support-art img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    background: transparent;
}

.notes-card {
    max-width: 820px;
    margin-inline: auto;
    padding: clamp(18px, 4vw, 30px);
    background: var(--c-panel);
    border: 1px solid var(--c-gunmetal-2);
    border-radius: var(--radius);
}

.notes-card ul li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--c-muted);
}

.notes-card ul li + li {
    margin-top: 14px;
}

.notes-card ul .icon {
    margin-top: 2px;
    color: var(--c-amber);
}

.notes-card__tip {
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--c-gunmetal);
    color: var(--c-text);
}

.rg-tools {
    max-width: 780px;
    margin: 0 auto 22px;
    color: var(--c-muted);
}

.rg-tools li + li {
    margin-top: 0.5em;
}

.rg-tools li::marker {
    color: var(--c-gold);
}

.about-rg .rg-note {
    max-width: 780px;
    margin-inline: auto;
}

.about-faq__list {
    max-width: 820px;
    margin-inline: auto;
}

.about-faq__more {
    margin: 20px 0 0;
    text-align: center;
}

.about-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 720px;
    margin: 40px auto 0;
    text-align: center;
}

.about-cta p {
    margin: 0;
    color: var(--c-muted);
}

/* ============================================
   Betalinger page
   ============================================ */
.hero-coins {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0 !important;
}

.overview-prose {
    margin-bottom: 28px;
}

.stat-card__value {
    margin: 0 0 6px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--c-gold-bright) !important;
    text-shadow: 0 0 14px rgba(245, 200, 75, 0.35);
}

.scroll-hint {
    margin: 0 0 8px;
    font-size: 0.85rem;
    color: var(--c-gold);
    text-align: center;
}

@media (min-width: 900px) {
    .scroll-hint {
        display: none;
    }
}

.coin-wrap {
    background: #15162b;
}

.coin-table {
    min-width: 700px;
}

.coin-table tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #1a1c38;
    white-space: nowrap;
    box-shadow: 1px 0 0 var(--c-gunmetal);
}

.coin-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
}

.coin-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.timeline {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: 0 auto 28px;
    overflow: visible;
}

.speed-table {
    max-width: 780px;
    margin-inline: auto;
}

.wallet-split {
    align-items: center;
}

.wallet-art {
    display: grid;
    place-items: center;
    background: transparent;
}

.wallet-art img {
    width: 100%;
    max-width: 460px;
    height: auto;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 0 28px rgba(95, 212, 255, 0.25));
}

.wallet-blocks {
    display: grid;
    gap: 20px;
}

.wallet-block {
    padding: 18px 20px;
    background: var(--c-panel);
    border: 1px solid var(--c-gunmetal);
    border-left: 3px solid var(--c-gold);
    border-radius: var(--radius);
}

.wallet-block h3 {
    margin-bottom: 0.3em;
    color: var(--c-gold-bright);
}

.wallet-block p {
    margin: 0;
    color: var(--c-muted);
}

.wallet-block--qr {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.qr-art {
    flex: none;
    width: 96px;
    height: 96px;
    border-radius: 8px;
    box-shadow: var(--glow-gold);
}

.limit-chip {
    display: inline-block;
    padding: 8px 18px;
    border: 2px solid var(--c-gold);
    border-radius: var(--radius-pill);
    background: #15130f;
    color: var(--c-gold-bright);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: clamp(1.1rem, 4.5vw, 1.5rem);
    box-shadow: var(--glow-gold);
}

.kyc-callout {
    max-width: 820px;
    margin-inline: auto;
}

.tip-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    max-width: 820px;
    margin-inline: auto;
}

.tip-card__icon {
    flex: none;
    color: var(--c-gold);
    line-height: 0;
}

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

.tip-card__title {
    font-size: clamp(1.25rem, 2.6vw, 1.6rem);
}

.pay-faq {
    max-width: 820px;
    margin-inline: auto;
}

.closing-title {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .wallet-block--qr {
        flex-direction: column;
    }
}

@media (min-width: 900px) {
    .about-operator__grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: 44px;
    }
}

/* ============================================
   FAQ page
   ============================================ */

/* Topic navigation */
.topic-nav__track {
    position: relative;
}

.topic-nav__beam {
    display: none;
}

.topic-chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.topic-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 18px;
    background: linear-gradient(180deg, #3a2c20, #251c14);
    border: 1px solid var(--c-gold-deep);
    border-radius: var(--radius-pill);
    color: var(--c-gold-bright);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.topic-chip:hover,
.topic-chip:focus-visible {
    border-color: var(--c-gold-bright);
    color: #fff0b8;
    box-shadow: 0 0 18px rgba(240, 160, 40, 0.55);
}

@media (min-width: 1200px) {
    .topic-chips {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 8px;
    }

    .topic-chip {
        min-height: 44px;
        padding: 8px 14px;
        font-size: 0.9rem;
    }

    .topic-nav__beam {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        z-index: 0;
        width: 100%;
        height: 16px;
        transform: translateY(-50%);
        filter: drop-shadow(0 0 8px rgba(245, 200, 75, 0.8));
        pointer-events: none;
    }
}

/* Topic groups */
.faq-groups {
    display: grid;
    gap: clamp(28px, 4vw, 44px);
    grid-template-columns: minmax(0, 1fr);
}

.faq-group {
    padding: clamp(16px, 3.5vw, 32px);
    background: linear-gradient(160deg, #2a2018, #1c150f);
    border: 1px solid var(--c-stone-edge);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.08), var(--shadow-deep);
}

.faq-group__plate {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    margin-bottom: 18px;
    padding: 12px 18px;
    background: #1b1813;
    border: 2px solid var(--c-gold-deep);
    border-radius: 12px;
}

.faq-group__plate h2 {
    margin: 0;
    font-size: clamp(1.25rem, 3vw, 1.7rem);
    text-shadow: none;
}

.faq-group__plate--badge {
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.faq-group__medals {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.faq-group__medals .medallion--hex {
    width: 150px;
}

.faq-group .faq-item {
    background: rgba(12, 14, 32, 0.6);
}

.faq-capsule {
    margin: 0 0 18px;
    padding: 14px 18px;
    background: rgba(245, 200, 75, 0.06);
    border-left: 3px solid var(--c-gold);
    border-radius: 0 12px 12px 0;
    color: var(--c-text);
}

.faq-callout {
    margin-bottom: 18px;
}

.faq-callout--after {
    margin: 18px 0 0;
}

/* Stat strip with ribbon */
.stat-strip {
    position: relative;
    margin-bottom: 20px;
}

.stat-strip__ribbon {
    display: none;
}

.stat-strip__cells {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
}

.stat-cell {
    padding: 16px 14px;
    text-align: center;
    background: linear-gradient(160deg, var(--c-stone-2), var(--c-stone));
    border: 1px solid var(--c-gold-deep);
    border-radius: var(--radius);
    box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.08), 0 0 16px rgba(245, 200, 75, 0.15);
}

.stat-cell p {
    margin: 0;
}

.stat-cell__num {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--c-gold-bright);
    text-shadow: 0 0 14px rgba(245, 200, 75, 0.4);
}

.stat-cell__lbl {
    margin-top: 4px !important;
    font-size: 0.92rem;
    color: var(--c-text);
}

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

    .stat-strip__ribbon {
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        z-index: 0;
        width: 100%;
        height: 70px;
        transform: translateY(-50%);
        filter: drop-shadow(0 0 6px rgba(245, 200, 75, 0.8));
        pointer-events: none;
    }
}

/* Payout band */
.faq-payout {
    isolation: isolate;
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 9px),
        linear-gradient(160deg, #3a2c20, #2a2018 55%, #1c150f);
    border-block: 1px solid var(--c-stone-edge);
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.45);
}

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

.faq-payout .faq-item {
    background: rgba(20, 15, 10, 0.75);
}

.faq-payout__art img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 85%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 85%, transparent 100%);
}

@media (min-width: 900px) {
    .faq-payout__grid {
        grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
        gap: 32px;
    }

    .faq-payout__art img {
        width: 128%;
        max-width: none;
        margin-left: -10%;
    }
}

/* JB Originals mini tiles */
.mini-tiles {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.mini-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 18px;
    background: linear-gradient(180deg, #141a3a, #0d1430);
    border: 1px solid var(--c-stone-edge);
    border-radius: var(--radius);
    color: var(--c-gold-bright);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.mini-tile:hover {
    border-color: var(--c-gold);
    box-shadow: 0 0 20px rgba(245, 200, 75, 0.45), inset 0 0 14px rgba(245, 200, 75, 0.1);
}

.mini-tile__tab {
    width: 100%;
    margin: 0;
    padding: 5px 10px;
    background: #1b1813;
    border: 2px solid var(--c-gold-deep);
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    text-align: center;
    color: var(--c-gold-bright);
}

.mini-tile svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 6px rgba(245, 200, 75, 0.4));
}

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

/* Mobile + support pair */
.faq-pair {
    display: grid;
    gap: clamp(28px, 4vw, 44px);
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

@media (min-width: 1024px) {
    .faq-pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

/* Responsible gaming accent */
.faq-group--cyan {
    border-color: rgba(95, 212, 255, 0.55);
    box-shadow: 0 0 24px rgba(95, 212, 255, 0.18), var(--shadow-deep);
}

.faq-group--cyan .faq-group__plate {
    border-color: var(--c-cyan);
}

.faq-group--cyan .faq-capsule {
    border-left-color: var(--c-cyan);
    background: rgba(95, 212, 255, 0.07);
}

.faq-group--cyan .faq-item {
    border-color: rgba(95, 212, 255, 0.3);
}

.faq-group--cyan .faq-item[open] {
    border-color: rgba(95, 212, 255, 0.65);
}

/* Related links */
.faq-links {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

@media (max-width: 380px) {
    .faq-links {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ============================================
   VIP page
   ============================================ */

/* Overview */
.vip-overview__grid {
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

.vip-overview__list {
    color: var(--c-muted);
}

.vip-overview__list li + li {
    margin-top: 0.4em;
}

.vip-overview__list li::marker {
    color: var(--c-gold);
}

.vip-steps-card {
    margin: 0;
    padding: 22px;
    text-align: center;
    background: var(--c-panel);
    border: 1px solid var(--c-gunmetal);
    border-radius: var(--radius);
}

.vip-steps-card svg {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 auto;
    overflow: visible;
}

.vip-steps-card figcaption {
    margin-top: 14px;
    font-size: 0.92rem;
    color: var(--c-muted);
}

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

/* Tier artwork + beam + rail */
.tier-stage {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 0 24px 34px;
}

.tier-stage__art {
    position: relative;
}

.tier-stage__art img {
    display: block;
    width: 100%;
    height: auto;
}

.tier-beam {
    position: absolute;
    left: -23px;
    top: 0;
    width: calc(100% + 23px);
    height: calc(100% + 24px);
    overflow: visible;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(245, 200, 75, 0.85));
}

.lvl {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding-left: 34px;
}

.lvl::before {
    content: "";
    position: absolute;
    left: 9.5px;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, #d9833a, var(--c-gold) 40%, var(--c-gold-bright) 62%, #8fe3ff 82%, var(--c-cyan));
    box-shadow: 0 0 10px rgba(245, 200, 75, 0.6);
}

.lvl__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.96rem;
}

.lvl__table thead th {
    padding: 12px 16px;
    text-align: left;
    background: #1b1813;
    color: var(--c-gold-bright);
    font-family: var(--font-head);
    font-weight: 600;
    border-bottom: 2px solid var(--c-gold-deep);
}

.lvl__table tbody tr {
    background: #1c1510;
    border-top: 1px solid rgba(245, 200, 75, 0.3);
}

.lvl__table tbody tr:nth-child(even) {
    background: #251b13;
}

.lvl__table tbody th,
.lvl__table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.lvl__table tbody th {
    position: relative;
    width: 150px;
    color: var(--c-gold-bright);
    font-family: var(--font-head);
    font-weight: 600;
    white-space: nowrap;
}

.lvl__table tbody th::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-radius: 50%;
    background: var(--node, var(--c-gold));
    box-shadow: 0 0 10px var(--node, var(--c-gold)), 0 0 0 3px var(--c-bg);
}

.lvl__table td {
    color: var(--c-text);
}

.lvl__row--diamond th {
    box-shadow: inset 3px 0 0 var(--c-cyan);
}

.lvl__row--diamond td {
    background: rgba(95, 212, 255, 0.05);
}

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

    .lvl__table,
    .lvl__table tbody,
    .lvl__table tr,
    .lvl__table tbody th,
    .lvl__table td {
        display: block;
        width: 100%;
    }

    .lvl__table tbody th {
        padding: 12px 16px 2px;
    }

    .lvl__table td {
        padding: 0 16px 12px;
    }

    .lvl__table tbody th::before {
        top: 22px;
        margin-top: -7px;
    }
}

/* Perks */
.vip-perks .section__bg {
    background-position: center;
}

.vip-perks .section__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 14, 32, 0.4);
}

.perk-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.perk {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(160deg, #3a2c20, #251c14 60%, #1c150f);
    border: 1px solid var(--c-stone-edge);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.08), 0 0 16px rgba(245, 200, 75, 0.16), var(--shadow-deep);
}

.perk__plate {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    background: #1b1813;
    border-bottom: 2px solid var(--c-gold-deep);
}

.perk__icon {
    flex: none;
    width: 26px;
    height: 26px;
    color: var(--c-gold);
    filter: drop-shadow(0 0 5px rgba(245, 200, 75, 0.5));
}

.perk__title {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.25;
    color: var(--c-gold-bright);
    text-shadow: none;
}

.perk__text {
    flex: 1;
    margin: 0;
    padding: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--c-text);
}

@media (min-width: 768px) {
    .perk-grid {
        gap: 18px;
    }

    .perk__plate {
        padding: 12px 14px;
    }

    .perk__title {
        font-size: 1.02rem;
    }

    .perk__text {
        padding: 14px;
    }
}

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

/* Rakeback dual line */
.dual-line {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 0 auto 28px;
    overflow: visible;
    filter: drop-shadow(0 0 6px rgba(245, 200, 75, 0.35));
}

/* Terms (stone panel) */
.terms-box--stone {
    background: linear-gradient(160deg, #3a2c20, #251c14 70%);
    border: 1px solid var(--c-stone-edge);
    border-left: 6px solid var(--c-amber);
}

.terms-box--stone p {
    color: var(--c-text);
}

.terms-box--stone > :last-child {
    margin-bottom: 0;
}

/* Responsible gaming panel */
.vip-rg__panel {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
    padding: 22px;
    background: linear-gradient(160deg, #181a36, #101228);
    border: 1px solid var(--c-cyan);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 22px rgba(95, 212, 255, 0.25), inset 0 0 18px rgba(95, 212, 255, 0.08);
}

.vip-rg__panel .medallion {
    width: 96px;
}

.vip-rg__text {
    min-width: 0;
}

.vip-rg__text p {
    color: var(--c-muted);
}

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

@media (max-width: 560px) {
    .vip-rg__panel {
        flex-direction: column;
        text-align: center;
    }
}

/* FAQ + related */
.vip-faq__list {
    max-width: 820px;
    margin-inline: auto;
}

.vip-links {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

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