/*
 * GTA Casino - "Heist Control Room"
 * Near-black green base, neon green HUD accents, gold only for keys, rewards and primary CTAs.
 */

:root {
    --bg: #030907;
    --bg-2: #061410;
    --panel: #0a1a15;
    --panel-2: #0d2620;
    --line: #1d5c46;
    --line-soft: #123a2e;
    --neon: #39ff88;
    --neon-2: #8affb8;
    --neon-dim: #1fa860;
    --cyan: #35e0ff;
    --gold: #ffc83d;
    --gold-2: #ffe08a;
    --gold-deep: #c98a0a;
    --text: #e8f6ee;
    --muted: #a3c2b3;
    --danger: #ff6b6b;
    --ink: #1a1200;

    --font-display: "Chakra Petch", "Segoe UI", Tahoma, system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --container: 1180px;
    --header-h: 64px;
    --header-bottom: 64px;
    --glow-green: 0 0 18px rgba(57, 255, 136, 0.35);
    --glow-gold: 0 0 22px rgba(255, 200, 61, 0.4);
}

/* ============================================
   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 {
    color-scheme: dark;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background:
        radial-gradient(900px 520px at 50% -8%, rgba(31, 168, 96, 0.16), transparent 65%),
        radial-gradient(700px 500px at 100% 40%, rgba(53, 224, 255, 0.05), transparent 70%),
        var(--bg);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(57, 255, 136, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 255, 136, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 80%);
}

body.menu-open {
    overflow: hidden;
}

[id] {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

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

h1 {
    font-size: clamp(2rem, 7vw, 3.6rem);
    text-transform: uppercase;
    letter-spacing: 0.015em;
}

h2 {
    font-size: clamp(1.5rem, 4.5vw, 2.3rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    font-weight: 600;
    color: var(--neon-2);
}

p {
    margin: 0 0 1em;
}

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

a:hover {
    color: var(--neon-2);
}

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

strong {
    color: #fff;
    font-weight: 600;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    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: 12px 18px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
    color: var(--ink);
}

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

.section {
    position: relative;
    padding-block: 56px;
}

.section--tight {
    padding-block: 36px;
}

.eyebrow {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--neon);
}

.lead {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 62ch;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn--sm {
    min-height: 44px;
    padding: 8px 16px;
    font-size: 0.9375rem;
}

.btn--lg {
    min-height: 56px;
    padding: 14px 32px;
    font-size: 1.0625rem;
}

.btn--gold {
    color: var(--ink);
    background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #f0a91a);
    border-color: #ffe9a8;
    box-shadow: 0 0 0 1px rgba(255, 200, 61, 0.4), 0 8px 24px rgba(255, 184, 31, 0.28);
}

.btn--gold:hover {
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(255, 200, 61, 0.7), 0 10px 30px rgba(255, 184, 31, 0.45);
}

.btn--ghost {
    color: var(--neon);
    background: rgba(57, 255, 136, 0.06);
    border-color: var(--neon-dim);
}

.btn--ghost:hover {
    color: #04130b;
    background: var(--neon);
    border-color: var(--neon);
    box-shadow: var(--glow-green);
}

.btn--outline-gold {
    color: var(--gold);
    background: rgba(255, 200, 61, 0.05);
    border-color: var(--gold);
}

.btn--outline-gold:hover {
    color: var(--ink);
    background: var(--gold);
    box-shadow: var(--glow-gold);
}

.btn--pulse::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 2px solid var(--gold);
    border-radius: 14px;
    pointer-events: none;
    animation: ring-pulse 2.4s ease-out infinite;
}

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

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(3, 9, 7, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 1px 0 rgba(57, 255, 136, 0.18), 0 8px 30px rgba(0, 0, 0, 0.5);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: var(--container);
    min-height: var(--header-h);
    margin-inline: auto;
    padding-inline: 16px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.site-brand__mark {
    flex: none;
    filter: drop-shadow(0 0 6px rgba(255, 200, 61, 0.55));
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    background: rgba(57, 255, 136, 0.06);
    border: 1px solid var(--neon-dim);
    border-radius: 10px;
    cursor: pointer;
}

.js .nav-toggle {
    display: inline-flex;
}

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

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

/* Mobile drawer / no-JS fallback */
.site-nav {
    display: none;
}

.js .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-bottom);
    bottom: 0;
    height: auto;
    z-index: 60;
    padding: 12px 16px 32px;
    overflow-y: auto;
    background: #030907;
    border-top: 1px solid var(--line);
}

html:not(.js) .site-header__inner {
    flex-wrap: wrap;
    padding-block: 8px;
}

html:not(.js) .site-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
}

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 4px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--line-soft);
}

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

.site-nav__link[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--neon);
    padding-left: 14px;
}

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

.site-nav__actions .header-cta {
    width: 100%;
}

@media (min-width: 768px) {
    .nav-toggle,
    .js .nav-toggle {
        display: none;
    }

    .site-nav,
    .js .site-nav.is-open,
    html:not(.js) .site-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        position: static;
        width: auto;
        padding: 0;
        gap: 12px;
        overflow: visible;
        background: transparent;
        border: 0;
    }

    html:not(.js) .site-header__inner {
        flex-wrap: nowrap;
    }

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

    .site-nav__link {
        min-height: 44px;
        padding: 8px 9px;
        font-size: 0.9375rem;
        border-bottom: 2px solid transparent;
    }

    .site-nav__link[aria-current="page"] {
        padding-left: 9px;
        box-shadow: none;
        border-bottom-color: var(--neon);
    }

    .site-nav__actions {
        display: flex;
        gap: 8px;
        margin-top: 0;
    }

    .site-nav__actions .header-cta {
        width: auto;
        padding-inline: 14px;
    }
}

@media (min-width: 1024px) {
    .site-header__inner { padding-inline: 32px; }
    .site-nav { gap: 28px; }
    .site-nav__link { padding-inline: 14px; font-size: 1rem; }
    .site-nav__actions .header-cta { padding-inline: 22px; }
}

/* ============================================
   SECTION HEADING
   ============================================ */
.section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.section-head::before,
.section-head::after {
    content: "";
    flex: 1 1 24px;
    height: 10px;
    background:
        radial-gradient(circle at 100% 50%, var(--gold) 0 3px, transparent 4px),
        linear-gradient(90deg, transparent, var(--neon-dim)) center / 100% 1px no-repeat;
    min-width: 20px;
}

.section-head::after {
    transform: scaleX(-1);
}

.section-head__text {
    flex: 0 1 auto;
    text-align: center;
    max-width: 100%;
}

.section-head__title {
    margin: 0;
    font-size: clamp(1.35rem, 4.4vw, 2rem);
    color: var(--text);
}

.section-head--caps .section-head__title {
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (min-width: 768px) {
    .section-head::before,
    .section-head::after { flex-basis: 80px; }
}

/* ============================================
   HUD PRIMITIVES
   ============================================ */
.hud-panel {
    position: relative;
    background: linear-gradient(160deg, rgba(13, 38, 32, 0.94), rgba(6, 20, 17, 0.96));
    border: 1px solid rgba(57, 255, 136, 0.35);
    border-radius: var(--radius);
    box-shadow: inset 0 0 36px rgba(57, 255, 136, 0.06), 0 12px 32px rgba(0, 0, 0, 0.5);
}

.brackets::before {
    content: "";
    position: absolute;
    inset: 6px;
    pointer-events: none;
    background:
        linear-gradient(var(--neon), var(--neon)) top left / 16px 2px no-repeat,
        linear-gradient(var(--neon), var(--neon)) top left / 2px 16px no-repeat,
        linear-gradient(var(--neon), var(--neon)) top right / 16px 2px no-repeat,
        linear-gradient(var(--neon), var(--neon)) top right / 2px 16px no-repeat,
        linear-gradient(var(--neon), var(--neon)) bottom left / 16px 2px no-repeat,
        linear-gradient(var(--neon), var(--neon)) bottom left / 2px 16px no-repeat,
        linear-gradient(var(--neon), var(--neon)) bottom right / 16px 2px no-repeat,
        linear-gradient(var(--neon), var(--neon)) bottom right / 2px 16px no-repeat;
}

.blueprint {
    position: relative;
}

.blueprint::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(53, 224, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(53, 224, 255, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
}

.scanlines::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 4px);
    background-size: 100% 8px;
    animation: scan-drift 8s linear infinite;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 4px 12px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    background: rgba(6, 20, 17, 0.85);
    border: 1px solid var(--neon-dim);
    border-radius: 6px;
}

.chip::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 8px var(--neon);
    flex: none;
}

.chip--gold {
    border-color: var(--gold);
    color: var(--gold-2);
}

.chip--gold::before {
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.icon {
    width: 2.25rem;
    height: 2.25rem;
    fill: none;
    stroke: var(--neon);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.icon .g {
    stroke: var(--gold);
}

.icon .gf {
    fill: var(--gold);
    stroke: none;
}

.icon-ring {
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(57, 255, 136, 0.7) 0 2deg, transparent 2deg 15deg);
}

.icon-ring::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--panel);
    border: 1.5px solid var(--neon);
    box-shadow: inset 0 0 14px rgba(57, 255, 136, 0.25), 0 0 12px rgba(57, 255, 136, 0.25);
}

.icon-ring .icon {
    position: relative;
    width: 2.6rem;
    height: 2.6rem;
}

.badge-18 {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border: 2px solid var(--danger);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--danger);
    background: rgba(255, 107, 107, 0.08);
}

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

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

.op-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 20px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.op-card:hover {
    transform: translateY(-3px);
    border-color: var(--neon);
    box-shadow: inset 0 0 36px rgba(57, 255, 136, 0.1), 0 0 26px rgba(57, 255, 136, 0.18);
}

.op-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    position: relative;
}

.op-card__tag {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--neon);
}

.op-card__title {
    margin-bottom: 8px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gold-2);
}

.op-card__text {
    flex: 1;
    color: var(--muted);
}

@media (min-width: 480px) {
    .op-card { flex-direction: row; align-items: flex-start; }
}

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

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

.tile {
    position: relative;
    padding: 20px 18px;
    background: rgba(8, 26, 21, 0.9);
    border: 1px solid var(--line-soft);
    border-top: 2px solid var(--neon);
    border-radius: 10px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.tile:hover {
    border-color: var(--neon-dim);
    box-shadow: 0 0 22px rgba(57, 255, 136, 0.18);
}

.tile h3 {
    margin: 10px 0 6px;
    font-size: 1.1rem;
}

.tile p {
    margin: 0;
    color: var(--muted);
}

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

@media (min-width: 768px) {
    .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
    .split--wide-text { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); }
}

.art {
    display: block;
    width: 100%;
    height: auto;
}

.art--cover {
    height: 100%;
    object-fit: cover;
}

.callout {
    padding: 18px 20px;
    background: rgba(13, 38, 32, 0.75);
    border: 1px solid var(--line-soft);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

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

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

/* ============================================
   PROSE
   ============================================ */
.prose {
    max-width: 74ch;
}

.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

.prose ul,
.prose ol {
    padding-left: 1.3em;
    margin: 0 0 1.2em;
}

.prose li { margin-bottom: 0.45em; }

.prose a {
    color: var(--neon);
    font-weight: 500;
}

.prose blockquote {
    margin: 1.4em 0;
    padding: 12px 18px;
    border-left: 3px solid var(--neon);
    color: var(--muted);
}

/* ============================================
   CHECKLIST
   ============================================ */
.checklist {
    list-style: none;
    margin: 0 0 1.2em;
    padding: 0;
}

.checklist li {
    position: relative;
    margin: 0;
    padding: 12px 0 12px 36px;
    border-bottom: 1px solid var(--line-soft);
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--neon-dim);
    border-radius: 5px;
    background: rgba(57, 255, 136, 0.08) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2339ff88%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012.5l4.5%204.5L19%207.5%22%2F%3E%3C%2Fsvg%3E") center / 14px no-repeat;
}

/* ============================================
   STEPS (registration / claim / setup paths)
   ============================================ */
.steps {
    --cols: 4;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.step {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    column-gap: 18px;
    padding-bottom: 28px;
}

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

.step::after {
    content: "";
    position: absolute;
    left: 37px;
    top: 76px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--neon-dim) 0, var(--neon-dim) 35%, var(--neon-2) 50%, var(--neon-dim) 65%, var(--neon-dim) 100%);
    background-size: 100% 300%;
    box-shadow: 0 0 10px rgba(57, 255, 136, 0.5);
    animation: pulse-v 4s linear infinite;
}

.step:last-child::after { display: none; }

.step__node {
    position: relative;
    display: grid;
    place-items: center;
    grid-row: 1 / span 2;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--panel);
    border: 2px solid var(--neon);
    box-shadow: inset 0 0 14px rgba(57, 255, 136, 0.25), 0 0 14px rgba(57, 255, 136, 0.3);
    animation: node-lit 6s ease-in-out infinite;
}

.step:nth-child(2) .step__node { animation-delay: 1.2s; }
.step:nth-child(3) .step__node { animation-delay: 2.4s; }
.step:nth-child(4) .step__node { animation-delay: 3.6s; }
.step:nth-child(5) .step__node { animation-delay: 4.8s; }

.step__node .icon {
    width: 2.4rem;
    height: 2.4rem;
}

.step__num {
    position: absolute;
    right: -4px;
    bottom: -4px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--gold);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gold-2);
}

.step--gold .step__node {
    border-color: var(--gold);
    box-shadow: inset 0 0 14px rgba(255, 200, 61, 0.25), 0 0 18px rgba(255, 200, 61, 0.4);
}

.step__title {
    margin: 0 0 6px;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text);
    align-self: end;
}

.step__text {
    margin: 0;
    color: var(--muted);
    align-self: start;
}

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

    .step {
        display: block;
        padding-bottom: 0;
        text-align: center;
    }

    .step__node {
        margin: 0 auto 16px;
    }

    .step::after {
        left: calc(50% + 40px);
        top: 37px;
        bottom: auto;
        width: calc(100% - 80px + 16px);
        height: 2px;
        background: linear-gradient(90deg, var(--neon-dim) 0, var(--neon-dim) 35%, var(--neon-2) 50%, var(--neon-dim) 65%, var(--neon-dim) 100%);
        background-size: 300% 100%;
        animation: pulse-h 4s linear infinite;
    }

    .step__title { margin-bottom: 8px; }
}

/* ============================================
   HUD METER (decorative)
   ============================================ */
.hud-meter {
    padding: 16px 18px 14px;
    max-width: 440px;
}

.hud-meter__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.hud-meter__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}

.hud-meter__chev {
    display: inline-flex;
    gap: 2px;
}

.hud-meter__chev i {
    width: 9px;
    height: 14px;
    background: var(--neon);
    clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%);
    animation: chev 1.4s ease-in-out infinite;
}

.hud-meter__chev i:nth-child(2) { animation-delay: 0.2s; }
.hud-meter__chev i:nth-child(3) { animation-delay: 0.4s; }

.hud-meter__warn {
    margin-left: auto;
    display: inline-flex;
}

.hud-meter__warn .icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: #ffae1a;
}

.hud-meter__bar {
    display: flex;
    gap: 3px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.hud-meter__bar i {
    flex: 1;
    height: 20px;
    border-radius: 2px;
    background: var(--neon);
    box-shadow: 0 0 8px rgba(57, 255, 136, 0.6);
    animation: seg-fill 4s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.11s);
}

.hud-meter__scale {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted);
}

/* ============================================
   HERO BASE
   ============================================ */
.hero {
    --bloom-x: 72%;
    --bloom-y: 38%;
    position: relative;
    isolation: isolate;
    padding: 20px 0 48px;
    background: var(--bg-2);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-size: cover;
    background-position: 65% center;
    background-repeat: no-repeat;
}

.hero__vignette {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse at var(--bloom-x) var(--bloom-y), transparent 0, rgba(3, 9, 7, 0.4) 38%, rgba(3, 9, 7, 0.9) 90%),
        linear-gradient(180deg, rgba(3, 9, 7, 0.55), rgba(3, 9, 7, 0.2) 40%, var(--bg) 100%);
}

.hero__bloom {
    position: absolute;
    z-index: -1;
    left: var(--bloom-x);
    top: var(--bloom-y);
    width: clamp(180px, 36vw, 480px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 214, 102, 0.55), rgba(255, 184, 31, 0.18) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: bloom 4.5s ease-in-out infinite;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 16px;
}

.hero__art {
    order: -1;
    display: flex;
    justify-content: center;
}

.hero__art img {
    width: min(100%, 420px);
    height: auto;
}

.hero__copy h1 {
    margin-bottom: 0.45em;
}

.hero__lead {
    font-size: 1.0625rem;
    color: var(--text);
    max-width: 52ch;
}

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

.hero__hud {
    margin-top: 24px;
}

@media (min-width: 768px) {
    .hero { padding: 40px 0 72px; }
    .hero__inner { padding-inline: 24px; }
}

@media (min-width: 1024px) {
    .hero { padding: 64px 0 96px; }
    .hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 40px;
        padding-inline: 32px;
    }
    .hero__art { order: 0; }
}

/* ============================================
   TABLE
   ============================================ */
.table-wrapper {
    border: 1px solid rgba(57, 255, 136, 0.35);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(13, 38, 32, 0.9), rgba(6, 20, 17, 0.95));
    box-shadow: inset 0 0 36px rgba(57, 255, 136, 0.05);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th {
    padding: 14px 16px;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid var(--neon-dim);
}

.data-table td {
    padding: 14px 16px;
    vertical-align: top;
    border-bottom: 1px solid var(--line-soft);
    background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 4px);
}

.data-table tbody tr {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.data-table tbody tr:hover {
    background: rgba(57, 255, 136, 0.07);
    box-shadow: inset 3px 0 0 var(--neon);
}

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

.data-table tbody th {
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--text);
    background: transparent;
    border-bottom: 1px solid var(--line-soft);
}

@media (max-width: 767px) {
    .data-table--stack,
    .data-table--stack tbody,
    .data-table--stack tr,
    .data-table--stack td,
    .data-table--stack tbody th {
        display: block;
        width: 100%;
    }

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

    .data-table--stack tbody tr {
        margin: 12px;
        width: auto;
        padding: 6px 4px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: rgba(6, 20, 17, 0.8);
    }

    .data-table--stack td,
    .data-table--stack tbody th {
        padding: 6px 12px;
        border: 0;
        background-image: none;
    }

    .data-table--stack td::before {
        content: attr(data-label);
        display: block;
        font-family: var(--font-display);
        font-size: 0.875rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--gold);
    }
}

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

.faq-item {
    background: rgba(10, 26, 21, 0.9);
    border: 1px solid var(--neon-dim);
    border-radius: 12px;
}

.faq-item[open] {
    border-color: var(--neon);
    box-shadow: 0 0 20px rgba(57, 255, 136, 0.14);
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 12px 18px;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
}

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

.faq-item__q::after {
    content: "+";
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 50%;
}

.faq-item[open] > .faq-item__q::after { content: "\2212"; }

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

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
    padding: 40px 20px;
    text-align: center;
}

.cta-band__title {
    position: relative;
    margin-bottom: 0.4em;
    text-transform: uppercase;
}

.cta-band__text {
    position: relative;
    max-width: 56ch;
    margin: 0 auto 24px;
    color: var(--muted);
}

.cta-band .btn {
    position: relative;
}

.cta-band__note {
    position: relative;
    margin: 18px 0 0;
    font-size: 0.9375rem;
    color: var(--muted);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    margin-top: 40px;
    padding: 40px 0 28px;
    background: linear-gradient(180deg, rgba(6, 20, 17, 0.6), #020605 40%);
    border-top: 1px solid var(--neon-dim);
    box-shadow: 0 -1px 24px rgba(57, 255, 136, 0.15);
}

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

.site-footer__label {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--neon);
}

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

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

.site-footer__links a:hover {
    color: var(--neon);
    text-decoration: underline;
}

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

.pay-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 14px;
    font-size: 0.9375rem;
    color: var(--neon-2);
    background: rgba(8, 26, 21, 0.9);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.site-footer__licence {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    color: var(--muted);
}

.site-footer__licence svg {
    flex: none;
    color: var(--neon);
}

.site-footer__bottom {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line-soft);
}

.site-footer__legal {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--muted);
}

.site-footer__copy {
    display: block;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }
    .site-footer__col--wide { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
    .site-footer__inner {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.2fr);
        gap: 48px;
    }
    .site-footer__col--wide { grid-column: auto; }
}

/* ============================================
   REVEAL
   ============================================ */
.js .reveal {
    transform: translateY(18px);
    transition: transform 0.6s ease;
}

.js .reveal.is-visible {
    transform: none;
}

/* Pause continuous animation outside the viewport and in hidden tabs */
.js section:not(.in-view) *,
.js section:not(.in-view) *::before,
.js section:not(.in-view) *::after,
.is-paused *,
.is-paused *::before,
.is-paused *::after {
    animation-play-state: paused !important;
}

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes ring-pulse {
    0% { transform: scale(0.96); opacity: 0.8; }
    100% { transform: scale(1.14); opacity: 0; }
}

@keyframes bloom {
    0%, 100% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

@keyframes scan-drift {
    to { background-position: 0 80px; }
}

@keyframes pulse-h {
    from { background-position: 100% 0; }
    to { background-position: 0 0; }
}

@keyframes pulse-v {
    from { background-position: 0 100%; }
    to { background-position: 0 0; }
}

@keyframes node-lit {
    0%, 22%, 100% { box-shadow: inset 0 0 14px rgba(57, 255, 136, 0.25), 0 0 14px rgba(57, 255, 136, 0.3); }
    10% { box-shadow: inset 0 0 20px rgba(57, 255, 136, 0.5), 0 0 28px rgba(57, 255, 136, 0.75); }
}

@keyframes chev {
    0%, 100% { background: var(--neon-dim); }
    50% { background: var(--neon-2); }
}

@keyframes seg-fill {
    0%, 6% { background: #0d2a20; box-shadow: none; }
    14%, 78% { background: var(--neon); box-shadow: 0 0 8px rgba(57, 255, 136, 0.6); }
    92%, 100% { background: #0d2a20; box-shadow: none; }
}

/* ============================================
   HOME PAGE
   ============================================ */

/* ---------- Hero (home) ---------- */
.hero--home {
    --bloom-x: 52%;
    --bloom-y: 24%;
}

.hero--home .hero__bg {
    background-image: url("./assets/618e62134fd15931ada488ef5e8cf6f6.webp");
    background-position: 72% center;
}

.hero--home .hero__vignette {
    background:
        linear-gradient(90deg, rgba(3, 9, 7, 0.55), rgba(3, 9, 7, 0.35)),
        radial-gradient(ellipse at var(--bloom-x) var(--bloom-y), transparent 0, rgba(3, 9, 7, 0.4) 38%, rgba(3, 9, 7, 0.88) 90%),
        linear-gradient(180deg, rgba(3, 9, 7, 0.5), rgba(3, 9, 7, 0.2) 40%, var(--bg) 100%);
}

.hero__blueprint {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    max-width: none;
    pointer-events: none;
}

.hero--home .hero__art img {
    width: min(74%, 330px);
    filter: drop-shadow(0 0 28px rgba(57, 255, 136, 0.22));
}

.hero--home .hero__hud {
    margin-top: 0;
}

.hero--home .hero__chips {
    margin-top: 22px;
}

.hero__updated {
    margin: 14px 0 0;
    font-size: 0.9375rem;
    color: var(--muted);
}

@media (min-width: 1024px) {
    .hero--home {
        --bloom-x: 69%;
        --bloom-y: 34%;
        padding: 72px 0 84px;
    }

    .hero--home .hero__vignette {
        background:
            linear-gradient(90deg, rgba(3, 9, 7, 0.82) 0, rgba(3, 9, 7, 0.45) 42%, transparent 68%),
            radial-gradient(ellipse at var(--bloom-x) var(--bloom-y), transparent 0, rgba(3, 9, 7, 0.3) 38%, rgba(3, 9, 7, 0.8) 92%),
            linear-gradient(180deg, rgba(3, 9, 7, 0.45), rgba(3, 9, 7, 0.1) 40%, var(--bg) 100%);
    }

    .hero--home .hero__inner {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        grid-template-rows: auto auto;
        column-gap: 24px;
        row-gap: 8px;
    }

    .hero--home .hero__copy {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .hero--home .hero__art {
        grid-column: 2;
        grid-row: 1;
        order: 0;
        justify-content: center;
    }

    .hero--home .hero__art img {
        width: min(100%, 400px);
    }

    .hero--home .hero__hud {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        width: min(100%, 440px);
    }
}

/* ---------- Objectives ---------- */
.objectives {
    isolation: isolate;
    padding-block: 64px 72px;
    background: var(--bg);
}

.objectives__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background: url("./assets/c3d6e3a48f52dbc012403b4a9a880e2b.webp") center / cover no-repeat;
}

.objectives__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg) 0, rgba(3, 9, 7, 0.6) 16%, rgba(3, 9, 7, 0.6) 84%, var(--bg) 100%);
}

.traces {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    max-width: none;
    pointer-events: none;
    fill: none;
}

.traces__lines {
    stroke: var(--neon-dim);
    stroke-width: 1.5;
}

.traces__pulses {
    stroke: var(--neon-2);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 16 600;
    animation: trace-run 6s linear infinite;
}

.traces__nodes {
    stroke: var(--gold);
    stroke-width: 7;
    stroke-linecap: round;
}

.objectives__inner {
    position: relative;
}

.objectives .card-grid > div {
    display: flex;
}

.objectives .card-grid .op-card {
    flex: 1;
}

@keyframes trace-run {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -616; }
}

/* ---------- Bonus vault ---------- */
.bonus-section {
    position: relative;
    isolation: isolate;
    padding-block: 64px;
    background: #04100c;
}

.bonus-section__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("./assets/21fbebc4077b91611cca7f487df678b8.webp") 78% center / cover no-repeat;
}

.bonus-section__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, var(--bg) 0, transparent 14%, transparent 86%, var(--bg) 100%),
        linear-gradient(180deg, rgba(3, 9, 7, 0.88), rgba(3, 9, 7, 0.78));
}

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

.bonus-grid__copy h2 {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gold-2);
}

.bonus-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--neon);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.bonus-note {
    margin: 14px 0 0;
    font-size: 0.9375rem;
    color: var(--muted);
}

.bonus-grid__mascot img {
    display: block;
    width: min(70%, 260px);
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 0 28px rgba(255, 200, 61, 0.25));
}

.scanner {
    position: relative;
    width: min(100%, 210px);
    margin-inline: auto;
    padding: 18px 16px 14px;
    text-align: center;
    background: rgba(3, 9, 7, 0.85);
    border: 2px solid var(--gold);
    border-radius: 18px;
    box-shadow: var(--glow-gold), inset 0 0 26px rgba(255, 200, 61, 0.12);
}

.scanner__frame {
    position: relative;
    display: grid;
    place-items: center;
    height: 124px;
    overflow: hidden;
    border: 1px dashed rgba(255, 200, 61, 0.55);
    border-radius: 10px;
}

.scanner__frame .icon {
    width: 88px;
    height: 88px;
    stroke: var(--gold-2);
}

.scanner__line {
    position: absolute;
    left: 6%;
    right: 6%;
    top: 8%;
    height: 2px;
    background: var(--neon);
    box-shadow: 0 0 12px var(--neon), 0 0 22px rgba(57, 255, 136, 0.6);
    animation: scan-sweep 3s ease-in-out infinite;
}

.scanner__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 0 0;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon-2);
}

.scanner__led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 10px var(--neon);
    animation: led-glow 2s ease-in-out infinite;
}

@keyframes scan-sweep {
    0%, 100% { top: 8%; }
    50% { top: 88%; }
}

@keyframes led-glow {
    0%, 100% { box-shadow: 0 0 4px var(--neon); }
    50% { box-shadow: 0 0 14px var(--neon), 0 0 24px rgba(57, 255, 136, 0.6); }
}

@media (min-width: 1024px) {
    .bonus-section {
        padding-block: 96px;
        min-height: 520px;
    }

    .bonus-section__shade {
        background:
            linear-gradient(180deg, var(--bg) 0, transparent 14%, transparent 86%, var(--bg) 100%),
            linear-gradient(90deg, rgba(3, 9, 7, 0.94) 0, rgba(3, 9, 7, 0.72) 42%, rgba(3, 9, 7, 0.08) 72%, transparent 100%);
    }

    .bonus-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.5fr) minmax(0, 0.65fr);
        gap: 24px;
    }

    .bonus-grid__mascot img {
        width: min(100%, 300px);
    }
}

/* ---------- Heist plan ---------- */
.plan {
    background:
        radial-gradient(700px 360px at 50% 0, rgba(57, 255, 136, 0.08), transparent 70%),
        var(--bg);
}

.plan__note {
    max-width: 62ch;
    margin: 40px auto 20px;
    text-align: center;
    color: var(--muted);
}

.plan__cta {
    display: flex;
    justify-content: center;
}

/* ---------- SEO text ---------- */
.seo-section {
    background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg));
}

.seo-split {
    align-items: start;
}

.seo-split .prose {
    max-width: none;
}

.seo-split .prose h2 {
    margin-top: 0;
}

.seo-capsule {
    padding: 16px 20px;
    font-size: 1.125rem;
    color: var(--text);
    background: rgba(13, 38, 32, 0.6);
    border-left: 4px solid var(--neon);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.seo-aside {
    padding: 24px 22px 12px;
}

.seo-aside__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.seo-aside__head h3 {
    margin: 0;
}

@media (min-width: 768px) {
    .seo-aside {
        position: sticky;
        top: calc(var(--header-h) + 24px);
    }
}

/* ---------- Official clearance ---------- */
.clearance .card-grid > * {
    display: flex;
}

.clear-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
    padding: 26px 22px;
}

.clear-card__emblem {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: none;
}

.clear-card__emblem .icon {
    width: 4rem;
    height: 4rem;
}

.clear-card__led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 10px var(--neon);
    animation: led-glow 2s ease-in-out infinite;
}

.clear-card__body h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gold-2);
}

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

@media (min-width: 480px) {
    .clear-card {
        flex-direction: row;
        align-items: flex-start;
    }

    .clear-card__emblem {
        flex-direction: column;
        align-items: center;
    }
}

/* ---------- Sitemap ---------- */
.hero--sitemap {
    padding: 32px 0 40px;
}

.hero--sitemap .hero__art img {
    width: min(100%, 360px);
    filter: drop-shadow(0 0 24px rgba(57, 255, 136, 0.2));
}

.map-list > li {
    display: flex;
}

.map-list .op-card {
    flex: 1;
}

.op-card--static {
    border-style: dashed;
}

@media (min-width: 768px) {
    .hero--sitemap {
        padding: 48px 0 56px;
    }
}

/* ---------- Slots page ---------- */
.ops-section {
    isolation: isolate;
    padding-block: 64px 72px;
    background: var(--bg);
}

.ops-section__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ops-section__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg) 0, rgba(3, 9, 7, 0.84) 22%, rgba(3, 9, 7, 0.84) 78%, var(--bg) 100%);
}

.ops-traces {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    max-width: none;
    pointer-events: none;
    fill: none;
    stroke: var(--neon-dim);
    stroke-width: 1.2;
    stroke-opacity: 0.4;
}

.ops-traces__nodes circle {
    fill: var(--gold);
    stroke: none;
}

.ops-grid > div {
    display: flex;
}

.ops-grid .op-card {
    flex: 1;
}

.risk-label {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.risk {
    display: flex;
    gap: 4px;
    margin: 0 0 12px;
}

.risk i {
    width: 34px;
    height: 8px;
    border-radius: 2px;
    background: #0d2a20;
    border: 1px solid var(--line);
}

.risk i.is-on {
    background: var(--neon);
    border-color: var(--neon);
    box-shadow: 0 0 8px rgba(57, 255, 136, 0.6);
}

.risk--high i.is-on {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(255, 200, 61, 0.6);
}

.gauge-figure {
    margin: 0;
    padding: 24px 20px 20px;
}

.gauge {
    display: block;
    width: min(100%, 320px);
    height: auto;
    margin-inline: auto;
}

.gauge__needle {
    transform-box: view-box;
    transform-origin: 100px 100px;
    animation: needle-sweep 6s ease-in-out infinite;
}

.gauge-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    text-align: center;
}

.gauge-caption__label {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-2);
}

.gauge-caption__note {
    font-size: 0.875rem;
    color: var(--muted);
}

.gauge-bar {
    display: block;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #0d2a20;
    overflow: hidden;
}

.gauge-bar i {
    display: block;
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, var(--neon-dim), var(--neon-2));
}

@keyframes needle-sweep {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(10deg); }
}

/* ---------- Download page ---------- */
.hero--download {
    --bloom-x: 72%;
    --bloom-y: 40%;
}

.hero--download .hero__bg {
    background-image: url("./assets/7299c9c59dc0685ace66c94ecbb797e9.webp");
    background-position: 70% center;
}

.hero--download .hero__vignette {
    background:
        linear-gradient(90deg, rgba(3, 9, 7, 0.94) 0, rgba(3, 9, 7, 0.72) 48%, rgba(3, 9, 7, 0.22) 100%),
        linear-gradient(180deg, rgba(3, 9, 7, 0.5), var(--bg) 100%);
}

.dl-frame {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(57, 255, 136, 0.18);
    border-radius: 12px;
    pointer-events: none;
}

.hero--download .chip-row {
    margin-top: 22px;
}

@media (min-width: 768px) {
    .hero--download .hero__inner {
        max-width: var(--container);
    }
}

.route {
    position: relative;
    isolation: isolate;
    display: grid;
    gap: 20px;
}

.route::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 0;
    border-left: 2px dashed rgba(57, 255, 136, 0.45);
    z-index: -1;
    pointer-events: none;
}

.route-card {
    position: relative;
    padding: 24px 22px;
    background: rgba(8, 26, 21, 0.92);
    border: 1px solid rgba(57, 255, 136, 0.35);
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.route-card__badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 2px 10px;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-2);
    border: 1px solid var(--gold);
    border-radius: 4px;
}

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

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

    .route::before {
        left: 0;
        right: 0;
        top: 50%;
        bottom: auto;
        width: auto;
        height: 0;
        border-left: 0;
        border-top: 2px dashed rgba(57, 255, 136, 0.45);
    }
}

.privacy-art {
    margin: 0;
}

.privacy-art img {
    display: block;
    width: min(100%, 360px);
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 0 24px rgba(57, 255, 136, 0.25));
}

.timer-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.2em;
    padding: 10px 16px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neon-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(8, 26, 21, 0.9);
}

.timer-chip__ring {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--neon);
    border-top-color: var(--gold);
    flex: none;
}

/* ---------- Cashier page ---------- */
.hero--cashier {
    --bloom-x: 70%;
    --bloom-y: 40%;
}

.hero--cashier .hero__bg {
    background-image: url("./assets/9b14d14f092e5f7e285cdc612271c232.webp");
    background-position: 70% center;
}

.hero--cashier .hero__copy {
    position: relative;
    padding: 28px 22px;
    background: rgba(3, 9, 7, 0.55);
}

.hero--cashier .hero__copy h1 {
    font-size: clamp(1.9rem, 6vw, 3.2rem);
}

.hero--cashier .hero__actions .btn--ghost {
    color: var(--neon);
}

.hero--cashier .hero__chips {
    margin-top: 22px;
}

.hero--cashier .hero__bloom {
    left: 74%;
    top: 40%;
    background: radial-gradient(circle, rgba(255, 214, 102, 0.45), rgba(255, 184, 31, 0.12) 40%, transparent 70%);
}

.method-grid {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.method-grid::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    border-left: 2px dashed rgba(57, 255, 136, 0.4);
    z-index: -1;
    pointer-events: none;
}

.method-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 22px 22px;
    background: rgba(8, 26, 21, 0.94);
}

.method-card h3 {
    margin: 0;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--text);
}

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

.method-card__badge {
    align-self: flex-start;
    padding: 2px 10px;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-2);
    border: 1px solid var(--gold);
    border-radius: 4px;
}

.method-icon {
    width: 56px;
    height: 56px;
}

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

    .method-grid::before {
        left: 0;
        right: 0;
        top: 60px;
        bottom: auto;
        border-left: 0;
        border-top: 2px dashed rgba(57, 255, 136, 0.4);
    }
}

.track-wrap {
    padding: 22px 18px 16px;
}

.track {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

.track-note {
    margin: 10px 0 0;
    font-size: 0.875rem;
    color: var(--muted);
}

.cashier-table {
    margin-top: 24px;
    background-image: linear-gradient(rgba(57, 255, 136, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(57, 255, 136, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

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

.checklist-steps {
    padding-left: 1.3em;
    margin: 0 0 1.2em;
}

.checklist-steps li {
    margin-bottom: 0.5em;
}

.kyc-scan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: min(100%, 260px);
    margin-inline: auto;
    padding: 28px 20px 22px;
}

.kyc-scan__icon {
    width: 120px;
    height: 120px;
}

.kyc-scan__status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon-2);
}

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

.rg-grid {
    margin-top: 28px;
}

.rg-tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 20px;
}

.rg-tile h3 {
    margin: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--gold-2);
}

.rg-tile p {
    margin: 0;
    color: var(--muted);
}

.rg-tile__icon {
    width: 56px;
    height: 56px;
}

.rg-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 28px 0 0;
    color: var(--muted);
}

.rg-note .badge-18 {
    margin-top: 2px;
}

.licence-panel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 28px 24px;
    border-color: var(--gold);
    box-shadow: inset 0 0 36px rgba(255, 200, 61, 0.06), 0 12px 32px rgba(0, 0, 0, 0.5);
}

.licence-panel h2 {
    margin-top: 6px;
}

.licence-panel h3 {
    margin-top: 14px;
    font-size: 1.15rem;
    color: var(--gold-2);
}

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

.verify-steps {
    padding-left: 1.3em;
    margin: 0 0 1em;
    color: var(--text);
}

.verify-steps li {
    margin-bottom: 0.5em;
}

.licence-art {
    margin: 0;
}

.licence-art img {
    display: block;
    width: min(100%, 320px);
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 0 24px rgba(255, 200, 61, 0.2));
}

.cashier-cta {
    overflow: hidden;
}

.cashier-dial {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(100%, 420px);
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.12;
    pointer-events: none;
}

/* ---------- Final CTA ---------- */
.final-cta__inner {
    max-width: 860px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .js .reveal { transform: none; }

    .hud-meter__bar i:nth-child(n + 13) {
        background: #0d2a20;
        box-shadow: none;
    }

    .btn--pulse::after { display: none; }
}