/* ── $REKTHOOD · Robin Hood for the rekt ─────────────────────────────────────
   Robinhood neon green on near-black. Space Grotesk display / DM Sans body /
   JetBrains Mono data. Overhauled 2026-07-22 against the flagship meme-site
   patterns (marquee bands, giant display type, stat tiles, chipped cards,
   pill CTAs, live dashboard). Vanilla CSS, no build step. */

:root {
  --bg: #070707;
  --bg-2: #0b0f0b;
  --card: #0e130e;
  --card-2: #111811;
  --border: #1c261c;
  --border-hot: rgba(0, 200, 5, 0.45);
  --accent: #00c805;
  --accent-2: #2be45b;
  --gold: #ffc24b;
  --danger: #ff4d4d;
  --fg: #e8f0e8;
  --fg-dim: #9ab09a;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1160px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 18px; letter-spacing: -0.01em; }
h2 { font-size: clamp(34px, 4.6vw, 56px); color: var(--accent); text-transform: uppercase; }
p { margin: 0 0 14px; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
::selection { background: var(--accent); color: #041504; }

/* ── marquee bands ── */
.marquee {
  overflow: hidden;
  background: var(--accent);
  color: #041504;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  user-select: none;
}
.marquee-track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee-track span { padding: 8px 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-outline {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  -webkit-text-stroke: 1px var(--border-hot);
  color: transparent;
  letter-spacing: 0.02em;
}
.marquee-outline .marquee-track { animation-duration: 60s; }
.marquee-outline .marquee-track span { padding: 14px 0; }

/* ── nav ── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 26px;
  background: rgba(7, 7, 7, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 10px; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--fg); letter-spacing: 0.02em; }
.topnav .links { display: flex; align-items: center; gap: 20px; font-weight: 500; font-size: 15px; }
.topnav .links > a:not(.btn) { color: var(--fg-dim); }
.topnav .links > a:not(.btn):hover { color: var(--accent); }
.nav-icon { font-size: 16px; }

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s, color 0.15s;
  text-transform: uppercase;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #041504; box-shadow: 0 0 24px rgba(0, 200, 5, 0.25); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: #041504; box-shadow: 0 0 34px rgba(0, 200, 5, 0.4); }
.btn-ghost { color: var(--accent); background: transparent; }
.btn-ghost:hover { background: rgba(0, 200, 5, 0.1); }
.btn-connect { background: transparent; color: var(--accent); padding: 9px 18px; font-size: 13px; }
.btn-connect:hover { background: rgba(0, 200, 5, 0.12); }
.btn-connect.connected { border-color: var(--gold); color: var(--gold); font-family: var(--font-mono); text-transform: none; }
.btn-buy-sm { background: var(--accent); color: #041504; padding: 9px 20px; font-size: 13px; }
.btn-buy-sm:hover { background: var(--accent-2); color: #041504; }
.btn-wide { width: 100%; padding: 15px 22px; }
.btn-mini {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.btn-mini:hover { color: var(--danger); border-color: var(--danger); }

/* ── hero ── */
.hero { position: relative; padding: 68px 24px 40px; overflow: hidden; }
.hero-glow {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(0, 200, 5, 0.16) 0%, transparent 62%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: center;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(52px, 7.4vw, 104px); text-transform: uppercase; margin-bottom: 20px; }
.hero h1 .line { display: block; }
.hero h1 .line-accent { color: var(--accent); text-shadow: 0 0 42px rgba(0, 200, 5, 0.5); }
.tagline { font-size: 17px; color: var(--fg-dim); max-width: 520px; }
.tagline strong { color: var(--fg); }
.hero-art { position: relative; }
.hero-art img {
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 200, 5, 0.12);
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.ca-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 20px;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 560px;
}
.ca-label { font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: var(--accent); }
#caCode {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
#caCode[data-empty="true"] { color: var(--fg-dim); font-style: italic; }
.btn-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #041504;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  padding: 5px 12px;
  cursor: pointer;
}
.btn-copy.copied { background: var(--gold); }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── stats band ── */
.stats-band {
  max-width: var(--max);
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.stat:hover { border-color: var(--border-hot); transform: translateY(-3px); }
.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--accent);
  overflow-wrap: anywhere;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

/* ── lore ── */
.lore { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 90px 24px; }
.lore-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.lore p { font-size: 17px; color: var(--fg-dim); }
.lore strong { color: var(--fg); }
.lore-stamp {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--accent);
  margin-top: 28px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.lore-art img { border-radius: 22px; border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }

/* ── loot vault dashboard ── */
.vault { padding: 90px 24px; text-align: center; position: relative; }
.v-sub { max-width: 720px; margin: 0 auto 8px; color: var(--fg-dim); font-size: 16px; }
.v-sub strong { color: var(--accent); }

.vd-countdown { margin: 36px auto 30px; }
.vd-count {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 52px rgba(0, 200, 5, 0.45);
  font-variant-numeric: tabular-nums;
}
.vd-count-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.vd-grid {
  max-width: 980px;
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
}
.vd-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  transition: border-color 0.2s;
}
.vd-card:hover { border-color: var(--border-hot); }
.vd-chip {
  position: absolute;
  top: -12px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #041504;
  background: var(--accent);
  border-radius: 999px;
  padding: 3px 12px;
}
.vd-chip-gold { background: var(--gold); }
.vd-rows { margin: 10px 0 14px; }
.vd-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
}
.vd-row:last-child { border-bottom: 0; }
.vd-row dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-dim); font-weight: 700; }
.vd-row dd { margin: 0; font-family: var(--font-mono); font-weight: 700; font-size: 16px; color: var(--fg); overflow-wrap: anywhere; text-align: right; }
.vd-link { font-family: var(--font-mono); font-size: 12px; }

.vd-stash { background: linear-gradient(160deg, var(--card-2) 0%, var(--card) 70%); }
.stash-pitch { font-size: 14px; color: var(--fg-dim); margin: 14px 0 18px; }
.wallet-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; justify-content: center; }
.wallet-pills span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
}
.stash-addr-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0 4px; }
.stash-addr { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--gold); }
.badge-yes { color: var(--accent); }
.badge-no { color: var(--danger); }
.stash-drops { margin: 6px 0 12px; }
.stash-drops-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 6px; }
.stash-drops ul { list-style: none; margin: 0; padding: 0; }
.stash-drops li { font-family: var(--font-mono); font-size: 12px; color: var(--fg-dim); padding: 5px 0; border-top: 1px dashed var(--border); }
.stash-drops li:first-child { border-top: 0; }
.stash-drops li strong { color: var(--fg); font-weight: 700; }
.stash-empty { font-style: italic; }

.v-ticker {
  max-width: 980px;
  margin: 0 auto 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: left;
}
.v-ticker-title { font-family: var(--font-mono); font-weight: 700; color: var(--accent); margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.v-ticker ul { list-style: none; margin: 0; padding: 0; }
.v-ticker li { font-family: var(--font-mono); font-size: 13px; color: var(--fg-dim); padding: 5px 0; border-top: 1px solid var(--border); }
.v-ticker li:first-child { border-top: 0; }
.v-ticker li strong { color: var(--fg); font-weight: 500; }
.v-fineprint { max-width: 720px; margin: 0 auto; color: var(--fg-dim); font-size: 13px; font-family: var(--font-mono); line-height: 1.7; }

/* ── tokenomics ── */
.tokenomics { padding: 90px 24px; text-align: center; background: var(--bg-2); border-top: 1px solid var(--border); }
.tk-sub { max-width: 640px; margin: 0 auto 10px; color: var(--fg-dim); font-size: 16px; }
.tk-grid {
  max-width: var(--max);
  margin: 34px auto 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tk-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.tk-card:hover { transform: translateY(-4px); border-color: var(--border-hot); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); }
.tk-num { font-family: var(--font-mono); font-weight: 700; font-size: 50px; color: var(--accent); line-height: 1; }
.tk-label { margin-top: 12px; font-size: 12px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.tk-fineprint { max-width: 660px; margin: 0 auto; color: var(--fg-dim); font-size: 13px; font-family: var(--font-mono); line-height: 1.7; }

/* ── gallery ── */
.gallery { padding: 80px 24px 90px; text-align: center; }
.g-sub { color: var(--fg-dim); max-width: 640px; margin: 0 auto 10px; font-size: 14px; }
.g-grid {
  max-width: var(--max);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.g-cell {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.g-cell:hover { transform: translateY(-4px) scale(1.01); border-color: var(--accent); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 200, 5, 0.14); }
.g-cell img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.3s; }
.g-cell:hover img { transform: scale(1.04); }
.g-cell span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(7, 7, 7, 0.86);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  letter-spacing: 0.03em;
  text-align: left;
}

/* ── buy ── */
.buy { padding: 90px 24px; text-align: center; background: var(--bg-2); border-top: 1px solid var(--border); }
.buy > p { color: var(--fg-dim); max-width: 700px; margin: 0 auto 22px; }
.buy-steps {
  max-width: 700px;
  margin: 0 auto 30px;
  text-align: left;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-dim);
  padding-left: 28px;
}
.buy-steps li { margin: 8px 0; }
.buy-steps strong { color: var(--accent); }
.buy-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.buy-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--fg);
  font: inherit;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.buy-card:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--accent); box-shadow: 0 0 30px rgba(0, 200, 5, 0.12); }
.buy-name { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.buy-sub { font-size: 13px; color: var(--fg-dim); }

/* ── faq ── */
.faq { max-width: 760px; margin: 0 auto; padding: 80px 24px 20px; }
.faq h2 { text-align: center; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin: 12px 0;
  padding: 0 20px;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--border-hot); }
.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--fg);
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; color: var(--accent); font-size: 22px; font-family: var(--font-mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--fg-dim); font-size: 15px; padding-bottom: 16px; }

/* ── warn ── */
.warn {
  max-width: var(--max);
  margin: 50px auto 90px;
  padding: 30px;
  background: rgba(255, 77, 77, 0.06);
  border: 1px solid var(--danger);
  border-radius: var(--radius);
}
.warn h2 { color: var(--danger); font-size: 24px; text-transform: none; }
.warn ul { padding-left: 22px; margin: 0; }
.warn li { margin: 8px 0; color: var(--fg); }

/* ── footer ── */
footer { border-top: 1px solid var(--border); padding: 44px 24px; background: var(--bg-2); }
.foot-inner { max-width: var(--max); margin: 0 auto; text-align: center; color: var(--fg-dim); font-size: 13px; }
.foot-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; }
.foot-brand img { border-radius: 12px; }
.foot-links a { color: var(--fg); }
.foot-links a:hover { color: var(--accent); }

/* ── wallet modal ── */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 4, 0.8); backdrop-filter: blur(4px); }
.modal-panel {
  position: relative;
  width: min(400px, calc(100vw - 32px));
  background: var(--card-2);
  border: 1px solid var(--border-hot);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 200, 5, 0.1);
}
.modal-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.modal-sub { font-size: 12px; color: var(--fg-dim); margin: 6px 0 14px; }
.wallet-list { list-style: none; margin: 0; padding: 0; }
.wallet-list button, .wallet-list a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 8px 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.wallet-list button:hover, .wallet-list a:hover { border-color: var(--accent); transform: translateY(-1px); color: var(--fg); }
.wallet-list img { width: 28px; height: 28px; border-radius: 7px; }
.wallet-glyph { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: rgba(0, 200, 5, 0.12); color: var(--accent); font-size: 15px; }
.wallet-install { font-family: var(--font-mono); font-size: 10px; color: var(--fg-dim); margin-left: auto; }

/* ── scroll reveal ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── responsive ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .lore-grid { grid-template-columns: 1fr; }
  .vd-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .tk-grid { grid-template-columns: repeat(2, 1fr); }
  .g-grid { grid-template-columns: 1fr 1fr; }
  .buy-grid { grid-template-columns: 1fr; }
  .topnav { padding: 12px 16px; }
  .topnav .links { gap: 12px; }
  .topnav .links > a:not(.btn):not(.nav-icon) { display: none; }
}
@media (max-width: 520px) {
  .stats-band { grid-template-columns: 1fr 1fr; }
  .tk-grid { grid-template-columns: 1fr; }
  .g-grid { grid-template-columns: 1fr; }
  .nav-icon { display: none; }
  .btn-connect { padding: 9px 14px; }
  .cta .btn { width: 100%; }
}

/* ── reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .hero-art img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .stat:hover, .tk-card:hover, .g-cell:hover, .buy-card:hover { transform: none; }
}
