/* genhold — built in genius.fun's own design language, measured off their live token page:
   panels #090014, hairline borders #2e2145, 4px radii, mono labels and figures, an oklab pink
   gradient for the primary action and #00ff88 for "buy". */
:root {
  --bg: #0d0a14;
  --panel: #090014;
  --panel-2: #120a1e;
  --line: #2e2145;
  --fg: #f2f0ff;
  --fg-2: #b9bbc6;
  --fg-3: #9194a1;
  --pink: #fe86b4;
  --pink-2: #ff3884;
  --green: #00ff88;
  --red: #ff5c7a;
  --cta: linear-gradient(in oklab, #fe86b4 0%, #ff3884 100%);
  --btn-2: linear-gradient(in oklab, #2e2145 0%, #221736 100%);
  --sans: "Space Grotesk", -apple-system, system-ui, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --r: 4px;
  --max: 1280px;
}
* { box-sizing: border-box; }
html, body { background: var(--bg); }
body {
  margin: 0; color: var(--fg); font-family: var(--sans); font-size: 14px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(900px 400px at 80% -10%, rgba(255,56,132,.07), transparent 65%);
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--pink-2); color: #090014; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(9,0,20,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--max); margin: 0 auto; padding: 0 22px; height: 60px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand img { width: 26px; height: 26px; border-radius: var(--r); }
.brand .word { font-size: 16px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.brand .word em { font-style: normal; background: var(--cta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav button { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--fg-3); background: none; border: 0; padding: 8px 13px; border-radius: var(--r); cursor: pointer; transition: color .15s, background .15s; }
.nav button:hover { color: var(--fg); }
.nav button.active { color: var(--fg); background: var(--btn-2); }
.pill { font-family: var(--mono); font-size: 11px; color: var(--fg-3); border: 1px solid var(--line); border-radius: var(--r); padding: 7px 11px; display: inline-flex; align-items: center; gap: 7px; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px 60px; }

/* ---------- hero ---------- */
.hero { padding: 46px 0 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 11px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 18px 0 0; }
h1 em { font-style: normal; background: var(--cta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--fg-2); max-width: 640px; font-size: 14.5px; margin: 14px 0 24px; }

/* ---------- stat strip (genius puts these in one bordered row) ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { padding: 13px 16px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .k { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.stat .v { display: block; margin-top: 6px; font-family: var(--mono); font-size: 18px; color: var(--fg); }
.stat .v.pink { color: var(--pink); }
.stat .v.green { color: var(--green); }

/* ---------- panels ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.card.big { max-width: 780px; }
.sec { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 12px; }
.flow + .sec, .note + .sec, .btn.go + .sec, .addr-row + .sec, .ticks + .sec { margin-top: 24px; }
.flow { margin: 0; padding-left: 18px; color: var(--fg-2); font-size: 13.5px; }
.flow li { margin-bottom: 8px; }
.flow b, .ticks b { color: var(--fg); }
.ticks { margin: 0; padding: 0; list-style: none; color: var(--fg-2); font-size: 13.5px; }
.ticks li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.ticks li:before { content: "✓"; position: absolute; left: 0; color: var(--green); }
.note { color: var(--fg-3); font-size: 12.5px; margin: 0; }
code { font-family: var(--mono); font-size: .92em; color: var(--pink); }

/* ---------- buttons ---------- */
.btn { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .88px; text-transform: uppercase; color: var(--fg-2); background: var(--btn-2); border: 0; border-radius: var(--r); padding: 11px 16px; cursor: pointer; transition: filter .15s; }
.btn:hover { filter: brightness(1.15); }
.btn.primary { background: var(--cta); color: #090014; }
.btn.buy { background: var(--green); color: #090014; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.go { display: inline-block; margin-top: 14px; }

.addr-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.addr { flex: 1; min-width: 250px; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r); padding: 11px 13px; color: var(--pink); word-break: break-all; font-family: var(--mono); font-size: 12.5px; }

/* ---------- vault chip in the bar ---------- */
.vault { font-family: var(--mono); font-size: 11px; color: var(--fg-3); border: 1px solid var(--line); border-radius: var(--r); padding: 7px 11px; white-space: nowrap; }
.vault b { color: var(--green); }
.vault .warn { color: var(--pink); }

/* ---------- rows ---------- */
.list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.row-card { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); transition: background .15s; }
.row-card:last-child { border-bottom: 0; }
.row-card:hover { background: var(--panel-2); }
.row-card img { width: 34px; height: 34px; border-radius: var(--r); object-fit: cover; background: var(--panel-2); flex: 0 0 auto; }
.row-card .who { flex: 1; min-width: 0; }
.row-card .sym { font-family: var(--mono); font-weight: 700; }
.row-card .nm { color: var(--fg-3); font-size: 12.5px; margin-left: 7px; }
.row-card .meta { font-family: var(--mono); font-size: 11px; color: var(--fg-3); margin-top: 3px; }
.row-card .num { text-align: right; font-family: var(--mono); font-size: 12.5px; color: var(--fg-3); }
.row-card .num b { display: block; color: var(--fg); font-weight: 400; font-size: 13.5px; }
.badge-gh { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #090014; background: var(--cta); border-radius: 3px; padding: 2px 6px; margin-left: 7px; }
.loading { color: var(--fg-3); font-family: var(--mono); font-size: 12.5px; padding: 34px 0; text-align: center; }

/* ---------- footer ---------- */
.foot { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 22px 0 40px; margin-top: 30px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.foot a { color: var(--fg-2); } .foot a:hover { color: var(--pink); }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; }
  .top-in { height: auto; padding: 10px 16px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
