/* PUMP STRATEGY — minimal, white, green. No glow, no gradients, no noise. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6faf7;
  --text: #101812;
  --dim: #66766b;
  --green: #1e9e3e;
  --green-dark: #177a30;
  --green-tint: #e9f6ec;
  --red: #cf4444;
  --red-tint: #fbeeee;
  --border: #e4ede6;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --disp: "Space Grotesk", system-ui, sans-serif;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--disp);
  line-height: 1.55;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
::selection { background: var(--green-tint); }

.bg-glow, .bg-grid { display: none; }

/* ticker — quiet status strip */
.ticker {
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden; white-space: nowrap;
  font-family: var(--mono); font-size: 12px;
  padding: 6px 0;
}
.ticker-track { display: inline-block; animation: tick 46s linear infinite; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick { color: var(--dim); margin-right: 48px; }
.tick b { color: var(--green); font-weight: 600; }
.tick.red b { color: var(--red); }

/* nav */
.nav {
  display: flex; align-items: center; gap: 28px;
  max-width: 1080px; margin: 0 auto; padding: 18px 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-weight: 700; font-size: 18px; letter-spacing: .01em;
}
.brand img { display: block; }
.brand b { color: var(--green); font-weight: 700; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  color: var(--dim); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
@media (max-width: 768px) { .nav-links { display: none; } .nav { justify-content: space-between; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--disp); font-weight: 600; letter-spacing: .01em;
  border-radius: 10px; padding: 12px 24px; font-size: 15px;
  cursor: pointer; text-decoration: none; border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.btn-primary { background: var(--green); color: #ffffff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-primary:disabled { opacity: .4; cursor: not-allowed; background: var(--green); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-dark); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-wide { width: 100%; }

/* layout */
main { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { margin: 96px 0; }
h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.01em; font-weight: 700; }
.section-sub { color: var(--dim); margin: 8px 0 28px; font-size: 15px; }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.grad, .grad-text { color: var(--green); font-weight: 700; }
.mono { font-family: var(--mono); }
.dim { color: var(--dim); }
.red { color: var(--red); }
.green { color: var(--green); }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px;
  align-items: center; margin: 64px 0 48px;
}
@media (max-width: 1024px) { .hero { grid-template-columns: 1fr; gap: 28px; } }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  color: var(--green-dark); margin-bottom: 20px;
  background: var(--green-tint); border-radius: 999px; padding: 6px 14px;
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.pulse-dot.armed { background: #b8a616; }
.hero h1 {
  font-size: clamp(36px, 5.6vw, 62px); line-height: 1.05; letter-spacing: -.02em;
  margin-bottom: 18px; font-weight: 700;
}
.tagline { color: #3c4a40; font-size: 16px; max-width: 540px; }
.tagline b { color: var(--text); }
.hero-cta { display: flex; gap: 12px; margin: 26px 0 20px; flex-wrap: wrap; }

.ca-pill {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px dashed var(--border); border-radius: 10px;
  padding: 9px 14px; font-family: var(--mono); font-size: 13px;
  color: var(--dim); cursor: pointer; user-select: none;
  transition: border-color .15s ease, color .15s ease;
  max-width: 100%;
}
.ca-pill:hover, .ca-pill:focus-visible { border-color: var(--green); color: var(--text); }
.ca-label { color: var(--green); font-weight: 600; }
.ca-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-copy { flex: none; }

.hero-panel { padding: 28px; text-align: center; border: 0; }
.hero-pill { width: min(240px, 55vw); height: auto; display: block; margin: 0 auto 8px; }
.panel-title { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--dim); }
.countdown {
  font-family: var(--mono); font-weight: 600;
  font-size: clamp(44px, 4.6vw, 58px); color: var(--text);
  margin: 2px 0 0; font-variant-numeric: tabular-nums;
}
.cycle-phase { font-family: var(--mono); font-size: 12.5px; color: var(--dim); min-height: 18px; }
.panel-divider { height: 1px; background: var(--border); margin: 20px auto; max-width: 320px; }
.mini-stats { display: flex; justify-content: center; gap: 40px; }
.mini-stats > div { display: flex; flex-direction: column; gap: 2px; }
.mini-label { font-size: 11px; color: var(--dim); font-family: var(--mono); }
.mini-value { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* stats — one bordered row, divided cells */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin: 32px 0;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stats-grid .stat { border: 0; border-radius: 0; }
.stats-grid .stat + .stat { border-left: 1px solid var(--border); }
@media (max-width: 900px) {
  .stats-grid .stat { border-left: 0 !important; }
  .stats-grid .stat:nth-child(2n) { border-left: 1px solid var(--border) !important; }
  .stats-grid .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}
.stat { padding: 22px 24px; background: var(--bg); }
.stat-hot { background: var(--bg-soft); }
.stat-label {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--dim);
  display: flex; flex-direction: column; gap: 2px; text-transform: uppercase;
}
.stat-sub { font-size: 10.5px; text-transform: none; letter-spacing: 0; opacity: .85; }
.stat-value {
  font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; margin-top: 10px;
  font-variant-numeric: tabular-nums; word-break: break-all; letter-spacing: -.01em;
}
.stat-hot .stat-value { color: var(--green-dark); }

/* flywheel */
.fly-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 1024px) { .fly-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fly-grid { grid-template-columns: 1fr; } }
.fly { padding: 20px 0 0; border: 0; border-top: 2px solid var(--text); border-radius: 0; }
.fly-num { font-family: var(--mono); font-size: 12px; color: var(--green); margin-bottom: 10px; display: block; }
.fly h3 { font-size: 16px; margin-bottom: 8px; letter-spacing: 0; font-weight: 700; }
.fly p { color: var(--dim); font-size: 14px; }
.fly p b { color: var(--text); }

/* feeds */
.feeds { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 96px 0; }
@media (max-width: 900px) { .feeds { grid-template-columns: 1fr; } }
.feed { padding: 22px; min-height: 320px; }
.feed-red { border-color: #f2dcdc; }
.feed-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.feed-title { font-size: 18px; letter-spacing: 0; }
.feed-title.green { color: var(--text); }
.feed-title.red { color: var(--red); }
.feed-hint { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.feed-rows { display: flex; flex-direction: column; max-height: 420px; overflow-y: auto; }
.feed-row {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 13px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--border);
}
.feed-row:last-child { border-bottom: 0; }
.feed-red .feed-row { border-bottom-color: #f6e7e7; }
.feed-row .t { color: var(--dim); font-size: 11.5px; flex: none; width: 44px; }
.feed-row .grow { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-row a { color: var(--dim); text-decoration: none; flex: none; transition: color .15s ease; }
.feed-row a:hover { color: var(--green); }
.buy-amt { color: var(--green-dark); font-weight: 600; }
.sell-amt { color: var(--red); font-weight: 600; }
.ngmi {
  flex: none; font-size: 10px; letter-spacing: .06em; color: var(--red);
  background: var(--red-tint); border-radius: 6px; padding: 3px 8px;
}
.feed-empty { color: var(--dim); font-family: var(--mono); font-size: 13px; padding: 28px 6px; text-align: center; }

/* claim */
.claim-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .claim-wrap { grid-template-columns: 1fr; } }
.claim-card { padding: 30px; background: var(--bg-soft); border-color: var(--border); }
.claim-note { color: var(--dim); margin-bottom: 18px; }
.claim-tiny { color: var(--dim); font-size: 12px; margin-top: 14px; font-family: var(--mono); }
.you-row, .you-grid > div { display: flex; flex-direction: column; gap: 3px; }
.you-row { margin-bottom: 18px; }
.you-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.you-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--dim); text-transform: uppercase; }
.you-value { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
#y-wallet { font-size: 13.5px; color: var(--green-dark); }
#y-claimable { color: var(--green-dark); }
.claim-status { margin-top: 14px; font-family: var(--mono); font-size: 13px; min-height: 18px; color: var(--dim); }
.claim-status.ok { color: var(--green-dark); }
.claim-status.err { color: var(--red); }
.claim-status a { color: inherit; }
.claim-recent { padding: 22px; }

/* leaderboard */
.board { padding: 6px 18px 12px; overflow-x: auto; }
.board table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; }
.board th {
  text-align: left; color: var(--dim); font-weight: 500; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 10px 10px; border-bottom: 1px solid var(--border);
}
.board td { padding: 11px 10px; border-bottom: 1px solid var(--border); }
.board tr:last-child td { border-bottom: none; }
.board .rank { color: var(--green); font-weight: 600; }
.board .pct { color: var(--green-dark); }

/* footer */
footer {
  border-top: 1px solid var(--border); margin-top: 100px;
  padding: 28px 24px 44px; max-width: 1080px; margin-inline: auto;
}
.foot-row { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 10px; font-size: 14px; }
footer p { font-size: 12px; max-width: 640px; color: var(--dim); }

/* toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(16px);
  background: var(--text); color: #fff;
  font-family: var(--mono); font-size: 13px;
  border-radius: 10px; padding: 11px 18px; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease; z-index: 50; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
