/* Stockcoin v4 — modern dark fintech.
   Less terminal, more Linear/Vercel: Space Grotesk body, monospace only for
   data, soft mesh background, rounded corners, restrained neon-green accent. */

:root {
  --bg:        #07080d;
  --bg-1:      #0d0e16;
  --bg-2:      #13141d;
  --bg-3:      #1a1c28;
  --ink:       #ececf2;
  --ink-soft:  #b5b8c8;
  --ink-dim:   #7a7e90;
  --ink-faint: #4a4e5e;
  --line:      rgba(236, 236, 242, 0.07);
  --line-2:    rgba(236, 236, 242, 0.14);

  --green:     #00ff88;
  --green-d:   #00cc6f;
  --magenta:   #ff2d92;
  --cyan:      #00d4ff;
  --orange:    #ff8a3d;
  --lime:      #76e30c;
  --violet:    #b388ff;

  --glow-green:   0 0 30px rgba(0, 255, 136, 0.18);
  --glow-cyan:    0 0 30px rgba(0, 212, 255, 0.18);

  --shadow-sm:  0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md:  0 8px 28px rgba(0, 0, 0, 0.32), 0 2px 6px rgba(0, 0, 0, 0.24);
  --shadow-lg:  0 24px 60px rgba(0, 0, 0, 0.40), 0 4px 12px rgba(0, 0, 0, 0.28);

  --r-sm:  8px;
  --r:     12px;
  --r-lg:  16px;
  --r-xl:  20px;

  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --font-display: 'Archivo Black', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}

/* === BACKGROUND LAYERS ================================================== */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 45% at 12% 12%, rgba(0, 255, 136, 0.08), transparent 70%),
    radial-gradient(40% 40% at 88% 18%, rgba(0, 212, 255, 0.06), transparent 70%),
    radial-gradient(55% 45% at 60% 95%, rgba(255, 45, 146, 0.05), transparent 70%);
}

/* === TYPOGRAPHY ========================================================= */
a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
code {
  font-family: var(--font-mono);
  background: var(--bg-2);
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--green);
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.muted { color: var(--ink-dim); }
.sep { color: var(--ink-faint); padding: 0 8px; }
.small { font-size: 12px; }
.green { color: var(--green); }

/* === NAV ================================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 18px 32px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: rgba(7, 8, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
nav .logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
  flex-shrink: 0;
}

nav ul { display: flex; gap: 28px; list-style: none; }
nav ul a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}
nav ul a:hover { color: var(--ink); }

nav .cta {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--green);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
  box-shadow: var(--glow-green);
}
nav .cta:hover { color: var(--bg); transform: translateY(-1px); box-shadow: 0 0 36px rgba(0, 255, 136, 0.32); }
.cta-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--bg);
  opacity: 0.8;
}

@media (max-width: 900px) {
  nav { padding: 14px 18px; }
  nav ul { display: none; }
}

/* === HERO (banner-bg) =================================================== */
.hero {
  min-height: 92vh;
  position: relative;
  isolation: isolate;
  padding: 140px 28px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -2;
  background: url('/assets/banner.png') center center / cover no-repeat;
  filter: brightness(0.32) saturate(0.65) contrast(1.05);
}
.hero-vignette {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 100% 90% at 50% 50%, rgba(7,8,13,0.25) 0%, rgba(7,8,13,0.65) 55%, rgba(7,8,13,0.92) 90%, var(--bg) 100%),
    linear-gradient(180deg, rgba(7,8,13,0.55) 0%, rgba(7,8,13,0.30) 30%, rgba(7,8,13,0.55) 70%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 28px;
  padding: 10px 18px;
  border: 1.5px solid var(--green);
  background: rgba(7, 8, 13, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(0, 255, 136, 0.20);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}
.hero-eyebrow .muted { color: var(--ink-dim); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
  margin: 0 auto 24px;
  text-shadow:
    0 4px 32px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(0, 255, 136, 0.15);
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  display: block;
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
  text-transform: uppercase;
}
.hero-tagline .block {
  display: inline-block;
  padding: 4px 14px;
  color: var(--bg);
  margin: 0 2px;
  transform: rotate(-1.2deg);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.45);
}
.hero-tagline .block.green   { background: var(--green); }
.hero-tagline .block.magenta { background: var(--magenta); color: var(--ink); }
.hero-tagline .block.cyan    { background: var(--cyan); }

.hero-sub {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin: 32px auto 0;
  max-width: 60ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.hero-chips {
  margin: 28px auto 0;
  display: flex; gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 760px;
}
.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1.5px solid currentColor;
  background: rgba(7, 8, 13, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  vertical-align: middle;
  text-transform: uppercase;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}
.chip.green   { color: var(--green); }
.chip.orange  { color: var(--orange); }
.chip.pink    { color: var(--magenta); }
.chip.lime    { color: var(--lime); }
.chip.cyan    { color: var(--cyan); }

.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 40px;
  justify-content: center;
}

.btn {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 16px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  text-transform: uppercase;
}
.btn.primary {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green);
  box-shadow: 6px 6px 0 var(--bg), 6px 6px 0 1px var(--green);
}
.btn.primary:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--bg), 9px 9px 0 1px var(--green);
}
.btn.ghost {
  background: rgba(7, 8, 13, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--bg), 6px 6px 0 1px var(--ink);
}
.btn.ghost:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--bg), 9px 9px 0 1px var(--green);
  border-color: var(--green);
  color: var(--green);
}

/* === PRICE STRIP (below hero — the wow) ================================ */
.price-strip {
  padding: 90px 28px;
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(0,255,136,0.06), transparent 70%),
    var(--bg);
  border-top: 1px solid rgba(0, 255, 136, 0.2);
  border-bottom: 1px solid var(--line);
}
.strip-head {
  text-align: center;
  margin-bottom: 56px;
}
.strip-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-bottom: 16px;
  padding: 7px 14px;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  background: rgba(0, 255, 136, 0.04);
  text-transform: uppercase;
}
.strip-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}
.strip-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.strip-lede {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 64ch;
  margin: 0 auto;
}

.price-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
}
@media (min-width: 1100px) {
  .price-tiles { grid-template-columns: repeat(5, 1fr); }
}

.price-tile {
  background: var(--bg-1);
  border: 1.5px solid var(--line);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  display: flex; flex-direction: column;
  min-height: 320px;
  box-shadow: var(--shadow-sm);
}
.price-tile.skeleton {
  background:
    linear-gradient(110deg, transparent 30%, rgba(236,236,242,0.04) 50%, transparent 70%),
    var(--bg-1);
  background-size: 300% 100%, 100% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}
.price-tile:hover {
  border-color: var(--tile-color, var(--green));
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 color-mix(in srgb, var(--tile-color, var(--green)) 80%, transparent);
}
.price-tile::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tile-color, var(--green));
}

.tile-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.tile-sym {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.tile-source {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  color: var(--green);
  border: 1px solid rgba(0, 255, 136, 0.4);
  background: rgba(0, 255, 136, 0.06);
  text-transform: uppercase;
}
.tile-source.preipo {
  color: var(--cyan);
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.06);
}

.tile-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.tile-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8px;
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--tile-color, var(--green)) 30%, transparent));
}

.tile-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 38px;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 8px;
}
.tile-delta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  margin-bottom: 12px;
}
.tile-delta.up   { color: var(--green); background: rgba(0,255,136,0.06); }
.tile-delta.down { color: var(--magenta); background: rgba(255,45,146,0.06); }
.tile-delta.flat { color: var(--cyan); background: rgba(0,212,255,0.06); }

.tile-spark {
  height: 36px;
  width: 100%;
  margin-top: auto;
  margin-bottom: 10px;
  overflow: visible;
}
.tile-spark path.line {
  fill: none;
  stroke: var(--tile-color, var(--green));
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--tile-color, var(--green)) 60%, transparent));
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLine 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.tile-spark path.area {
  fill: var(--tile-color, var(--green));
  opacity: 0.08;
}
.tile-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

/* === STATS STRIP (below hero) =========================================== */
.stats-strip {
  padding: 56px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.big-stat {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  transition: all 0.15s;
}
.big-stat:hover { background: var(--bg-2); border-color: var(--line-2); transform: translateY(-1px); }
.big-stat.highlight {
  background: linear-gradient(180deg, rgba(0,255,136,0.04), rgba(0,255,136,0.01));
  border-color: rgba(0, 255, 136, 0.22);
}

.big-stat-key {
  font-size: 12px;
  color: var(--ink-dim);
  margin-bottom: 14px;
  font-weight: 500;
}
.big-stat-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.big-stat.highlight .big-stat-value { color: var(--green); }
.big-stat-sub {
  font-size: 12px;
  color: var(--ink-dim);
  margin-top: 8px;
}

/* === TICKER ============================================================= */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: relative;
}
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.ticker-inner {
  display: inline-block;
  white-space: nowrap;
  animation: tickerScroll 42s linear infinite;
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.ticker:hover .ticker-inner { animation-play-state: paused; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.m-item { display: inline-flex; align-items: center; gap: 10px; margin: 0 26px; }
.m-dot {
  width: 8px; height: 8px;
  display: inline-block;
  border-radius: 50%;
}
.m-delta.up   { color: var(--green); }
.m-delta.down { color: var(--magenta); }
.m-sep { color: var(--ink-faint); }

/* === SECTIONS =========================================================== */
section {
  padding: 100px 28px;
}
section.alt {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.container { max-width: 1400px; margin: 0 auto; }

.section-head { margin-bottom: 56px; }
.section-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0;
}
.step-no {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  padding: 3px 9px;
  border: 1px solid rgba(0, 255, 136, 0.3);
  background: rgba(0, 255, 136, 0.06);
  border-radius: 999px;
  letter-spacing: 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5.2vw, 68px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 22px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-lede {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 70ch;
}

/* === DIVIDER ============================================================ */
.divider {
  display: flex; align-items: center; gap: 16px;
  padding: 36px 28px;
  max-width: 1400px; margin: 0 auto;
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: var(--r-lg);
}
.divider[data-divider="1"] { background-image: var(--div-1, none); }
.divider[data-divider="2"] { background-image: var(--div-2, none); }
.divider[data-divider="3"] { background-image: var(--div-3, none); }
.divider-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.divider-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  white-space: nowrap;
}

/* === COIN CARDS ========================================================= */
.coins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
@media (min-width: 1100px) {
  .coins-grid { grid-template-columns: repeat(5, 1fr); }
}

.coin-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 20px 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex; flex-direction: column;
  min-height: 380px;
  box-shadow: var(--shadow-sm);
}
.coin-card.skeleton {
  background:
    linear-gradient(110deg, transparent 30%, rgba(236,236,242,0.04) 50%, transparent 70%),
    var(--bg-1);
  background-size: 300% 100%, 100% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { background-position: -100% 0, 0 0; }
  100% { background-position:  100% 0, 0 0; }
}

.coin-card:hover {
  border-color: color-mix(in srgb, var(--card-color, var(--green)) 60%, var(--line-2));
  box-shadow: 0 0 32px color-mix(in srgb, var(--card-color, var(--green)) 22%, transparent), var(--shadow-md);
  transform: translateY(-3px);
}

.status-tag {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--ink-dim);
  border-radius: 999px;
  text-transform: uppercase;
}
.coin-card.live .status-tag { color: var(--green); border-color: rgba(0, 255, 136, 0.4); background: rgba(0,255,136,0.06); }
.coin-card.placeholder .status-tag { color: var(--magenta); border-color: rgba(255, 45, 146, 0.4); background: rgba(255,45,146,0.06); }

.coin-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.coin-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  padding: 14px;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--card-color, var(--green)) 22%, transparent));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.coin-card:hover .coin-image img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 26px color-mix(in srgb, var(--card-color, var(--green)) 50%, transparent));
}
.coin-image .coin-image-placeholder {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--card-color, var(--green));
  text-shadow: 0 0 20px color-mix(in srgb, var(--card-color, var(--green)) 40%, transparent);
}
.coin-image .coin-image-sub {
  position: absolute;
  bottom: 6px; right: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-faint);
}

.coin-symbol {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.coin-ticker {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  margin: 6px 0 12px;
  text-transform: uppercase;
}
.coin-blurb {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 14px;
  min-height: 32px;
}

.coin-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  border-left: 3px solid var(--card-color, var(--green));
}
.coin-price-val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.coin-price-delta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid currentColor;
  letter-spacing: 0;
}
.coin-price-delta.up   { color: var(--green); }
.coin-price-delta.down { color: var(--magenta); }
.coin-price-delta.muted { color: var(--ink-faint); border-color: var(--ink-faint); }
.coin-price-delta.tag { color: var(--cyan); border-color: var(--cyan); background: rgba(0, 212, 255, 0.06); }
.coin-price-val.muted { color: var(--ink-faint); }
.coin-price-link {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  transition: all 0.15s;
  text-transform: uppercase;
}
.coin-price-link:hover {
  color: var(--green);
  border-color: var(--green);
}
.coin-price-link.as-label { cursor: default; }
.coin-price-link.as-label:hover { color: var(--ink-dim); border-color: var(--line-2); }
.coin-price.is-preipo { border-left-color: var(--cyan); }

.coin-spark {
  height: 40px;
  width: 100%;
  margin-bottom: 14px;
  overflow: visible;
}
.coin-spark path.line {
  fill: none;
  stroke: var(--card-color, var(--green));
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLine 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--card-color, var(--green)) 50%, transparent));
}
.coin-spark path.area {
  fill: var(--card-color, var(--green));
  opacity: 0.08;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.coin-metric-label {
  font-size: 11px;
  color: var(--ink-dim);
  margin-bottom: 4px;
  font-weight: 500;
}
.coin-metric {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 14px;
}

.coin-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: var(--ink-dim);
}
.coin-foot .mono { color: var(--card-color, var(--green)); font-weight: 600; }

/* === HOLDER STATS ======================================================= */
.holder-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.stat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  transition: all 0.15s;
}
.stat:hover { border-color: var(--line-2); transform: translateY(-1px); }
.stat-key {
  font-size: 12px;
  color: var(--ink-dim);
  margin-bottom: 12px;
  font-weight: 500;
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.025em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-value.small { font-size: 14px; color: var(--ink); word-break: break-all; }
.stat-sub {
  font-size: 11px;
  color: var(--ink-dim);
  margin-top: 6px;
}

/* === HOLDERS LIST ======================================================= */
.holders {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.holder-row {
  display: grid;
  grid-template-columns: 50px 1fr 160px 110px;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.15s;
}
.holder-row:last-child { border-bottom: 0; }
.holder-row:hover { background: var(--bg-2); }

.holder-rank {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
}
.holder-rank.gold   { color: var(--green); }
.holder-rank.silver { color: var(--cyan); }
.holder-rank.bronze { color: var(--orange); }

.holder-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.holder-addr {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.holder-addr a:hover { color: var(--green); }
.holder-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--cyan);
  border-radius: 999px;
  text-transform: uppercase;
}
.holder-tag.amm {
  background: rgba(255, 45, 146, 0.06);
  color: var(--magenta);
  border-color: rgba(255, 45, 146, 0.4);
}

.holder-bar {
  position: relative;
  height: 6px;
  background: var(--bg-2);
  border-radius: 999px;
  overflow: hidden;
}
.holder-bar-fill {
  position: absolute; inset: 0 auto 0 0;
  background: var(--green);
  width: 0%;
  animation: barGrow 900ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  border-radius: 999px;
}
.holder-bar.amm .holder-bar-fill { background: var(--magenta); }
@keyframes barGrow { from { width: 0%; } to { width: var(--w, 0%); } }

.holder-pct {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  text-align: right;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.holder-amount {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-dim);
  text-align: right;
  margin-top: 4px;
}

.holders-empty { padding: 72px 24px; text-align: center; }
.big-glyph {
  font-size: 64px;
  color: var(--ink-faint);
  margin-bottom: 16px;
  line-height: 1;
}
.holders-empty h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.holders-empty p {
  color: var(--ink-dim);
  max-width: 54ch;
  margin: 0 auto;
  font-size: 14px;
}

@media (max-width: 640px) {
  .holder-row { grid-template-columns: 36px 1fr 90px; gap: 10px; padding: 12px 14px; }
  .holder-row .holder-bar { display: none; }
}

/* === TICK LOG =========================================================== */
.log {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.log-row {
  display: grid;
  grid-template-columns: 140px 1fr 120px;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.15s;
}
.log-row:last-child { border-bottom: 0; }
.log-row:hover { background: var(--bg-2); }

.log-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-dim);
}
.log-fills { display: flex; flex-wrap: wrap; gap: 6px; }
.log-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.4);
  background: rgba(0, 255, 136, 0.05);
  color: var(--green);
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.15s;
}
.log-pill:hover { background: rgba(0,255,136,0.12); }
.log-pill.skip {
  border-color: rgba(255, 45, 146, 0.4);
  background: rgba(255, 45, 146, 0.05);
  color: var(--magenta);
}
.log-pill .mono { color: inherit; }

.log-total {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--green);
  text-align: right;
  letter-spacing: -0.02em;
}

.log-empty { padding: 72px 24px; text-align: center; }
.log-empty-pulse {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--green);
  padding: 7px 14px;
  border: 1px solid rgba(0, 255, 136, 0.4);
  border-radius: 999px;
  margin-bottom: 18px;
  background: rgba(0,255,136,0.04);
}
.log-empty-pulse .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 1.8s infinite;
}
.log-empty h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.log-empty p {
  color: var(--ink-dim);
  font-size: 14px;
  max-width: 50ch;
  margin: 0 auto;
}

/* === STEPS ============================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: all 0.15s;
}
.step:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.step .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* === STACK ============================================================== */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.stack-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: all 0.15s;
}
.stack-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.stack-k {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-dim);
  margin-bottom: 10px;
}
.stack-v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}
.stack-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* === FAQ ================================================================ */
.faq-list {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink);
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }
.faq-plus {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--green);
  transition: transform 0.2s ease;
  margin-left: 14px;
}
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item p {
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
  max-width: 80ch;
}

/* === FOOTER ============================================================= */
footer {
  border-top: 1px solid var(--line);
  padding: 64px 28px 28px;
  background: var(--bg-1);
}
.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .footer-top { grid-template-columns: 1.4fr 1fr; }
}
.mono-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  margin-bottom: 14px;
}
.footer-mark h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 56px);
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-mark p {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.7;
}

.footer-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-self: start;
}
.meta-block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
}
.meta-k {
  font-size: 12px;
  color: var(--ink-dim);
  margin-bottom: 8px;
  font-weight: 500;
}
.meta-v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--green);
}

.footer-bottom {
  max-width: 1400px;
  margin: 20px auto 0;
  display: flex; justify-content: space-between;
  font-size: 12px;
  color: var(--ink-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* === FLASH ============================================================== */
.flash { animation: flashGlow 700ms ease-out; }
@keyframes flashGlow {
  0%   { color: var(--green); }
  100% { color: inherit; }
}

/* === REVEAL ============================================================= */
.reveal { transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.lift { opacity: 0; transform: translateY(20px); }
.reveal.lift.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal.lift, .ticker-inner, .coin-spark path.line, .holder-bar-fill { animation: none; opacity: 1; transform: none; }
}

/* === MOBILE ============================================================= */
@media (max-width: 900px) {
  section { padding: 72px 18px; }
  .hero { padding: 110px 18px 60px; min-height: 80vh; }
  .hero-title { font-size: clamp(40px, 9vw, 64px); }
  .stats-strip { padding: 40px 18px; }
  .divider { padding: 28px 18px; }
  footer { padding: 50px 18px 24px; }
  .log-row { grid-template-columns: 90px 1fr 80px; padding: 12px 14px; }
}
