/* ==========================================================================
   QUANTUM SUPER INU ($QSI) — cosmic Superman-Shiba theme
   Blue/purple nebula void + electric cobalt + blazing red cape accents.
   Palette from logo/banner (palette.py). No emoji. Never stretch images.
   ========================================================================== */
:root {
  --palette-1: #0c103d;
  --palette-2: #0d2e93;
  --palette-3: #1361e3;
  --palette-4: #63b8f9;
  --palette-5: #6a6adc;
  --palette-6: #8d0e47;
  --palette-7: #ec7982;
  --palette-8: #dae2f4;

  --bg: #05061a;
  --bg-2: #0a0d2e;
  --surface: rgba(13, 46, 147, .28);
  --surface-2: rgba(106, 106, 220, .18);
  --primary: #2b84f2;
  --accent: #c9184a;
  --accent-2: #7b6cff;
  --cape: #e11d48;
  --gold: #f5c542;
  --star: #e8f1ff;
  --text: #f2f6ff;
  --muted: rgba(218, 226, 244, .68);
  --line: rgba(99, 184, 249, .22);
  --glass: rgba(43, 132, 242, .08);
  --icon: var(--primary);

  --font-display: "Audiowide", system-ui, sans-serif;
  --font-body: "Oxanium", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1180px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --glow: 0 0 32px rgba(43, 132, 242, .45), 0 0 70px rgba(201, 24, 74, .18);
  --shadow: 0 24px 70px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); line-height: 1.65; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { position: relative; padding: clamp(80px, 11vw, 130px) 0; z-index: 1; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .4em; letter-spacing: .02em; }
.section-title { font-size: clamp(2.1rem, 5.5vw, 3.8rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase;
  letter-spacing: .22em; font-size: .75rem; font-weight: 700; color: var(--primary); margin: 0 0 14px;
}
.lead { font-size: clamp(1.05rem, 1.9vw, 1.28rem); color: var(--text); }
p { color: var(--muted); }
.grad-text {
  background: linear-gradient(100deg, var(--primary), var(--accent-2), var(--cape), var(--primary));
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 9s linear infinite;
}

/* ---------- Background FX ---------- */
#fx-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.bg-nebula { position: fixed; inset: 0; z-index: 0; pointer-events: none; filter: blur(90px); opacity: .55; }
.bg-nebula span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: blob 24s var(--ease) infinite alternate; }
.bg-nebula span:nth-child(1) { width: 48vmax; height: 48vmax; background: rgba(19, 97, 227, .5); top: -18vmax; left: -12vmax; }
.bg-nebula span:nth-child(2) { width: 40vmax; height: 40vmax; background: rgba(201, 24, 74, .32); bottom: -16vmax; right: -10vmax; animation-delay: -8s; }
.bg-nebula span:nth-child(3) { width: 28vmax; height: 28vmax; background: rgba(123, 108, 255, .38); top: 35%; left: 42%; animation-delay: -14s; }
.bg-nebula span:nth-child(4) { width: 20vmax; height: 20vmax; background: rgba(99, 184, 249, .28); top: 12%; right: 18%; animation-delay: -4s; }
.bg-stars {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 40%, transparent 50%),
    radial-gradient(1.5px 1.5px at 78% 22%, #fff 40%, transparent 50%),
    radial-gradient(1px 1px at 34% 64%, #cfe6ff 40%, transparent 50%),
    radial-gradient(1.5px 1.5px at 88% 70%, #fff 40%, transparent 50%),
    radial-gradient(1px 1px at 55% 40%, #fff 40%, transparent 50%),
    radial-gradient(1.5px 1.5px at 22% 82%, #ffd0dc 40%, transparent 50%);
  animation: twinkle 7s ease-in-out infinite alternate;
}
.bg-cape-wash {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .14;
  background: radial-gradient(ellipse at 85% 20%, rgba(225, 29, 72, .55), transparent 45%),
              radial-gradient(ellipse at 15% 80%, rgba(123, 108, 255, .4), transparent 50%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(rgba(99, 184, 249, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 184, 249, .08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 25%, #000 15%, transparent 72%);
  animation: gridMove 36s linear infinite;
}
.cursor-glow {
  position: fixed; width: 440px; height: 440px; border-radius: 50%; pointer-events: none; z-index: 0;
  left: -999px; top: -999px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(43, 132, 242, .18), rgba(201, 24, 74, .08) 40%, transparent 68%);
}
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary), var(--accent-2), var(--cape));
  box-shadow: 0 0 12px var(--primary);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(16px, 3vw, 36px); transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(5, 6, 26, .82); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none;
  border: 1px solid rgba(99, 184, 249, .5); box-shadow: var(--glow);
}
.nav-logo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.nav-name { font-family: var(--font-display); font-size: .92rem; letter-spacing: .04em; }
.nav-ticker {
  font-family: var(--font-mono); font-size: .76rem; color: var(--cape);
  padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(225, 29, 72, .35); background: rgba(225, 29, 72, .1);
}
.nav-links { display: flex; gap: clamp(14px, 2.2vw, 28px); font-weight: 600; font-size: .95rem; }
.nav-links a { color: var(--muted); position: relative; transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--cape));
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--glass); cursor: pointer; position: relative;
}
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--primary); transition: transform .3s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }

/* ---------- Buttons / icons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap; isolation: isolate;
}
.btn .svg-icon { width: 20px; height: 20px; }
.btn-sm { padding: 10px 16px; font-size: .88rem; }
.btn-primary {
  color: #060812; background: linear-gradient(110deg, var(--primary), #63b8f9 45%, var(--accent-2));
  box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset, 0 10px 32px rgba(43, 132, 242, .4); --icon: #060812;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; mix-blend-mode: overlay;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  background-size: 250% 100%; animation: sheen 3.8s ease-in-out infinite;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.28) inset, 0 14px 44px rgba(99, 184, 249, .55); }
.btn-ghost { color: var(--text); background: rgba(10, 13, 46, .55); border-color: rgba(99, 184, 249, .35); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--cape); box-shadow: 0 0 28px rgba(225, 29, 72, .25); }
.btn.is-pending, .social-card.is-pending { cursor: not-allowed; filter: saturate(.55); opacity: .78; }
.btn.is-pending .btn-label::after, .social-card.is-pending small::after { content: " - soon"; font-family: var(--font-mono); font-size: .78em; opacity: .75; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.icon-btn:hover { transform: rotate(-8deg) scale(1.08); border-color: var(--cape); box-shadow: 0 0 20px rgba(225, 29, 72, .35); }
.svg-icon { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; color: var(--icon); flex: none; }
.svg-icon svg { width: 100%; height: 100%; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: grid; align-items: center;
  padding: calc(var(--nav-h) + 36px) 0 90px; position: relative; z-index: 1; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(2.6rem, 7.2vw, 5.6rem); margin: 0; text-shadow: 0 0 40px rgba(43, 132, 242, .35); }
.hero-ticker {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  color: var(--cape); margin: 6px 0 10px; letter-spacing: .08em;
  text-shadow: 0 0 24px rgba(225, 29, 72, .45);
}
.hero-tagline {
  font-family: var(--font-mono); font-size: .92rem; color: var(--accent-2);
  letter-spacing: .06em; margin: 0 0 14px; text-transform: uppercase;
}
.hero-desc { font-size: clamp(1rem, 1.7vw, 1.18rem); max-width: 58ch; color: var(--text); opacity: .88; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.hero-logo {
  width: 76%; border-radius: 28px; position: relative; z-index: 2;
  aspect-ratio: 1 / 1; height: auto; object-fit: cover;
  filter: drop-shadow(0 28px 50px rgba(0,0,0,.55));
  border: 1px solid rgba(99, 184, 249, .25);
}
.hero-glow {
  position: absolute; inset: 12%; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle, rgba(43, 132, 242, .45), rgba(225, 29, 72, .18) 45%, transparent 70%);
  filter: blur(28px); animation: pulse 3.6s ease-in-out infinite;
}
.atomic-ring {
  position: absolute; border-radius: 50%; border: 2px solid transparent; z-index: 1; pointer-events: none;
  border-top-color: var(--primary); border-right-color: var(--accent-2); border-bottom-color: transparent; border-left-color: var(--cape);
}
.atomic-ring.r1 { inset: 2%; animation: spin 18s linear infinite; opacity: .85; }
.atomic-ring.r2 { inset: 8%; animation: spin 12s linear infinite reverse; border-width: 1.5px; opacity: .65; }
.atomic-ring.r3 { inset: 14%; animation: spin 22s linear infinite; border-width: 1px; opacity: .5; border-top-color: var(--gold); }
.cape-flare {
  position: absolute; right: -4%; top: 18%; width: 38%; height: 55%; z-index: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(225, 29, 72, .55), transparent 70%);
  filter: blur(28px); transform: rotate(18deg); animation: capeWave 5s ease-in-out infinite alternate;
}
.hud {
  position: absolute; z-index: 3; padding: 8px 12px; border-radius: 12px;
  background: rgba(5, 6, 26, .72); border: 1px solid var(--line); backdrop-filter: blur(8px);
  font-family: var(--font-mono); line-height: 1.2;
}
.hud small { display: block; color: var(--muted); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.hud b { color: var(--primary); font-size: .85rem; }
.hud.h1 { left: 0; top: 12%; } .hud.h2 { right: 0; bottom: 16%; }
.hud.h2 b { color: var(--cape); }
.hero-floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-floaters img {
  position: absolute; width: clamp(64px, 8vw, 120px); height: auto; object-fit: contain;
  border-radius: 16px; opacity: .88; filter: drop-shadow(0 10px 20px rgba(0,0,0,.45));
  border: 1px solid rgba(99, 184, 249, .25);
}
.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid var(--line); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 10px; margin-left: -2px;
  border-radius: 2px; background: var(--cape); animation: cue 1.8s infinite;
}

.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: .65; }
.glitch::before { color: var(--cape); animation: glitch 3.5s infinite steps(1); clip-path: inset(0 0 58% 0); }
.glitch::after { color: var(--accent-2); animation: glitch 2.8s infinite steps(1) reverse; clip-path: inset(55% 0 0 0); }

.ca-box {
  display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 8px 8px 8px 16px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--line); max-width: 560px; backdrop-filter: blur(10px);
}
.ca-box.is-pending { border-style: dashed; }
.ca-label { font-weight: 800; color: var(--cape); font-size: .82rem; letter-spacing: .12em; font-family: var(--font-mono); }
.ca-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; color: var(--text); font-family: var(--font-mono); }
.ca-copy {
  border: 0; border-radius: 999px; padding: 9px 18px; font-weight: 700; cursor: pointer;
  background: linear-gradient(110deg, var(--primary), var(--accent-2)); color: #060812; transition: transform .2s;
}
.ca-copy:hover { transform: scale(1.05); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden; padding: 16px 0; margin: 0 -2vw;
  box-shadow: var(--shadow);
}
.marquee-primary { background: linear-gradient(90deg, var(--primary), #1a4fb8); color: #041028; transform: rotate(-1.5deg); }
.marquee-accent { background: linear-gradient(90deg, var(--cape), #8d0e47); color: #fff; transform: rotate(1.2deg); margin-top: -6px; }
.marquee-track {
  display: flex; gap: 48px; width: max-content; animation: marquee 30s linear infinite;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2.6vw, 1.75rem); white-space: nowrap;
}
.marquee-accent .marquee-track { animation-direction: reverse; animation-duration: 34s; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after {
  content: ""; width: 10px; height: 10px; background: currentColor;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- About / Gallery ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.about-art { position: relative; padding-bottom: 28px; }
.about-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 9;
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.frame-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(43, 132, 242, .2), transparent 40%, rgba(225, 29, 72, .18));
  mix-blend-mode: screen;
}
.about-badge {
  position: absolute; right: -8px; bottom: 0; width: 128px; height: 128px; border-radius: 50%;
  background: linear-gradient(145deg, var(--cape), #8d0e47); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 40px rgba(225, 29, 72, .4);
}
.about-badge svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.about-badge text { fill: currentColor; font-size: 13.5px; letter-spacing: .18em; text-transform: uppercase; }
.about-badge img {
  width: 52%; height: 52%; border-radius: 50%; object-fit: cover; aspect-ratio: 1 / 1;
  border: 2px solid rgba(255,255,255,.35); position: relative; z-index: 1;
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-top: 26px; }
.stat {
  padding: 16px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.stat:hover { border-color: var(--primary); transform: translateY(-3px); }
.stat b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--text); word-break: break-word; }
.stat small { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; }

.gallery { margin-top: clamp(64px, 9vw, 108px); display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 18px; }
.gallery:empty { display: none; }
.g-item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg-2); grid-column: span 4; grid-row: span 2; cursor: zoom-in;
}
.g-item:nth-child(6n+1), .g-item:nth-child(6n+4) { grid-column: span 6; grid-row: span 3; }
.g-item img, .g-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.g-item:hover img, .g-item:hover video { transform: scale(1.07); filter: saturate(1.15) brightness(1.05); }
.g-item figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: 12px;
  background: rgba(5, 6, 26, .78); backdrop-filter: blur(8px); transform: translateY(120%); transition: transform .4s var(--ease);
}
.g-item:hover figcaption { transform: none; }
.g-item figcaption b { display: block; font-family: var(--font-display); font-size: .92rem; color: var(--text); }
.g-item figcaption span { font-size: .8rem; color: var(--muted); }

/* ---------- How to buy ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; padding-bottom: 12px; counter-reset: step; }
.step {
  position: relative; padding: 0; border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(13, 46, 147, .35), rgba(5, 6, 26, .65));
  border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column; min-height: 100%;
}
.step:hover { border-color: var(--cape); box-shadow: 0 0 36px rgba(225, 29, 72, .18); transform: translateY(-4px); }
.step-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; flex: none; }
.step-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform .7s var(--ease); }
.step:hover .step-media img { transform: scale(1.06); }
.step-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 6, 26, .92));
}
.step-num {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--font-mono); font-size: .76rem;
  padding: 4px 10px; border-radius: 999px; background: rgba(5, 6, 26, .72);
  border: 1px solid rgba(99, 184, 249, .45); color: var(--accent-2);
}
.step-icon {
  position: absolute; z-index: 3; right: 14px; bottom: 14px; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; background: linear-gradient(135deg, #0d2e93, #8d0e47);
  border: 1px solid rgba(225, 29, 72, .55); box-shadow: 0 0 20px rgba(225, 29, 72, .25);
}
.step-icon .svg-icon { width: 26px; height: 26px; margin: 0; }
.step-body { padding: 22px 20px 24px; flex: 1; position: relative; }
.step-body::before {
  counter-increment: step; content: "0" counter(step); position: absolute; right: 12px; top: 8px;
  font-family: var(--font-display); font-size: 2.6rem; color: rgba(43, 132, 242, .14); line-height: 1;
}
.step .svg-icon { width: 46px; height: 46px; margin-bottom: 14px; }
.step img.step-img { width: 64px; height: 64px; object-fit: contain; aspect-ratio: 1 / 1; margin-bottom: 12px; }
.step h3 { font-size: 1.15rem; color: var(--text); margin: 0 0 8px; }
.step p { margin: 0; font-size: .92rem; }
.partner-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(24px, 5vw, 56px); margin-top: 48px; opacity: .9;
}
.partner-row .svg-icon { width: auto; height: 32px; }
.partner-row .svg-icon svg { width: auto; height: 32px; }

/* ---------- Chart ---------- */
.chart-frame {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--glow); background: rgba(10, 13, 46, .85); aspect-ratio: 16 / 9; margin-top: 28px;
}
.chart-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chart-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px;
  padding: 32px; text-align: center; background:
    radial-gradient(circle at 50% 40%, rgba(43, 132, 242, .18), transparent 55%),
    linear-gradient(160deg, rgba(10, 13, 46, .9), rgba(5, 6, 26, .95));
}
.chart-placeholder p { max-width: 42ch; margin: 0; }
.atomic-mini { position: relative; width: 72px; height: 72px; }
.atomic-mini span {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent;
  border-top-color: var(--primary); border-left-color: var(--cape); animation: spin 4s linear infinite;
}
.atomic-mini span:nth-child(2) { inset: 10px; animation-direction: reverse; border-top-color: var(--accent-2); }
.atomic-mini span:nth-child(3) { inset: 22px; background: radial-gradient(circle, var(--gold), transparent 70%); border: 0; animation: pulse 2s ease-in-out infinite; }

/* ---------- Join us (banner 3:1 ONLY here) ---------- */
.banner-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); margin-top: 28px;
}
.banner-3x1 { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; }
.banner-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-100%); animation: shine 5.5s ease-in-out infinite;
}
.social-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 28px; }
.social-card {
  display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--radius-sm);
  background: var(--glass); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s, background .25s, box-shadow .25s;
}
.social-card .svg-icon { width: 28px; height: 28px; }
.social-card b { display: block; font-family: var(--font-display); font-size: .95rem; }
.social-card small { color: var(--muted); font-size: .8rem; }
.social-card:hover { border-color: var(--primary); background: rgba(43, 132, 242, .12); box-shadow: var(--glow); transform: translateY(-3px); }

/* ---------- Footer / toast / lightbox ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 40px 0; text-align: center; }
.footer-inner { display: grid; gap: 10px; justify-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.25rem; }
.footer-brand img { width: 36px; height: 36px; border-radius: 50%; aspect-ratio: 1 / 1; object-fit: cover; }
.footer-x { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); }
.footer-x:hover { border-color: var(--cape); }
.disclaimer { max-width: 70ch; font-size: .85rem; }
.copyright { font-size: .8rem; margin: 0; }
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 140%);
  padding: 12px 22px; border-radius: 999px; background: linear-gradient(110deg, var(--primary), var(--cape));
  color: #fff; font-weight: 700; z-index: 100; transition: transform .4s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }
.lightbox {
  position: fixed; inset: 0; z-index: 120; background: rgba(2, 3, 12, .88); backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 24px;
}
.lightbox[hidden] { display: none !important; }
.lb-close {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--glass); color: var(--text); font-size: 1.6rem; cursor: pointer;
}
.lb-figure { max-width: min(960px, 94vw); margin: 0; }
.lb-figure img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; border-radius: var(--radius-sm); }
.lb-figure figcaption { margin-top: 12px; text-align: center; color: var(--muted); }
.lb-figure figcaption b { color: var(--text); display: block; font-family: var(--font-display); }

/* ---------- Utilities ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.float { animation: float 6s ease-in-out infinite; }
.spin-slow { animation: spin 22s linear infinite; }
.tilt, .tilt-soft { transform-style: preserve-3d; transition: transform .2s ease-out; will-change: transform; }

@keyframes gradShift { to { background-position: 300% 0; } }
@keyframes blob { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(7vw,5vh) scale(1.12); } 100% { transform: translate(-5vw,-4vh) scale(.96); } }
@keyframes gridMove { to { background-position: 72px 72px, 72px 72px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@keyframes glitch { 0%, 92%, 100% { transform: none; } 93% { transform: translate(-3px, 2px); } 95% { transform: translate(3px, -2px); } 97% { transform: translate(-2px, -1px); } }
@keyframes sheen { 0%, 40% { background-position: 120% 0; } 100% { background-position: -20% 0; } }
@keyframes twinkle { 0% { opacity: .4; } 100% { opacity: .7; } }
@keyframes capeWave { 0% { transform: rotate(14deg) translateY(0); opacity: .55; } 100% { transform: rotate(22deg) translateY(8px); opacity: .85; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-art { max-width: 420px; margin: 0 auto; order: -1; }
  .ca-box, .hero-desc { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .eyebrow { justify-content: center; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 100px; }
  .g-item, .g-item:nth-child(6n+1), .g-item:nth-child(6n+4) { grid-column: span 3; grid-row: span 2; }
  .about-badge { right: 8px; bottom: 8px; width: 104px; height: 104px; }
  .hud { display: none; }
  .nav-name { display: none; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(5, 6, 26, .96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .4s var(--ease);
  }
  .nav-links a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .steps { grid-template-columns: 1fr; }
  .chart-frame { aspect-ratio: auto; height: 520px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g-item, .g-item:nth-child(6n+1), .g-item:nth-child(6n+4) { grid-column: span 1; grid-row: span 1; }
  .g-item:nth-child(3n+1) { grid-column: span 2; grid-row: span 2; }
  .cursor-glow { display: none; }
  .hero-floaters { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Anti-distortion: never stretch images */
.hero-logo, .footer-brand img, .nav-logo img, .about-badge img { aspect-ratio: 1 / 1; object-fit: cover; }
.hero-floaters img { object-fit: contain; height: auto; }
.about-frame { aspect-ratio: 16 / 9; }
.about-frame img, .step-media img, .g-item img, .g-item video { object-fit: cover; width: 100%; height: 100%; }
.banner-3x1 { height: auto; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.step-media { aspect-ratio: 16 / 9; }
.step img.step-img { object-fit: contain; aspect-ratio: 1 / 1; }
.step-icon .svg-icon, .step-icon .svg-icon svg { object-fit: contain; width: 26px; height: 26px; }
