/*
 * THE GTA CASINO: "Neon Sunset Arcade" design system
 * Canonical design tokens live in this file.
 */

:root {
    /* Surfaces */
    --bg: #0d0618;
    --bg-deep: #08030f;
    --surface: #170b2b;
    --surface-2: #1f0f3a;
    --surface-3: #2a1550;
    --slate: #1e1a3c;

    /* Neon accents */
    --magenta: #ff2bd6;
    --magenta-solid-a: #a51cc8;
    --magenta-solid-b: #c41fa8;
    --pink: #ff6ec7;
    --pink-text: #ff7fe0;
    --cyan: #2ff3ff;
    --violet: #8f5bff;
    --violet-line: #5b3a8f;
    --gold: #ffc247;
    --amber: #ffa22e;

    /* Text */
    --text: #f5eeff;
    --text-muted: #cdbde9;
    --text-dim: #ac9ad0;

    /* Type */
    --font-display: "Exo 2", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: "Share Tech Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

    /* Layout */
    --container: 1080px;
    --pad: clamp(16px, 4vw, 32px);
    --radius: 10px;
    --radius-sm: 6px;
    --header-h: 84px;
    --header-bottom: 84px;

    /* Glows */
    --glow-m: 0 0 6px rgba(255, 43, 214, 0.55), 0 0 22px rgba(255, 43, 214, 0.28);
    --glow-c: 0 0 6px rgba(47, 243, 255, 0.5), 0 0 22px rgba(47, 243, 255, 0.22);
    --glow-gold: 0 0 8px rgba(255, 194, 71, 0.6), 0 0 26px rgba(255, 162, 46, 0.35);
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

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

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

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

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

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

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

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

details {
    height: fit-content;
}

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

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

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(143, 91, 255, 0.16), transparent 70%),
        radial-gradient(ellipse 60% 50% at 100% 60%, rgba(255, 43, 214, 0.07), transparent 70%),
        radial-gradient(ellipse 60% 50% at 0% 80%, rgba(47, 243, 255, 0.05), transparent 70%),
        linear-gradient(rgba(120, 72, 200, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 72, 200, 0.07) 1px, transparent 1px);
    background-size: auto, auto, auto, 48px 48px, 48px 48px;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.01em;
    margin: 0 0 0.5em;
    color: #fff;
}

h1 { font-size: clamp(1.8rem, 5.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); }
h3 { font-size: clamp(1.08rem, 2vw, 1.2rem); font-weight: 700; }

p {
    margin: 0 0 1em;
}

a {
    color: var(--cyan);
}

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

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

.site-main:focus {
    outline: none;
}

.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(--surface-3);
    color: #fff;
    border: 2px solid var(--cyan);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
}

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

/* ============================================
   LAYOUT
   ============================================ */

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

.site-main {
    position: relative;
    isolation: isolate;
    display: block;
}

/* Glitch bars clustered along both page margins */
.site-main::before,
.site-main::after {
    content: "";
    position: absolute;
    top: 90vh;
    bottom: 0;
    width: min(6vw, 70px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.32;
    background:
        linear-gradient(to bottom, transparent 0 40%, rgba(255, 43, 214, 0.95) 40% 44%, transparent 44%) 0 0 / 72% 137px repeat-y,
        linear-gradient(to bottom, transparent 0 60%, rgba(47, 243, 255, 0.95) 60% 63%, transparent 63%) 0 30px / 46% 211px repeat-y,
        linear-gradient(to bottom, transparent 0 20%, rgba(143, 91, 255, 0.95) 20% 26%, transparent 26%) 0 60px / 92% 89px repeat-y,
        linear-gradient(to bottom, transparent 0 70%, rgba(255, 110, 199, 0.95) 70% 72%, transparent 72%) 0 12px / 30% 173px repeat-y;
}

.site-main::before {
    left: 0;
}

.site-main::after {
    right: 0;
    transform: scaleX(-1);
}

.section {
    position: relative;
    padding-block: clamp(44px, 7vw, 84px);
}

.section--tight {
    padding-block: clamp(28px, 4vw, 48px);
}

.section > .container {
    position: relative;
    z-index: 1;
}

.section-head {
    margin-bottom: clamp(18px, 3vw, 28px);
    max-width: 760px;
}

.section-title {
    text-shadow: 0 0 10px rgba(255, 43, 214, 0.35), 0 0 2px rgba(255, 255, 255, 0.4);
}

.lead {
    font-size: 1.06rem;
    color: var(--text-muted);
}

.meta-line {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-dim);
}

.prose {
    max-width: 78ch;
}

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

.prose strong {
    color: var(--text);
}

/* Amber-gold in-paragraph anchors */
.prose a:not([class]),
.seo-text a:not([class]),
p a:not([class]),
li a:not([class]) {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
    transition: text-shadow 0.2s ease, color 0.2s ease;
}

.prose a:not([class]):hover,
.seo-text a:not([class]):hover,
p a:not([class]):hover,
li a:not([class]):hover {
    color: #ffd47a;
    text-shadow: 0 0 10px rgba(255, 194, 71, 0.7);
}

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

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

.text-link:hover {
    text-shadow: 0 0 10px rgba(255, 194, 71, 0.7);
}

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

.grid-2,
.grid-3 {
    display: grid;
    gap: 16px;
}

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

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 48px;
    padding: 0.7em 1.4em;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn .icon {
    width: 20px;
    height: 20px;
}

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--magenta-solid-a), var(--magenta-solid-b));
    border-color: #ff6fe6;
    box-shadow: var(--glow-m);
}

.btn--primary:hover {
    box-shadow: 0 0 10px rgba(255, 43, 214, 0.8), 0 0 34px rgba(255, 43, 214, 0.45), 0 0 18px rgba(47, 243, 255, 0.25);
}

.btn--cyan {
    color: var(--cyan);
    background: rgba(8, 3, 15, 0.78);
    border-color: var(--cyan);
    box-shadow: inset 0 0 10px rgba(47, 243, 255, 0.18), 0 0 8px rgba(47, 243, 255, 0.3);
}

.btn--cyan:hover {
    background: rgba(18, 40, 60, 0.85);
    box-shadow: inset 0 0 12px rgba(47, 243, 255, 0.3), var(--glow-c);
}

.btn--magenta {
    color: var(--pink-text);
    background: rgba(8, 3, 15, 0.78);
    border-color: var(--magenta);
    box-shadow: inset 0 0 10px rgba(255, 43, 214, 0.18), 0 0 8px rgba(255, 43, 214, 0.3);
}

.btn--magenta:hover {
    background: rgba(48, 10, 52, 0.9);
    box-shadow: inset 0 0 12px rgba(255, 43, 214, 0.3), var(--glow-m);
}

.btn--sm {
    min-height: 44px;
    padding: 0.5em 1em;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: none;
}

.btn--lg {
    min-height: 56px;
    padding: 0.8em 1.8em;
    font-size: 1.08rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-row > .btn {
    flex: 1 1 220px;
    min-height: 52px;
}

.btn-row--compact > .btn {
    flex: 1 1 160px;
    min-height: 48px;
}

@media (min-width: 768px) {
    .btn-row > .btn,
    .btn-row--compact > .btn {
        flex: 0 0 auto;
        min-width: 210px;
    }
}

/* ============================================
   NEON FRAME (console panel)
   ============================================ */

.console,
.site-header__bar {
    position: relative;
}

.console {
    background: linear-gradient(160deg, rgba(36, 16, 66, 0.94), rgba(20, 9, 40, 0.96));
    border: 2px solid var(--magenta);
    border-radius: 8px;
    padding: clamp(16px, 3vw, 24px);
    box-shadow:
        var(--glow-m),
        inset 0 0 0 4px rgba(13, 6, 24, 0.9),
        inset 0 0 0 5px rgba(47, 243, 255, 0.5),
        inset 0 0 30px rgba(143, 91, 255, 0.12);
}

.console--cyan {
    border-color: var(--cyan);
    box-shadow:
        var(--glow-c),
        inset 0 0 0 4px rgba(13, 6, 24, 0.9),
        inset 0 0 0 5px rgba(255, 43, 214, 0.5),
        inset 0 0 30px rgba(143, 91, 255, 0.12);
}

/* Cyan corner brackets outside the frame */
.console::before,
.site-header__bar::before {
    content: "";
    position: absolute;
    inset: -7px;
    pointer-events: none;
    border-radius: 10px;
    background:
        linear-gradient(var(--cyan), var(--cyan)) top left / 34px 2px,
        linear-gradient(var(--cyan), var(--cyan)) top left / 2px 20px,
        linear-gradient(var(--cyan), var(--cyan)) top right / 34px 2px,
        linear-gradient(var(--cyan), var(--cyan)) top right / 2px 20px,
        linear-gradient(var(--cyan), var(--cyan)) bottom left / 34px 2px,
        linear-gradient(var(--cyan), var(--cyan)) bottom left / 2px 20px,
        linear-gradient(var(--cyan), var(--cyan)) bottom right / 34px 2px,
        linear-gradient(var(--cyan), var(--cyan)) bottom right / 2px 20px,
        linear-gradient(var(--cyan), var(--cyan)) left center / 2px 36px,
        linear-gradient(var(--cyan), var(--cyan)) right center / 2px 36px;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 4px rgba(47, 243, 255, 0.85));
}

.console--cyan::before {
    filter: drop-shadow(0 0 4px rgba(255, 43, 214, 0.85)) hue-rotate(110deg);
}

/* ============================================
   CONDUITS (circuit traces to viewport edges)
   ============================================ */

.conduits {
    display: none;
}

@media (min-width: 1024px) {
    .conduits {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        --gutter: calc((100% - min(100% - 2 * var(--pad), var(--container))) / 2 + 2px);
    }

    .conduits__side {
        position: absolute;
        top: calc(var(--conduit-y, 50%) - 130px);
        width: var(--gutter);
        max-width: none;
        height: 260px;
        opacity: 0.75;
        filter: drop-shadow(0 0 3px rgba(47, 243, 255, 0.55));
    }

    .conduits--slim .conduits__side {
        height: 200px;
        top: calc(var(--conduit-y, 50%) - 100px);
    }

    .conduits__side--left { left: 0; }

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

    .tr-c { stroke: var(--cyan); }
    .tr-m { stroke: var(--magenta); }
    .tr-v { stroke: var(--violet); opacity: 0.7; }
    .nd-c { fill: var(--cyan); }
    .nd-m { fill: var(--magenta); }
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 10px var(--pad) 8px;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(13, 6, 24, 0.92), rgba(13, 6, 24, 0.55) 70%, transparent);
    pointer-events: none;
}

.site-header__bar {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 14px;
    background: rgba(16, 7, 32, 0.96);
    border: 2px solid var(--magenta);
    border-radius: 8px;
    box-shadow: var(--glow-m), inset 0 0 18px rgba(255, 43, 214, 0.14);
}

.site-brand {
    margin-right: auto;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1rem, 4.2vw, 1.65rem);
    line-height: 1.1;
    color: var(--cyan);
    white-space: nowrap;
    text-shadow: 0 0 6px rgba(47, 243, 255, 0.75), 0 0 18px rgba(47, 243, 255, 0.35);
    letter-spacing: 0.01em;
}

.header-quick {
    padding-inline: 0.8em;
    font-size: 0.9rem;
}

.menu-toggle {
    flex: none;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(8, 3, 15, 0.8);
    border: 2px solid var(--cyan);
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(47, 243, 255, 0.3);
}

.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--cyan);
    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-menu {
    display: none;
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 59;
    flex-direction: column;
    gap: 24px;
    padding: 24px var(--pad) 32px;
    background: #10061f;
    border-top: 2px solid var(--magenta);
    overflow-y: auto;
    overscroll-behavior: contain;
}

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

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid rgba(143, 91, 255, 0.35);
}

.site-nav__link:hover {
    color: var(--cyan);
}

.site-nav__link[aria-current="page"] {
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(47, 243, 255, 0.6);
}

.header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.header-actions .btn {
    min-height: 52px;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .site-header__bar {
        gap: 12px;
        padding: 8px 10px 8px 18px;
    }

    .site-header__bar .header-quick,
    .site-header__bar .menu-toggle {
        display: none;
    }

    .site-menu {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
    }

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

    .site-nav__link {
        position: relative;
        min-height: 44px;
        padding: 0 0.7em;
        font-size: 0.98rem;
        border-bottom: 0;
        color: var(--text-muted);
    }

    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 0.7em;
        right: 0.7em;
        bottom: 6px;
        height: 3px;
        border-radius: 3px;
        background: var(--violet-line);
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
    }

    .site-nav__link:hover {
        color: #fff;
    }

    .site-nav__link:hover::after {
        background: var(--cyan);
        box-shadow: var(--glow-c);
    }

    .site-nav__link[aria-current="page"] {
        color: #fff;
        text-shadow: none;
    }

    .site-nav__link[aria-current="page"]::after {
        background: #fff;
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
    }

    .header-actions {
        display: flex;
        gap: 8px;
        padding-left: 14px;
        border-left: 1px solid rgba(143, 91, 255, 0.5);
    }

    .header-actions .btn {
        min-height: 44px;
        font-size: 0.95rem;
    }
}

@media (min-width: 1024px) {
    .site-nav__link {
        padding: 0 1em;
        font-size: 1.02rem;
    }

    .site-nav__link::after {
        left: 1em;
        right: 1em;
    }

    .header-actions .btn {
        padding-inline: 1.2em;
    }
}

/* ============================================
   HERO (full-bleed environment + integrated mascot)
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    margin-top: calc(-1 * var(--header-h));
    padding-top: calc(var(--header-h) + clamp(24px, 5vw, 56px));
    overflow: clip;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-color: #1a0b33;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 62% 35%;
}

.hero__scan {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 4px);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 32%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(13, 6, 24, 0), var(--bg) 92%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
}

.hero__copy {
    max-width: 620px;
}

.hero__plate {
    display: inline-block;
    max-width: 100%;
    margin: 0 0 14px;
    padding: 0.45em 0.7em;
    background: rgba(18, 7, 36, 0.9);
    border: 2px solid var(--magenta);
    border-radius: 4px;
    box-shadow: var(--glow-m), 0 0 30px rgba(47, 243, 255, 0.12);
}

.hero__plate h1 {
    margin: 0;
    text-shadow: 0 0 12px rgba(255, 43, 214, 0.4);
}

.hero__lead {
    margin: 0 0 20px;
    padding: 0.8em 1em;
    max-width: 56ch;
    font-size: 1.05rem;
    color: var(--text);
    background: rgba(13, 6, 24, 0.82);
    border-left: 3px solid var(--cyan);
    border-radius: 0 4px 4px 0;
}

.hero__note {
    margin: 14px 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(13, 6, 24, 0.82);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
}

.hero__copy .btn-row + .btn-row {
    margin-top: 12px;
}

.hero__mascot {
    position: relative;
    justify-self: center;
    width: 85%;
    max-width: 440px;
    margin-bottom: -1px;
}

.hero__mascot img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 99%);
    mask-image: linear-gradient(to bottom, #000 70%, transparent 99%);
}

.hero__glow {
    position: absolute;
    left: var(--glow-x, 30%);
    top: var(--glow-y, 44%);
    width: 52%;
    aspect-ratio: 1;
    translate: -50% -50%;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 200, 90, 0.6), rgba(255, 162, 46, 0.22) 45%, transparent 70%);
    animation: chip-pulse 4.5s ease-in-out infinite;
}

.hero__glow--cyan {
    background: radial-gradient(circle, rgba(255, 200, 90, 0.6), rgba(255, 162, 46, 0.2) 40%, rgba(47, 243, 255, 0.12) 58%, transparent 72%);
}

@keyframes chip-pulse {
    0%, 100% { opacity: 0.75; scale: 1; }
    50% { opacity: 1; scale: 1.08; }
}

[data-animate].is-offscreen .hero__glow {
    animation-play-state: paused;
}

@media (min-width: 768px) {
    .hero__inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        align-items: end;
    }

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

    .hero__copy {
        align-self: center;
        padding-bottom: 48px;
    }

    .hero__mascot {
        width: 100%;
        justify-self: end;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: min(820px, 100vh);
        display: flex;
        flex-direction: column;
    }

    .hero__inner {
        flex: 1;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }

    .hero__copy {
        padding-bottom: 96px;
    }

    .hero__mascot {
        max-width: 500px;
    }

    .hero__bg {
        background-position: center 40%;
    }
}

/* ============================================
   MISSION CARDS
   ============================================ */

.mission-card {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    background: rgba(13, 6, 24, 0.78);
    border: 1.5px solid var(--cyan);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.mission-card:hover,
.mission-card:focus-within {
    border-color: #8ff9ff;
    box-shadow: var(--glow-m);
}

.mission-card__icon {
    display: grid;
    place-items: center;
    padding: 12px 0;
    color: var(--cyan);
    background: rgba(6, 2, 12, 0.92);
    border-right: 1px solid rgba(47, 243, 255, 0.35);
}

.mission-card__icon .icon {
    width: 34px;
    height: 34px;
    filter: drop-shadow(0 0 4px rgba(255, 43, 214, 0.9));
}

.mission-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
}

.mission-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.mission-card__title {
    margin: 0 0 6px;
}

.mission-card__objective {
    margin: 0 0 6px;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    color: var(--cyan);
}

.mission-card__text {
    margin: 0;
    color: var(--text-muted);
}

.mission-card__actions {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
}

.mission-card--media {
    grid-template-columns: minmax(0, 1fr);
    background: rgba(20, 9, 40, 0.9);
}

.mission-card__media {
    margin: 10px 10px 0;
    border: 2px solid var(--magenta);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 43, 214, 0.35);
}

.mission-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
}

.xp-tag {
    flex: none;
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--gold);
    border: 1px solid rgba(255, 194, 71, 0.75);
    border-radius: 999px;
    background: rgba(40, 24, 6, 0.6);
    white-space: nowrap;
}

/* ============================================
   XP METER / TRACK
   ============================================ */

.xp-meter {
    position: relative;
    padding: 16px 18px;
    background: rgba(26, 11, 48, 0.94);
    border: 2px solid var(--magenta);
    border-radius: 8px;
    box-shadow: var(--glow-m), inset 0 0 20px rgba(143, 91, 255, 0.12);
}

.xp-meter__heading {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}

.xp-meter__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.xp-meter__label {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
}

.xp-meter__readout {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(47, 243, 255, 0.6);
}

.xp-meter__caption {
    margin: 10px 0 0;
    font-size: 0.875rem;
    color: var(--text-dim);
}

.xp-track {
    display: block;
    height: 12px;
    margin-top: 10px;
    border-radius: 999px;
    background: #0a0414;
    border: 1px solid rgba(255, 110, 199, 0.45);
    overflow: hidden;
}

.xp-track--thin {
    height: 8px;
}

.xp-track__fill {
    display: block;
    height: 100%;
    width: var(--fill, 65%);
    border-radius: inherit;
    background: linear-gradient(90deg, #d41fc0, var(--pink), #ffa4dc);
    box-shadow: 0 0 12px rgba(255, 110, 199, 0.8);
}

/* ============================================
   ACHIEVEMENT BADGES
   ============================================ */

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

.badge {
    padding: 16px 10px 14px;
    text-align: center;
    background: rgba(22, 10, 44, 0.85);
    border: 1px solid rgba(143, 91, 255, 0.55);
    border-radius: 8px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.badge:hover {
    border-color: rgba(143, 91, 255, 0.95);
    box-shadow: 0 0 16px rgba(143, 91, 255, 0.35);
}

.badge__emblem {
    display: inline-block;
    color: var(--gold);
}

.badge__emblem svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 5px currentColor);
}

.badge--cyan .badge__emblem { color: var(--cyan); }
.badge--violet .badge__emblem { color: #b48cff; }
.badge--pink .badge__emblem { color: var(--pink); }

.badge__name {
    margin: 10px 0 4px;
    font-size: 1rem;
}

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

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

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

/* ============================================
   NEON TABLE
   ============================================ */

.table-wrap {
    background: var(--surface);
    border: 2px solid var(--magenta);
    border-radius: 8px;
    box-shadow: var(--glow-m);
}

.neon-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
}

.neon-table caption {
    padding: 12px 16px;
    text-align: left;
    font-family: var(--font-mono);
    color: var(--text-dim);
    caption-side: bottom;
}

.neon-table thead th {
    padding: 14px 16px;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--pink-text);
    background: linear-gradient(180deg, #3a0f4f, #26093a);
    border-bottom: 2px solid var(--magenta);
}

.neon-table tbody th,
.neon-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid rgba(47, 243, 255, 0.28);
}

.neon-table tbody th {
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
}

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

.neon-table tbody tr:nth-child(odd) { background: #1b0c33; }
.neon-table tbody tr:nth-child(even) { background: #130827; }

.cell-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cell-icon .icon {
    width: 22px;
    height: 22px;
    color: var(--cyan);
    filter: drop-shadow(0 0 3px rgba(47, 243, 255, 0.6));
}

@media (max-width: 767.98px) {
    .table-wrap {
        background: transparent;
        border: 0;
        box-shadow: none;
    }

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

    .neon-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .neon-table tr {
        margin-bottom: 12px;
        border: 1.5px solid var(--cyan);
        border-left: 4px solid var(--magenta);
        border-radius: 8px;
        overflow: hidden;
    }

    .neon-table tbody th,
    .neon-table td {
        border-top: 1px solid rgba(47, 243, 255, 0.22);
        padding: 10px 14px;
    }

    .neon-table tbody th {
        border-top: 0;
        background: rgba(58, 15, 79, 0.75);
    }

    .neon-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-family: var(--font-mono);
        font-size: 0.875rem;
        color: var(--cyan);
    }
}

/* ============================================
   STEPS
   ============================================ */

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

.step-card {
    position: relative;
    padding: 20px;
    background: rgba(20, 9, 40, 0.9);
    border: 1.5px solid var(--cyan);
    border-radius: 8px;
    transition: box-shadow 0.25s ease;
}

.step-card:hover {
    box-shadow: var(--glow-m);
}

.step-card__num {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    background: radial-gradient(circle, var(--magenta-solid-b), #4f0d63);
    border: 2px solid var(--pink);
    border-radius: 50%;
    box-shadow: var(--glow-m);
}

.step-card__title {
    margin-bottom: 6px;
}

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

.step-card .xp-track {
    margin-top: 14px;
}

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

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-list {
    display: grid;
    gap: 12px;
    align-items: start;
    max-width: 860px;
}

.faq-item {
    background: #1d0d37;
    border: 1px solid rgba(143, 91, 255, 0.45);
    border-left: 4px solid var(--magenta);
    border-radius: 6px;
    transition: box-shadow 0.2s ease;
}

.faq-item[open] {
    box-shadow: 0 0 14px rgba(255, 43, 214, 0.25);
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    padding: 14px 18px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.06rem;
    color: #fff;
    cursor: pointer;
    list-style: none;
}

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

.faq-item__q:hover {
    color: var(--cyan);
}

.faq-item__chev {
    width: 24px;
    height: 24px;
    color: var(--cyan);
    transition: transform 0.25s ease;
}

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

.faq-item__a {
    padding: 0 18px 16px;
}

.faq-item__a p {
    margin: 0;
    color: var(--text-muted);
}

/* ============================================
   PAYMENT CATEGORY GRID + CHIPS
   ============================================ */

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

.pay-tile {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    min-height: 52px;
    border-radius: 6px;
    color: #c6a8ff;
    background: rgba(58, 29, 99, 0.55);
    border: 1.5px solid rgba(143, 91, 255, 0.8);
}

.pay-tile:nth-child(even) {
    color: var(--cyan);
    background: rgba(20, 60, 80, 0.35);
    border-color: rgba(47, 243, 255, 0.75);
}

.pay-tile .icon {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 3px currentColor);
}

.pay-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pay-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 0.875rem;
    color: var(--text);
    border: 1px solid rgba(47, 243, 255, 0.6);
    border-radius: 6px;
    background: rgba(8, 3, 15, 0.6);
}

.pay-chip .icon {
    width: 18px;
    height: 18px;
    color: var(--cyan);
}

/* ============================================
   ART: chest, shield, seal
   ============================================ */

.chest-art {
    display: block;
    width: clamp(110px, 22vw, 150px);
    height: auto;
    margin-inline: auto;
    color: var(--gold);
    filter: drop-shadow(0 0 6px rgba(255, 194, 71, 0.8)) drop-shadow(0 0 18px rgba(255, 162, 46, 0.45));
}

.shield-art {
    display: block;
    width: clamp(88px, 14vw, 120px);
    height: auto;
    filter: drop-shadow(0 0 10px rgba(143, 91, 255, 0.35));
}

.seal-art {
    display: block;
    width: 112px;
    height: auto;
    color: #b3a6d6;
}

/* ============================================
   RESPONSIBLE GAMING PANEL
   ============================================ */

.rg-panel {
    position: relative;
    display: grid;
    gap: 18px;
    padding: clamp(20px, 4vw, 32px);
    background: linear-gradient(135deg, #221c45, #18122f);
    border: 1px solid rgba(47, 243, 255, 0.7);
    border-radius: 8px;
    box-shadow: 0 0 18px rgba(47, 243, 255, 0.14), inset 0 0 24px rgba(13, 6, 24, 0.5);
}

.rg-panel__title {
    margin-bottom: 0.4em;
}

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

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

.rg-panel__art {
    justify-self: center;
}

@media (min-width: 768px) {
    .rg-panel {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 32px;
    }

    .rg-panel__art {
        padding-right: 12px;
    }
}

/* ============================================
   PHONE MOCKUP (code-native UI)
   ============================================ */

.phone {
    position: relative;
    width: 100%;
    max-width: 210px;
    aspect-ratio: 9 / 18;
    padding: 9px;
    background: #07020e;
    border: 2px solid var(--cyan);
    border-radius: 28px;
    box-shadow: var(--glow-c), 0 18px 40px rgba(255, 43, 214, 0.2);
}

.phone::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 50%;
    width: 34%;
    height: 6px;
    translate: -50% 0;
    border-radius: 6px;
    background: #1a0c30;
    z-index: 1;
}

.phone__screen {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 20px 10px 10px;
    border-radius: 20px;
    background: linear-gradient(180deg, #2b1252, #170829 70%);
    overflow: hidden;
}

.ph-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ph-avatar {
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    box-shadow: 0 0 6px rgba(255, 194, 71, 0.7);
}

.ph-dot {
    flex: none;
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--magenta);
    box-shadow: 0 0 6px var(--magenta);
}

.ph-line {
    display: block;
    height: 6px;
    border-radius: 6px;
    background: #6c4ba8;
}

.ph-line--bright { background: #d9c8ff; height: 9px; }
.ph-line--w40 { width: 40%; }
.ph-line--w60 { width: 60%; }
.ph-line--w70 { width: 70%; }

.ph-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ph-xp {
    padding: 8px;
    border: 1px solid rgba(255, 43, 214, 0.7);
    border-radius: 8px;
    background: rgba(13, 6, 24, 0.6);
}

.ph-xp .xp-track {
    margin-top: 6px;
}

.ph-mission,
.ph-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(47, 243, 255, 0.7);
    border-radius: 8px;
    background: rgba(8, 3, 15, 0.55);
}

.ph-mission .icon,
.ph-row .icon {
    width: 18px;
    height: 18px;
    color: var(--cyan);
}

.ph-row .icon:last-child {
    width: 14px;
    height: 14px;
    rotate: -90deg;
    color: var(--violet);
}

.ph-mission--dim {
    border-color: rgba(143, 91, 255, 0.6);
}

.ph-mission--dim .icon {
    color: var(--gold);
}

.ph-tabs {
    display: flex;
    gap: 6px;
}

.ph-tabs span {
    flex: 1;
    height: 14px;
    border-radius: 8px;
    border: 1px solid rgba(143, 91, 255, 0.7);
}

.ph-tabs .is-on {
    background: linear-gradient(90deg, var(--magenta-solid-a), var(--magenta-solid-b));
    border-color: var(--pink);
}

.ph-tiles {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.ph-tile {
    display: grid;
    place-items: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 43, 214, 0.6);
    color: #fff;
}

.ph-tile .icon {
    width: 20px;
    height: 20px;
}

.ph-tile--1 { background: linear-gradient(135deg, #ff2bd6, #5b1a9a); }
.ph-tile--2 { background: linear-gradient(135deg, #2ff3ff, #2a3c9a); color: #0d0618; }
.ph-tile--3 { background: linear-gradient(135deg, #ffa22e, #8a1f6a); }
.ph-tile--4 { background: linear-gradient(135deg, #8f5bff, #26105a); }
.ph-tile--5 { background: linear-gradient(135deg, #ff6ec7, #3a145e); }
.ph-tile--6 { background: linear-gradient(135deg, #ffc247, #6a2a8a); color: #0d0618; }

.ph-balance {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 8px;
    background: rgba(13, 6, 24, 0.6);
    border: 1px solid rgba(255, 194, 71, 0.55);
}

.ph-button {
    display: block;
    height: 24px;
    margin-top: auto;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--magenta-solid-a), var(--magenta-solid-b));
    box-shadow: 0 0 8px rgba(255, 43, 214, 0.6);
}

.ph-nav {
    display: flex;
    justify-content: space-around;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(143, 91, 255, 0.45);
}

.phone--cashier .ph-nav {
    margin-top: 0;
}

.ph-nav span {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1.5px solid #7d5cc0;
}

.ph-nav .is-on {
    border-color: var(--cyan);
    box-shadow: 0 0 6px rgba(47, 243, 255, 0.7);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    position: relative;
    padding: clamp(40px, 6vw, 72px) 0 32px;
    overflow: clip;
}

.site-footer > .container {
    position: relative;
    z-index: 1;
}

.site-footer__grid {
    display: grid;
    gap: 26px;
}

.footer-title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
}

.footer-links {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

.footer-links a[aria-current="page"] {
    color: var(--cyan);
}

.footer-trust__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.age-ring {
    width: 84px;
    height: 84px;
    color: #c9b7f2;
    filter: drop-shadow(0 0 6px rgba(143, 91, 255, 0.5));
}

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

.site-footer__bottom {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(143, 91, 255, 0.35);
    font-size: 0.9rem;
    color: var(--text-dim);
}

.site-footer__bottom p {
    margin: 0 0 8px;
}

.site-footer__bottom p:last-child {
    margin: 0;
}

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

    .footer-trust__badges {
        justify-content: flex-end;
    }

    .footer-trust__text {
        text-align: right;
    }
}

/* ============================================
   RESPONSIVE GRIDS
   ============================================ */

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

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

    .site-main::before,
    .site-main::after {
        width: min(10vw, 160px);
        opacity: 0.38;
    }
}

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

    .site-main::before,
    .site-main::after {
        top: 70vh;
        width: min(13vw, 240px);
        opacity: 0.42;
    }
}

/* ============================================
   HOME: DECK (missions, XP, achievements, slots)
   ============================================ */

.deck {
    padding-bottom: clamp(32px, 5vw, 56px);
}

.deck__row {
    display: grid;
    gap: 40px;
}

.deck__row + .deck__row {
    margin-top: 40px;
}

section.deck__block {
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.deck__title {
    font-size: clamp(1.4rem, 4.5vw, 1.75rem);
    margin-bottom: 14px;
}

.deck__panel {
    flex: 1;
}

.deck__intro {
    color: var(--text-muted);
}

.deck__xp-text {
    margin: 16px 0 0;
    color: var(--text-muted);
}

.mission-grid {
    display: grid;
    gap: 14px;
}

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

.slot-tile__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
    border-radius: 8px;
}

.slot-tile__well {
    display: block;
    border: 2px solid var(--magenta);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 43, 214, 0.35);
}

.slot-tile__well img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slot-tile__cap {
    flex: 1;
    display: block;
    margin-top: 6px;
    padding: 8px 10px;
    background: rgba(13, 6, 24, 0.85);
    border: 1.5px solid var(--cyan);
    border-radius: 8px;
    transition: box-shadow 0.25s ease;
}

.slot-tile__name {
    margin: 0 0 2px;
    font-size: 0.98rem;
}

.slot-tile__text {
    display: block;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.slot-tile__link:hover .slot-tile__well img,
.slot-tile__link:focus-visible .slot-tile__well img {
    transform: scale(1.05);
}

.slot-tile__link:hover .slot-tile__cap,
.slot-tile__link:focus-visible .slot-tile__cap {
    box-shadow: var(--glow-c);
}

.slot-panel__foot {
    margin-top: 12px;
}

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

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

@media (min-width: 1024px) {
    .deck__title {
        font-size: 1.75rem;
    }

    .deck__row--top {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        column-gap: 48px;
        align-items: center;
    }

    .deck__row + .deck__row {
        margin-top: 0;
    }

    .deck__row--bottom {
        position: relative;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
        padding-top: 56px;
    }

    /* Four-strand bundle: Mission Console bottom -> Achievements panel top */
    .deck__row--bottom::before {
        content: "";
        position: absolute;
        top: 0;
        left: calc(50% - 16px - 60px);
        width: 44px;
        height: calc(72px + 2.0125rem);
        z-index: 0;
        pointer-events: none;
        opacity: 0.8;
        background:
            linear-gradient(var(--cyan), var(--cyan)) 0 0 / 2px 100% no-repeat,
            linear-gradient(var(--magenta), var(--magenta)) 14px 0 / 2px 100% no-repeat,
            linear-gradient(var(--cyan), var(--cyan)) 28px 0 / 2px 100% no-repeat,
            linear-gradient(var(--magenta), var(--magenta)) 42px 0 / 2px 100% no-repeat;
        filter: drop-shadow(0 0 3px rgba(47, 243, 255, 0.7));
    }

    /* Single trace: Mission Console -> Level & XP */
    .deck__xp .xp-meter::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 100%;
        width: 50px;
        height: 8px;
        translate: 0 -50%;
        pointer-events: none;
        opacity: 0.85;
        background:
            linear-gradient(var(--cyan), var(--cyan)) 0 0 / 100% 2px no-repeat,
            linear-gradient(var(--magenta), var(--magenta)) 0 100% / 100% 2px no-repeat;
        filter: drop-shadow(0 0 3px rgba(47, 243, 255, 0.7));
    }

    .deck .badge {
        padding: 14px 6px 12px;
    }

    .deck .badge__emblem svg {
        width: 52px;
        height: 52px;
    }

    .deck .badge__name {
        font-size: 0.95rem;
    }
}

/* ============================================
   HOME: APP / PAYMENTS / BONUS TRIO
   ============================================ */

.trio {
    position: relative;
    display: grid;
    gap: 20px;
}

.trio-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    background: linear-gradient(160deg, #24104a, #150a2b);
    border: 2px solid var(--magenta);
    border-radius: 8px;
    box-shadow: var(--glow-m), inset 0 0 24px rgba(143, 91, 255, 0.12);
}

.trio-card__title {
    margin: 0;
}

.trio-card__text {
    margin: 0;
    color: var(--text-muted);
}

.trio-card__actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.trio-card__phone {
    display: flex;
    justify-content: center;
}

.trio-card__phone .phone {
    max-width: 140px;
}

.trio-card__phone .ph-mission--dim {
    display: none;
}

.trio-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trio-card__body .text-link {
    align-self: flex-start;
}

.trio-card__downloads {
    display: grid;
    gap: 8px;
}

.trio-card__downloads .btn {
    width: 100%;
}

@media (min-width: 480px) {
    .trio-card--app {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        align-items: start;
        gap: 16px;
    }

    .trio-card__phone .phone {
        max-width: 120px;
    }
}

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

    .trio::before {
        content: "";
        position: absolute;
        left: -14px;
        right: -14px;
        top: 50%;
        height: 8px;
        translate: 0 -50%;
        z-index: 0;
        pointer-events: none;
        opacity: 0.8;
        background:
            linear-gradient(var(--cyan), var(--cyan)) 0 0 / 100% 2px no-repeat,
            linear-gradient(var(--magenta), var(--magenta)) 0 100% / 100% 2px no-repeat;
        filter: drop-shadow(0 0 3px rgba(47, 243, 255, 0.7));
    }
}

/* ============================================
   HOME: SEO TEXT + CTA BAND
   ============================================ */

.seo-text h2 {
    margin-bottom: 0.7em;
}

.cta-band__panel {
    display: grid;
    gap: 20px;
    background:
        radial-gradient(circle at 80% 55%, rgba(255, 162, 46, 0.16), transparent 45%),
        linear-gradient(160deg, rgba(48, 18, 82, 0.96), rgba(20, 9, 40, 0.97));
}

.cta-band__copy .lead {
    color: var(--text);
}

.cta-band__art {
    position: relative;
    isolation: isolate;
    justify-self: center;
    width: min(220px, 70%);
    --glow-x: 30%;
    --glow-y: 44%;
}

.cta-band__art img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 99%);
    mask-image: linear-gradient(to bottom, #000 72%, transparent 99%);
}

.cta-band.is-offscreen .hero__glow {
    animation-play-state: paused;
}

@media (min-width: 768px) {
    .cta-band__panel {
        grid-template-columns: minmax(0, 1fr) 240px;
        align-items: center;
        gap: 32px;
    }

    .cta-band__art {
        width: 100%;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

/* ============================================
   PROMO PAGE
   ============================================ */

.hero--promo .hero__mascot {
    --glow-x: 34%;
    --glow-y: 46%;
}

.hero--promo .hero__bg {
    background-position: 60% 40%;
}

.split {
    display: grid;
    gap: 28px;
    align-items: start;
}

.callout {
    padding: 20px;
    background: linear-gradient(135deg, #221c45, #18122f);
    border: 1px solid rgba(47, 243, 255, 0.7);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 0 18px rgba(47, 243, 255, 0.14), inset 0 0 24px rgba(13, 6, 24, 0.5);
}

.callout__title {
    margin: 0 0 12px;
    font-size: 1.15rem;
}

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

.callout__list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-muted);
}

.callout__list .icon {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    color: var(--gold);
    filter: drop-shadow(0 0 3px rgba(255, 194, 71, 0.6));
}

.answer {
    margin: 0;
    padding: 0.8em 1em;
    max-width: 78ch;
    font-size: 1.06rem;
    color: var(--text);
    background: rgba(13, 6, 24, 0.75);
    border-left: 3px solid var(--cyan);
    border-radius: 0 6px 6px 0;
}

.table-note {
    margin: 16px 0 0;
    max-width: 78ch;
    padding: 0.6em 1em;
    color: var(--text-muted);
    border-left: 3px solid var(--magenta);
    background: rgba(13, 6, 24, 0.7);
    border-radius: 0 6px 6px 0;
}

.section-cta {
    margin-top: 28px;
    display: flex;
}

.section-cta .btn {
    flex: 1 1 240px;
}

@media (min-width: 768px) {
    .section-cta .btn {
        flex: 0 0 auto;
        min-width: 240px;
    }
}

/* Steps with circuit trace */
.steps-wrap {
    position: relative;
}

.steps-trace {
    display: none;
}

.steps--trail {
    position: relative;
    padding-left: 30px;
}

.steps--trail::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(47, 243, 255, 0.8);
}

.steps--trail .step-card {
    display: flex;
    flex-direction: column;
}

.steps--trail .step-card::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 28px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(47, 243, 255, 0.9);
}

.steps--trail .step-card__text {
    margin-bottom: 14px;
}

.steps--trail .step-card .xp-track {
    margin-top: auto;
}

@media (min-width: 1024px) {
    .steps--trail {
        padding-left: 0;
        gap: 40px;
        position: relative;
        z-index: 1;
    }

    .steps--trail::before,
    .steps--trail .step-card::before {
        display: none;
    }

    .steps-trace {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 43px;
        z-index: 0;
        overflow: visible;
        filter: drop-shadow(0 0 4px rgba(47, 243, 255, 0.8));
    }

    .steps-trace line {
        stroke: var(--cyan);
        stroke-width: 2;
    }

    .steps-trace circle {
        fill: var(--cyan);
    }
}

/* Missions with mascot */
.missions-split {
    display: grid;
    gap: 24px;
    align-items: center;
}

.missions-split__art {
    position: relative;
    isolation: isolate;
    justify-self: center;
    width: min(340px, 80%);
    --glow-x: 70%;
    --glow-y: 62%;
}

.missions-split__art img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
    mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
}

.missions-split__panel .mission-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 16px;
}

.missions.is-offscreen .hero__glow,
.cta-final.is-offscreen .hero__glow {
    animation-play-state: paused;
}

@media (min-width: 1024px) {
    .missions-split {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
        gap: 44px;
    }

    .missions-split__art {
        width: 100%;
    }
}

/* Wagering formula chips */
.formula {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 22px 0;
}

.formula__chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    background: rgba(8, 3, 15, 0.85);
    border: 2px solid var(--cyan);
    border-radius: 999px;
    box-shadow: inset 0 0 10px rgba(47, 243, 255, 0.18), var(--glow-c);
}

.formula__op {
    flex: none;
    width: 26px;
    height: 26px;
    color: var(--pink);
    filter: drop-shadow(0 0 4px rgba(255, 110, 199, 0.8));
}

/* Tips checklist */
.tip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.tip {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px 16px;
    background: rgba(22, 10, 44, 0.85);
    border: 1px solid rgba(143, 91, 255, 0.55);
    border-radius: 8px;
}

.tip__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    color: var(--gold);
    filter: drop-shadow(0 0 4px currentColor);
}

.tip:nth-child(even) .tip__icon {
    color: var(--cyan);
}

.tip__icon .icon {
    width: 24px;
    height: 24px;
}

.tip__title {
    margin: 0 0 2px;
    font-size: 1.02rem;
}

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

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

    .tip-list .tip:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* Licence panel */
.licence {
    display: grid;
    gap: 20px;
    align-items: center;
    padding: clamp(20px, 4vw, 32px);
    background: linear-gradient(135deg, #1c1738, #150f2b);
    border: 1px solid var(--cyan);
    border-radius: 8px;
    box-shadow: 0 0 18px rgba(47, 243, 255, 0.18), inset 0 0 24px rgba(13, 6, 24, 0.5);
}

.licence__art {
    justify-self: center;
}

.licence .seal-art {
    width: 140px;
    height: auto;
}

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

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

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

/* Final CTA */
.final-cta {
    display: grid;
    justify-items: center;
    gap: 14px;
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 162, 46, 0.2), transparent 50%),
        linear-gradient(160deg, rgba(48, 18, 82, 0.96), rgba(20, 9, 40, 0.97));
}

.final-cta .chest-art {
    width: clamp(120px, 26vw, 170px);
}

.final-cta .section-title,
.final-cta .lead {
    margin: 0;
}

.final-cta .lead {
    color: var(--text);
    max-width: 56ch;
}

.final-cta .btn {
    width: min(100%, 320px);
}

.final-cta__note {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   SLOTS PAGE
   ============================================ */

.hero--slots .hero__bg {
    background-position: 58% 42%;
}

.hero--slots .hero__mascot {
    --glow-x: 52%;
    --glow-y: 13%;
}

.hero--slots .hero__glow {
    width: 36%;
}

/* Category mission cards with cut corners */
.cat-wrap {
    position: relative;
}

.cat-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
}

.cat-trace {
    display: none;
}

.cat-grid .mission-card {
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.cat-grid .mission-card::before,
.cat-grid .mission-card::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    z-index: 2;
    pointer-events: none;
}

.cat-grid .mission-card::before {
    top: 0;
    right: 0;
    background: linear-gradient(to top right, transparent calc(50% - 2px), var(--cyan) calc(50% - 2px), var(--cyan) 50%, transparent 50%);
}

.cat-grid .mission-card::after {
    bottom: 0;
    left: 0;
    background: linear-gradient(to top right, transparent 50%, var(--cyan) 50%, var(--cyan) calc(50% + 2px), transparent calc(50% + 2px));
}

.cat-grid .mission-card__text {
    font-size: 0.96rem;
}

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

    .cat-trace {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
    }

    .cat-trace svg {
        display: block;
        width: 100%;
        height: 100%;
        overflow: visible;
        filter: drop-shadow(0 0 3px rgba(47, 243, 255, 0.7));
    }

    .cat-trace__c,
    .cat-trace__m {
        stroke-width: 2;
    }

    .cat-trace__c { stroke: var(--cyan); }
    .cat-trace__m { stroke: var(--magenta); }
    .cat-trace__v1 { transform: translateX(-4px); }
    .cat-trace__v2 { transform: translateX(4px); }
    .cat-trace__h1 { transform: translateY(-4px); }
    .cat-trace__h2 { transform: translateY(4px); }
}

/* Levels + rank meter */
.levels-split {
    display: grid;
    gap: 28px;
    align-items: center;
}

.levels-split__copy p {
    color: var(--text-muted);
}

.rank-panel {
    padding: clamp(18px, 3vw, 26px);
    background: linear-gradient(160deg, #2a1550, #1a0b33);
    border: 2px solid var(--violet);
    border-radius: 8px;
    box-shadow: 0 0 18px rgba(143, 91, 255, 0.35), inset 0 0 24px rgba(13, 6, 24, 0.5);
}

.rank-panel__title {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.rank-row__lv {
    padding: 8px 0;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    color: var(--cyan);
    border: 1.5px solid var(--cyan);
    border-radius: 6px;
    background: rgba(8, 3, 15, 0.7);
    text-shadow: 0 0 8px rgba(47, 243, 255, 0.6);
}

.rank-row__name {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
}

.rank-panel__caption {
    margin: 16px 0 0;
    font-size: 0.875rem;
    color: var(--text-dim);
}

@media (min-width: 768px) {
    .levels-split {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 40px;
    }
}

/* Choose a slot */
.choose__text {
    margin-top: 20px;
}

.choose__table {
    margin-top: 24px;
}

/* ============================================
   APP PAGE
   ============================================ */

.hero--app .hero__bg {
    background-position: 38% 40%;
}

.hero--app .hero__mascot {
    --glow-x: 68%;
    --glow-y: 62%;
}

/* Strong warm glow on the chip */
.hero--app .hero__glow {
    width: 30%;
    background: radial-gradient(circle, rgba(255, 214, 120, 0.9), rgba(255, 162, 46, 0.38) 40%, transparent 70%);
}

/* Softer cyan glow around the phone */
.hero--app .hero__mascot::before {
    content: "";
    position: absolute;
    left: 30%;
    top: 46%;
    width: 44%;
    aspect-ratio: 1;
    translate: -50% -50%;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(47, 243, 255, 0.3), rgba(47, 243, 255, 0.1) 45%, transparent 70%);
}

.cta-band__art--app {
    --glow-x: 68%;
    --glow-y: 62%;
}

.cta-band__art--app .hero__glow {
    width: 36%;
}

/* Feature grid */
.app-feature-grid {
    grid-template-columns: minmax(0, 1fr);
}

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

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

/* Install steps */
.install {
    display: grid;
    gap: 32px;
}

.install__title {
    margin: 0 0 18px;
    font-size: 1.3rem;
}

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

.istep {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 22px;
}

.istep:last-child {
    padding-bottom: 0;
}

.istep__num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    background: radial-gradient(circle, var(--magenta-solid-b), #4f0d63);
    border: 2px solid var(--pink);
    border-radius: 50%;
    box-shadow: var(--glow-m);
}

.console--cyan .istep__num {
    background: radial-gradient(circle, #127a88, #06323a);
    border-color: var(--cyan);
    box-shadow: var(--glow-c);
}

.istep__text {
    margin: 0;
    padding-top: 8px;
    color: var(--text-muted);
}

.istep__trace {
    position: absolute;
    left: 0;
    top: 46px;
    width: 44px;
    height: calc(100% - 46px);
    max-width: none;
    overflow: visible;
    pointer-events: none;
    filter: drop-shadow(0 0 3px rgba(255, 43, 214, 0.8));
}

.istep__trace line {
    stroke: var(--magenta);
    stroke-width: 2;
}

.istep__trace circle {
    fill: var(--magenta);
}

.console--cyan .istep__trace {
    filter: drop-shadow(0 0 3px rgba(47, 243, 255, 0.8));
}

.console--cyan .istep__trace line {
    stroke: var(--cyan);
}

.console--cyan .istep__trace circle {
    fill: var(--cyan);
}

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

.install__foot-text {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.install__foot .btn {
    flex: 1 1 240px;
}

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

    .install__foot .btn {
        flex: 0 0 auto;
        min-width: 220px;
    }
}

/* Phone screens */
.screens-wrap {
    position: relative;
}

.screens-wrap::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 72px;
    height: 80px;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(255, 43, 214, 0.5), transparent 70%);
    filter: blur(14px);
}

.screens {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 20px;
    padding: 16px 4px 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--violet) transparent;
}

.screen {
    flex: 0 0 min(230px, 68vw);
    margin: 0;
    scroll-snap-align: center;
}

.screen .phone {
    width: 100%;
    max-width: none;
    margin-inline: auto;
}

.screen figcaption {
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.screen__name {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}

@media (min-width: 768px) {
    .screens {
        justify-content: center;
        overflow: visible;
        scroll-snap-type: none;
    }

    .screen {
        flex: 0 0 200px;
    }
}

@media (min-width: 1024px) {
    .screens {
        gap: 44px;
        padding-top: 30px;
    }

    .screen {
        flex: 0 0 240px;
    }

    .screen:nth-child(1) .phone {
        rotate: -5deg;
        translate: 0 10px;
    }

    .screen:nth-child(2) .phone {
        translate: 0 -14px;
    }

    .screen:nth-child(3) .phone {
        rotate: 5deg;
        translate: 0 10px;
    }

    .screen:nth-child(2) figcaption {
        margin-top: 6px;
    }
}

/* Fast login */
.login-split,
.notify-split {
    display: grid;
    gap: 28px;
    align-items: center;
}

.login-split__copy p,
.notify-split__copy p {
    color: var(--text-muted);
}

.login-split__copy .answer {
    color: var(--text);
    margin-bottom: 1em;
}

.flow {
    position: relative;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.flow::before,
.flow::after {
    content: "";
    position: absolute;
    left: 21%;
    right: 21%;
    top: 21px;
    height: 6px;
    border-radius: 6px;
}

.flow::before {
    background: #0a0414;
    border: 1px solid rgba(255, 110, 199, 0.45);
}

.flow::after {
    background: linear-gradient(90deg, #d41fc0, var(--pink));
    box-shadow: 0 0 12px rgba(255, 110, 199, 0.8);
}

.flow__node {
    position: relative;
    z-index: 1;
    width: 42%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.flow__dot {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--cyan);
    background: #08030f;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    box-shadow: var(--glow-c);
}

.flow__step {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--cyan);
}

.flow__name {
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
}

.login-flow .btn-row > .btn {
    flex: 1 1 140px;
}

/* Toggle panel */
.toggle-panel__title {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
}

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

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(8, 3, 15, 0.6);
    border: 1px solid rgba(143, 91, 255, 0.55);
    border-radius: 8px;
}

.toggle-row__label {
    font-weight: 600;
    color: var(--text);
}

.toggle {
    position: relative;
    flex: none;
    width: 52px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid var(--violet);
    background: #170b2b;
}

.toggle::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #8f7bc4;
}

.toggle--on {
    border-color: var(--cyan);
    background: rgba(47, 243, 255, 0.18);
    box-shadow: var(--glow-c);
}

.toggle--on::after {
    left: 27px;
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(47, 243, 255, 0.9);
}

.toggle-panel__note {
    margin: 14px 0 0;
    font-size: 0.875rem;
    color: var(--text-dim);
}

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

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

/* ============================================
   PAYMENTS PAGE
   ============================================ */

.hero--payments .hero__bg {
    background-position: 42% 45%;
}

.hero--payments .hero__mascot {
    --glow-x: 30%;
    --glow-y: 38%;
}

.hero--payments .hero__glow {
    width: 34%;
}

.cta-band__art--pay {
    --glow-x: 30%;
    --glow-y: 38%;
}

.cta-band__art--pay .hero__glow {
    width: 36%;
}

/* Category grid linked to the table frame */
.pay-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    padding-bottom: 44px;
}

.pay-showcase .pay-grid {
    width: min(100%, 300px);
    padding: 14px;
    background: rgba(13, 6, 24, 0.78);
    border: 1.5px solid var(--cyan);
    border-radius: 8px;
    box-shadow: var(--glow-c);
}

.pay-showcase::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 12px;
    height: 44px;
    translate: -50% 0;
    pointer-events: none;
    background:
        linear-gradient(var(--cyan), var(--cyan)) 0 0 / 2px 100% no-repeat,
        linear-gradient(var(--magenta), var(--magenta)) 10px 0 / 2px 100% no-repeat;
    filter: drop-shadow(0 0 3px rgba(47, 243, 255, 0.7));
}

.methods .table-wrap {
    position: relative;
}

/* Minimum deposit split */
.split--deposit .prose {
    margin-top: 16px;
}

@media (min-width: 768px) {
    .split--deposit {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        gap: 40px;
    }
}

/* Withdrawal pipeline */
.pipeline {
    position: relative;
    margin-bottom: 32px;
}

.pipeline__list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 22px;
}

.pipe-node {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
}

.pipe-node__dot {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--cyan);
    background: #08030f;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    box-shadow: var(--glow-c);
}

.pipe-node__title {
    margin: 0 0 2px;
    font-size: 1.05rem;
}

.pipe-node__text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.pipeline__conduit {
    position: absolute;
    left: 16px;
    top: 22px;
    bottom: 22px;
    width: 12px;
    z-index: 0;
    pointer-events: none;
}

.pipeline__conduit svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 0 4px rgba(47, 243, 255, 0.85));
}

.pipeline__conduit line {
    stroke: var(--cyan);
    stroke-width: 2;
}

.pipeline__conduit .pl-h {
    display: none;
}

.pipeline__pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    translate: -50% -50%;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px var(--cyan), 0 0 22px var(--magenta);
    animation: pipe-pulse-y 3.6s linear infinite;
}

@keyframes pipe-pulse-y {
    from { top: 0; }
    to { top: 100%; }
}

@keyframes pipe-pulse-x {
    from { left: 0; }
    to { left: 100%; }
}

.pipeline.is-offscreen .pipeline__pulse {
    animation-play-state: paused;
}

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

    .pipe-node {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
        row-gap: 10px;
    }

    .pipeline__conduit {
        left: 12.5%;
        right: 12.5%;
        top: 16px;
        bottom: auto;
        width: auto;
        height: 12px;
    }

    .pipeline__conduit .pl-v {
        display: none;
    }

    .pipeline__conduit .pl-h {
        display: block;
    }

    .pipeline__pulse {
        animation-name: pipe-pulse-x;
    }
}

.timing .table-wrap {
    margin-top: 8px;
}

.timing__fees {
    margin-top: 28px;
}

.timing__fees h3 {
    margin-bottom: 0.4em;
}

/* Five-step withdrawal missions */
.steps--five .step-card__num {
    text-shadow: 0 0 10px #fff, 0 0 18px var(--magenta);
}

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

    .steps--five .step-card:nth-child(5) {
        grid-column: 1 / -1;
    }
}

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

    .steps--five .step-card {
        grid-column: span 2;
    }

    .steps--five .step-card:nth-child(4) {
        grid-column: 2 / 4;
    }

    .steps--five .step-card:nth-child(5) {
        grid-column: 4 / 6;
    }
}

.segbar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin-top: 26px;
}

.segbar span {
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #d41fc0, var(--pink), #ffa4dc);
    border: 1px solid rgba(255, 110, 199, 0.45);
    box-shadow: 0 0 12px rgba(255, 110, 199, 0.8);
}

.segbar__caption {
    margin: 8px 0 0;
}

.steps-note {
    margin: 20px 0 0;
    max-width: 78ch;
    color: var(--text-muted);
}

/* KYC panel */
.kyc {
    display: grid;
    gap: 28px;
    align-items: center;
}

.kyc .prose h2 {
    margin-bottom: 0.7em;
}

.kyc-panel {
    display: grid;
    gap: 18px;
    align-items: center;
    padding: clamp(18px, 3vw, 26px);
    background: linear-gradient(160deg, #1c1738, #150f2b);
    border: 2px solid var(--cyan);
    border-radius: 8px;
    box-shadow: var(--glow-c), inset 0 0 24px rgba(13, 6, 24, 0.5);
}

.kyc-panel__title {
    margin: 0 0 14px;
    font-size: 1.15rem;
}

.kyc-panel__art {
    justify-self: center;
}

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

.kyc-check li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: var(--text-muted);
}

.kyc-check strong {
    display: block;
    color: #fff;
    font-family: var(--font-display);
}

.kyc-check__mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--cyan);
    border: 1.5px solid var(--cyan);
    border-radius: 50%;
    background: rgba(8, 3, 15, 0.7);
    filter: drop-shadow(0 0 4px rgba(47, 243, 255, 0.6));
}

.kyc-check__mark .icon {
    width: 20px;
    height: 20px;
}

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

@media (min-width: 768px) {
    .kyc {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 40px;
    }
}

.licence .section-title {
    margin-bottom: 0.6em;
}

/* ============================================
   SITEMAP / PAGE OVERVIEW
   ============================================ */

.hero--overview .hero__bg {
    background-position: 80% 40%;
}

.hero--overview .hero__copy {
    padding-bottom: 40px;
}

@media (min-width: 1024px) {
    .hero--overview {
        min-height: min(680px, 100vh);
    }

    .hero--overview .hero__bg {
        background-position: center 40%;
    }

    .hero--overview .hero__copy {
        padding-bottom: 80px;
    }
}

.map-wrap {
    position: relative;
}

.map-wrap::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--cyan), var(--magenta));
    box-shadow: var(--glow-c);
    pointer-events: none;
}

.map-bus {
    display: none;
}

.map-grid {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.map-item {
    position: relative;
    display: flex;
}

.map-item::before {
    content: "";
    position: absolute;
    left: -13px;
    top: 50%;
    width: 10px;
    height: 10px;
    translate: 0 -50%;
    z-index: 2;
    background: var(--cyan);
    box-shadow: var(--glow-c);
}

.map-card {
    flex: 1;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    min-width: 0;
    background: linear-gradient(160deg, #241042, #170a2e);
    border: 1px solid var(--pink);
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(47, 243, 255, 0.75), 0 0 10px rgba(255, 43, 214, 0.25);
    transition: box-shadow 0.25s ease;
}

.map-card:hover,
.map-card:focus-within {
    box-shadow: inset 0 0 0 1px var(--cyan), 0 0 22px rgba(255, 43, 214, 0.55), 0 0 10px rgba(47, 243, 255, 0.35);
}

.map-card.map-card--static {
    border-color: rgba(255, 110, 199, 0.55);
    box-shadow: inset 0 0 0 1px rgba(47, 243, 255, 0.4);
}

.map-card.map-card--static:hover,
.map-card.map-card--static:focus-within {
    box-shadow: inset 0 0 0 1px rgba(47, 243, 255, 0.4);
}

.map-card__icon {
    display: grid;
    place-items: start center;
    padding-top: 18px;
    background: #0b0415;
    border-right: 1px solid rgba(47, 243, 255, 0.35);
    border-radius: 7px 0 0 7px;
}

.map-card__icon svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 4px rgba(255, 43, 214, 0.7));
}

.map-card__body {
    display: flex;
    flex-direction: column;
    padding: 14px 16px 14px;
}

.map-card__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
}

.map-card__name {
    margin: 0 0 6px;
}

.map-card__text {
    margin: 0 0 8px;
    font-size: 0.96rem;
    color: var(--text-muted);
}

.map-card__body .text-link {
    margin-top: auto;
    align-self: flex-start;
}

.map-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    margin-bottom: 6px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--cyan);
    border: 1px solid rgba(47, 243, 255, 0.7);
    border-radius: 999px;
    background: rgba(8, 3, 15, 0.7);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .map-wrap::before,
    .map-item::before {
        display: none;
    }

    .map-bus {
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: -24px;
        right: -24px;
        z-index: 0;
        pointer-events: none;
    }

    .map-bus svg {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        overflow: visible;
        opacity: 0.7;
        filter: drop-shadow(0 0 3px rgba(47, 243, 255, 0.7));
    }

    .map-bus path {
        fill: none;
        stroke-width: 2;
        vector-effect: non-scaling-stroke;
    }

    .bus-c { stroke: var(--cyan); }
    .bus-m { stroke: var(--magenta); }
    .bus-dash { stroke-dasharray: 8 6; }
    .bus-dash-fine { stroke-dasharray: 3 9; }

    .map-bus .bus-node {
        stroke: var(--cyan);
        stroke-width: 7;
        stroke-linecap: square;
    }

    .map-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 1fr;
        gap: 28px;
    }

    .map-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }
}

/* Route guide */
.route-steps {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.route-step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    background: rgba(8, 3, 15, 0.6);
    border: 1px solid rgba(47, 243, 255, 0.5);
    border-radius: 8px;
}

.route-step__num {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--cyan);
    background: #08030f;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    box-shadow: var(--glow-c);
}

.route-step strong {
    display: block;
    font-family: var(--font-display);
    color: #fff;
}

.route-step p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

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

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