/* =====================================================================
   hoodon.fun — Robinhood neon-green on near-black
   ===================================================================== */
:root {
  --bg: #07120a;
  --bg-2: #0b1a0f;
  --card: #0e2114;
  --card-2: #12291a;
  --line: rgba(0, 230, 118, 0.14);
  --line-strong: rgba(0, 230, 118, 0.32);
  --text: #eaf5ec;
  --muted: #9bb3a0;
  --dim: #6d8672;
  --accent: #00e676;
  --accent-2: #00c805;
  --accent-deep: #00a33f;
  --danger: #ff5c6c;
  --ok: #00e676;
  --display: "General Sans", "Satoshi", system-ui, sans-serif;
  --body: "Satoshi", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(0, 230, 118, 0.08), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(0, 200, 5, 0.05), transparent 60%);
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: #6dffb0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.02; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }
strong { color: var(--text); font-weight: 700; }
em { color: var(--accent); font-style: normal; }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
.accent { color: var(--accent); }
.accentgrad {
  background: linear-gradient(90deg, #00e676 0%, #7dffb9 55%, #00c805 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 18, 10, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo { width: 30px; height: 30px; color: var(--accent); flex: none; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand-name.sm { font-size: 1.05rem; }
.brand-accent { color: var(--accent); }
.topnav { display: flex; gap: 22px; margin-left: auto; }
.topnav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.topnav a:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary {
  background: var(--accent); color: #04220f;
  box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
}
.btn-primary:hover:not(:disabled) { background: #33ff99; box-shadow: 0 8px 28px rgba(0, 230, 118, 0.28); color: #04220f; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }

/* ---------- config banner ---------- */
.config-banner {
  background: linear-gradient(90deg, rgba(255, 92, 108, .18), rgba(255, 92, 108, .08));
  border-bottom: 1px solid rgba(255, 92, 108, .4);
  color: #ffd2d7; font-size: 0.9rem; padding: 10px 0; text-align: center;
}
.config-banner .mono { color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 70px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: auto; top: -220px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 620px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 230, 118, 0.22), rgba(0, 230, 118, 0.05) 55%, transparent 75%);
  filter: blur(20px);
}
.hero-in { position: relative; max-width: 860px; }
.hero-kicker {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.hero-sub { margin-top: 26px; font-size: 1.12rem; color: var(--muted); max-width: 720px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.statbar {
  margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(14, 33, 20, 0.6); overflow: hidden;
}
.stat { padding: 18px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat:last-child { border-right: none; }
.stat-label { font-size: 0.78rem; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.stat-value { font-size: 1.25rem; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- sections ---------- */
.section { padding: 70px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head p:not(.kicker) { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head-row > div { max-width: 720px; }
.kicker { font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

.card {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- launch grid / form ---------- */
.launch-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.launch-card { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.field-row { display: flex; gap: 16px; }
.field { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-sm { flex: 0 0 160px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.lbl-opt { color: var(--dim); font-weight: 400; }
.field input, .field select, .claim-inline input {
  width: 100%; background: #08150c; color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 1rem; font-family: var(--body); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .claim-inline input:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.18);
}
.field select { appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.quote-fixed {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: rgba(0, 230, 118, 0.07); border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.95rem; color: var(--text);
}
.quote-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); flex: none; }
.quote-sub { color: var(--dim); font-size: 0.78rem; }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 92px; }
.suffix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 0.85rem; pointer-events: none; }
.field-hint { font-size: 0.78rem; color: var(--dim); line-height: 1.5; word-break: break-word; }

.launch-summary {
  display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px;
}
.launch-summary > div { display: flex; justify-content: space-between; gap: 16px; }
.launch-summary > div > span:first-child { color: var(--dim); flex: none; }
.launch-summary > div > span:last-child { text-align: right; word-break: break-word; }
.form-status { min-height: 1.2em; font-size: 0.9rem; color: var(--muted); word-break: break-word; }
.form-status.err { color: var(--danger); }
.form-status.ok { color: var(--ok); }

.side-card { padding: 28px; }
.side-card h3 { margin-bottom: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 0.95rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(0, 230, 118, 0.14); border: 1px solid var(--accent);
}
.ticks li::after {
  content: ""; position: absolute; left: 5px; top: 9px; width: 5px; height: 8px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg);
}

/* ---------- feed ---------- */
.feed-wrap { overflow-x: auto; }
.feed { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 860px; }
.feed th, .feed td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.feed th { font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.feed th.num, .feed td.num { text-align: right; font-family: var(--mono); }
.feed tbody tr:last-child td { border-bottom: none; }
.feed tbody tr:hover td { background: rgba(0, 230, 118, 0.04); }
.feed-empty td { text-align: center; color: var(--dim); padding: 36px 16px; }
.tok-name { font-weight: 600; display: block; }
.tok-sym { color: var(--accent); font-family: var(--mono); font-size: 0.8rem; }
.addr { font-family: var(--mono); font-size: 0.78rem; color: var(--dim); display: block; }
.links { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  display: inline-block; padding: 3px 9px; border-radius: 999px; font-family: var(--mono); font-size: 0.72rem;
  border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap;
}
.pill:hover { border-color: var(--accent); color: var(--accent); }

.claim-inline { margin-top: 18px; padding: 18px 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.claim-inline label { color: var(--accent); font-size: 0.85rem; flex: none; }
.claim-inline input { flex: 1 1 320px; width: auto; }
.claim-inline .form-status { flex: 1 1 100%; }

/* ---------- how ---------- */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.how-card { padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.how-card p { color: var(--muted); font-size: 0.93rem; }
.how-num { color: var(--accent); font-size: 0.8rem; letter-spacing: .12em; }
.fee-note { margin-top: 18px; padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.fee-note p { color: var(--muted); }
.fee-note p.mono { color: var(--text); font-size: 0.85rem; word-break: break-word; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 28px; background: rgba(0, 0, 0, 0.25); }
.footer-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.foot-sub { color: var(--dim); font-size: 0.88rem; margin-top: 6px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.85rem; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--accent); }
.foot-legal { margin-top: 26px; color: var(--dim); font-size: 0.78rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .launch-grid { grid-template-columns: 1fr; }
  .statbar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .topnav { display: none; }
}
@media (max-width: 560px) {
  .how-grid { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; }
  .field-sm { flex: 1; }
  .hero { padding: 64px 0 50px; }
  .launch-card, .side-card { padding: 20px; }
  .btn-lg { width: 100%; }
}
