/* ==========================================================================
   SPAC — Special Pump Acquisition Company
   Motion rule: animate transform + opacity only, so it stays smooth without a GPU.
   ========================================================================== */
:root {
  --bg: #070908;
  --bg-2: #0b0e0c;
  --panel: #101412;
  --panel-2: #141a17;
  --panel-3: #19201c;
  --line: #1e2622;
  --line-2: #2a352f;
  --text: #eaf2ec;
  --muted: #8d9a92;
  --dim: #5f6b64;
  --acc: #3cf29a;
  --acc-2: #b6ff5c;
  --acc-3: #19c37d;
  --acc-ink: #03130b;
  --acc-soft: rgba(60, 242, 154, 0.1);
  --acc-line: rgba(60, 242, 154, 0.28);
  --red: #ff5d73;
  --grad: linear-gradient(135deg, #b6ffd8 0%, #3cf29a 45%, #19c37d 100%);
  --r: 18px;
  --r-sm: 12px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --side-w: 236px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 8px; }

.nav svg, .btn svg, .icon-btn svg, .ico, .feat-icon svg, .stat-icon svg, .step-icon svg, .x-btn svg, .side-socials svg, .chip svg, .seg svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none;
}

/* ---------- background ---------- */
#bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.7; }
.bg-grid {
  position: fixed; inset: -40px; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 55% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 55% 20%, #000 20%, transparent 75%);
  animation: gridPan 30s linear infinite;
}
@keyframes gridPan { to { transform: translate3d(44px, 44px, 0); } }
.bg-orb { position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; width: 720px; height: 720px; opacity: 0.55; }
.orb-a { top: -320px; left: 34%; background: radial-gradient(circle, rgba(60, 242, 154, 0.16), transparent 62%); animation: orbA 22s var(--ease) infinite alternate; }
.orb-b { bottom: -380px; right: -200px; background: radial-gradient(circle, rgba(182, 255, 92, 0.08), transparent 60%); animation: orbB 28s var(--ease) infinite alternate; }
@keyframes orbA { to { transform: translate3d(-160px, 90px, 0) scale(1.15); } }
@keyframes orbB { to { transform: translate3d(-220px, -120px, 0) scale(0.9); } }

/* ---------- shell ---------- */
.app { position: relative; z-index: 1; display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); gap: 12px; padding: 12px; min-height: 100vh; transition: grid-template-columns 0.45s var(--ease); }
.app.collapsed { grid-template-columns: 0 minmax(0, 1fr); gap: 0; }
.app.collapsed .sidebar { transform: translateX(-110%); opacity: 0; }

.sidebar {
  position: sticky; top: 12px; height: calc(100vh - 24px); display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: 22px; padding: 18px 12px 14px;
  transition: transform 0.45s var(--ease), opacity 0.3s; overflow: hidden;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 10px 18px; }
.brand-logo { transition: transform 0.6s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-14deg) scale(1.08); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 0.02em; }
.nav { display: flex; flex-direction: column; gap: 3px; }
.nav-label { font-size: 12px; color: var(--dim); padding: 14px 12px 6px; }
.nav a {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #c9d3cc; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease);
}
.nav a:hover { background: var(--panel-3); color: var(--text); transform: translateX(3px); }
.nav a.active { background: linear-gradient(90deg, rgba(60, 242, 154, 0.16), rgba(60, 242, 154, 0.04)); border-color: var(--acc-line); color: var(--acc); }
.nav a.active::before { content: ''; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--acc); box-shadow: 0 0 12px var(--acc); }
.side-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.launched-box {
  position: relative; overflow: hidden; text-align: center; padding: 16px 10px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(60, 242, 154, 0.14), rgba(60, 242, 154, 0.03)); border: 1px solid var(--acc-line);
}
.launched-label { font-size: 13px; color: #b9c7be; }
.launched-num { font-family: var(--display); font-size: 22px; font-weight: 700; margin-top: 2px; }
.launched-pulse { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.07) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 4.5s ease-in-out infinite; }
@keyframes sweep { 60%, 100% { transform: translateX(100%); } }
.side-socials { display: flex; justify-content: center; gap: 6px; }
.side-socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--muted); transition: color 0.2s, background 0.2s, transform 0.25s var(--ease); }
.side-socials a:hover { color: var(--acc); background: var(--panel-3); transform: translateY(-2px); }
.side-scrim { display: none; }

.main { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.topbar {
  position: sticky; top: 12px; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 18px;
  background: rgba(12, 16, 14, 0.96); border: 1px solid var(--line); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
}
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; border: 1px solid transparent; background: transparent; color: var(--muted); transition: background 0.2s, color 0.2s; flex: none; }
.icon-btn:hover { background: var(--panel-3); color: var(--text); }
.top-actions { display: flex; gap: 8px; margin-left: auto; flex: none; }

/* ticker */
.ticker { position: relative; flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 8px; width: max-content; animation: marquee var(--marquee-dur, 40s) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.tick { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 8px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); white-space: nowrap; font-size: 12px; transition: border-color 0.2s, transform 0.2s; }
.tick:hover { border-color: var(--acc-line); transform: translateY(-1px); }
.tick-rank { color: var(--acc); font-weight: 700; font-size: 11px; }
.tick img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: var(--panel-3); }
.tick-sym { font-weight: 700; line-height: 1.1; }
.tick-cap { color: var(--muted); font-size: 11px; line-height: 1.1; }
.tick-empty { color: var(--dim); font-size: 12px; padding: 8px; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.96); }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn-acc { background: var(--grad); color: var(--acc-ink); box-shadow: 0 6px 24px -6px rgba(60, 242, 154, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-acc:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -8px rgba(60, 242, 154, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-ghost { background: var(--panel-2); color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost::after { background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.08) 50%, transparent 65%); }
.btn-ghost:hover { border-color: var(--acc-line); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 15px; letter-spacing: 0.06em; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn.is-busy { pointer-events: none; }
.btn.is-busy::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- view & transitions ---------- */
.view { min-height: calc(100vh - 100px); padding: 0 8px 40px; }
.view.leaving { opacity: 0; transform: translateY(8px); transition: opacity 0.16s, transform 0.16s; }
.view.entering { animation: viewIn 0.55s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } }
/* keyframes (not transitions) so hover/tilt transforms still work once revealed */
[data-reveal] { opacity: 0; }
[data-reveal].in { opacity: 1; animation: revealIn 0.85s var(--ease) backwards; animation-delay: var(--d, 0s); }
[data-reveal='scale'].in { animation-name: revealScale; }
@keyframes revealIn { from { opacity: 0; transform: translateY(26px); } }
@keyframes revealScale { from { opacity: 0; transform: scale(0.94); } }

/* ---------- sections ---------- */
.section { padding: 70px 0 10px; max-width: 1120px; margin: 0 auto; }
.eyebrow { text-align: center; color: var(--acc); font-size: 12px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; }
.h2 { text-align: center; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; margin: 12px 0 0; letter-spacing: -0.01em; }
.h2 b { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-rule { width: 54px; height: 2px; margin: 18px auto 44px; background: linear-gradient(90deg, transparent, var(--acc), transparent); transform-origin: center; }
[data-reveal].in .h-rule, .in > .h-rule { animation: ruleGrow 1s var(--ease) both 0.2s; }
@keyframes ruleGrow { from { transform: scaleX(0); } }
.page-title { text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.02em; margin: 34px 0 30px; line-height: 1; }
.page-title b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- hero ---------- */
.hero { position: relative; overflow-x: clip; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 0 20px; min-height: calc(100vh - 110px); justify-content: center; }
.hero-art { position: relative; width: 340px; height: 210px; margin-bottom: 18px; perspective: 900px; }
.hero-glow { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; background: radial-gradient(circle, rgba(60, 242, 154, 0.32), rgba(60, 242, 154, 0.05) 45%, transparent 68%); animation: glowPulse 4s ease-in-out infinite; }
@keyframes glowPulse { 50% { transform: scale(1.12); opacity: 0.75; } }
.hero-ring { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; border: 1px dashed rgba(60, 242, 154, 0.22); animation: spin 40s linear infinite; }
.hero-ring::before { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 14px var(--acc); }
.hero-ring.r2 { width: 380px; height: 380px; margin: -190px 0 0 -190px; animation-duration: 64s; animation-direction: reverse; border-color: rgba(182, 255, 92, 0.12); }
.hero-ring.r2::before { background: var(--acc-2); box-shadow: 0 0 14px var(--acc-2); }
.cheque-wrap { position: absolute; inset: 0; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translate3d(0, -12px, 0); } }
.cheque { width: 100%; height: 100%; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-7deg); transition: transform 0.5s var(--ease); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55)); animation: chequeIn 1.2s var(--ease) both; }
@keyframes chequeIn { from { opacity: 0; transform: translateY(40px) rotate(-22deg) scale(0.8); } }
.cheque .sig { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) 0.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cheque .payee { opacity: 0; animation: fadeIn 0.6s ease 0.6s forwards; }
.cheque .amount { opacity: 0; animation: fadeIn 0.6s ease 1.9s forwards; }
.cheque .stamp { opacity: 0; transform-origin: 300px 150px; animation: stamp 0.5s var(--ease) 2.6s forwards; }
@keyframes stamp { from { opacity: 0; transform: scale(2.2) rotate(-20deg); } to { opacity: 1; transform: scale(1) rotate(-14deg); } }
@keyframes fadeIn { to { opacity: 1; } }
.cheque .shine { animation: chequeShine 5s ease-in-out 3s infinite; }
@keyframes chequeShine { 0% { transform: translateX(-420px); } 30%, 100% { transform: translateX(420px); } }

.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(76px, 13vw, 148px); line-height: 0.9; margin: 8px 0 0; letter-spacing: -0.03em; display: flex; }
.hero-title span { display: inline-block; animation: letterIn 0.9s var(--ease) both; animation-delay: calc(0.25s + var(--i) * 0.08s); background: linear-gradient(180deg, #fff 30%, #a8b8ae); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes letterIn { from { opacity: 0; transform: translateY(60%) rotate(8deg); } }
.hero-full { font-family: var(--mono); font-size: 12px; letter-spacing: 0.28em; color: var(--acc); text-transform: uppercase; margin-top: 14px; animation: fadeUp 0.8s var(--ease) 0.6s both; }
.hero-sub { font-size: clamp(17px, 2vw, 21px); color: #b8c4bd; margin: 12px 0 30px; animation: fadeUp 0.8s var(--ease) 0.7s both; }
.hero-sub em { font-style: normal; color: var(--text); font-weight: 600; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.8s var(--ease) 0.85s both; }
.hero-cta .btn { min-width: 168px; }

.ca-row { display: flex; align-items: stretch; gap: 10px; margin-top: 28px; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.8s var(--ease) 1s both; max-width: 100%; }
.ca-box { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 16px; border-radius: 14px; background: rgba(16, 20, 18, 0.9); border: 1px solid var(--line-2); max-width: 100%; overflow: hidden; }
.ca-box::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--acc) 85%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: caBorder 4s linear infinite; pointer-events: none; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes caBorder { to { --a: 360deg; } }
.ca-label { font-size: 11px; font-weight: 700; color: var(--dim); letter-spacing: 0.1em; }
.ca-addr { font-family: var(--mono); font-size: 13px; color: #d4ddd7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ca-soon { font-family: var(--mono); font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.ca-soon i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; transform: scale(0.7); } }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-3); font-size: 12px; font-weight: 600; color: #cfd9d2; flex: none; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.copy-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn:hover { border-color: var(--acc-line); color: var(--acc); }
.copy-btn.copied { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); animation: pop 0.35s var(--ease); }
.copy-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
@keyframes pop { 40% { transform: scale(1.12); } }
.x-btn { display: inline-flex; align-items: center; gap: 10px; padding: 0 18px; min-height: 46px; border-radius: 14px; background: #f2f5f3; color: #050706; font-weight: 700; font-size: 14px; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.x-btn svg { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.x-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.45); }
.scroll-hint { position: relative; margin: 36px auto 0; width: 22px; height: 36px; border-radius: 12px; border: 1.5px solid var(--line-2); animation: fadeUp 0.8s ease 1.4s both; }
.scroll-hint::before { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--acc); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { text-align: center; padding: 26px 12px; border-radius: var(--r); background: linear-gradient(180deg, rgba(20, 26, 23, 0.7), rgba(16, 20, 18, 0.2)); border: 1px solid var(--line); transition: transform 0.35s var(--ease), border-color 0.25s; }
.stat:hover { transform: translateY(-4px); border-color: var(--acc-line); }
.stat-icon { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; background: var(--acc-soft); color: var(--acc); border: 1px solid var(--acc-line); }
.stat:hover .stat-icon { animation: wiggle 0.6s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-12deg) scale(1.1); } 60% { transform: rotate(8deg); } }
.stat-num { font-family: var(--display); font-size: clamp(28px, 3.4vw, 38px); font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 8px; font-size: 12px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; }

/* ---------- feature cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { position: relative; text-align: center; padding: 34px 28px 32px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.3s; }
.feat::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(60, 242, 154, 0.1), transparent 45%); opacity: 0; transition: opacity 0.3s; }
.feat:hover { transform: translateY(-5px); border-color: var(--acc-line); }
.feat:hover::before { opacity: 1; }
.feat-icon { position: relative; display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 18px; border-radius: 50%; background: var(--acc-soft); color: var(--acc); border: 1px solid var(--acc-line); }
.feat-icon svg { width: 22px; height: 22px; }
.feat-icon::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--acc-line); opacity: 0; transform: scale(0.8); transition: opacity 0.3s, transform 0.5s var(--ease); }
.feat:hover .feat-icon::after { opacity: 1; transform: scale(1); }
.feat h3 { position: relative; font-family: var(--display); font-size: 20px; font-weight: 600; margin: 0 0 10px; }
.feat p { position: relative; margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* ---------- steps ---------- */
.steps { position: relative; }
.steps-line { position: absolute; top: 86px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--acc-line) 0 8px, transparent 8px 16px); animation: dash 1.2s linear infinite; }
@keyframes dash { to { background-position: 16px 0; } }
.step { position: relative; text-align: center; padding: 30px 22px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.3s; }
.step:hover { transform: translateY(-5px); border-color: var(--acc-line); }
.step-n { position: absolute; top: 12px; left: 14px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.step-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; background: var(--panel-3); color: var(--acc); border: 1px solid var(--acc-line); box-shadow: 0 0 0 6px var(--panel); position: relative; z-index: 1; }
.step-icon svg { width: 22px; height: 22px; }
.step h3 { font-family: var(--display); font-size: 21px; margin: 0 0 8px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.center { display: flex; justify-content: center; margin-top: 30px; }

/* ---------- coin cards ---------- */
.coin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.coin-card { position: relative; display: block; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d; transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.coin-card:hover { border-color: var(--acc-line); box-shadow: 0 20px 50px -20px rgba(60, 242, 154, 0.35); }
.coin-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--panel-3); }
.coin-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.coin-card:hover .coin-img img { transform: scale(1.07); }
.coin-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(16, 20, 18, 0.9)); }
.badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; z-index: 1; }
.badge { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(7, 9, 8, 0.75); border: 1px solid var(--line-2); color: #dfe8e2; }
.badge.acc { border-color: var(--acc-line); color: var(--acc); }
.badge.grad { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.coin-body { padding: 14px 16px 16px; }
.coin-sym { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.coin-name { font-weight: 700; font-size: 15px; margin: 4px 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-cap { display: flex; align-items: baseline; gap: 8px; }
.coin-cap b { font-family: var(--display); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.coin-cap span { font-size: 10px; color: var(--dim); letter-spacing: 0.16em; }
.coin-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.coin-meta .who { display: flex; align-items: center; gap: 6px; min-width: 0; }
.avatar { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.change.up { color: var(--acc); }
.change.down { color: var(--red); }

/* progress */
.prog { position: relative; height: 6px; border-radius: 6px; background: var(--panel-3); overflow: hidden; margin-top: 12px; }
.prog > i { position: absolute; inset: 0; right: auto; width: calc(var(--p) * 100%); border-radius: inherit; background: var(--grad); transform-origin: left; animation: progIn 1.2s var(--ease) both; }
.prog > i::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.22) 0 6px, transparent 6px 12px); background-size: 17px 17px; animation: stripes 0.8s linear infinite; }
@keyframes progIn { from { transform: scaleX(0); } }
@keyframes stripes { to { background-position: 17px 0; } }
.prog-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; }

.flash-up { animation: flashUp 1s ease; }
.flash-down { animation: flashDown 1s ease; }
@keyframes flashUp { 20% { color: var(--acc); text-shadow: 0 0 16px rgba(60, 242, 154, 0.6); } }
@keyframes flashDown { 20% { color: var(--red); text-shadow: 0 0 16px rgba(255, 93, 115, 0.6); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; margin: 70px auto 0; max-width: 1120px; padding: 48px 28px; border-radius: 26px; text-align: center; background: linear-gradient(135deg, rgba(60, 242, 154, 0.16), rgba(60, 242, 154, 0.02) 60%), var(--panel); border: 1px solid var(--acc-line); }
.cta-band h2 { font-family: var(--display); font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 10px; line-height: 1.1; }
.cta-band p { color: var(--muted); margin: 0 0 24px; }
.cta-band .orbit { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px dashed rgba(60, 242, 154, 0.16); right: -200px; top: -260px; animation: spin 50s linear infinite; }
.footer { max-width: 1120px; margin: 50px auto 0; padding: 22px 4px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }
.footer a:hover { color: var(--acc); }

/* ---------- panels & forms ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; }
.panel-h { display: flex; align-items: center; gap: 12px; padding: 20px 22px 0; }
.panel-h h3 { font-family: var(--display); font-size: 22px; margin: 0; }
.num-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: var(--acc-ink); font-weight: 800; font-size: 14px; box-shadow: 0 0 20px rgba(60, 242, 154, 0.4); }
.form { padding: 18px 22px 22px; display: grid; gap: 16px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.field label small { color: var(--dim); }
.input, .textarea, .select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.textarea { min-height: 96px; resize: vertical; }
.input.mono { font-family: var(--mono); }
.drop { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 14px; border: 1.5px dashed var(--line-2); background: var(--bg-2); transition: border-color 0.2s, background 0.2s; cursor: pointer; }
.drop.over { border-color: var(--acc); background: var(--acc-soft); }
.drop-thumb { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 14px; background: var(--panel-3); color: var(--muted); font-size: 26px; overflow: hidden; flex: none; border: 1px solid var(--line-2); }
.drop-thumb img { width: 100%; height: 100%; object-fit: cover; animation: pop 0.4s var(--ease); }
.drop-text { flex: 1; font-size: 13px; color: var(--muted); }
.drop-text b { display: block; color: var(--text); font-size: 14px; margin-bottom: 2px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel-2); font-size: 12px; font-weight: 600; color: #cdd7d0; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.chip:hover, .chip.on { border-color: var(--acc-line); color: var(--acc); background: var(--acc-soft); }
.hint { font-size: 12px; color: var(--dim); margin-top: 6px; }
.note { padding: 12px 14px; border-radius: 12px; font-size: 13px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--muted); }
.note.err { border-color: rgba(255, 93, 115, 0.4); background: rgba(255, 93, 115, 0.08); color: #ffb3bf; }
.note.ok { border-color: var(--acc-line); background: var(--acc-soft); color: #bff7d9; }

/* launch */
.launch-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 16px; max-width: 1120px; margin: 0 auto; align-items: start; }
.launch-side { position: sticky; top: 90px; display: grid; gap: 16px; }
.preview { position: relative; overflow: hidden; padding: 22px; border-radius: 20px; background: linear-gradient(160deg, rgba(60, 242, 154, 0.12), rgba(60, 242, 154, 0.02) 55%), var(--panel); border: 1px solid var(--acc-line); }
.preview-top { display: flex; gap: 16px; align-items: center; }
.preview-img { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; flex: none; background: var(--grad); box-shadow: 0 0 30px rgba(60, 242, 154, 0.35); animation: float 5s ease-in-out infinite; }
.preview-img img { width: 100%; height: 100%; object-fit: cover; }
.preview-name { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.1; word-break: break-word; }
.preview-sub { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 4px; }
.preview-list { display: grid; gap: 8px; margin-top: 18px; }
.preview-list div { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: rgba(7, 9, 8, 0.55); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.preview-list div::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); flex: none; }
.preview-list em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--acc); letter-spacing: 0.1em; }
.summary { display: grid; gap: 8px; padding: 18px 20px; font-size: 13px; }
.summary div { display: flex; justify-content: space-between; color: var(--muted); }
.summary b { color: var(--text); font-family: var(--mono); font-weight: 500; }
.launch-btn { width: 100%; padding: 16px; font-size: 15px; }

/* steps modal */
.modal-root { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.modal-back { position: absolute; inset: 0; background: rgba(3, 5, 4, 0.8); pointer-events: auto; animation: fadeIn 0.25s both; opacity: 0; }
.modal { position: absolute; left: 50%; top: 50%; width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; transform: translate(-50%, -50%); background: var(--panel); border: 1px solid var(--line-2); border-radius: 22px; padding: 22px; pointer-events: auto; animation: modalIn 0.45s var(--ease) both; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.8); }
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); } }
.modal h3 { font-family: var(--display); margin: 0 0 4px; font-size: 22px; }
.modal p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.modal-x { position: absolute; top: 14px; right: 14px; }
.wallet-list { display: grid; gap: 8px; }
.wallet-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel-2); font-weight: 600; transition: border-color 0.2s, transform 0.25s var(--ease); text-align: left; width: 100%; }
.wallet-opt:hover { border-color: var(--acc-line); transform: translateX(3px); }
.wallet-opt img { width: 30px; height: 30px; border-radius: 8px; }
.wallet-opt em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); font-weight: 500; }
.wallet-opt em.on { color: var(--acc); }
.progress-steps { display: grid; gap: 10px; margin: 8px 0 6px; }
.pstep { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); font-size: 14px; color: var(--dim); transition: color 0.3s, border-color 0.3s; }
.pstep .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; flex: none; }
.pstep.active { color: var(--text); border-color: var(--acc-line); }
.pstep.active .dot { border-color: var(--acc); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.pstep.done { color: #bff7d9; }
.pstep.done .dot { background: var(--acc); border-color: var(--acc); animation: pop 0.35s var(--ease); }
.pstep.done .dot::after { content: ''; width: 9px; height: 5px; border: 2px solid var(--acc-ink); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.pstep.fail { color: #ffb3bf; border-color: rgba(255, 93, 115, 0.4); }
.pstep.fail .dot { border-color: var(--red); background: rgba(255, 93, 115, 0.2); }

/* wallet dropdown */
.menu { position: fixed; z-index: 90; min-width: 210px; padding: 6px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.7); animation: menuIn 0.25s var(--ease) both; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.menu button, .menu a { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border: 0; background: none; border-radius: 10px; font-size: 13px; font-weight: 600; color: #d6dfd9; text-align: left; }
.menu button:hover, .menu a:hover { background: var(--panel-3); color: var(--acc); }
.wallet-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc-ink); box-shadow: 0 0 0 2px rgba(3, 19, 11, 0.25); }

/* toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 120; display: grid; gap: 8px; }
.toast { padding: 12px 16px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 14px; max-width: 340px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6); animation: toastIn 0.45s var(--ease) both; }
.toast.ok { border-color: var(--acc-line); }
.toast.err { border-color: rgba(255, 93, 115, 0.45); }
.toast.out { animation: toastOut 0.3s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px) scale(0.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ---------- explore ---------- */
.toolbar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); gap: 2px; }
.seg button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 9px; border: 0; background: none; font-size: 13px; font-weight: 600; color: var(--muted); transition: background 0.2s, color 0.2s; }
.seg button svg { width: 15px; height: 15px; }
.seg button.on { background: var(--panel-3); color: var(--text); }
.seg button:hover { color: var(--text); }
.refresh-btn.spin svg { animation: spin 0.8s linear; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.col { display: flex; flex-direction: column; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); min-height: 60vh; overflow: hidden; }
.col-h { display: flex; align-items: center; gap: 8px; padding: 14px 16px 10px; font-weight: 700; font-size: 14px; }
.col-h svg { width: 16px; height: 16px; color: var(--acc); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.col-h .count { margin-left: auto; font-size: 12px; color: var(--dim); font-family: var(--mono); }
.col-search { margin: 0 12px 10px; }
.col-search .input { padding: 9px 12px; font-size: 13px; }
.col-list { display: grid; gap: 6px; padding: 0 10px 12px; align-content: start; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: var(--panel-2); border: 1px solid transparent; transition: border-color 0.2s, transform 0.25s var(--ease), background 0.2s; animation: rowIn 0.5s var(--ease) both; animation-delay: calc(var(--i, 0) * 0.04s); }
@keyframes rowIn { from { opacity: 0; transform: translateX(-12px); } }
.row:hover { border-color: var(--acc-line); transform: translateX(3px); background: var(--panel-3); }
.row img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: var(--panel-3); }
.row-main { flex: 1; min-width: 0; }
.row-top { display: flex; justify-content: space-between; gap: 8px; }
.row-name { flex: 1; min-width: 0; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-cap { flex: none; }
.row-cap { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.row-sub { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 2px; }
.row .prog { margin-top: 7px; height: 4px; }
.empty { text-align: center; color: var(--dim); font-size: 13px; padding: 40px 10px; }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.tbl th { text-align: left; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); font-weight: 600; padding: 14px 16px; border-bottom: 1px solid var(--line); cursor: pointer; user-select: none; }
.tbl th.r, .tbl td.r { text-align: right; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tr { transition: background 0.2s; }
.tbl tbody tr { animation: rowIn 0.45s var(--ease) both; animation-delay: calc(var(--i, 0) * 0.03s); cursor: pointer; }
.tbl tbody tr:hover { background: var(--panel-2); }
.tbl .coin-cell { display: flex; align-items: center; gap: 10px; }
.tbl .coin-cell img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.tbl .mini-prog { width: 90px; display: inline-block; margin: 0; vertical-align: middle; }

/* ---------- analytics ---------- */
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; max-width: 1120px; margin: 0 auto; }
.kpi { padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.kpi-label { font-size: 11px; color: var(--dim); letter-spacing: 0.14em; text-transform: uppercase; }
.kpi-num { font-family: var(--display); font-size: 24px; font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; }
.charts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; max-width: 1120px; margin: 12px auto 0; }
.chart-card { padding: 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.chart-card h4 { margin: 0 0 16px; font-family: var(--display); font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; }
.chart-card h4 small { font-family: var(--font); font-size: 12px; color: var(--dim); font-weight: 500; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 200px; padding-top: 10px; }
.bar { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bar i { width: 100%; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--acc), rgba(60, 242, 154, 0.25)); height: calc(var(--h) * 100%); min-height: 3px; transform-origin: bottom; animation: barUp 1s var(--ease) both; animation-delay: calc(var(--i) * 0.05s); transition: filter 0.2s; }
.bar:hover i { filter: brightness(1.3); }
.bar span { position: absolute; bottom: -20px; font-size: 10px; color: var(--dim); white-space: nowrap; }
.bar b { position: absolute; top: calc((1 - var(--h)) * 100% - 4px); transform: translateY(-100%); font-size: 11px; color: var(--muted); opacity: 0; transition: opacity 0.2s; }
.bar:hover b { opacity: 1; }
@keyframes barUp { from { transform: scaleY(0); } }
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13px; }
.hbar img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
.hbar-track { position: relative; height: 26px; border-radius: 8px; background: var(--panel-2); overflow: hidden; }
.hbar-track i { position: absolute; inset: 0; right: auto; width: calc(var(--w) * 100%); background: linear-gradient(90deg, rgba(60, 242, 154, 0.5), rgba(60, 242, 154, 0.15)); border-radius: 8px; transform-origin: left; animation: progIn 1.1s var(--ease) both; animation-delay: calc(var(--i) * 0.06s); }
.hbar-track span { position: relative; padding-left: 10px; line-height: 26px; font-weight: 600; white-space: nowrap; }
.hbar-val { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.donut circle { fill: none; stroke-width: 16; transform: rotate(-90deg); transform-origin: center; }
.donut .seg-arc { stroke-dasharray: 0 999; animation: arc 1.4s var(--ease) forwards; animation-delay: var(--dl, 0s); }
@keyframes arc { to { stroke-dasharray: var(--len) 999; } }
.legend { display: grid; gap: 10px; font-size: 13px; }
.legend div { display: flex; align-items: center; gap: 10px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }

/* ---------- coin page ---------- */
.coin-page { max-width: 1120px; margin: 0 auto; padding-top: 16px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 16px; transition: color 0.2s, transform 0.2s; }
.back:hover { color: var(--acc); transform: translateX(-3px); }
.coin-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding: 22px; border-radius: 22px; background: linear-gradient(135deg, rgba(60, 242, 154, 0.1), transparent 60%), var(--panel); border: 1px solid var(--line); }
.coin-head img.big { width: 96px; height: 96px; border-radius: 22px; object-fit: cover; box-shadow: 0 0 40px rgba(60, 242, 154, 0.25); animation: chequeIn 0.9s var(--ease) both; }
.coin-head h1 { font-family: var(--display); margin: 0; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; word-break: break-word; }
.coin-head .sym { font-family: var(--mono); color: var(--muted); font-size: 14px; }
.coin-head .ca-box { margin-top: 10px; width: fit-content; max-width: 100%; }
.coin-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.coin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.coin-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.chart-frame { width: 100%; height: 440px; border: 0; border-radius: 14px; background: var(--bg-2); display: block; }
.spark { width: 100%; height: 300px; display: block; }
.spark path.line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2s var(--ease) forwards; }
.about p { color: #c6d1ca; white-space: pre-wrap; word-break: break-word; margin: 0 0 14px; font-size: 14px; }
.kv { display: grid; gap: 8px; font-size: 13px; }
.kv div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.kv div span { color: var(--muted); }
.kv a { color: var(--acc); }
.big-prog { height: 12px; border-radius: 10px; margin-top: 10px; }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; max-width: 1120px; margin: 24px auto 0; align-items: start; }
.docs-nav { position: sticky; top: 90px; display: grid; gap: 2px; padding: 12px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.docs-nav .nav-label { padding: 10px 10px 4px; }
.docs-nav a { padding: 8px 10px; border-radius: 10px; font-size: 13px; color: var(--muted); font-weight: 600; transition: background 0.2s, color 0.2s; }
.docs-nav a:hover { color: var(--text); background: var(--panel-3); }
.docs-nav a.on { color: var(--acc); background: var(--acc-soft); }
.doc { padding: 30px 34px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); line-height: 1.75; color: #c9d4cd; }
.doc section { scroll-margin-top: 90px; padding-bottom: 18px; }
.doc h2 { font-family: var(--display); color: var(--text); font-size: 28px; margin: 0 0 12px; line-height: 1.2; }
.doc h3 { color: var(--text); font-size: 17px; margin: 22px 0 8px; }
.doc section + section { border-top: 1px solid var(--line); padding-top: 28px; }
.doc code { font-family: var(--mono); font-size: 12.5px; padding: 2px 6px; border-radius: 6px; background: var(--panel-3); color: var(--acc); }
.doc pre { font-family: var(--mono); font-size: 12.5px; padding: 14px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); overflow-x: auto; color: #cfe; line-height: 1.6; }
.doc ul, .doc ol { padding-left: 20px; }
.doc li { margin: 4px 0; }
.doc strong { color: var(--text); }
.callout { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--acc-line); background: var(--acc-soft); margin: 16px 0; }
.callout b { color: var(--acc); display: block; margin-bottom: 4px; }

.skeleton { position: relative; overflow: hidden; background: var(--panel-2); border-radius: 12px; }
.skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%); animation: sweep 1.4s ease-in-out infinite; transform: translateX(-100%); }
.confetti { position: fixed; inset: 0; z-index: 130; pointer-events: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .charts, .coin-cols { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .app { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .app.collapsed { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; z-index: 60; top: 10px; left: 10px; bottom: 10px; height: auto; width: 250px; transform: translateX(-120%); opacity: 1; }
  .app.collapsed .sidebar { transform: translateX(-120%); }
  .app.side-open .sidebar { transform: none; }
  .side-scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, 0.55); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
  .app.side-open .side-scrim { opacity: 1; pointer-events: auto; }
  .cols { grid-template-columns: 1fr; }
  .col { min-height: 0; }
  .launch-grid { grid-template-columns: 1fr; }
  .launch-side { position: static; }
  .docs { grid-template-columns: 1fr; }
  .docs-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .docs-nav .nav-label { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .stats, .coin-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .steps-line { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .hide-sm { display: none; }
  .hero-art { width: 290px; height: 180px; }
  .hero-ring.r2 { display: none; }
  .row-2 { grid-template-columns: 1fr; }
  .doc { padding: 22px 18px; }
  .view { padding: 0 2px 30px; }
  .coin-actions { margin-left: 0; }
  .ca-row { flex-direction: column; align-items: stretch; width: 100%; }
  .x-btn { justify-content: center; }
  .chart-frame { height: 360px; }
}
@media (max-width: 520px) {
  .ticker { visibility: hidden; }
}
@media (max-width: 420px) {
  .ca-addr { font-size: 11px; }
  .topbar .btn-sm { padding: 9px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  #bg-canvas { display: none; }
}
