/* ============================================================
   ROBINHOOD — $HOOD
   AI Agents API & bot marketplace on Robinhood Chain
   Static replica — theme3 (yellow) / lime accent / retro trench
   ============================================================ */

@font-face {
  font-family: 'Press Start 2P';
  src: url('/fonts/press-start-2p.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --theme-primary: #00c805;
  --theme-primary-light: #5ee06a;
  --theme-primary-dark: #009a04;
  --brand-lime: #b8ff3c;
  --bg: #000;
  --panel: #111;
  --border: rgba(0, 200, 5, 0.2);
  --border-strong: rgba(0, 200, 5, 0.6);
  --text-dim: #9ca3af;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #00c805; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #009a04; }

/* ---- text helpers ---- */
.text-outline {
  -webkit-text-stroke: 2px black;
  paint-order: stroke fill;
}
.text-outline-thin {
  -webkit-text-stroke: 1px black;
  paint-order: stroke fill;
}
.retro-terminal {
  font-family: 'Press Start 2P', monospace;
  background: linear-gradient(180deg, #001a02 0%, #000a01 100%);
  border: 2px solid #00c805;
  box-shadow: 0 0 20px rgba(0, 200, 5, 0.3), inset 0 0 20px rgba(0, 200, 5, 0.1);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom: 2px solid rgba(0, 200, 5, 0.4);
}
.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}
.logo-block {
  display: inline-block;
  font-family: 'Press Start 2P', monospace;
  text-transform: uppercase;
  line-height: 1.5;
  font-size: 0.9rem;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(0, 200, 5, 0.5), 2px 2px 0 #000;
  letter-spacing: 0;
}
@media (min-width: 768px) { .logo-block { font-size: 1rem; } }

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 200, 5, 0.5);
  color: #00c805;
  animation: navPulse 3s ease-in-out infinite;
}
.nav-btn.active {
  background: #00c805;
  border-color: #00c805;
  color: #000;
}
.nav-btn:hover {
  animation: none;
  background: rgba(0, 200, 5, 0.2);
  border-color: #00c805;
  box-shadow: 0 0 20px rgba(0, 200, 5, 0.8);
}
.nav-btn.active:hover { background: #00c805; color: #000; }
@keyframes navPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 200, 5, 0.3); }
  50% { box-shadow: 0 0 15px rgba(0, 200, 5, 0.6); }
}

.launch-btn {
  padding: 0.5rem 1.25rem;
  font-family: inherit;
  background: #00c805;
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 3px 3px 0 #000;
  border: 1px solid #00c805;
}
.launch-btn:hover { background: #009a04; transform: translate(-1px, -1px); }

/* ---- background FX ---- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-fx .glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 200, 5, 0.15) 0%, transparent 60%);
}
.bg-fx .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 5, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 5, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,200,5,0.3) 0%, transparent 70%); top: 10%; left: 20%; }
.orb-2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,150,4,0.25) 0%, transparent 70%); top: 60%; right: 15%; animation-delay: -3s; }
.orb-3 { width: 250px; height: 250px; background: radial-gradient(circle, rgba(0,200,5,0.2) 0%, transparent 70%); bottom: 20%; left: 10%; animation-delay: -5s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 5, 0.15), transparent);
  animation: scanMove 4s linear infinite;
}
@keyframes scanMove {
  0% { top: -2px; }
  100% { top: 100%; }
}

/* ============================================================
   SHARED LAYOUT
   ============================================================ */
.page {
  position: relative;
  z-index: 10;
}
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.container-wide {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
section.block { padding: 2.5rem 0; }

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  text-align: center;
  color: #00c805;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 40px rgba(0, 200, 5, 0.3);
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9rem;
}

/* ---- cards ---- */
.card {
  position: relative;
  background: linear-gradient(135deg, #111 0%, #000 100%);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.card:hover { border-color: var(--border-strong); }

.card-icon {
  font-size: 1.75rem;
  color: #00c805;
  margin-bottom: 0.75rem;
  width: 1.6em;
  height: 1.6em;
}
.card-icon svg { width: 100%; height: 100%; fill: currentColor; }
.card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #00c805;
  margin-bottom: 0.5rem;
}
.card p { font-size: 0.875rem; color: var(--text-dim); line-height: 1.5; }

/* ============================================================
   HOME — hero
   ============================================================ */
.hero {
  position: relative;
  z-index: 10;
  padding-top: 6.5rem;
  text-align: center;
}
.hero-title {
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #00c805;
  margin-bottom: 1rem;
  text-shadow: 0 0 60px rgba(0, 200, 5, 0.5), 0 0 120px rgba(0, 200, 5, 0.3), 4px 4px 0px #000;
}
.hero-ticker { margin-bottom: 1.25rem; }
.hero-ticker .retro-terminal {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: clamp(1.25rem, 4vw, 1.875rem);
  font-weight: 900;
  color: #00c805;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: #fff;
  max-width: 48rem;
  margin: 0 auto 0.75rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

.btn-primary {
  position: relative;
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: #00c805;
  color: #000;
  font-weight: 900;
  font-size: 1.05rem;
  border-radius: 0.5rem;
  border: 2px solid #00c805;
  box-shadow: 4px 4px 0px #000, 0 0 30px rgba(0, 200, 5, 0.4);
  transition: all 0.3s ease;
  overflow: hidden;
}
.btn-primary:hover { transform: scale(1.05); }
.btn-ghost {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  color: #00c805;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid #00c805;
  background: linear-gradient(180deg, #001a02 0%, #000a01 100%);
  box-shadow: 0 0 20px rgba(0, 200, 5, 0.3), inset 0 0 20px rgba(0, 200, 5, 0.1);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.75rem;
}
.btn-ghost:hover { transform: scale(1.05); }

.hero-banner {
  position: relative;
  z-index: 20;
  width: 100%;
}
.hero-banner img { width: 100%; height: auto; object-fit: cover; }

/* ============================================================
   VAULT CREW — animated robot squad (inline SVG)
   ============================================================ */
.vault-crew {
  --lime: #c1ff00;
  position: relative;
  isolation: isolate;
  max-width: 100%;
  margin: 0.2rem auto 1.8rem;
  padding: 0.4rem 0 0;
}
.vault-crew__glow {
  position: absolute;
  inset: 20% 8% 8%;
  background: radial-gradient(ellipse at 50% 80%, rgba(193,255,0,.14), transparent 62%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}
.vault-crew__scan {
  position: absolute;
  left: 8%; right: 8%;
  height: 1px;
  top: 18%;
  background: linear-gradient(90deg, transparent, rgba(193,255,0,.45), transparent);
  animation: crewScan 4.8s linear infinite;
  pointer-events: none;
  z-index: 1;
  opacity: .45;
}
/* floor glow under the bots */
.vault-crew::after {
  content: "";
  position: absolute;
  left: 12%; right: 12%; bottom: 6px;
  height: 18px;
  background: radial-gradient(ellipse at center, rgba(193,255,0,.16), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

.vault-crew__row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;          /* 强制横排 */
  flex-wrap: nowrap;            /* 禁止换行 */
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 180px;
  overflow-x: auto;             /* 屏幕不够就横滑，绝不竖排 */
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.vb {
  flex: 0 0 auto;               /* 不被拉伸、不换行 */
  width: 78px;
  line-height: 0;
  animation: crewIdle 3.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  filter: drop-shadow(0 0 6px rgba(193,255,0,.28));
}
.vb svg {
  display: block;
  width: 78px;
  height: auto;
  overflow: visible;
}

/* 尺寸只改宽度，全部仍在同一行 —— 桌面缩小版，一行居中总宽约 600px */
.vb--xs { width: 56px; }
.vb--xs svg { width: 56px; }
.vb--sm { width: 68px; }
.vb--sm svg { width: 68px; }
.vb--md { width: 84px; }
.vb--md svg { width: 84px; }
.vb--lg { width: 98px; }
.vb--lg svg { width: 98px; }
.vb--xl { width: 118px; }
.vb--xl svg { width: 118px; }

/* 一大一小并排，不要上下叠 */
.vb-pair {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  flex: 0 0 auto;
  gap: 0;
  width: auto;
  height: auto;
  position: static;
}
.vb-pair .vb--lg,
.vb-pair .vb--side {
  position: static;
}

/* 零件动画 */
.vb-ant { transform-origin: 60px 32px; animation: antSway 2.4s ease-in-out infinite; animation-delay: var(--d,0s); }
.vb-ant-tip { transform-origin: 60px 32px; animation: antSway 2.4s ease-in-out infinite, tipPulse 1.8s ease-in-out infinite; animation-delay: var(--d,0s); }
.vb-eye { transform-box: fill-box; transform-origin: center; animation: blink 4.6s ease-in-out infinite; }
.vb--lead .vb-eye { animation-delay: .4s; }
.vb-arm.l { transform-origin: 23px 74px; animation: armL 3.2s ease-in-out infinite; }
.vb-arm.r { transform-origin: 97px 74px; animation: armR 3.2s ease-in-out infinite; }
.vb--lead .vb-arm.r { animation: wave 2.8s ease-in-out infinite; }

.vb-lock { fill: none; stroke: #c1ff00; stroke-width: 2.4; }
.vb-keyhole { fill: var(--lime, #c1ff00); }
.vb-chart { fill: none; stroke: #c1ff00; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 48; animation: chartDraw 2.8s ease-in-out infinite; }

.vb:hover {
  filter: drop-shadow(0 0 14px rgba(193,255,0,.7));
}
.vb:hover .vb-body { stroke: #ddff66; }

@keyframes crewIdle {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes crewScan {
  0% { top: 12%; opacity: 0; }
  12% { opacity: .5; }
  100% { top: 92%; opacity: 0; }
}
@keyframes antSway {
  0%,100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}
@keyframes tipPulse {
  0%,100% { fill: #c1ff00; }
  50% { fill: #f6ffb0; }
}
@keyframes blink {
  0%, 8%, 100% { transform: scaleY(1); }
  10%, 12% { transform: scaleY(.08); }
}
@keyframes armL {
  0%,100% { transform: rotate(4deg); }
  50% { transform: rotate(-6deg); }
}
@keyframes armR {
  0%,100% { transform: rotate(-3deg); }
  50% { transform: rotate(6deg); }
}
@keyframes wave {
  0%,70%,100% { transform: rotate(0deg); }
  78% { transform: rotate(22deg); }
  86% { transform: rotate(-6deg); }
  92% { transform: rotate(16deg); }
}
@keyframes chartDraw {
  0% { stroke-dashoffset: 48; }
  50%,100% { stroke-dashoffset: 0; }
}

@media (max-width: 720px) {
  .vault-crew__row {
    justify-content: flex-start;
    padding: 0 0.6rem 0.4rem;
    min-height: 130px;
  }
  .vb, .vb svg { width: 68px; }
  .vb--xs, .vb--xs svg { width: 52px; }
  .vb--sm, .vb--sm svg { width: 60px; }
  .vb--md, .vb--md svg { width: 72px; }
  .vb--lg, .vb--lg svg { width: 82px; }
  .vb--xl, .vb--xl svg { width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .vault-crew * { animation: none !important; }
}
/* ============================================================
   HOME — action panels (fake live data)
   ============================================================ */
.panels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) { .panels-grid { grid-template-columns: 1fr 1fr; } }

.panel {
  background: linear-gradient(135deg, #000a01 0%, #000 100%);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.panel-head .left { display: flex; align-items: center; gap: 0.75rem; }
.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #00c805;
  animation: pulseDot 1.5s ease-in-out infinite;
}
.dot-green { background: #4ade80; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.panel-head .label { color: #00c805; font-weight: 700; font-size: 0.875rem; }
.panel-head .right { text-align: right; }

.price-flash {
  animation: priceFlash 1s ease-in-out infinite;
  font-weight: 900;
  font-size: 1.25rem;
  color: #00c805;
}
@keyframes priceFlash {
  0%, 100% { color: #00c805; }
  50% { color: #00ff00; }
}
.gain { color: #00ff00; font-size: 0.75rem; }

/* candlestick chart */
.chart {
  position: relative;
  height: 13rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 200, 5, 0.1);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.75rem;
}
.chart .gridlines {
  position: absolute;
  inset: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.chart .gridlines span { border-top: 1px solid rgba(0, 200, 5, 0.05); width: 100%; }
.chart-bars {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  padding: 0 0.5rem;
}
.candle {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100%;
  animation: candleGrow 0.3s ease-out forwards;
  transform-origin: bottom;
}
.candle .wick { position: absolute; width: 2px; background: inherit; }
.candle .body {
  position: absolute;
  width: 12px;
  max-width: 1rem;
  border-radius: 2px;
  min-height: 4px;
}
.candle.up .wick, .candle.up .body { background: #00ff00; }
.candle.up .body { box-shadow: 0 0 8px rgba(0, 255, 0, 0.4); }
.candle.down .wick, .candle.down .body { background: #ef4444; }
.candle.down .body { box-shadow: 0 0 8px rgba(255, 0, 0, 0.4); }
@keyframes candleGrow {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

.chart-popup {
  position: absolute;
  z-index: 5;
}
.buy-popup { animation: buyPopup 2s ease-in-out infinite; }
.sell-popup { animation: sellPopup 2s ease-in-out infinite; }
.buy-popup .tag {
  background: #00ff00; color: #000;
  font-size: 0.625rem; font-weight: 700;
  padding: 0.25rem 0.5rem; border-radius: 0.375rem;
  display: flex; align-items: center; gap: 0.25rem;
  box-shadow: 0 4px 8px rgba(0, 255, 0, 0.3);
}
.sell-popup .tag {
  background: #00c805; color: #000;
  font-size: 0.625rem; font-weight: 700;
  padding: 0.25rem 0.5rem; border-radius: 0.375rem;
  display: flex; align-items: center; gap: 0.25rem;
  box-shadow: 0 4px 8px rgba(0, 200, 5, 0.3);
}
@keyframes buyPopup {
  0% { opacity: 0; transform: translateY(10px) scale(0.8); }
  20% { opacity: 1; transform: translateY(0) scale(1); }
  80% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-10px) scale(0.8); }
}
@keyframes sellPopup {
  0% { opacity: 0; transform: translateY(-10px) scale(0.8); }
  20% { opacity: 1; transform: translateY(0) scale(1); }
  80% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(10px) scale(0.8); }
}
.entry-line {
  position: absolute; left: 0; right: 0;
  border-top: 2px dashed rgba(0, 255, 0, 0.6);
}
.entry-line span {
  position: absolute; top: -0.625rem; left: 0.75rem;
  font-size: 0.55rem; color: #00ff00;
  background: #000; padding: 0.125rem 0.375rem;
  border-radius: 0.25rem; font-weight: 700;
}
.tp-line {
  position: absolute; left: 0; right: 0;
  border-top: 2px dashed rgba(0, 200, 5, 0.6);
}
.tp-line span {
  position: absolute; top: -0.625rem; right: 0.75rem;
  font-size: 0.55rem; color: #00c805;
  background: #000; padding: 0.125rem 0.375rem;
  border-radius: 0.25rem; font-weight: 700;
}
.chart-times {
  display: flex; justify-content: space-between;
  font-size: 0.625rem; color: #6b7280;
  padding: 0 0.5rem;
}
.panel-stats {
  display: flex; justify-content: space-between;
  margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 200, 5, 0.1);
  font-size: 0.75rem;
}
.panel-stats .dim { color: #6b7280; }
.panel-stats b { color: #fff; font-weight: 700; }
.panel-stats .up { color: #00ff00; font-weight: 700; }

/* live transactions */
.tx-list { display: flex; flex-direction: column; gap: 0.75rem; }
.tx-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 200, 5, 0.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  animation: txSlideIn 3s ease-in-out infinite;
}
.tx-item .left { display: flex; align-items: center; gap: 0.75rem; }
.badge {
  font-size: 0.75rem; font-weight: 700;
  padding: 0.125rem 0.5rem; border-radius: 0.25rem;
}
.badge.snipe { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.badge.buy { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.badge.sell { background: rgba(0, 200, 5, 0.2); color: #00c805; }
.badge.copy { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.tx-item .amt { color: #9ca3af; }
.tx-item .pnl { color: #4ade80; font-size: 0.75rem; text-align: right; }
@keyframes txSlideIn {
  0% { opacity: 0; transform: translateX(50px); }
  20% { opacity: 1; transform: translateX(0); }
  80% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-50px); }
}
.panel-foot {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(0, 200, 5, 0.1);
  display: flex; justify-content: space-between;
  font-size: 0.875rem;
}
.panel-foot .dim { color: #6b7280; }
.panel-foot .pnl-total { color: #4ade80; font-weight: 700; }

/* whale tracker */
.whale-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .whale-grid { grid-template-columns: 1fr 1fr 1fr; } }
.whale-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 200, 5, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
  transition: border-color 0.3s ease;
}
.whale-card:hover { border-color: rgba(0, 200, 5, 0.3); }
.whale-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.5rem;
}
.whale-top code { font-size: 0.75rem; color: #00c805; }
.whale-top .time { font-size: 0.75rem; color: #6b7280; }
.whale-act {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
}
.whale-act .bought { color: #4ade80; font-weight: 700; }
.whale-act .sold { color: #00c805; font-weight: 700; }
.whale-act .sym { color: #fff; font-weight: 700; }
.whale-meta {
  display: flex; justify-content: space-between;
  font-size: 0.875rem; color: #9ca3af;
}
.whale-meta .pnl { font-weight: 700; color: #4ade80; }
.copy-btn {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.5rem;
  background: rgba(0, 200, 5, 0.1);
  border: 1px solid rgba(0, 200, 5, 0.3);
  border-radius: 0.5rem;
  color: #00c805;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.copy-btn:hover { background: rgba(0, 200, 5, 0.2); }

/* tools */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .tools-grid { grid-template-columns: 1fr 1fr; } }
.tool-card h3 { font-size: 1.25rem; font-weight: 700; color: #00c805; margin-bottom: 0.75rem; }
.tool-card p { color: #9ca3af; margin-bottom: 1rem; }
.tool-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.tool-card li {
  font-size: 0.875rem; color: #6b7280;
  display: flex; align-items: center; gap: 0.5rem;
}
.tool-card li::before {
  content: '';
  width: 0.375rem; height: 0.375rem;
  background: #00c805; border-radius: 50%;
  flex-shrink: 0;
}

/* stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 5rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s ease;
}
.stat:hover { border-color: rgba(0, 200, 5, 0.4); }
.stat .num {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: #00c805;
  margin-bottom: 0.5rem;
}
.stat .cap {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
}

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #031105 0%, #000a01 50%, #000 100%);
  border: 1px solid rgba(0, 200, 5, 0.3);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  margin-bottom: 5rem;
}
.cta .blob {
  position: absolute;
  width: 16rem; height: 16rem;
  background: rgba(0, 200, 5, 0.1);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
}
.cta .blob.tl { top: 0; left: 25%; transform: translate(-50%, -50%); }
.cta .blob.br { bottom: 0; right: 25%; transform: translate(50%, 50%); }
.cta h2 {
  position: relative;
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #00c805;
  margin-bottom: 1rem;
}
.cta p {
  position: relative;
  font-size: 1.15rem;
  color: #9ca3af;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}
.site-footer .x-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  color: #9ca3af;
  font-weight: 600;
  transition: color 0.3s ease;
}
.site-footer .x-link svg { width: 1rem; height: 1rem; fill: currentColor; }
.site-footer .x-link:hover { color: var(--brand-lime); }

.x-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 200, 5, 0.45);
  background: rgba(0, 26, 2, 0.55);
  color: #00c805;
  transition: all 0.3s ease;
}
.x-btn svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.x-btn:hover {
  border-color: var(--brand-lime);
  color: var(--brand-lime);
  box-shadow: 0 0 14px rgba(184, 255, 60, 0.35);
  transform: translateY(-1px);
}

/* mobile bottom nav */
.mobile-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  display: none;
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-top: 2px solid rgba(0, 200, 5, 0.3);
}
@media (max-width: 767px) { .mobile-nav { display: flex; justify-content: space-around; padding: 0.75rem 0; } }
.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  color: #9ca3af;
  transition: color 0.3s ease;
}
.mobile-nav a svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.mobile-nav a.active, .mobile-nav a:hover { color: #00c805; }
@media (max-width: 767px) {
  body { padding-bottom: 4.5rem; }
}

/* ============================================================
   CHAT FAB + POPUP
   ============================================================ */
.chat-fab {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 50;
}
.chat-fab button {
  position: relative;
  width: 3.5rem; height: 3.5rem;
  font-family: inherit;
  border-radius: 50%;
  background: #000;
  border: 2px solid var(--brand-lime);
  cursor: pointer;
  padding: 0;
  overflow: visible;
  transition: transform 0.3s ease;
}
.chat-fab button:hover { transform: scale(1.1); }
.chat-fab img { width: 100%; height: 100%; border-radius: 50%; }
.chat-fab .glow-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: chatPulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes chatPulse {
  0%, 100% { box-shadow: 0 0 0px rgba(184, 255, 60, 0); }
  50% { box-shadow: 0 0 15px rgba(184, 255, 60, 0.5); }
}

.chat-popup {
  position: fixed;
  bottom: 5.75rem; right: 1.5rem;
  z-index: 60;
  width: 20rem;
  max-width: calc(100vw - 2rem);
  background: #000;
  border: 2px solid #00c805;
  border-radius: 1rem;
  box-shadow: 0 0 30px rgba(0, 200, 5, 0.3);
  overflow: hidden;
  display: none;
}
.chat-popup.open { display: flex; flex-direction: column; }
.chat-head {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 200, 5, 0.3);
  background: #000a01;
}
.chat-head img { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--brand-lime); }
.chat-head .name { font-weight: 700; font-size: 0.875rem; color: #00c805; }
.chat-head .status { font-size: 0.75rem; color: var(--brand-lime); }
.chat-body {
  height: 18rem;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.msg {
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.4;
}
.msg.bot {
  align-self: flex-start;
  background: #111;
  border: 1px solid rgba(0, 200, 5, 0.2);
  color: #e5e5e5;
}
.msg.user {
  align-self: flex-end;
  background: #00c805;
  color: #000;
  font-weight: 600;
}
.chat-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(0, 200, 5, 0.3);
}
.chat-input input {
  flex: 1;
  background: #000;
  border: 1px solid rgba(0, 200, 5, 0.3);
  color: #00c805;
  padding: 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.8rem;
  outline: none;
}
.chat-input input:focus { border-color: #00c805; }
.chat-input button {
  background: #00c805;
  color: #000;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0 0.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
}
.chat-input button:hover { background: #009a04; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-reveal.visible,
.scroll-reveal-left.visible,
.scroll-reveal-right.visible,
.scroll-reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   CREATE PAGE
   ============================================================ */
.page-create { padding-top: 5rem; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.hidden { display: none; }
.modal-box {
  background: #000;
  border: 2px solid #00c805;
  border-radius: 1rem;
  max-width: 30rem;
  width: 100%;
  padding: 1.5rem;
  box-shadow: 0 0 40px rgba(0, 200, 5, 0.3);
}
.modal-box h3 { color: #00c805; margin-bottom: 0.75rem; font-size: 1.125rem; }
.modal-box p { color: #d1d5db; font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; }
.modal-box a { color: #00c805; text-decoration: underline; }
.modal-actions { display: flex; justify-content: flex-end; }

/* assistant chat card */
.assistant-card {
  max-width: 42rem;
  margin: 0 auto 3rem;
  border: 2px solid #00ff00;
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  transition: background 0.3s ease;
  border-radius: 0.25rem;
}
.assistant-card:hover { background: rgba(0, 0, 0, 0.8); }
.assistant-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.assistant-id {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.assistant-avatar {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  border: 2px solid var(--brand-lime);
  background: rgba(184, 255, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.assistant-avatar svg { width: 2rem; height: 2rem; fill: var(--brand-lime); }
.assistant-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: #fff; }
.assistant-card .sub { font-size: 0.875rem; margin-bottom: 0.5rem; color: var(--brand-lime); opacity: 0.7; }
.assistant-links { display: flex; gap: 0.75rem; font-size: 0.75rem; }
.assistant-links a { color: #00ff00; transition: opacity 0.3s ease; }
.assistant-links a:hover { opacity: 0.8; }
.assistant-active {
  background: rgba(0, 255, 0, 0.2);
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  border: none;
  color: #00ff00;
}

/* chat demo */
.creator-chat {
  max-width: 42rem;
  margin: 0 auto 2rem;
  border: 1px solid rgba(0, 200, 5, 0.2);
  border-radius: 1rem;
  background: linear-gradient(135deg, #000a01 0%, #000 100%);
  overflow: hidden;
}
.creator-chat .chat-title {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 200, 5, 0.2);
}
.creator-chat .chat-title h2 {
  font-size: 1.125rem;
  color: #00c805;
  margin-bottom: 0.25rem;
}
.creator-chat .chat-title p { font-size: 0.8rem; color: #9ca3af; }
.creator-chat .chat-log {
  height: 16rem;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.creator-chat .examples {
  padding: 0 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.creator-chat .examples .hint {
  font-size: 0.7rem;
  color: #6b7280;
}
.example-chip {
  text-align: left;
  background: rgba(0, 200, 5, 0.06);
  border: 1px solid rgba(0, 200, 5, 0.2);
  color: #e5e5e5;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.example-chip:hover { border-color: #00c805; background: rgba(0, 200, 5, 0.12); }
.creator-chat .chat-input { padding: 1rem 1.25rem; }

/* configuration form */
.config-wrap {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}
.config-section {
  border: 1px solid rgba(0, 200, 5, 0.2);
  background: transparent;
  margin-bottom: 0.75rem;
  border-radius: 0.25rem;
  transition: border-color 0.5s ease;
}
.config-section summary {
  list-style: none;
  cursor: pointer;
  width: 100%;
  padding: 1rem;
  background: rgba(0, 200, 5, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #fff;
  transition: background 0.3s ease;
}
.config-section summary::-webkit-details-marker { display: none; }
.config-section summary:hover { background: rgba(0, 200, 5, 0.2); }
.config-section summary .plus { color: #00c805; font-size: 1.1rem; }
.config-section[open] summary .plus { transform: rotate(45deg); }
.config-section.coming-soon {
  border-color: rgba(239, 68, 68, 0.5);
}
.config-section.coming-soon summary {
  background: rgba(239, 68, 68, 0.1);
  cursor: not-allowed;
}
.config-section.coming-soon summary:hover { background: rgba(239, 68, 68, 0.1); }
.config-section.coming-soon summary .plus { color: #ef4444; }
.spin-dot {
  display: inline-block;
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: #ef4444;
  margin-right: 0.4rem;
  animation: spinPulse 1.2s ease-in-out infinite;
}
@keyframes spinPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.config-body { padding: 1rem; border-top: 1px solid rgba(0, 200, 5, 0.1); }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.8rem;
  color: #e5e5e5;
  margin-bottom: 0.375rem;
}
.field label .req { color: #ef4444; }
.field .hint { font-size: 0.7rem; color: #6b7280; margin-top: 0.25rem; }
.field input, .field textarea {
  width: 100%;
  background: #000;
  border: 1px solid rgba(0, 200, 5, 0.3);
  color: #00c805;
  padding: 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  outline: none;
  font-family: inherit;
}
.field input:focus, .field textarea:focus { border-color: #00c805; }
.field textarea { min-height: 5rem; resize: vertical; }
.field select {
  width: 100%;
  background: #000;
  border: 1px solid rgba(0, 200, 5, 0.3);
  color: #00c805;
  padding: 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  outline: none;
}
.form-note {
  font-size: 0.75rem;
  color: rgba(0, 200, 5, 0.5);
  margin: 1rem 0 0.5rem;
}
.form-note .req { color: #ef4444; }

.bake-zone { position: relative; margin-top: 1.5rem; }
.bake-btn {
  width: 100%;
  padding: 0.85rem;
  background: #4b5563;
  color: #000;
  border: none;
  cursor: not-allowed;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  font-family: 'Press Start 2P', monospace;
  border-radius: 0.25rem;
}
.bake-warning {
  position: absolute;
  bottom: -1.5rem;
  left: 0;
  width: 100%;
  text-align: center;
  color: #ef4444;
  font-size: 0.75rem;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* guide */
.guide {
  max-width: 56rem;
  margin: 0 auto 5rem;
}
.guide h1 {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 2rem;
  color: #fff;
}
.guide h2 {
  font-size: 1.25rem;
  color: #00c805;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.guide section { margin-bottom: 3rem; }
.guide .step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.guide .step .n {
  flex-shrink: 0;
  width: 1.75rem; height: 1.75rem;
  border: 1px solid #00c805;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00c805;
  font-weight: 700;
  font-size: 0.875rem;
}
.guide .step p { color: #d1d5db; font-size: 0.9rem; line-height: 1.6; }
.guide .step p b { color: #fff; }
.guide ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.guide li {
  font-size: 0.9rem; color: #d1d5db;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}
.guide li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.5rem; height: 0.5rem;
  background: #00c805;
  border-radius: 50%;
}
.guide code {
  background: #111;
  border: 1px solid rgba(0, 200, 5, 0.2);
  color: #00c805;
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.85em;
}
.divider {
  width: 100%;
  height: 1px;
  background: rgba(0, 200, 5, 0.2);
  margin: 3rem 0;
}

/* ============================================================
   APP (BOTS) PAGE
   ============================================================ */
.page-app { padding-top: 5rem; }
.bot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .bot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bot-grid { grid-template-columns: 1fr 1fr 1fr; } }
.bot-card { position: relative; }
.bot-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: #00c805;
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  letter-spacing: 0.05em;
}
.bot-card h3 { font-size: 1rem; }
.bot-card ul { list-style: none; margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.4rem; }
.bot-card li {
  font-size: 0.78rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bot-card li::before {
  content: '';
  width: 0.3rem; height: 0.3rem;
  background: #00c805;
  border-radius: 50%;
  flex-shrink: 0;
}
.bot-card .soon {
  margin-top: 1rem;
  font-size: 0.7rem;
  color: #6b7280;
  border-top: 1px solid rgba(0, 200, 5, 0.1);
  padding-top: 0.75rem;
  letter-spacing: 0.08em;
}
.build-cta {
  max-width: 42rem;
  margin: 0 auto 5rem;
  text-align: center;
}
.build-cta p { color: #9ca3af; margin-bottom: 1.25rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.page-about { padding-top: 5rem; }
.about-head {
  text-align: center;
  margin-bottom: 3rem;
}
.about-head .kicker {
  color: #00c805;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}
.about-head h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: #00c805;
  text-shadow: 0 0 40px rgba(0, 200, 5, 0.4);
  margin-bottom: 1rem;
}
.about-head .tag {
  color: #d1d5db;
  font-size: 1.05rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }

/* alpha feed */
.feed-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 200, 5, 0.1);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
}
.feed-avatar {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: #111;
  border: 1px solid rgba(0, 200, 5, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #00c805;
  font-size: 1rem;
}
.feed-body { flex: 1; }
.feed-body .who { font-size: 0.8rem; color: #9ca3af; }
.feed-body .who b { color: #fff; }
.feed-body .who .sym { color: #00c805; }
.feed-body .text { font-size: 0.875rem; color: #e5e5e5; margin: 0.25rem 0; }
.feed-body .time { font-size: 0.7rem; color: #6b7280; }

/* auto snipes */
.snipe-row {
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 200, 5, 0.1);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}
.snipe-row .line1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}
.snipe-row .sym { color: #fff; font-weight: 700; }
.snipe-row .pnl { color: #00ff00; font-weight: 900; }
.snipe-row .line2 {
  display: flex;
  justify-content: space-between;
  color: #6b7280;
  font-size: 0.75rem;
  font-family: ui-monospace, monospace;
}

/* demo chart tabs */
.chart-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.chart-tabs button {
  background: transparent;
  border: 1px solid rgba(0, 200, 5, 0.3);
  color: #9ca3af;
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}
.chart-tabs button.active, .chart-tabs button:hover {
  background: #00c805;
  color: #000;
  border-color: #00c805;
}
.demo-chart {
  height: 15rem;
  border: 1px solid rgba(0, 200, 5, 0.1);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.demo-chart .src { color: #9ca3af; font-size: 0.8rem; }
.demo-chart .loading { color: #00c805; font-size: 0.75rem; animation: pulse 1.5s ease-in-out infinite; }

/* how it works */
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .how-grid { grid-template-columns: repeat(4, 1fr); } }
.how-step {
  text-align: center;
  padding: 1.5rem 1rem;
}
.how-step .n {
  font-family: 'Press Start 2P', monospace;
  color: #00c805;
  font-size: 0.7rem;
  margin-bottom: 0.75rem;
}
.how-step h3 { color: #fff; font-size: 0.95rem; margin-bottom: 0.5rem; letter-spacing: 0.1em; }
.how-step p { color: #6b7280; font-size: 0.8rem; line-height: 1.5; }

/* why grid */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item {
  border: 1px solid rgba(0, 200, 5, 0.2);
  border-radius: 0.75rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #111 0%, #000 100%);
  transition: border-color 0.3s ease;
}
.why-item:hover { border-color: rgba(0, 200, 5, 0.4); }
.why-item .big {
  color: #00c805;
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.why-item .lbl { color: #6b7280; font-size: 0.8rem; }

/* ============================================================
   404
   ============================================================ */
.notfound {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 10;
}
.notfound .code {
  font-family: 'Press Start 2P', monospace;
  font-size: 3rem;
  color: #00c805;
  text-shadow: 0 0 40px rgba(0, 200, 5, 0.5);
}
.notfound h1 { color: #fff; font-size: 1.5rem; }
.notfound p { color: #9ca3af; font-size: 0.9rem; max-width: 26rem; }

/* ============================================================
   ROBINHOOD CHAIN ELEMENTS
   ============================================================ */
.rh-green { color: #00c805; } /* Robinhood signature green */
.rh-lime { color: #c1ff00; }  /* Robinhood Chain brand lime */

.chain-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #000;
  background: #c1ff00;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(193, 255, 0, 0.35);
}
.chain-badge svg { width: 0.8rem; height: 0.8rem; fill: #000; }

.hero-chain { margin-bottom: 0.75rem; }

/* chain stats strip */
.chain-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  border: 1px solid rgba(193, 255, 0, 0.25);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(193, 255, 0, 0.04) 0%, #000 100%);
}
@media (min-width: 768px) { .chain-strip { grid-template-columns: repeat(4, 1fr); } }
.chain-stat { text-align: center; padding: 0.5rem; }
.chain-stat .v {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
  font-size: 0.95rem;
  color: #c1ff00;
  margin-bottom: 0.2rem;
  word-break: break-all;
}
.chain-stat .k {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #00c805;
}
.live-pill::before {
  content: '';
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: #00c805;
  animation: pulseDot 1.2s ease-in-out infinite;
}

/* chain section */
.chain-section { border: 1px solid rgba(193, 255, 0, 0.3); }
.chain-section .chain-logo {
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  background: #c1ff00;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chain-section .chain-logo svg { width: 2rem; height: 2rem; fill: #000; }
.chain-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.chain-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #c1ff00;
  border: 1px solid rgba(193, 255, 0, 0.4);
  background: rgba(193, 255, 0, 0.06);
  border-radius: 0.5rem;
  padding: 0.45rem 0.9rem;
  transition: all 0.3s ease;
}
.chain-link:hover { background: rgba(193, 255, 0, 0.15); border-color: #c1ff00; }
.chain-link svg { width: 0.8rem; height: 0.8rem; fill: #c1ff00; }
.chain-facts { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.9rem; }
.chain-facts .fact {
  font-size: 0.8rem;
  color: #9ca3af;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-all;
}
.chain-facts .fact b { color: #c1ff00; font-weight: 700; }

/* network footer */
.network-footer {
  border-top: 1px solid rgba(193, 255, 0, 0.15);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.72rem;
  color: #6b7280;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.8;
}
.network-footer a { color: #c1ff00; }
.network-footer a:hover { text-decoration: underline; }
.network-footer .disc {
  max-width: 44rem;
  margin: 0.5rem auto 0;
  font-family: inherit;
  color: #4b5563;
  font-size: 0.68rem;
}

/* misc */
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-20 { margin-bottom: 5rem; }
.pb-20 { padding-bottom: 5rem; }
.text-center { text-align: center; }
.hidden-md { display: none; }
@media (min-width: 768px) { .hidden-md { display: flex; } }
.mobile-only-header { display: none; }
@media (max-width: 767px) {
  .mobile-only-header { display: flex; justify-content: center; }
  .header-row.desktop { display: none; }
}

/* ============================================================
   ROBINHOOD DIVN-STYLE SECTIONS
   ============================================================ */
/* wallet marquee */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(0, 200, 5, 0.15);
  border-bottom: 1px solid rgba(0, 200, 5, 0.15);
  padding: 1rem 0;
  margin: 2rem 0 3rem;
}
.marquee {
  display: flex;
  gap: 0.9rem;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-wrap:hover .marquee { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(0, 200, 5, 0.3);
  border-radius: 999px;
  background: #0a0a0a;
  color: #d1d5db;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}
.wallet-pill .dotw {
  width: 0.6rem; height: 0.6rem;
  border-radius: 50%;
  background: #00c805;
  box-shadow: 0 0 8px rgba(0, 200, 5, 0.8);
  flex-shrink: 0;
}

/* $HOOD stack */
.stack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .stack-grid { grid-template-columns: 1fr 1fr; } }
.stack-card { text-align: left; }
.stack-card .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.stack-card .top b { color: #fff; font-size: 0.95rem; }
.stack-card .tag-mini {
  font-size: 0.65rem;
  font-weight: 700;
  color: #00c805;
  border: 1px solid rgba(0, 200, 5, 0.4);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}
.stack-card p { font-size: 0.85rem; color: #9ca3af; }

/* big numbers */
.num-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0 3rem;
}
@media (min-width: 768px) { .num-grid { grid-template-columns: repeat(3, 1fr); } }
.num-card {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #0c0c0c 0%, #000 100%);
  border: 1px solid rgba(0, 200, 5, 0.25);
  border-radius: 1rem;
}
.num-card .big {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #00c805;
  text-shadow: 0 0 30px rgba(0, 200, 5, 0.4);
  margin-bottom: 0.4rem;
}
.num-card .lbl { color: #9ca3af; font-size: 0.85rem; line-height: 1.5; }

/* steps */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card {
  position: relative;
  padding: 1.5rem 1.25rem;
}
.step-card .n {
  position: absolute;
  top: 0.9rem; right: 1rem;
  font-size: 0.7rem;
  font-weight: 900;
  color: rgba(0, 200, 5, 0.5);
  letter-spacing: 0.1em;
}
.step-card h3 { font-size: 1rem; color: #fff; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.82rem; color: #9ca3af; line-height: 1.55; }
.step-card code {
  background: #111;
  border: 1px solid rgba(0, 200, 5, 0.2);
  color: #00c805;
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.85em;
}

/* FAQ */
.faq-list { max-width: 46rem; margin: 0 auto 3rem; display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item {
  border: 1px solid rgba(0, 200, 5, 0.2);
  border-radius: 0.75rem;
  background: #0a0a0a;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { color: #00c805; font-size: 1.1rem; transition: transform 0.3s ease; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-a {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.6;
}
.faq-item .faq-a a { color: #00c805; }

/* contract note */
.contract-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #9ca3af;
  border: 1px dashed rgba(0, 200, 5, 0.35);
  border-radius: 0.5rem;
  padding: 0.5rem 0.9rem;
  margin-top: 1.25rem;
}
.contract-note b { color: #00c805; font-family: ui-monospace, monospace; }

/* sign-in page */
.signin-wrap {
  max-width: 30rem;
  margin: 0 auto 5rem;
}
.wallet-option {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: #0a0a0a;
  border: 1px solid rgba(0, 200, 5, 0.3);
  border-radius: 0.9rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
}
.wallet-option:hover { border-color: #00c805; background: rgba(0, 200, 5, 0.08); }
.wallet-option .wi {
  width: 2.4rem; height: 2.4rem;
  border-radius: 0.7rem;
  background: #00c805;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}
.wallet-option .sub { display: block; font-size: 0.72rem; color: #6b7280; font-weight: 400; margin-top: 0.15rem; }

/* desk page */
.desk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .desk-grid { grid-template-columns: 1fr 1fr; } }
.desk-card .big-val {
  font-size: 1.9rem;
  font-weight: 900;
  color: #fff;
  margin: 0.5rem 0 0.25rem;
}
.desk-card .sub-val { font-size: 0.8rem; color: #00c805; font-weight: 700; }
.desk-card .row-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #6b7280;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0, 200, 5, 0.08);
}
.desk-card .row-line b { color: #e5e5e5; }
.lock-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #c1ff00;
  border: 1px solid rgba(193, 255, 0, 0.4);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

/* copy hint */
.fact { cursor: pointer; transition: color 0.2s ease; }
.fact:hover { color: #d1d5db; }
.copy-hint { color: #00c805; margin-left: 0.4rem; font-weight: 700; }

/* ============================================================
   WHY PAGE — verify / modules
   ============================================================ */
.about-head .tag { max-width: 40rem; margin: 0 auto; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.cta-row button {
  padding: 0.7rem 1.75rem;
  background: #00c805;
  color: #000;
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  border: 2px solid #00c805;
  box-shadow: 4px 4px 0px #000, 0 0 25px rgba(0, 200, 5, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.cta-row button:hover { background: #009a04; border-color: #009a04; transform: scale(1.04); }
.cta-row a.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.75rem;
  color: #00c805;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  border: 2px solid rgba(0, 200, 5, 0.6);
  background: #0a0a0a;
  transition: all 0.3s ease;
}
.cta-row a.link-btn:hover { border-color: #00c805; background: rgba(0, 200, 5, 0.08); }

.verify-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 52rem;
  margin: 0 auto 3rem;
}
@media (min-width: 768px) { .verify-grid { grid-template-columns: 1fr 1fr; } }
.verify-card { padding: 1.5rem; }
.verify-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
}
.verify-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 200, 5, 0.08);
}
.verify-row:last-child { border-bottom: none; }
.verify-row .k { color: #6b7280; flex-shrink: 0; }
.verify-row .v {
  color: #e5e5e5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-align: right;
  word-break: break-all;
}
.verify-row .v.live { color: #00c805; font-weight: 700; }
.verify-row .v.dim { color: #6b7280; }

.state-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
}
.state-chip.live { background: rgba(0, 200, 5, 0.15); color: #00c805; border: 1px solid rgba(0, 200, 5, 0.5); }
.state-chip.soon { background: rgba(255, 165, 0, 0.12); color: #ffa500; border: 1px solid rgba(255, 165, 0, 0.45); }
.state-chip.soon::before { content: ''; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #ffa500; }
.state-chip.live::before { content: ''; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #00c805; animation: pulseDot 1.2s ease-in-out infinite; }
