/* ==========================================================================
   METAFOX ($METAFOX) — Cyber Green & Energetic Orange Palette
   ========================================================================== */

:root {
    --black: #04070a;           /* Void dark background */
    --black-2: #080e14;         /* Raised surface background */
    --black-3: #111a24;         /* Card hover surface */
    --panel: rgba(10, 18, 25, 0.85);
    
    --orange: #ff5e00;          /* Signature MetaFox Orange */
    --orange-bright: #ff8400;   /* High-energy highlight orange */
    --orange-deep: #cc4400;     /* Dark accent orange */
    
    --green: #10b981;           /* Electric Cyber Green */
    --green-bright: #b4ff2e;    /* Robinhood Neon Lime / Electric Green */
    --green-deep: #064e3b;      /* Dark green accent */
    --green-glow: rgba(180, 255, 46, 0.35);
    
    --gold: #ffb700;            /* Legacy 10-year gold */
    --cream: #f1f5f9;           /* Crisp text color */
    --muted: #94a3b8;           /* Muted slate text */
    --muted-2: #64748b;         /* Dim caption text */
    
    --line: rgba(180, 255, 46, 0.25);
    --line-orange: rgba(255, 94, 0, 0.3);
    --line-soft: rgba(255, 255, 255, 0.08);
    
    --pos: #10b981;             /* Price gain green */
    --neg: #ef4444;             /* Price loss red */
    
    --display: Anton, Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    width: 100%;
    background: var(--black);
    color: var(--cream);
    font-family: var(--body);
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    width: 100%;
}

::selection {
    color: #000;
    background: var(--green-bright);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

/* Background Grain Texture Overlay */
.grain {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: .04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

/* CRT Scanline Overlay */
.scanlines {
    position: fixed;
    inset: 0;
    z-index: 99;
    pointer-events: none;
    opacity: .2;
    background: repeating-linear-gradient(180deg, rgba(0,0,0,0) 0 2px, rgba(0,0,0,0.4) 2px 4px);
    mix-blend-mode: multiply;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(24px, 5vw, 82px);
    color: var(--cream);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(4,7,10,0.95) 0%, rgba(4,7,10,0.4) 100%);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--display);
    font-size: 28px;
    letter-spacing: 2px;
}

.brand span {
    background: linear-gradient(180deg, var(--green-bright), var(--green) 60%, var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 12px rgba(180, 255, 46, 0.4));
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--orange);
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.4);
    flex-shrink: 0;
}

/* Robinhood Chain Badge Styling */
.chain-badge-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(180, 255, 46, 0.12);
    border: 1px solid rgba(180, 255, 46, 0.35);
    border-radius: 99px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    color: var(--green-bright);
}

.rh-badge-icon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.rh-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    margin-bottom: 22px;
    background: rgba(180, 255, 46, 0.15);
    border: 1px solid var(--green-bright);
    border-radius: 99px;
    color: var(--green-bright);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    box-shadow: 0 0 20px rgba(180, 255, 46, 0.25);
}

.rh-pill-tag img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.ticker-rh {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticker-rh img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
}

.network-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.network-tag img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 32px);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.site-nav > a:not(.nav-cta) {
    position: relative;
    padding: 10px 0;
    transition: color .2s ease;
}

.site-nav > a:not(.nav-cta):hover {
    color: var(--green-bright);
}

.site-nav > a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 2px;
    height: 2px;
    background: var(--green-bright);
    transition: right .25s ease;
}

.site-nav > a:hover::after {
    right: 0;
}

.nav-cta {
    padding: 13px 22px;
    color: #000;
    background: linear-gradient(135deg, var(--green-bright), var(--green));
    border: 2px solid var(--green-bright);
    border-radius: 4px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(180, 255, 46, 0.5);
}

.header-actions, .header-socials {
    display: flex;
    align-items: center;
}

.header-actions {
    gap: 12px;
}

.header-socials {
    gap: 8px;
}

.social-circle {
    width: 40px;
    height: 40px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: var(--cream);
    background: rgba(17, 26, 36, 0.7);
    border: 1px solid var(--line);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transition: all .2s ease;
}

.social-circle:hover {
    color: #000;
    background: var(--green-bright);
    border-color: var(--green-bright);
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(180, 255, 46, 0.5);
}

.social-circle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    color: inherit;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
    transition: .25s ease;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    min-height: 850px;
    height: min(980px, 100vh);
    overflow: hidden;
    color: var(--cream);
    background: var(--black);
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: .08;
    background: repeating-linear-gradient(125deg, transparent 0 100px, var(--green-bright) 101px 102px);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4,7,10,0.98) 0%, rgba(4,7,10,0.92) 45%, rgba(4,7,10,0.5) 75%, rgba(4,7,10,0.2) 100%),
        linear-gradient(180deg, rgba(4,7,10,0.8) 0%, transparent 35%, rgba(4,7,10,0.95) 100%);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-copy {
    position: relative;
    z-index: 3;
    width: 68%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 4vw 70px clamp(28px, 7vw, 118px);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    color: var(--green-bright);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 36px;
    height: 2px;
    flex: 0 0 auto;
    background: currentColor;
    box-shadow: 0 0 10px var(--green-bright);
}

.hero h1, h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    line-height: .88;
    letter-spacing: -.01em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(72px, 9.8vw, 160px);
    text-shadow: 0 20px 60px rgba(0,0,0,.8);
}

.hero h1 em, .community-call h2 em {
    display: inline-block;
    font-style: normal;
    background: linear-gradient(180deg, var(--green-bright) 0%, var(--green) 50%, var(--orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(4px 6px 0 rgba(0,0,0,.6));
}

.hero-lede {
    max-width: 680px;
    margin: 26px 0 34px;
    font-size: clamp(17px, 1.5vw, 22px);
    line-height: 1.5;
    color: var(--muted);
}

.hero-lede strong {
    color: var(--orange-bright);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Button UI Components */
.button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 28px;
    border: 2px solid;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: all .2s ease;
    cursor: pointer;
}

.button:hover {
    transform: translate(-3px, -3px);
}

.button-orange {
    color: #000;
    background: linear-gradient(180deg, var(--orange-bright), var(--orange));
    border-color: var(--orange);
    box-shadow: 0 0 0 rgba(255,94,0,0);
}

.button-orange:hover {
    box-shadow: 5px 5px 0 var(--orange-deep), 0 0 30px rgba(255,94,0,0.4);
}

.button-green {
    color: #000;
    background: linear-gradient(180deg, var(--green-bright), var(--green));
    border-color: var(--green-bright);
    box-shadow: 0 0 0 rgba(180,255,46,0);
}

.button-green:hover {
    box-shadow: 5px 5px 0 var(--green-deep), 0 0 30px rgba(180,255,46,0.4);
}

.button-ghost {
    color: var(--cream);
    background: transparent;
    border-color: rgba(255,255,255,.3);
}

.button-ghost:hover {
    color: var(--green-bright);
    border-color: var(--green-bright);
    box-shadow: 5px 5px 0 rgba(180,255,46,.2);
}

.button-dark {
    color: var(--green-bright);
    background: var(--black);
    border-color: var(--green-bright);
}

.button-dark:hover {
    box-shadow: 5px 5px 0 rgba(0,0,0,.6);
}

.contract-mini {
    width: min(520px, 100%);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    margin-top: 38px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(8, 14, 20, 0.6);
    backdrop-filter: blur(8px);
}

.contract-mini > * {
    padding: 13px 12px;
}

.contract-mini span {
    padding-left: 0;
    color: var(--green-bright);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .15em;
}

.contract-mini code {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-all;
    color: rgba(255,255,255,.85);
    font-size: 11px;
    line-height: 1.45;
    font-family: monospace;
}

.copy-button {
    color: var(--orange-bright);
    background: none;
    border: 0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    cursor: pointer;
    transition: color .2s ease;
}

.copy-button:hover {
    color: var(--green-bright);
}

/* Mascot Speech & Floating UI */
.poke {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 10;
    padding: 10px 20px;
    border-radius: 99px;
    border: 1.5px solid var(--line);
    background: rgba(4,7,10,.9);
    color: var(--green-bright);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 0 20px rgba(180, 255, 46, 0.3);
}

.poke:hover {
    transform: scale(1.08);
    background: rgba(180, 255, 46, 0.2);
}

.speech {
    position: absolute;
    bottom: 74px;
    right: 24px;
    z-index: 11;
    max-width: 260px;
    padding: 14px 18px;
    border-radius: 16px 16px 4px 16px;
    background: rgba(8, 14, 20, 0.95);
    border: 1.5px solid var(--green-bright);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 700;
    color: var(--green-bright);
    box-shadow: 0 12px 36px rgba(0,0,0,0.6);
}

/* ==========================================================================
   TICKER MARQUEE
   ========================================================================== */

.ticker {
    position: relative;
    z-index: 5;
    overflow: hidden;
    color: #000;
    background: linear-gradient(180deg, var(--green-bright), var(--green) 60%, var(--green-deep));
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-1deg) scale(1.02);
}

.ticker-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 16px 0;
    font-family: var(--display);
    font-size: 24px;
    letter-spacing: .04em;
    animation: ticker 32s linear infinite;
}

.ticker-track b {
    font-size: 16px;
    opacity: .65;
}

@keyframes ticker {
    to { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION SHELL
   ========================================================================== */

.section {
    position: relative;
    padding: 120px clamp(24px, 7vw, 118px);
}

.section-kicker {
    margin-bottom: 30px;
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
}

.section-kicker.light {
    color: var(--green-bright);
}

.section h2 {
    font-size: clamp(54px, 7.2vw, 108px);
}

.section h2 span {
    background: linear-gradient(180deg, var(--green-bright), var(--green) 55%, var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 70px;
}

.section-heading > p {
    width: min(460px, 100%);
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

/* ==========================================================================
   01 — THE MISSION / LORE
   ========================================================================== */

.lore {
    background-color: var(--black-2);
    background-image:
        linear-gradient(var(--line-soft) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
    background-size: 44px 44px;
    border-bottom: 1px solid var(--line);
}

.lore-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(50px, 8vw, 110px);
    align-items: center;
}

.lore-copy .big-copy {
    margin: 38px 0 25px;
    color: var(--green-bright);
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 700;
    line-height: 1.45;
}

.lore-copy > p:not(.big-copy) {
    max-width: 660px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.signature {
    margin-top: 32px;
    color: var(--orange-bright);
    font-size: 18px;
    font-weight: 700;
}

.torn-card {
    margin: 0;
    padding: 12px;
    background: var(--black-3);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 14px 16px 0 rgba(180, 255, 46, 0.15);
    transform: rotate(1.5deg);
    transition: transform .35s ease, box-shadow .35s ease;
}

.torn-card:hover {
    transform: rotate(0deg);
    box-shadow: 18px 20px 0 rgba(180, 255, 46, 0.25);
}

.torn-card img {
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 4px;
}

.torn-card figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 4px 4px;
    color: var(--muted);
    font-size: 14px;
}

.torn-card figcaption span {
    color: var(--green-bright);
    font-weight: 900;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ==========================================================================
   PLAYROOM CONSOLE & ARCADE GAME
   ========================================================================== */

.sec--play {
    position: relative;
    background: var(--black);
    border-bottom: 1px solid var(--line);
}

.console {
    position: relative;
    border-radius: 28px;
    background: linear-gradient(180deg, #0d1a12, #04070a 30%);
    border: 1.5px solid var(--line);
    box-shadow: 0 24px 70px rgba(0,0,0,0.8), 0 0 60px rgba(180, 255, 46, 0.15);
    padding: 20px;
}

.console__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 18px;
    flex-wrap: wrap;
}

.console__leds {
    display: flex;
    gap: 8px;
}

.console__leds i {
    width: 100px;
    height: 10px;
    border-radius: 50%;
    background: var(--green-bright);
    box-shadow: 0 0 10px var(--green-bright);
}

.console__tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ptab {
    padding: 12px 22px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(4, 7, 10, 0.7);
    color: var(--muted);
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    transition: all .25s ease;
}

.ptab:hover {
    color: var(--cream);
    border-color: var(--green-bright);
}

.ptab.is-on {
    background: linear-gradient(180deg, var(--green-bright), var(--green));
    color: #000;
    border-color: var(--green-bright);
    box-shadow: 0 8px 24px rgba(180, 255, 46, 0.35);
}

.console__body {
    border-radius: 20px;
    background: rgba(2, 6, 4, 0.95);
    border: 1px solid var(--line);
    padding: clamp(16px, 3vw, 30px);
    min-height: 520px;
}

.panel {
    display: none;
}

.panel.is-on {
    display: block;
}

/* Game HUD & Stage */
.game__hud {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.hud__i {
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    background: rgba(180, 255, 46, 0.06);
    border: 1px solid var(--line);
}

.hud__i span {
    display: block;
    font-size: 9px;
    letter-spacing: .18em;
    color: var(--muted-2);
    font-weight: 900;
    margin-bottom: 4px;
}

.hud__i b {
    font-family: var(--display);
    font-size: 24px;
    color: var(--cream);
}

.hud__i--best b {
    color: var(--gold);
}

.game__stage {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid var(--line);
    background: #04080c;
}

#gameCanvas {
    display: block;
    width: 100%;
    height: auto;
    touch-action: none;
}

.game__overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 24px;
    background: rgba(4, 8, 12, 0.92);
    backdrop-filter: blur(8px);
}

.game__overlay h3 {
    margin: 0;
    font: 400 clamp(28px, 5vw, 48px) var(--display);
    color: var(--green-bright);
    text-shadow: 0 0 20px rgba(180, 255, 46, 0.5);
}

.game__overlay p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    max-width: 44ch;
}

/* Translator & Meme Forge UI */
.fld {
    display: block;
    margin-bottom: 16px;
}

.fld span {
    display: block;
    font-size: 10px;
    letter-spacing: .18em;
    color: var(--green-bright);
    font-weight: 900;
    margin-bottom: 8px;
}

.fld textarea, .fld input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(180, 255, 46, 0.05);
    border: 1px solid var(--line);
    color: var(--cream);
    font-size: 15px;
}

.fld__out {
    min-height: 110px;
    padding: 18px;
    border-radius: 12px;
    background: rgba(180, 255, 46, 0.08);
    border: 1px dashed var(--line);
    font-family: monospace;
    font-size: 18px;
    color: var(--green-bright);
    word-break: break-word;
}

.swatches {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.sw {
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(4, 7, 10, 0.7);
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.sw.is-on {
    background: var(--orange-bright);
    color: #000;
    border-color: var(--orange-bright);
}

#memeCanvas {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--line);
}

/* ==========================================================================
   02 — LEGACY CARDS
   ========================================================================== */

.legacy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.legacy-card {
    padding: 34px 26px;
    background: var(--black-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: all .25s ease;
}

.legacy-card:hover {
    transform: translateY(-6px);
    border-color: var(--green-bright);
    box-shadow: 0 14px 34px rgba(0,0,0,0.6), 0 0 24px rgba(180,255,46,0.18);
}

.legacy-card span {
    color: var(--green-bright);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
}

.legacy-card h3 {
    margin: 18px 0 12px;
    font: 400 24px var(--display);
    letter-spacing: .02em;
    color: var(--cream);
}

.legacy-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

/* ==========================================================================
   03 — FOXONOMICS
   ========================================================================== */

.token {
    color: var(--cream);
    background: var(--black-2);
    border-bottom: 1px solid var(--line);
}

.token-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(40px, 7vw, 100px);
    align-items: center;
}

.token-visual {
    position: relative;
    display: grid;
    place-items: center;
}

.token-visual::before {
    content: "";
    position: absolute;
    width: 96%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(180,255,46,.35), rgba(255,94,0,.08) 62%, transparent 70%);
    animation: pulseGlow 4.5s ease-in-out infinite;
}

.token-visual img {
    position: relative;
    z-index: 2;
    width: 82%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 5px solid var(--green-bright);
    border-radius: 50%;
    box-shadow: 0 20px 55px rgba(0,0,0,.6), 0 0 40px rgba(180,255,46,.3);
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: .85; }
    50% { transform: scale(1.06); opacity: 1; }
}

.orbit-text {
    position: absolute;
    z-index: 3;
    bottom: 1%;
    padding: 9px 16px;
    color: #000;
    background: var(--green-bright);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
    transform: rotate(-3deg);
    box-shadow: 4px 4px 0 rgba(0,0,0,.5);
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.stats article {
    min-height: 190px;
    padding: 26px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background .25s ease;
}

.stats article:hover {
    background: rgba(180,255,46,.06);
}

.stats article > span {
    color: var(--green-bright);
    font-size: 10px;
    font-weight: 900;
}

.stats p {
    margin: 32px 0 8px;
    color: var(--muted-2);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stats strong {
    font: 400 clamp(26px, 3vw, 44px) var(--display);
    color: var(--cream);
}

.ca-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 80px;
    padding: 24px 28px;
    color: var(--cream);
    background: var(--black-3);
    border: 2px solid var(--green-bright);
    border-radius: 6px;
    box-shadow: 0 0 35px rgba(180,255,46,.15);
}

.ca-bar > div {
    min-width: 0;
}

.ca-bar span {
    display: block;
    margin-bottom: 8px;
    color: var(--green-bright);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
}

.ca-bar code {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
    font-size: 13px;
    line-height: 1.5;
    font-family: monospace;
}

/* ==========================================================================
   04 — LIVE METRICS (STAT CARDS & CHART)
   ========================================================================== */

.stats-chart-section {
    padding: clamp(60px, 8vw, 110px) clamp(24px, 5vw, 82px);
    background: var(--black);
    border-bottom: 1px solid var(--line);
}

.stats-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin-bottom: 50px;
}

.stat-card {
    padding: 30px 24px;
    background: var(--black-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    text-align: center;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--green-bright);
    box-shadow: 0 14px 34px rgba(0,0,0,.5), 0 0 24px rgba(180,255,46,.18);
}

.stat-card span {
    display: block;
    margin-bottom: 12px;
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.stat-card strong {
    display: block;
    font: 400 40px var(--display);
    color: var(--green-bright);
    line-height: 1;
}

.chart-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px;
    overflow: hidden;
    background: var(--black-2);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.chart-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    min-height: 520px;
    overflow: hidden;
    border-radius: 10px;
    background: #04080c;
}

.chart-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   05 — HOW TO BUY
   ========================================================================== */

.how-buy {
    text-align: center;
    color: #000;
    background: linear-gradient(160deg, var(--green-bright) 0%, var(--green) 50%, var(--green-deep) 100%);
}

.how-buy .section-kicker {
    color: rgba(0,0,0,.6);
}

.how-buy h2 {
    margin-bottom: 70px;
}

.how-buy h2 span {
    background: none;
    -webkit-text-fill-color: var(--cream);
    color: var(--cream);
    text-shadow: 4px 4px 0 #000;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 0 auto 45px;
    text-align: left;
}

.step {
    position: relative;
    min-height: 350px;
    padding: 34px;
    color: var(--cream);
    background: var(--black);
    border: 2px solid #000;
    box-shadow: 8px 8px 0 rgba(0,0,0,.6);
    transition: all .25s ease;
}

.step:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 rgba(0,0,0,.6);
}

.step-number {
    color: var(--green-bright);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
}

.step-icon {
    width: 54px;
    margin: 30px 0 24px;
    color: var(--orange-bright);
}

.step-icon svg {
    width: 100%;
    height: auto;
    fill: currentColor;
}

.step h3 {
    margin: 0 0 14px;
    font: 400 26px var(--display);
    letter-spacing: .01em;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ==========================================================================
   06 — ROADMAP & FAQ
   ========================================================================== */

.roadmap {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: clamp(50px, 7vw, 110px);
    align-items: center;
    color: var(--cream);
    background: var(--black);
    border-bottom: 1px solid var(--line);
}

.roadmap-image img {
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.quest-list article {
    position: relative;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line-soft);
}

.quest-list article > span {
    color: var(--green-bright);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    padding-top: 4px;
}

.faq-section {
    padding: clamp(60px, 8vw, 110px) clamp(24px, 5vw, 82px);
    background: var(--black);
    border-bottom: 1px solid var(--line);
}

.faq-item {
    padding: 24px 26px;
    background: var(--black-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 14px;
}

.faq-item.open .faq-question {
    color: var(--green-bright);
}

.faq-toggle-icon {
    color: var(--green-bright);
}

/* ==========================================================================
   08 — SOCIALS & FOOTER
   ========================================================================== */

.socials-section {
    padding: clamp(60px, 8vw, 110px) clamp(24px, 5vw, 82px);
    background: var(--black-2);
    border-bottom: 1px solid var(--line);
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 38px 26px;
    text-align: center;
    background: var(--black-3);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.social-icon-wrapper {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin-bottom: 22px;
    color: var(--green-bright);
    background: rgba(180,255,46,0.1);
    border: 1px solid var(--line);
    border-radius: 50%;
}

.social-card-btn {
    margin-top: auto;
    padding: 12px 22px;
    color: #000;
    background: var(--green-bright);
    border: 2px solid var(--green-bright);
    font: 900 11px var(--body);
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 4px;
}

footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 25px;
    padding: 52px clamp(24px, 7vw, 118px);
    color: var(--cream);
    background: var(--black);
}

.toast {
    position: fixed;
    z-index: 200;
    left: 50%;
    bottom: 26px;
    padding: 13px 22px;
    color: #000;
    background: var(--green-bright);
    border: 2px solid #000;
    box-shadow: 5px 5px 0 rgba(0,0,0,.6);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    transform: translate(-50%, 120px);
    transition: transform .3s ease;
}

.toast.show {
    transform: translate(-50%, 0);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    transition: opacity .5s ease, transform .5s cubic-bezier(.77, 0, .175, 1);
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 320px;
    text-align: center;
}

.preloader-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--green-bright);
    box-shadow: 0 10px 30px rgba(0,0,0,.6);
}

.preloader-text {
    margin-bottom: 16px;
    color: var(--green-bright);
    font-family: var(--display);
    font-size: 20px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.preloader-bar-container {
    width: 100%;
    height: 6px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
    border-radius: 3px;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--green-deep), var(--green-bright));
    transition: width .3s ease;
}

.preloader.fade-out {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

@media (max-width: 980px) {
    .site-header { height: 78px; }
    .chain-badge-header { display: none; }
    .menu-toggle { z-index: 22; display: block; }
    .site-nav {
        position: fixed; inset: 0; z-index: 21;
        display: flex; flex-direction: column; justify-content: center; gap: 18px;
        color: var(--cream); background: rgba(4,7,10,0.98);
        visibility: hidden; opacity: 0; transition: .25s ease;
    }
    .site-nav.open { visibility: visible; opacity: 1; }
    .hero-copy { width: 100%; text-align: center; padding-top: 130px; }
    .hero-copy .eyebrow, .hero-actions { justify-content: center; }
    .lore-grid, .token-grid, .roadmap { grid-template-columns: 1fr; }
    .game__hud { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 660px) {
    .legacy-grid, .stats, .stats-grid-4, .steps { grid-template-columns: 1fr; }
}
