/* ================================================================
   BIGBULL — Editorial Crypto Terminal v2
   ================================================================ */

:root {
    --bg-0: #050300;
    --bg-1: #0a0700;
    --bg-2: #11090a;
    --bg-3: #18100a;
    --ink-1: #f5e9c8;
    --ink-2: #c8b88a;
    --ink-3: #7a6b48;
    --ink-4: #4a3f28;
    --gold-0: #fff3b8;
    --gold-1: #ffd24a;
    --gold-2: #e8a917;
    --gold-3: #a67200;
    --gold-4: #5c4000;
    --danger: #ff5147;
    --good: #4ade80;
    --line: rgba(255, 210, 74, 0.12);
    --line-strong: rgba(255, 210, 74, 0.32);
    --shadow-gold: 0 0 40px rgba(255, 210, 74, 0.25);
    --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.55);
    --radius: 18px;
    --radius-lg: 28px;
    --max: 1320px;
    --font-display: 'Cinzel', 'Times New Roman', serif;
    --font-body: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --glass-bg: linear-gradient(135deg, rgba(255, 210, 74, 0.07) 0%, rgba(255, 210, 74, 0.015) 50%, rgba(255, 210, 74, 0.045) 100%);
    --glass-blur: blur(22px) saturate(160%);
    --glass-border: 1px solid rgba(255, 210, 74, 0.18);
    --glass-inner: inset 0 1px 0 rgba(255, 243, 184, 0.08), inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.03);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    background: var(--bg-0);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 0%, #1a1003 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 20% 70%, rgba(255, 210, 74, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 30% at 80% 90%, rgba(255, 81, 71, 0.04) 0%, transparent 60%);
    color: var(--ink-1);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    /* NOTE: perspective is intentionally NOT set on body.
       A perspective on an ancestor turns it into the containing block
       for position:fixed children — which would make the side-rail
       scroll with the page. Each 3D element supplies its own
       perspective() inline. */
}

/* film grain */
body::before {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none; z-index: 4;
    opacity: .035; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a { color: var(--gold-1); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-0); }
::selection { background: var(--gold-2); color: #000; }

/* ============== Layers ============== */
.grid-overlay {
    position: fixed; inset: 0; pointer-events: none; z-index: 1;
    background-image:
        linear-gradient(rgba(255, 210, 74, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 210, 74, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 2; }

.scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 2px;
    z-index: 100; pointer-events: none;
    background: linear-gradient(90deg, var(--gold-2), var(--gold-0), var(--gold-2));
    transform: scaleX(0); transform-origin: left;
    box-shadow: 0 0 12px rgba(255, 210, 74, 0.6);
    transition: transform .08s linear;
}

/* ============== Utility: glass ============== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-inner);
}

/* ============== Utility: tilt-3d ============== */
.tilt-3d {
    transform-style: preserve-3d;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}
.tilt-3d.is-tilting {
    transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .08s linear;
}
@media (max-width: 900px) { .tilt-3d.is-tilting { transform: none !important; } }

/* ============== Reveal ============== */
.reveal {
    opacity: 0;
    transform: perspective(1200px) translateY(60px) rotateX(8deg);
    transition: opacity 1s cubic-bezier(.2, .8, .2, 1), transform 1.1s cubic-bezier(.2, .8, .2, 1);
    transform-style: preserve-3d;
}
.reveal.in { opacity: 1; transform: perspective(1200px) translateY(0) rotateX(0); }
.reveal .stagger-child { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; transition-timing-function: cubic-bezier(.2, .8, .2, 1); }
.reveal.in .stagger-child { opacity: 1; transform: translateY(0); }
.reveal.in .stagger-child:nth-child(1) { transition-delay: .05s; }
.reveal.in .stagger-child:nth-child(2) { transition-delay: .15s; }
.reveal.in .stagger-child:nth-child(3) { transition-delay: .25s; }
.reveal.in .stagger-child:nth-child(4) { transition-delay: .35s; }
.reveal.in .stagger-child:nth-child(5) { transition-delay: .45s; }
.reveal.in .stagger-child:nth-child(6) { transition-delay: .55s; }
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal .stagger-child { transform: none !important; transition: opacity .3s !important; }
}

/* ============== Buttons ============== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 22px; border-radius: 10px;
    font-family: var(--font-body); font-weight: 700;
    font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
    border: none; cursor: pointer;
    transition: transform .15s, box-shadow .2s, background .2s;
    position: relative; overflow: hidden;
}
.btn-lg { padding: 17px 28px; font-size: 14px; }
.btn-primary {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #100800;
    box-shadow: 0 8px 30px rgba(255, 210, 74, 0.35), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255, 210, 74, .5); }
.btn-ghost {
    background: transparent; color: var(--ink-1);
    border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold-1); color: var(--gold-1); background: rgba(255, 210, 74, 0.05); }
.btn-locked {
    background: linear-gradient(135deg, #1a0e02, #2a1604);
    color: var(--gold-1);
    border: 1px solid var(--gold-3);
    box-shadow: inset 0 0 20px rgba(255, 81, 71, 0.15);
}
.btn-locked::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(255, 81, 71, 0.08) 6px 8px);
    pointer-events: none;
}
.btn-locked:hover {
    animation: shake .35s;
    box-shadow: inset 0 0 20px rgba(255, 81, 71, 0.3), 0 0 30px rgba(255, 81, 71, 0.4);
    color: var(--danger); border-color: var(--danger);
}
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-3px)} 75%{transform:translateX(3px)} }
.lock-icon { display: inline-flex; }
.locked-label {
    margin-left: 8px; padding: 3px 8px; border-radius: 4px;
    background: var(--danger); color: #fff; font-size: 10px; letter-spacing: 2px;
}

/* ============== TOP NAV ============== */
.topnav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: linear-gradient(180deg, rgba(8, 5, 0, 0.85), rgba(8, 5, 0, 0.55));
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    border-bottom: 1px solid var(--line);
}
.topnav-inner {
    max-width: var(--max); margin: 0 auto;
    padding: 14px 28px;
    display: grid; grid-template-columns: auto 1fr auto auto auto;
    align-items: center; gap: 16px;
}
.auth-actions { display: inline-flex; align-items: center; gap: 8px; }
.btn-sm { padding: 9px 16px; font-size: 11px; letter-spacing: 1.5px; gap: 6px; }

.theme-toggle {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: linear-gradient(135deg, rgba(255, 210, 74, 0.10), rgba(255, 210, 74, 0.02));
    backdrop-filter: blur(10px);
    color: var(--gold-1);
    cursor: pointer;
    display: grid; place-items: center;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
    position: relative; overflow: hidden;
}
.theme-toggle:hover { background: rgba(255, 210, 74, 0.18); border-color: var(--gold-1); transform: rotate(15deg); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .t-sun { display: none; }
[data-theme="light"] .theme-toggle .t-moon { display: none; }
[data-theme="light"] .theme-toggle .t-sun { display: block; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 18px rgba(255, 210, 74, 0.5); }
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 19px; letter-spacing: 3px; color: var(--ink-1); }
.brand-tag { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); letter-spacing: 2px; margin-left: 6px; }
.accent {
    background: linear-gradient(180deg, var(--gold-0), var(--gold-2));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.topnav-status {
    justify-self: center;
    display: flex; align-items: center; gap: 10px;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(255, 210, 74, 0.04);
    border: 1px solid var(--line);
    font-size: 11px; color: var(--ink-2);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 10px var(--danger); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }
@media (max-width: 900px) {
    .topnav-status { display: none; }
    .topnav-inner {
        display: flex; flex-wrap: wrap; align-items: center;
        padding: 12px 16px; gap: 10px;
    }
    .topnav-inner .brand { margin-right: auto; }
    .brand-tag { display: none; }
    .brand-name { font-size: 16px; letter-spacing: 2px; }
    .auth-actions { gap: 6px; }
    .btn-sm { padding: 8px 12px; font-size: 10px; letter-spacing: 1px; }
}

/* ============== SIDE RAIL ============== */
.side-rail {
    position: fixed;
    left: max(14px, calc((100vw - var(--max)) / 2 - 150px));
    top: 50%; z-index: 40;
    padding: 10px 10px;
    background: linear-gradient(180deg, rgba(20, 12, 4, 0.55), rgba(10, 6, 2, 0.45));
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border: 1px solid rgba(255, 210, 74, 0.22);
    border-radius: 14px;
    box-shadow:
        0 22px 44px -16px rgba(0, 0, 0, 0.85),
        0 10px 22px rgba(0, 0, 0, 0.45),
        0 0 36px rgba(255, 210, 74, 0.05),
        inset 0 1px 0 rgba(255, 243, 184, 0.08);
    transform: translateY(-50%) translateZ(0);
    animation: rail-float 7s ease-in-out infinite;
    transition: box-shadow .3s, border-color .3s;
}
.side-rail::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 243, 184, 0.08), transparent 40%, transparent 60%, rgba(255, 243, 184, 0.04));
    mix-blend-mode: overlay; opacity: .9;
}
.side-rail:hover {
    border-color: rgba(255, 210, 74, 0.4);
    box-shadow:
        0 36px 70px -18px rgba(0, 0, 0, 0.9),
        0 16px 36px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(255, 210, 74, 0.14),
        inset 0 1px 0 rgba(255, 243, 184, 0.14);
}
@keyframes rail-float {
    0%, 100% { transform: translateY(-50%) translateZ(0); }
    50%      { transform: translateY(calc(-50% - 8px)) translateZ(0); }
}
@media (prefers-reduced-motion: reduce) {
    .side-rail { animation: none; }
}
.side-rail ol { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.side-rail li {
    display: grid; grid-template-columns: 10px 18px 1fr;
    align-items: center; gap: 8px;
    padding: 4px 8px;
    border-radius: 8px;
    font-family: var(--font-mono); font-size: 9px;
    color: var(--ink-3); letter-spacing: 1.4px; text-transform: uppercase;
    cursor: pointer; transition: color .2s, background .2s;
    outline: none;
    white-space: nowrap;
}
.side-rail li:hover { color: var(--gold-1); background: rgba(255, 210, 74, 0.04); }
.side-rail li em { font-style: normal; color: var(--ink-2); font-weight: 600; font-size: 9.5px; }
.side-rail .rail-tick {
    width: 6px; height: 6px; border-radius: 50%;
    border: 1px solid var(--ink-3);
    transition: background .2s, border-color .2s, box-shadow .2s;
}
.side-rail li.is-active {
    color: var(--gold-1);
    background: rgba(255, 210, 74, 0.08);
}
.side-rail li.is-active em { color: var(--gold-1); }
.side-rail li.is-active .rail-tick { background: var(--gold-1); border-color: var(--gold-1); box-shadow: 0 0 8px var(--gold-1); }
/* Hide rail when the viewport gutter is too small to fit it without
   overlapping section content. Below this width, the rail would have
   to sit on top of headlines. */
@media (max-width: 1540px) { .side-rail { display: none; } }

/* ============== SECTIONS BASE ============== */
.section {
    max-width: var(--max); margin: 0 auto;
    padding: 130px 36px;
    position: relative; z-index: 5;
}
.section-eyebrow {
    display: flex; align-items: center; gap: 18px;
    margin-bottom: 24px;
    font-family: var(--font-mono); font-size: 11px;
    color: var(--gold-1); letter-spacing: 4px; text-transform: uppercase;
}
.section-eyebrow .num {
    padding: 4px 10px; border-radius: 6px;
    background: rgba(255, 210, 74, 0.1);
    border: 1px solid var(--line-strong);
}
.section-eyebrow .rule { flex: 0 0 80px; height: 1px; background: linear-gradient(90deg, var(--gold-3), transparent); }
.section-eyebrow .lbl.danger { color: var(--danger); }
.section-headline {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(28px, 6vw, 84px);
    line-height: 1.02; letter-spacing: -1px;
    color: var(--ink-1); margin-bottom: 60px;
    text-transform: uppercase;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ============== HERO ============== */
.hero {
    position: relative;
    padding: 140px 36px 80px;
    z-index: 5; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    opacity: .35;
}
.hero-bg-svg, .hero-bull-svg {
    width: 110%; height: 100%; position: absolute; left: -5%; top: 5%;
}
.hero-grid {
    max-width: var(--max); margin: 0 auto;
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 60px; align-items: center; min-height: 86vh;
}
.hero-left { position: relative; z-index: 2; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 210, 74, 0.1), rgba(255, 210, 74, 0.02));
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line-strong);
    color: var(--ink-2); font-size: 10.5px;
    letter-spacing: 2px; text-transform: uppercase;
    font-family: var(--font-mono);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); animation: pulse 1.6s infinite; }
.chip .dot.live { background: var(--danger); box-shadow: 0 0 8px var(--danger); }

.hero-headline {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(38px, 6vw, 92px);
    line-height: .95; letter-spacing: -1.5px;
    color: var(--ink-1); text-transform: uppercase;
    margin-bottom: 32px;
    overflow-wrap: break-word;
    word-break: break-word;
}
.hero-headline .line { display: block; }
.hero-headline .line-2 em {
    font-style: italic; font-weight: 700;
    background: linear-gradient(180deg, var(--gold-0), var(--gold-3));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-headline .line-3 .big-it em {
    font-style: italic; font-weight: 900;
    background: linear-gradient(180deg, var(--gold-0), var(--gold-2) 50%, var(--gold-3));
    background-size: 200% 200%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(255, 210, 74, 0.4);
}
@keyframes shimmer { 50% { background-position: 100% 50%; } }

.hero-lede {
    font-size: 17px; color: var(--ink-2);
    max-width: 540px; margin-bottom: 32px;
}
.hero-lede b { color: var(--ink-1); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* HERO RIGHT */
.hero-right { display: flex; flex-direction: column; align-items: center; gap: 30px; position: relative; }
.coin-dome {
    position: relative; width: 360px; height: 360px;
    max-width: 80vw; display: flex; align-items: center; justify-content: center;
}
.coin-glow {
    position: absolute; inset: -25%;
    background: radial-gradient(circle, rgba(255, 210, 74, 0.5) 0%, transparent 60%);
    filter: blur(40px); animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.1); opacity: .65; } }
.coin-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 210, 74, 0.3); }
.ring-1 { inset: -20px; animation: spin 24s linear infinite; }
.ring-2 { inset: -45px; border-style: dotted; border-color: rgba(255, 210, 74, 0.18); animation: spin 36s linear infinite reverse; }
.ring-3 { inset: -75px; border-color: rgba(255, 210, 74, 0.1); animation: spin 50s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.coin {
    width: 100%; height: 100%; object-fit: contain; border-radius: 50%;
    box-shadow: 0 0 80px rgba(255, 210, 74, 0.4), inset 0 0 60px rgba(0, 0, 0, 0.5);
    animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-12px) rotate(2deg); } }
.coin-shine {
    position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
    background: linear-gradient(125deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    background-size: 200% 200%; animation: shine 5s ease-in-out infinite;
    mix-blend-mode: overlay;
}
@keyframes shine { 100% { background-position: -100% 0; } }

/* Terminal widget */
.terminal { width: 100%; max-width: 360px; border-radius: 14px; overflow: hidden; }
.terminal-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--line);
}
.tdot { width: 10px; height: 10px; border-radius: 50%; }
.t-red { background: #ff5f57; }
.t-amber { background: #febc2e; }
.t-green { background: #28c840; }
.terminal-title {
    font-family: var(--font-mono); font-size: 11px;
    color: var(--ink-3); letter-spacing: 1px;
    margin-left: 10px;
}
.terminal-body {
    padding: 16px 18px; font-size: 12px;
    color: var(--ink-2);
    display: flex; flex-direction: column; gap: 6px;
}
.terminal-body div { font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-prompt { color: var(--gold-1); margin-right: 6px; }
.t-ok { color: var(--good); }
.t-warn { color: var(--danger); }
.blink { animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: .35; } }
.terminal-input { display: flex; align-items: center; }
.t-caret { display: inline-block; width: 8px; height: 14px; background: var(--gold-1); margin-left: 6px; animation: blink 0.8s steps(2) infinite; }

/* Live transactions terminal */
.livetx-section { padding: 56px 28px 24px; position: relative; z-index: 2; }
.livetx-wrap { max-width: 860px; margin: 0 auto; }
.livetx-term { max-width: 100%; }
.livetx-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #7af0a8;
    box-shadow: 0 0 8px rgba(122, 240, 168, 0.75);
    margin-left: auto;
    animation: livetx-pulse 1.4s infinite;
}
@keyframes livetx-pulse { 50% { opacity: .35; } }
.livetx-body {
    padding: 8px 10px;
    font-size: 12px;
    max-height: 360px;
    overflow-y: auto;
    gap: 3px;
}
.livetx-body::-webkit-scrollbar { width: 5px; }
.livetx-body::-webkit-scrollbar-thumb { background: rgba(255, 210, 74, 0.22); border-radius: 3px; }
.livetx-loading { color: var(--ink-3); font-style: italic; padding: 14px; }

.livetx-row {
    display: grid;
    grid-template-columns: 62px 1fr auto 56px;
    column-gap: 14px;
    align-items: center;
    padding: 9px 12px 9px 14px;
    border-left: 2px solid transparent;
    border-radius: 8px;
    background: rgba(255, 210, 74, 0.015);
    transition: background .2s, border-left-color .2s;
    white-space: nowrap;
    position: relative;
}
.livetx-row:hover { background: rgba(255, 210, 74, 0.06); }
.livetx-row + .livetx-row { margin-top: 1px; }
.livetx-row.kind-mint { border-left-color: rgba(122, 240, 168, 0.55); }
.livetx-row.kind-burn { border-left-color: rgba(255, 122, 122, 0.55); }
.livetx-row.kind-swap { border-left-color: rgba(255, 210, 74, 0.55); }
.livetx-row.kind-send { border-left-color: rgba(205, 191, 154, 0.35); }
.livetx-row.is-fresh { animation: livetx-flash 1.2s ease-out; }
@keyframes livetx-flash {
    0%   { background: rgba(122, 240, 168, 0.18); }
    100% { background: rgba(255, 210, 74, 0.015); }
}

.livetx-kind {
    font-weight: 800;
    letter-spacing: 1.3px;
    font-size: 9.5px;
    padding: 3px 0;
    border-radius: 5px;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid transparent;
    font-family: var(--font-mono);
}
.livetx-kind.mint { background: rgba(122, 240, 168, 0.13); color: #7af0a8; border-color: rgba(122, 240, 168, 0.28); }
.livetx-kind.burn { background: rgba(255, 122, 122, 0.13); color: #ff8a8a; border-color: rgba(255, 122, 122, 0.28); }
.livetx-kind.swap { background: rgba(255, 210, 74, 0.13); color: #FFD24A; border-color: rgba(255, 210, 74, 0.28); }
.livetx-kind.send { background: rgba(205, 191, 154, 0.13); color: #cdbf9a; border-color: rgba(205, 191, 154, 0.22); }

.livetx-addrs {
    color: var(--ink-2);
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-mono);
    font-size: 12.5px;
}
.livetx-addrs a {
    color: var(--gold-1);
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 210, 74, 0.3);
    padding-bottom: 1px;
    transition: color .15s, border-color .15s;
}
.livetx-addrs a:hover { color: var(--gold-0); border-color: var(--gold-0); }
.livetx-arrow {
    display: inline-block;
    color: var(--ink-3);
    margin: 0 6px;
    font-weight: 400;
    opacity: 0.7;
}

.livetx-amt {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--gold-0);
    font-variant-numeric: tabular-nums;
    font-size: 13.5px;
    letter-spacing: 0.2px;
}
.livetx-amt a { color: inherit; text-decoration: none; }
.livetx-amt a:hover { text-shadow: 0 0 8px rgba(255, 210, 74, 0.5); }
.livetx-amt-unit {
    color: var(--ink-3);
    font-weight: 500;
    font-size: 10.5px;
    margin-left: 4px;
    letter-spacing: 0.8px;
}

.livetx-when {
    color: var(--ink-3);
    font-size: 11px;
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    text-align: right;
    letter-spacing: 0.5px;
}

.livetx-empty {
    color: var(--ink-3);
    padding: 22px 0;
    text-align: center;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    font-size: 11px;
}

[data-theme="light"] .livetx-body { color: #e8d8a8; }

@media (max-width: 640px) {
    .livetx-section { padding: 40px 12px 12px; }
    .livetx-row {
        grid-template-columns: 52px 1fr auto;
        column-gap: 10px;
        padding: 8px 10px;
    }
    .livetx-when { grid-column: 2 / span 2; text-align: left; margin-top: 4px; }
    .livetx-amt { font-size: 12.5px; }
    .livetx-addrs { font-size: 11.5px; }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .coin-dome { width: 280px; height: 280px; }
}

/* ============== MARQUEE ============== */
.marquee {
    position: relative; z-index: 5;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(255, 210, 74, 0.04), rgba(255, 210, 74, 0.08), rgba(255, 210, 74, 0.04));
    overflow: hidden;
}
.marquee-lane { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-lane + .marquee-lane { margin-top: 10px; }
.marquee-track {
    display: flex; gap: 36px; white-space: nowrap;
    font-family: var(--font-display); font-size: 28px; letter-spacing: 2px;
    font-weight: 700; text-transform: uppercase;
    color: var(--ink-1);
}
.lane-fwd .marquee-track { animation: marquee-fwd 50s linear infinite; }
.lane-rev .marquee-track {
    animation: marquee-rev 60s linear infinite;
    font-family: var(--font-mono); font-size: 14px;
    color: var(--ink-3); font-weight: 400; letter-spacing: 4px;
}
@keyframes marquee-fwd { to { transform: translateX(-50%); } }
@keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.m-item b { color: var(--danger); }
.m-sep { color: var(--gold-1); opacity: .5; }
.m-item.small { font-size: 12px; }

/* ============== BENTO MANIFESTO ============== */
.bento-section { padding-top: 140px; }
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 18px;
}
.bento-tile {
    position: relative; overflow: hidden;
    padding: 30px 28px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow), var(--glass-inner);
    display: flex; flex-direction: column;
    transition: border-color .3s, box-shadow .3s;
}
.bento-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow-gold), var(--glass-inner); }
.bento-tile::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 210, 74, 0.18), transparent 50%);
    opacity: 0; transition: opacity .3s;
}
.bento-tile:hover::before { opacity: 1; }

.tile-tag {
    font-family: var(--font-mono); font-size: 10.5px;
    color: var(--gold-1); letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: auto;
}
.big-num {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(56px, 7vw, 112px); line-height: .85;
    color: var(--ink-1);
    background: linear-gradient(180deg, var(--gold-0), var(--gold-2) 60%, var(--gold-3));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 14px 0;
    display: flex; align-items: baseline; gap: 4px;
    overflow-wrap: break-word;
}
.big-num sup {
    font-size: 0.35em; font-weight: 700;
    -webkit-text-fill-color: var(--gold-1);
    color: var(--gold-1);
    margin-left: 6px;
}
.big-num-slash {
    opacity: .35; font-size: .7em;
    -webkit-text-fill-color: var(--ink-3);
    color: var(--ink-3);
    margin: 0 6px;
}
.tile-cap { color: var(--ink-2); font-size: 14px; margin-top: 6px; line-height: 1.5; }
.tile-cap.centered { text-align: center; }
.tile-sub { color: var(--ink-3); font-size: 11px; letter-spacing: 2px; margin-top: 12px; opacity: .8; }
.tile-title {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(34px, 4vw, 58px); line-height: .95;
    color: var(--ink-1); margin: 12px 0 8px;
    text-transform: uppercase;
}
.tile-title.big { font-size: clamp(38px, 4.5vw, 64px); }
.tile-mono {
    font-family: var(--font-mono); font-weight: 700;
    font-size: clamp(24px, 2.5vw, 38px); line-height: 1;
    color: var(--gold-1); margin: 14px 0 12px;
    letter-spacing: -1px;
}
.tile-stat { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.tile-stat .counter {
    font-family: var(--font-display); font-weight: 900;
    font-size: 56px; color: var(--ink-1);
}
.tile-stat sup { font-size: 22px; color: var(--gold-1); }
.tile-stat small { color: var(--ink-3); font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.strikethrough { text-decoration: line-through; text-decoration-thickness: 3px; color: var(--ink-3); text-decoration-color: var(--gold-2); }

/* bento layout: 6-col asymmetric, all single-row */
.bento-supply    { grid-column: span 3; }
.bento-tax       { grid-column: span 3; }
.bento-community { grid-column: span 4; }
.bento-admin     { grid-column: span 2; }
.bento-contract  { grid-column: span 3; }
.bento-sigil     { grid-column: span 3; align-items: center; justify-content: center; }
.bento-sigil .sigil-img { width: 80px; height: 80px; border-radius: 50%; margin: 10px auto; box-shadow: 0 0 24px rgba(255, 210, 74, 0.4); }

@media (max-width: 1100px) {
    .bento { grid-template-columns: repeat(4, 1fr); }
    .bento-supply { grid-column: span 4; }
    .bento-tax, .bento-community { grid-column: span 2; }
    .bento-admin { grid-column: span 2; grid-row: span 1; }
    .bento-contract { grid-column: span 2; }
    .bento-sigil { grid-column: span 4; }
}
@media (max-width: 700px) {
    .bento { grid-template-columns: 1fr; }
    .bento-tile { grid-column: span 1 !important; grid-row: auto !important; }
}

/* ============== VAULT SECTION ============== */
.vault-section { position: relative; }
.vault-grid {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 70px; align-items: center;
}
.vault-visual {
    display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.lock-orb {
    position: relative; width: 320px; height: 320px;
    display: flex; align-items: center; justify-content: center;
}
.lock-svg { width: 100%; height: 100%; filter: drop-shadow(0 12px 40px rgba(255, 210, 74, 0.25)); }
.lock-rays {
    position: absolute; inset: -30%; pointer-events: none;
    background:
        conic-gradient(from 0deg, transparent 0deg, rgba(255, 210, 74, 0.08) 30deg, transparent 60deg,
                       transparent 120deg, rgba(255, 210, 74, 0.06) 150deg, transparent 180deg,
                       transparent 240deg, rgba(255, 210, 74, 0.08) 270deg, transparent 300deg);
    animation: spin 30s linear infinite;
    mask-image: radial-gradient(circle, transparent 30%, #000 60%, transparent 90%);
}

.lock-meta {
    width: 100%; max-width: 360px;
    padding: 20px 22px; border-radius: 14px;
    display: grid; grid-template-columns: 1fr; gap: 14px;
}
.lock-meta > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; }
.lock-meta em { font-style: normal; font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); letter-spacing: 2.5px; text-transform: uppercase; }
.lock-meta b { font-size: 13px; }
.lock-meta .danger { color: var(--danger); }

.vault-copy { }
.vault-headline {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(26px, 5vw, 64px); line-height: 1.02;
    letter-spacing: -1px; margin-bottom: 26px;
    text-transform: uppercase;
    overflow-wrap: break-word;
}
.vault-copy p { color: var(--ink-2); margin-bottom: 16px; font-size: 16px; }
.vault-copy p b, .vault-copy p em { color: var(--ink-1); }
.vault-copy p em { font-style: italic; }
.danger { color: var(--danger); }

.big-countdown {
    margin: 30px 0 28px;
    padding: 26px 28px; border-radius: 18px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.cd-label { font-size: 10.5px; letter-spacing: 4px; color: var(--gold-1); margin-bottom: 16px; }
.cd-cells { display: flex; align-items: flex-end; gap: 8px; }
.cd-cells > div:not(.sep) { flex: 1; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.cd-cells span {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(36px, 5vw, 64px); line-height: 1;
    color: var(--ink-1);
    text-shadow: 0 0 24px rgba(255, 210, 74, 0.3);
}
.cd-cells em { font-style: normal; font-size: 10px; color: var(--ink-3); letter-spacing: 2.5px; text-transform: uppercase; }
.cd-cells .sep {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(36px, 5vw, 64px); color: var(--gold-1);
    line-height: 1; opacity: .5;
}

.vault-checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.vault-checklist li {
    display: grid; grid-template-columns: 26px 1fr; gap: 10px;
    color: var(--ink-2); font-size: 14px; line-height: 1.5;
}
.vault-checklist .check {
    width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(74, 222, 128, 0.12);
    color: var(--good); font-size: 12px; font-weight: 700;
    border: 1px solid rgba(74, 222, 128, 0.4);
}
.vault-checklist b { color: var(--ink-1); }

@media (max-width: 900px) {
    .vault-grid { grid-template-columns: 1fr; gap: 40px; }
    .lock-orb { width: 240px; height: 240px; }
}

/* ============== TOKENOMICS ============== */
.tokenomics-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.ring-chart { display: flex; justify-content: center; }
.donut { width: 100%; max-width: 380px; filter: drop-shadow(0 0 30px rgba(255, 210, 74, 0.3)); }
.donut-big { font-family: var(--font-display); font-size: 30px; fill: var(--ink-1); font-weight: 900; }
.donut-small { font-family: var(--font-mono); font-size: 7px; fill: var(--ink-3); letter-spacing: 3px; }

.legend { display: flex; flex-direction: column; gap: 12px; }
.legend-row {
    display: grid; grid-template-columns: 18px 1fr 1.5fr 50px;
    align-items: center; gap: 14px;
    padding: 12px 16px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 210, 74, 0.05), rgba(255, 210, 74, 0.01));
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    transition: border-color .2s, transform .2s;
}
.legend-row:hover { transform: translateX(4px); border-color: var(--c); }
.legend-bullet { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.legend-label { color: var(--ink-1); font-size: 14px; }
.legend-bar { height: 5px; background: rgba(255, 255, 255, 0.05); border-radius: 999px; overflow: hidden; }
.legend-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--c), var(--gold-0)); border-radius: 999px; }
.legend-val { font-family: var(--font-mono); font-size: 14px; color: var(--gold-1); text-align: right; font-weight: 600; }

.spec-grid {
    margin-top: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
    padding-top: 22px; border-top: 1px solid var(--line);
}
.spec-grid > div { display: flex; flex-direction: column; gap: 4px; }
.spec-grid em { font-style: normal; font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); letter-spacing: 2px; text-transform: uppercase; }
.spec-grid b { color: var(--ink-1); font-weight: 600; font-size: 15px; }
.mono { font-family: var(--font-mono); }

@media (max-width: 900px) { .tokenomics-grid { grid-template-columns: 1fr; } }

/* ============== TRUST ============== */
.trust-row { margin-bottom: 50px; }
.trust-row:last-of-type { margin-bottom: 0; }
.trust-row-label {
    display: flex; align-items: center; gap: 16px;
    justify-content: center;
    font-family: var(--font-mono); font-size: 11px;
    color: var(--gold-1); letter-spacing: 5px; text-transform: uppercase;
    margin-bottom: 24px;
}
.trust-row-label .bar { flex: 1; max-width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.trust-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.trust-feature {
    position: relative; display: grid; grid-template-columns: auto 1fr;
    gap: 22px; align-items: center; padding: 28px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border); border-radius: var(--radius);
    box-shadow: var(--glass-shadow), var(--glass-inner);
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}
.trust-feature::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, var(--brand-a, var(--gold-1)), var(--brand-b, var(--gold-2)));
    opacity: .85;
}
.trust-feature::after {
    content: ''; position: absolute; right: -40px; top: -40px;
    width: 160px; height: 160px; border-radius: 50%;
    background: radial-gradient(circle, var(--brand-a, var(--gold-1)) 0%, transparent 65%);
    opacity: .08; transition: opacity .35s; pointer-events: none;
}
.trust-feature:hover { border-color: var(--line-strong); box-shadow: var(--shadow-gold), var(--glass-inner); }
.trust-feature:hover::after { opacity: .18; }
.trust-logo { width: 72px; height: 72px; flex-shrink: 0; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); }
.trust-logo svg { width: 100%; height: 100%; display: block; }
.trust-feature-body { display: flex; flex-direction: column; gap: 6px; }
.trust-tag {
    align-self: flex-start;
    font-family: var(--font-mono); font-size: 10px;
    color: var(--gold-1); letter-spacing: 3px;
    padding: 3px 10px; border-radius: 999px;
    background: rgba(255, 210, 74, 0.08); border: 1px solid var(--line-strong);
}
.trust-feature h3 { font-family: var(--font-display); font-size: 22px; color: var(--ink-1); letter-spacing: 1px; }
.trust-feature p { color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }

.trust-pill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-pill {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border); border-radius: 14px;
    box-shadow: var(--glass-shadow), var(--glass-inner);
    transition: border-color .25s, box-shadow .25s;
    position: relative; overflow: hidden;
}
.trust-pill::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--brand, var(--gold-1));
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s;
}
.trust-pill:hover { border-color: var(--line-strong); box-shadow: 0 10px 30px rgba(0, 0, 0, .35), var(--glass-inner); }
.trust-pill:hover::after { transform: scaleX(1); }
.pill-logo { width: 40px; height: 40px; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }
.pill-text h4 { font-family: var(--font-display); font-size: 15px; color: var(--ink-1); margin-bottom: 2px; }
.pill-text small { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 1.5px; text-transform: uppercase; }

@media (max-width: 800px) {
    .trust-feature-grid { grid-template-columns: 1fr; }
    .trust-pill-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============== HORIZONTAL ROADMAP ============== */
.roadmap-section { padding-right: 0; }
.roadmap-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 30px; margin-bottom: 50px; padding-right: 36px;
}
.roadmap-controls { display: flex; gap: 8px; }
.rm-btn {
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255, 210, 74, 0.05);
    border: 1px solid var(--line-strong);
    color: var(--gold-1); font-size: 22px; cursor: pointer;
    display: grid; place-items: center;
    transition: background .2s, transform .2s, border-color .2s;
}
.rm-btn:hover { background: rgba(255, 210, 74, 0.15); transform: translateY(-2px); border-color: var(--gold-1); }
.rm-scroller {
    display: flex; gap: 22px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding: 0 36px;
    padding: 10px 36px 30px 0;
    scrollbar-width: thin; scrollbar-color: var(--gold-3) transparent;
}
.rm-scroller::-webkit-scrollbar { height: 6px; }
.rm-scroller::-webkit-scrollbar-thumb { background: var(--gold-3); border-radius: 3px; }
.rm-card {
    flex: 0 0 380px; scroll-snap-align: start;
    padding: 32px 28px; border-radius: var(--radius);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-inner);
    display: flex; flex-direction: column; min-height: 360px;
    position: relative; overflow: hidden;
    transition: transform .3s, border-color .3s;
}
.rm-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.rm-card.node-active { border-color: var(--line-strong); box-shadow: var(--shadow-gold); }
.rm-card.node-locked { opacity: .6; }
.rm-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.rm-phase { font-size: 11px; color: var(--gold-1); letter-spacing: 3px; }
.rm-status { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); letter-spacing: 2px; display: flex; align-items: center; gap: 8px; }
.rm-dot { width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; }
.rm-dot.done { background: var(--good); color: #042; }
.rm-dot.live { background: var(--gold-1); box-shadow: 0 0 10px var(--gold-1); animation: pulse 1.4s infinite; }
.rm-dot.locked { background: transparent; color: var(--ink-3); }
.rm-title {
    font-family: var(--font-display); font-weight: 900;
    font-size: 32px; line-height: 1; letter-spacing: -.5px;
    color: var(--ink-1); margin-bottom: 18px; text-transform: uppercase;
}
.rm-items { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rm-items li {
    padding-left: 20px; position: relative;
    color: var(--ink-2); font-size: 14px;
}
.rm-items li::before {
    content: '▸'; position: absolute; left: 0; color: var(--gold-1);
}
.rm-card-foot { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 10px; color: var(--ink-3); letter-spacing: 2px; }

@media (max-width: 700px) {
    .roadmap-header { flex-direction: column; align-items: flex-start; padding-right: 24px; }
    .rm-card { flex-basis: 86%; }
}

/* ============== FAQ ============== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 920px; }
.faq-item {
    border-radius: 14px; overflow: hidden;
    transition: border-color .2s, box-shadow .2s, transform .25s;
}
.faq-item:hover { transform: translateX(2px); }
.faq-item[open] {
    border-color: var(--line-strong);
    background: linear-gradient(135deg, rgba(255, 210, 74, 0.10), rgba(255, 210, 74, 0.02));
    box-shadow: var(--shadow-gold), var(--glass-inner);
}
.faq-item summary {
    cursor: pointer; padding: 22px 26px;
    display: grid; grid-template-columns: 50px 1fr 30px;
    align-items: center; gap: 18px; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num { color: var(--gold-1); font-size: 13px; letter-spacing: 2px; }
.faq-q { font-size: 16px; color: var(--ink-1); font-weight: 600; }
.faq-toggle {
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 210, 74, 0.1); color: var(--gold-1);
    font-size: 18px; transition: transform .25s, background .25s;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--gold-1); color: #000; }
.faq-item p { padding: 0 26px 24px 94px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
@media (max-width: 600px) {
    .faq-item summary { grid-template-columns: 30px 1fr 30px; padding: 18px 18px; }
    .faq-item p { padding: 0 18px 20px 18px; }
}

/* ============== FOOTER ============== */
.site-footer {
    position: relative; z-index: 5;
    padding: 80px 36px 30px;
    border-top: 1px solid var(--line);
    overflow: hidden;
}
.footer-wordmark {
    position: absolute; left: 0; right: 0; bottom: -30px;
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(58px, 18vw, 280px);
    line-height: .8; letter-spacing: -6px;
    text-align: center; white-space: nowrap;
    background: linear-gradient(180deg, rgba(255, 210, 74, 0.18) 0%, transparent 90%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: none; user-select: none;
}
.footer-grid {
    max-width: var(--max); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 2fr;
    gap: 40px; align-items: start;
    position: relative; z-index: 2;
}
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand .brand-name { font-size: 22px; }
.foot-brand small { color: var(--ink-3); font-size: 12px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.foot-cols h4 { font-size: 11px; color: var(--gold-1); letter-spacing: 3px; margin-bottom: 14px; }
.foot-cols a, .foot-cols small {
    display: block; color: var(--ink-2); font-size: 13px;
    padding: 4px 0; transition: color .2s;
}
.foot-cols a:hover { color: var(--gold-1); }
.foot-cols small { color: var(--ink-3); font-size: 11px; letter-spacing: 1px; }
.footer-meta {
    max-width: var(--max); margin: 60px auto 0;
    padding-top: 24px; border-top: 1px dashed var(--line);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    font-size: 11px; color: var(--ink-3); letter-spacing: 2px;
    position: relative; z-index: 2;
}
@media (max-width: 800px) {
    .footer-grid { grid-template-columns: 1fr; }
    .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* ============== MODAL ============== */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .8); backdrop-filter: blur(10px); animation: fade .2s; }
.modal-card {
    position: relative;
    border-radius: var(--radius);
    padding: 40px 30px; max-width: 440px; text-align: center;
    animation: rise .25s;
    border-color: rgba(255, 81, 71, 0.4) !important;
}
.modal-lock { font-size: 56px; margin-bottom: 14px; }
.modal-card h3 { font-family: var(--font-display); font-size: 24px; color: var(--danger); letter-spacing: 2px; margin-bottom: 10px; }
.modal-card p { color: var(--ink-2); margin-bottom: 14px; }
.modal-code { font-size: 12px; color: var(--ink-3); padding: 10px; background: rgba(0,0,0,.4); border-radius: 6px; margin-bottom: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }

/* ============== MOBILE CONSOLIDATION (< 768px) ============== */
@media (max-width: 768px) {
    .section { padding: 80px 20px; }
    .hero { padding: 110px 20px 60px; }
    .hero-grid { gap: 30px; }
    .hero-headline { letter-spacing: -1px; }
    .hero-headline .line-3 .big-it em { text-shadow: 0 0 24px rgba(255, 210, 74, 0.3); }
    .hero-tags { margin-bottom: 24px; gap: 6px; }
    .chip { padding: 5px 10px; font-size: 10px; }
    .hero-lede { font-size: 15px; }
    .terminal { max-width: 100%; }
    .coin-dome { width: 240px; height: 240px; }
    .topnav-inner { padding: 12px 14px; }
    .topnav .nav-cta span:not(.lock-icon) { display: none; }
    .topnav .nav-cta { padding: 10px 12px; }

    .marquee { padding: 22px 0; }
    .marquee-track { font-size: 22px; gap: 24px; }
    .lane-rev .marquee-track { font-size: 12px; }

    .section-headline { margin-bottom: 40px; }
    .section-eyebrow .rule { flex-basis: 30px; }

    .bento-section { padding-top: 80px; }
    .bento { gap: 14px; }
    .bento-tile { padding: 24px 22px; }
    .tile-title.big { font-size: clamp(30px, 8vw, 48px); }

    .vault-grid { gap: 30px; }
    .lock-orb { width: 200px; height: 200px; }
    .lock-meta { padding: 16px; gap: 10px; }
    .big-countdown { padding: 20px; }
    .cd-cells .sep { display: none; }
    .cd-cells { gap: 6px; }
    .cd-cells span { font-size: clamp(28px, 12vw, 48px) !important; }

    .roadmap-header { padding-right: 20px; }
    .rm-scroller { padding: 10px 20px 24px 0; scroll-padding-left: 20px; }
    .rm-card { flex-basis: 86%; min-height: 320px; padding: 26px 22px; }
    .rm-title { font-size: 26px; }

    .faq-item summary { padding: 16px 18px; gap: 10px; }
    .faq-q { font-size: 14.5px; }
    .faq-item p { font-size: 14px; }

    .site-footer { padding: 60px 20px 24px; }
    .footer-grid { gap: 26px; }
    .foot-cols { grid-template-columns: 1fr; gap: 18px; }
    .footer-meta { font-size: 10px; gap: 10px; }
    .footer-wordmark { bottom: -14px; }
}

/* ============== Even tighter, <= 380px ============== */
@media (max-width: 380px) {
    .section, .hero, .site-footer { padding-left: 16px; padding-right: 16px; }
    .topnav-inner { padding: 10px 12px; gap: 8px; }
    .brand-name { font-size: 14px; letter-spacing: 1.5px; }
    .brand-logo { width: 34px; height: 34px; }
    .modal-card { padding: 30px 22px; }
}

/* ============== LIGHT THEME ============== */
[data-theme="light"] {
    --bg-0: #fbf6e8;
    --bg-1: #f4ecd2;
    --bg-2: #ede1b3;
    --bg-3: #e2cf89;

    --ink-1: #1d1606;
    --ink-2: #4c3a18;
    --ink-3: #7a6125;
    --ink-4: #a6884a;

    --gold-0: #c4870e;
    --gold-1: #a87208;
    --gold-2: #8a5e05;
    --gold-3: #6b4500;
    --gold-4: #4a2e00;

    --danger: #d63838;
    --good: #15803d;

    --line: rgba(168, 114, 8, 0.22);
    --line-strong: rgba(168, 114, 8, 0.38);
    --shadow-gold: 0 0 36px rgba(168, 114, 8, 0.18);
    --shadow-deep: 0 18px 44px rgba(60, 40, 0, 0.14);

    --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.30) 50%, rgba(255, 252, 240, 0.55) 100%);
    --glass-border: 1px solid rgba(168, 114, 8, 0.24);
    --glass-inner: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(60, 40, 0, 0.05);
    --glass-shadow: 0 8px 26px rgba(60, 40, 0, 0.10), 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Body background → warm parchment with subtle gold light */
[data-theme="light"] body {
    background: #fbf6e8;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 0%, #fcecbf 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 20% 70%, rgba(168, 114, 8, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 30% at 80% 90%, rgba(214, 56, 56, 0.05) 0%, transparent 60%);
}
[data-theme="light"] body::before { opacity: .025; mix-blend-mode: multiply; }
[data-theme="light"] .grid-overlay {
    background-image:
        linear-gradient(rgba(168, 114, 8, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 114, 8, 0.07) 1px, transparent 1px);
}

/* Top nav, footer */
[data-theme="light"] .topnav {
    background: linear-gradient(180deg, rgba(251, 246, 232, 0.88), rgba(251, 246, 232, 0.62));
    border-bottom: 1px solid var(--line);
}
[data-theme="light"] .nav-links a { color: var(--ink-2); }

/* Side rail — lighter glass with deeper gold border */
[data-theme="light"] .side-rail {
    background: linear-gradient(180deg, rgba(255, 252, 240, 0.85), rgba(248, 240, 215, 0.7));
    border-color: rgba(168, 114, 8, 0.3);
    box-shadow:
        0 22px 44px -16px rgba(60, 40, 0, 0.25),
        0 10px 22px rgba(60, 40, 0, 0.1),
        0 0 36px rgba(168, 114, 8, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Headlines & accents stay legible */
[data-theme="light"] .accent {
    background: linear-gradient(180deg, var(--gold-1), var(--gold-3));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="light"] .hero-headline .line-2 em,
[data-theme="light"] .hero-headline .line-3 .big-it em,
[data-theme="light"] .big-num {
    background: linear-gradient(180deg, var(--gold-0), var(--gold-2) 60%, var(--gold-3));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="light"] .shimmer {
    background: linear-gradient(110deg, var(--gold-3) 0%, var(--gold-0) 45%, var(--gold-2) 55%, var(--gold-3) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Locked button: stronger contrast for light bg */
[data-theme="light"] .btn-locked {
    background: linear-gradient(135deg, #fff1d5, #fadeaa);
    color: #6b4500;
    border-color: var(--gold-2);
}

/* Cards / glass surfaces inherit via variables — no extra work */

/* Terminal stays dark (it's a terminal) */
[data-theme="light"] .terminal {
    background: linear-gradient(180deg, #1a1306, #0a0700);
    color: #e8d8a8;
    border: 1px solid rgba(168, 114, 8, 0.45);
}
[data-theme="light"] .terminal-body { color: #e8d8a8; }

/* Donut + roadmap dots / chips: bump contrast where needed */
[data-theme="light"] .donut-big { fill: var(--ink-1); }
[data-theme="light"] .donut-small { fill: var(--ink-3); }
[data-theme="light"] .donut { filter: drop-shadow(0 0 24px rgba(168, 114, 8, 0.18)); }

/* Section eyebrow number chip */
[data-theme="light"] .section-eyebrow .num {
    background: rgba(168, 114, 8, 0.14);
}

/* Modal in light mode */
[data-theme="light"] .modal-backdrop { background: rgba(40, 28, 0, 0.55); }
[data-theme="light"] .modal-card { background: var(--bg-0); }

/* Theme toggle visual in light mode */
[data-theme="light"] .theme-toggle {
    background: linear-gradient(135deg, rgba(168, 114, 8, 0.12), rgba(168, 114, 8, 0.04));
}

/* Particles canvas tweak — particles are gold, look fine on either bg.
   Background fade above ensures they remain visible. */

/* Marquee — darker text on light */
[data-theme="light"] .marquee { background: linear-gradient(90deg, rgba(168, 114, 8, 0.04), rgba(168, 114, 8, 0.10), rgba(168, 114, 8, 0.04)); }

/* Footer wordmark in light mode */
[data-theme="light"] .footer-wordmark {
    background: linear-gradient(180deg, rgba(168, 114, 8, 0.22) 0%, transparent 90%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero bg bull text */
[data-theme="light"] .hero-bg { opacity: .25; }

/* ============== PAPER ============== */
.paper-body {
    max-width: 760px; margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius); padding: 40px;
    box-shadow: var(--glass-shadow), var(--glass-inner);
}
.paper-body h3 {
    font-family: var(--font-display); font-size: 22px;
    color: var(--gold-1); margin: 24px 0 10px; letter-spacing: 1px;
}
.paper-body h3:first-child { margin-top: 0; }
.paper-body p { color: var(--ink-2); margin-bottom: 12px; }

/* =====================================================================
   PORTAL SIDEBAR — pin to viewport on desktop (overrides per-page
   `.db-side{position:sticky}` via 2-class specificity, while the
   per-page mobile rule `@media (max-width:840px) .db-side{position:static}`
   still applies on small screens because this block is gated to >=841px.
   ===================================================================== */
@media (min-width: 841px) {
    .db-shell .db-side {
        position: fixed;
        top: 96px;
        width: 240px;
        left: max(28px, calc((100vw - 1380px) / 2 + 28px));
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    /* When sidebar is fixed it leaves grid flow, so explicitly place
       main into the second column or it would auto-fill column 1. */
    .db-shell .db-main { grid-column: 2; }
}

/* Dashboard's #db-live wraps all the cards (hero/ref/stats/booster/
   levels/strip) but is a plain <div>, so .db-main's flex gap never
   applied between them. Force it to inherit the same flex layout. */
.db-shell .db-main > #db-live {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* =====================================================================
   PORTAL LIGHT THEME
   Overrides for the inline-styled member-portal pages
   (login, register, invest, dashboard, withdraw, salary, performance,
    directs, downline) when [data-theme="light"] is active.
   ===================================================================== */

/* --- Topbar (shared by db-* and li-* shells) --- */
[data-theme="light"] .db-topbar,
[data-theme="light"] .li-topbar {
    background: linear-gradient(180deg, rgba(251,246,232,.92), rgba(251,246,232,.64));
    border-bottom: 1px solid rgba(168,114,8,.22);
}
[data-theme="light"] .db-brand-name,
[data-theme="light"] .li-brand-name { color: #a87208; }
[data-theme="light"] .db-brand-tag,
[data-theme="light"] .li-brand-tag { color: #7a6125; }
[data-theme="light"] .db-back,
[data-theme="light"] .li-back {
    color: #4c3a18;
    border-color: rgba(168,114,8,.25);
    background: rgba(255,252,240,.5);
}
[data-theme="light"] .db-back:hover,
[data-theme="light"] .li-back:hover {
    color: #a87208;
    border-color: rgba(168,114,8,.55);
    background: rgba(168,114,8,.08);
}
[data-theme="light"] .db-pill {
    background: rgba(168,114,8,.06);
    border-color: rgba(168,114,8,.25);
    color: #4c3a18;
}
[data-theme="light"] .db-pill.addr { color: #a87208; }
[data-theme="light"] .db-pill .dot.warn { background: #c4870e; box-shadow: 0 0 8px rgba(196,135,14,.5); }
[data-theme="light"] .db-pill .dot.err  { background: #d63838; box-shadow: 0 0 8px rgba(214,56,56,.5); }

/* --- Sidebar --- */
[data-theme="light"] .db-side {
    background: linear-gradient(180deg, rgba(255,252,240,.85), rgba(248,238,212,.7));
    border-color: rgba(168,114,8,.22);
    box-shadow: 0 18px 44px rgba(60,40,0,.12);
}
[data-theme="light"] .db-side-label { color: #7a6125; }
[data-theme="light"] .db-nav a { color: #4c3a18; }
[data-theme="light"] .db-nav a:hover { background: rgba(168,114,8,.06); color: #a87208; }
[data-theme="light"] .db-nav a.is-active {
    background: linear-gradient(135deg, rgba(196,135,14,.16), rgba(168,114,8,.04));
    color: #a87208;
    border-color: rgba(168,114,8,.32);
    box-shadow: inset 0 1px 0 rgba(168,114,8,.12);
}
[data-theme="light"] .db-wallet {
    background: rgba(255,252,240,.6);
    border-color: rgba(168,114,8,.18);
}
[data-theme="light"] .db-wallet-addr { color: #a87208; }
[data-theme="light"] .db-wallet-net  { color: #7a6125; }
[data-theme="light"] .db-wallet-btn {
    color: #a87208;
    border-color: rgba(168,114,8,.32);
    background: rgba(255,252,240,.4);
}
[data-theme="light"] .db-wallet-btn:hover { background: rgba(168,114,8,.08); border-color: rgba(168,114,8,.55); }
[data-theme="light"] .db-wallet-btn.danger { color: #c1393e; border-color: rgba(214,56,56,.4); }
[data-theme="light"] .db-wallet-btn.danger:hover { background: rgba(214,56,56,.08); border-color: rgba(214,56,56,.6); }

/* --- Card / panel base — any portal hero, card, state, info, login, ladder, list --- */
[data-theme="light"] .db-hero,
[data-theme="light"] .db-state,
[data-theme="light"] .db-ref,
[data-theme="light"] .db-booster,
[data-theme="light"] .db-stat,
[data-theme="light"] .db-strip-card,
[data-theme="light"] .db-levels,
[data-theme="light"] .wd-hero,
[data-theme="light"] .wd-info,
[data-theme="light"] .wd-claim,
[data-theme="light"] .pf-hero,
[data-theme="light"] .pf-legs,
[data-theme="light"] .pf-ladder,
[data-theme="light"] .pf-pending-block,
[data-theme="light"] .sa-hero,
[data-theme="light"] .sa-card,
[data-theme="light"] .sa-ladder,
[data-theme="light"] .sa-pending-block,
[data-theme="light"] .dr-hero,
[data-theme="light"] .dr-ref,
[data-theme="light"] .dr-list-card,
[data-theme="light"] .dn-hero,
[data-theme="light"] .dn-tree-card,
[data-theme="light"] .in-hero,
[data-theme="light"] .in-form-card,
[data-theme="light"] .in-info,
[data-theme="light"] .li-card {
    background: linear-gradient(180deg, rgba(255,252,240,.92), rgba(248,238,212,.78));
    border-color: rgba(168,114,8,.28);
    box-shadow: 0 18px 44px rgba(60,40,0,.12);
}

/* Inner sub-panels (smaller stat tiles, list rows, etc.) */
[data-theme="light"] .db-claim,
[data-theme="light"] .wd-msg.info,
[data-theme="light"] .sa-leg,
[data-theme="light"] .sa-window-meta,
[data-theme="light"] .pf-leg,
[data-theme="light"] .dr-stat,
[data-theme="light"] .dn-stat,
[data-theme="light"] .in-pill-stat,
[data-theme="light"] .in-split-cell,
[data-theme="light"] .in-tier-box,
[data-theme="light"] .li-account,
[data-theme="light"] .li-account-cell,
[data-theme="light"] .pf-rung,
[data-theme="light"] .sa-rung {
    background: rgba(255,250,225,.55);
    border-color: rgba(168,114,8,.22);
    color: #4c3a18;
}
[data-theme="light"] .pf-leg.l1 {
    background: linear-gradient(180deg, rgba(196,135,14,.12), rgba(255,252,240,.6));
    border-color: rgba(168,114,8,.45);
}
[data-theme="light"] .pf-rung.is-passed,
[data-theme="light"] .sa-rung.is-passed {
    background: rgba(21,128,61,.06);
    border-color: rgba(21,128,61,.3);
}
[data-theme="light"] .pf-rung.is-current,
[data-theme="light"] .sa-rung.is-current {
    background: linear-gradient(135deg, rgba(196,135,14,.16), rgba(168,114,8,.04));
    border-color: #a87208;
    box-shadow: 0 0 24px rgba(168,114,8,.18), inset 0 1px 0 rgba(168,114,8,.16);
}

/* --- Headlines (Cinzel) --- */
[data-theme="light"] .db-greeting,
[data-theme="light"] .wd-title,
[data-theme="light"] .pf-medal-text h1,
[data-theme="light"] .sa-tier-name,
[data-theme="light"] .dr-title,
[data-theme="light"] .dn-title,
[data-theme="light"] .in-title,
[data-theme="light"] .li-title,
[data-theme="light"] .db-state h2,
[data-theme="light"] .dr-list-head h2,
[data-theme="light"] .dn-tree-head h2,
[data-theme="light"] .pf-legs-head h2,
[data-theme="light"] .pf-ladder-head h2,
[data-theme="light"] .sa-ladder-head h2 { color: #1d1606; }

/* Accent gradient text (light-theme amber) */
[data-theme="light"] .db-greeting .accent,
[data-theme="light"] .wd-title .accent,
[data-theme="light"] .pf-medal-text h1 .accent,
[data-theme="light"] .sa-tier-name .accent,
[data-theme="light"] .dr-title .accent,
[data-theme="light"] .dn-title .accent,
[data-theme="light"] .in-title .accent,
[data-theme="light"] .li-title,
[data-theme="light"] .li-headline .accent,
[data-theme="light"] .db-brand-name .accent {
    background: linear-gradient(180deg, #c4870e, #6b4500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Body / sub copy --- */
[data-theme="light"] .db-greeting-sub,
[data-theme="light"] .db-sub,
[data-theme="light"] .wd-sub,
[data-theme="light"] .pf-sub,
[data-theme="light"] .sa-rate-line,
[data-theme="light"] .dr-sub,
[data-theme="light"] .dn-sub,
[data-theme="light"] .in-sub,
[data-theme="light"] .li-sub,
[data-theme="light"] .li-lede,
[data-theme="light"] .db-state p,
[data-theme="light"] .dr-list-head p,
[data-theme="light"] .dn-tree-head p,
[data-theme="light"] .pf-legs-head p,
[data-theme="light"] .pf-ladder-head p,
[data-theme="light"] .sa-ladder-head p { color: #4c3a18; }

/* --- Eyebrows / small mono labels --- */
[data-theme="light"] .db-eyebrow,
[data-theme="light"] .li-eyebrow,
[data-theme="light"] .db-stat-label,
[data-theme="light"] .wd-claim-label,
[data-theme="light"] .dr-stat em,
[data-theme="light"] .dn-stat em,
[data-theme="light"] .in-pill-stat em,
[data-theme="light"] .li-account-cell em,
[data-theme="light"] .in-split-cell em,
[data-theme="light"] .db-stat-sub,
[data-theme="light"] .wd-claim-sub,
[data-theme="light"] .dr-stat span,
[data-theme="light"] .dn-stat span,
[data-theme="light"] .in-pill-stat span { color: #7a6125; }
[data-theme="light"] .db-eyebrow .num,
[data-theme="light"] .li-eyebrow .num { color: #a87208; }

/* --- Big mono values --- */
[data-theme="light"] .db-stat-value,
[data-theme="light"] .db-claim-value,
[data-theme="light"] .wd-total,
[data-theme="light"] .wd-claim-val,
[data-theme="light"] .pf-pending-val,
[data-theme="light"] .sa-pending-val,
[data-theme="light"] .sa-window-big,
[data-theme="light"] .sa-leg-val,
[data-theme="light"] .pf-leg-val,
[data-theme="light"] .dr-stat b,
[data-theme="light"] .dn-stat b,
[data-theme="light"] .in-pill-stat b,
[data-theme="light"] .dr-vol,
[data-theme="light"] .dr-addr-text,
[data-theme="light"] .li-account-cell b,
[data-theme="light"] .in-split-cell b,
[data-theme="light"] .in-tier-box b,
[data-theme="light"] .sa-tier-num,
[data-theme="light"] .pf-medal-tier { color: #a87208; text-shadow: none; }

/* --- Buttons (primary gold gradient stays — already legible on light) --- */
[data-theme="light"] .li-btn.ghost,
[data-theme="light"] .in-btn.ghost,
[data-theme="light"] .sa-btn.ghost,
[data-theme="light"] .wd-claim-btn,
[data-theme="light"] .db-state .db-cta.ghost {
    color: #a87208;
    border-color: rgba(168,114,8,.4);
    background: rgba(255,252,240,.4);
}
[data-theme="light"] .li-btn.ghost:hover,
[data-theme="light"] .in-btn.ghost:hover,
[data-theme="light"] .sa-btn.ghost:hover,
[data-theme="light"] .wd-claim-btn:hover:not(:disabled),
[data-theme="light"] .db-state .db-cta.ghost:hover {
    background: rgba(168,114,8,.06);
    border-color: #a87208;
}

/* --- Form inputs --- */
[data-theme="light"] .li-input,
[data-theme="light"] .in-input,
[data-theme="light"] .dr-ref-input,
[data-theme="light"] .db-ref-input {
    background: rgba(255,252,240,.7);
    border-color: rgba(168,114,8,.28);
    color: #1d1606;
}
[data-theme="light"] .li-input::placeholder,
[data-theme="light"] .in-input::placeholder { color: #7a6125; }
[data-theme="light"] .li-input:focus,
[data-theme="light"] .in-input:focus {
    border-color: rgba(168,114,8,.65);
    box-shadow: 0 0 0 3px rgba(168,114,8,.1);
}

/* --- Terminals (login / register / dashboard etc.) --- */
[data-theme="light"] .li-term {
    background: linear-gradient(180deg, rgba(255,252,240,.8), rgba(248,238,212,.65));
    border-color: rgba(168,114,8,.28);
}
[data-theme="light"] .li-term-bar {
    background: rgba(168,114,8,.08);
    border-bottom: 1px solid rgba(168,114,8,.18);
}
[data-theme="light"] .li-term-title { color: #7a6125; }
[data-theme="light"] .li-term-body { color: #4c3a18; }
[data-theme="light"] .li-term-body .t-prompt { color: #c4870e; }
[data-theme="light"] .li-term-body b { color: #a87208; }
[data-theme="light"] .li-term-body b.ok   { color: #15803d; }
[data-theme="light"] .li-term-body b.warn { color: #c4870e; }
[data-theme="light"] .li-term-body b.err  { color: #d63838; }

/* --- Bars / progress --- */
[data-theme="light"] .db-tier-bar,
[data-theme="light"] .sa-bar,
[data-theme="light"] .db-levels-bar,
[data-theme="light"] .db-booster-bar { background: rgba(168,114,8,.1); }
[data-theme="light"] .db-tier-fill,
[data-theme="light"] .sa-bar-fill,
[data-theme="light"] .db-levels-fill,
[data-theme="light"] .db-booster-fill {
    background: linear-gradient(90deg, #c4870e, #8a5e05);
    box-shadow: 0 0 12px rgba(168,114,8,.3);
}

/* --- Steps indicator --- */
[data-theme="light"] .li-steps li em,
[data-theme="light"] .in-steps li em {
    background: rgba(255,252,240,.5);
    border-color: rgba(168,114,8,.3);
    color: #7a6125;
}
[data-theme="light"] .li-steps li.is-active em,
[data-theme="light"] .in-steps li.is-active em {
    background: linear-gradient(135deg, #c4870e, #8a5e05);
    color: #fff8e0;
    border-color: #a87208;
    box-shadow: 0 0 14px rgba(168,114,8,.45);
}
[data-theme="light"] .li-steps li.is-active,
[data-theme="light"] .in-steps li.is-active { color: #a87208; }
[data-theme="light"] .li-steps li.is-done em,
[data-theme="light"] .in-steps li.is-done em {
    background: rgba(21,128,61,.15);
    color: #15803d;
    border-color: rgba(21,128,61,.45);
}

/* --- Badges / status pills (lists) --- */
[data-theme="light"] .dr-badge.ok {
    background: rgba(21,128,61,.12);
    color: #15803d;
    border-color: rgba(21,128,61,.35);
}
[data-theme="light"] .dr-badge.warn {
    background: rgba(196,135,14,.14);
    color: #8a5e05;
    border-color: rgba(196,135,14,.4);
}
[data-theme="light"] .dr-row { border-bottom-color: rgba(168,114,8,.1); }
[data-theme="light"] .dr-row:hover { background: rgba(168,114,8,.04); }
[data-theme="light"] .dr-list-row.header { color: #7a6125; border-bottom-color: rgba(168,114,8,.18); }
[data-theme="light"] .dr-rank { color: #7a6125; }
[data-theme="light"] .dr-rank.top { color: #a87208; }
[data-theme="light"] .dr-addr-link { color: #a87208; border-color: rgba(168,114,8,.4); }
[data-theme="light"] .dr-addr-copy {
    color: #7a6125;
    border-color: rgba(168,114,8,.25);
    background: rgba(255,252,240,.5);
}
[data-theme="light"] .dr-addr-copy:hover { color: #a87208; border-color: rgba(168,114,8,.55); }
[data-theme="light"] .dr-avatar {
    background: linear-gradient(135deg, rgba(255,250,225,.9), rgba(245,230,190,.7));
    border-color: rgba(168,114,8,.35);
    color: #a87208;
}

/* --- Downline tree --- */
[data-theme="light"] .dn-node:hover { background: rgba(168,114,8,.05); border-color: rgba(168,114,8,.18); }
[data-theme="light"] .dn-node.is-me {
    background: linear-gradient(135deg, rgba(196,135,14,.16), rgba(168,114,8,.05));
    border-color: rgba(168,114,8,.4);
}
[data-theme="light"] .dn-level {
    background: rgba(168,114,8,.1);
    border-color: rgba(168,114,8,.3);
    color: #a87208;
}
[data-theme="light"] .dn-node.is-me .dn-level {
    background: linear-gradient(135deg, #c4870e, #8a5e05);
    color: #fff8e0;
    border-color: #a87208;
}
[data-theme="light"] .dn-addr { color: #a87208; border-color: rgba(168,114,8,.45); }
[data-theme="light"] .dn-chip { background: rgba(255,252,240,.5); border-color: rgba(168,114,8,.2); color: #4c3a18; }
[data-theme="light"] .dn-chip b { color: #a87208; }
[data-theme="light"] .dn-toggle {
    background: rgba(255,252,240,.6);
    border-color: rgba(168,114,8,.32);
    color: #a87208;
}
[data-theme="light"] .dn-toggle:hover { background: rgba(168,114,8,.08); border-color: rgba(168,114,8,.55); }
[data-theme="light"] .dn-children { border-left-color: rgba(168,114,8,.22); }
[data-theme="light"] .dn-controls .dn-ctl,
[data-theme="light"] .dn-tree-prefix { color: #7a6125; }
[data-theme="light"] .dn-ctl { background: rgba(255,252,240,.4); border-color: rgba(168,114,8,.25); }
[data-theme="light"] .dn-ctl:hover { color: #a87208; border-color: rgba(168,114,8,.55); background: rgba(168,114,8,.06); }

/* --- Level-income unlocks grid --- */
[data-theme="light"] .db-lvl {
    background: rgba(255,250,225,.55);
    border-color: rgba(168,114,8,.15);
}
[data-theme="light"] .db-lvl em,
[data-theme="light"] .db-lvl b { color: #a6884a; }
[data-theme="light"] .db-lvl.is-open {
    background: linear-gradient(135deg, rgba(196,135,14,.2), rgba(168,114,8,.05));
    border-color: rgba(168,114,8,.55);
    box-shadow: 0 0 12px rgba(168,114,8,.18), inset 0 1px 0 rgba(168,114,8,.16);
}
[data-theme="light"] .db-lvl.is-open em,
[data-theme="light"] .db-lvl.is-open b { color: #a87208; }
[data-theme="light"] .db-lvl.is-open::after { color: #15803d; }
[data-theme="light"] .db-lvl.is-next { border-color: rgba(168,114,8,.4); }
[data-theme="light"] .db-lvl.is-next em,
[data-theme="light"] .db-lvl.is-next b { color: #7a6125; }

/* --- Misc text bits --- */
[data-theme="light"] .db-addr-chip,
[data-theme="light"] .li-addr {
    background: rgba(255,250,225,.5);
    border-color: rgba(168,114,8,.3);
    color: #a87208;
}
[data-theme="light"] .li-addr small,
[data-theme="light"] .db-foot,
[data-theme="light"] .li-foot,
[data-theme="light"] .in-foot,
[data-theme="light"] .db-ref-hint,
[data-theme="light"] .db-levels-sub,
[data-theme="light"] .db-levels-hint,
[data-theme="light"] .db-levels-tag,
[data-theme="light"] .dr-ref-tag,
[data-theme="light"] .dr-list-meta,
[data-theme="light"] .dn-empty p,
[data-theme="light"] .dr-empty p { color: #7a6125; }
[data-theme="light"] .db-levels-tag strong,
[data-theme="light"] .db-levels-hint b,
[data-theme="light"] .db-levels-sub b,
[data-theme="light"] .db-ref-stats strong,
[data-theme="light"] .dr-list-meta b { color: #a87208; }
[data-theme="light"] .li-foot a,
[data-theme="light"] .in-foot a { color: #4c3a18; border-color: rgba(168,114,8,.4); }
[data-theme="light"] .li-foot a:hover { color: #a87208; border-color: #a87208; }

/* --- Modal & state icons --- */
[data-theme="light"] .db-state-ico { background: rgba(168,114,8,.08); border-color: rgba(168,114,8,.35); color: #a87208; }
[data-theme="light"] .db-state-ico.warn { background: rgba(196,135,14,.12); border-color: rgba(196,135,14,.4); color: #8a5e05; }
[data-theme="light"] .db-state-ico.err  { background: rgba(214,56,56,.1);  border-color: rgba(214,56,56,.4);  color: #b32424; }

/* --- Lock countdown (withdraw) --- */
[data-theme="light"] .wd-lock {
    background: linear-gradient(180deg, rgba(255,232,224,.85), rgba(255,244,232,.7));
    border-color: rgba(214,56,56,.45);
}
[data-theme="light"] .wd-lock-ico { background: rgba(214,56,56,.1); border-color: rgba(214,56,56,.4); color: #b32424; }
[data-theme="light"] .wd-lock-text h3 { color: #b32424; }
[data-theme="light"] .wd-lock-text p { color: #4c3a18; }
[data-theme="light"] .wd-lock-text p b { color: #a87208; }
[data-theme="light"] .wd-cd-cell { background: rgba(255,252,240,.6); border-color: rgba(168,114,8,.3); }
[data-theme="light"] .wd-cd-cell b { color: #a87208; }
[data-theme="light"] .wd-cd-cell em { color: #7a6125; }

/* --- Performance medal disc --- */
[data-theme="light"] .pf-medal-disc {
    background: radial-gradient(circle at 30% 30%, #fff3b8 0%, rgba(196,135,14,.35) 60%, transparent 100%);
    border-color: #a87208;
    box-shadow: 0 0 36px rgba(168,114,8,.4), inset 0 4px 12px rgba(255,255,255,.65);
}
[data-theme="light"] .pf-medal-disc::after { background: linear-gradient(180deg, #d63838, #8a1f1f); }

/* --- Status / message panels --- */
[data-theme="light"] .wd-msg.info,
[data-theme="light"] .in-msg.info,
[data-theme="light"] .li-status.info { background: rgba(196,135,14,.08); border-color: rgba(196,135,14,.32); color: #8a5e05; }
[data-theme="light"] .wd-msg.warn,
[data-theme="light"] .in-msg.warn,
[data-theme="light"] .li-status.warn { background: rgba(196,135,14,.1); border-color: rgba(196,135,14,.4); color: #8a5e05; }
[data-theme="light"] .wd-msg.ok,
[data-theme="light"] .in-msg.ok,
[data-theme="light"] .li-status.ok   { background: rgba(21,128,61,.1);  border-color: rgba(21,128,61,.4);  color: #15803d; }
[data-theme="light"] .wd-msg.err,
[data-theme="light"] .in-msg.err,
[data-theme="light"] .li-status.error,
[data-theme="light"] .wd-msg.error   { background: rgba(214,56,56,.08); border-color: rgba(214,56,56,.4); color: #b32424; }

/* --- Booster Achievement card (dashboard) --- */
[data-theme="light"] .db-booster-title { color: #a87208; }
[data-theme="light"] .db-booster-badge {
    background: rgba(196,135,14,.12);
    border-color: rgba(168,114,8,.4);
    color: #a87208;
}
[data-theme="light"] .db-booster-badge.locked {
    background: rgba(214,56,56,.1);
    border-color: rgba(214,56,56,.4);
    color: #b32424;
}
[data-theme="light"] .db-booster-cell {
    background: rgba(255,250,225,.6);
    border-color: rgba(168,114,8,.22);
}
[data-theme="light"] .db-booster-cell-label { color: #7a6125; }
[data-theme="light"] .db-booster-cell-value { color: #a87208; }
[data-theme="light"] .db-booster-cell-value small { color: #7a6125; }
[data-theme="light"] .db-booster-cell-sub { color: #7a6125; }
[data-theme="light"] .db-booster-window-head { color: #7a6125; }
[data-theme="light"] .db-booster-window-head strong { color: #a87208; }
[data-theme="light"] .db-booster-hint { color: #4c3a18; }
[data-theme="light"] .db-booster-hint .next   { color: #4c3a18; }
[data-theme="light"] .db-booster-hint .target { color: #a87208; }
