:root {
  --bg: #0b0b0a;
  --bg-2: #111110;
  --ink: #f4f1e9;
  --muted: #908b7e;
  --faint: #5c584e;
  --line: rgba(244, 241, 233, 0.14);
  --line-soft: rgba(244, 241, 233, 0.07);
  --acid: #4ade8c;
  --acid-dim: #2bb56a;
  --green-deep: #0e4d3f;
  --warn: #ffb020;
  --max: 1240px;
  --pad: clamp(18px, 5vw, 64px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

em {
  font-style: normal;
}

/* Film grain */
.grain {
  position: fixed;
  inset: -200%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(3) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-3%, 2%); }
  66% { transform: translate(2%, -3%); }
  100% { transform: translate(0, 0); }
}

/* Mono helper */
.sec-index,
.metric-label,
.nav-links a span,
.proc-no,
.board-head,
.rk,
.copy,
.ticker,
.receipt-top,
.kcker,
.footer-socials a {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.accent {
  color: var(--acid);
}
.sym {
  color: var(--acid);
}

/* ---------- TICKER ---------- */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--acid);
  color: #0b0b0a;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 0;
  padding: 7px 0;
  animation: marquee 38s linear infinite;
  will-change: transform;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.tick {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 18px;
  display: inline-flex;
  gap: 10px;
  text-transform: uppercase;
}

.tick .sep {
  opacity: 0.5;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px var(--pad);
  background: rgba(11, 11, 10, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: "Anton", sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.logo-full {
  height: 70px;
  width: auto;
  display: block;
}

.wordmark-slash {
  color: var(--acid);
  margin: 0 1px;
}

.wordmark-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: lowercase;
  align-self: center;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a span {
  font-size: 10px;
  color: var(--faint);
  margin-right: 5px;
}

.nav-links a:hover {
  color: var(--ink);
}

.buy {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border: 1px solid var(--acid);
  color: var(--acid);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: 0.2s;
}

.buy:hover {
  background: var(--acid);
  color: #0b0b0a;
}

.buy b {
  font-weight: 700;
}

.arrow {
  display: inline-block;
}

/* ---------- HERO ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 9vw, 110px) var(--pad) clamp(40px, 6vw, 80px);
}

.hero-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
}

.blink {
  color: var(--acid);
  animation: blink 1.4s steps(2) infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.hero-title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(52px, 13vw, 168px);
  line-height: 0.86;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  text-transform: none;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-title em.accent {
  color: var(--acid);
}

.hero-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-top: clamp(28px, 4vw, 52px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.btn {
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: 0.18s;
  white-space: nowrap;
}

.btn-fill {
  background: var(--acid);
  color: #0b0b0a;
  font-weight: 600;
}

.btn-fill:hover {
  background: var(--ink);
}

.btn-line {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--acid);
  color: var(--acid);
}

/* metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 7vw, 90px);
  border: 1px solid var(--line);
  border-right: none;
}

.metric {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.metric-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.metric-num {
  font-family: "Anton", sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
  letter-spacing: 0.005em;
}

/* ---------- SECTIONS ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 130px) var(--pad);
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: clamp(34px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.sec-index {
  font-size: 13px;
  color: var(--acid);
  letter-spacing: 0.05em;
}

.sec-head h2 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(30px, 5.5vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.005em;
}

/* ---------- PROCESS ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.proc {
  padding: 28px 26px 32px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.proc + .proc {
  padding-left: 26px;
  border-left: 1px solid var(--line-soft);
}

.proc-no {
  font-size: 12px;
  color: var(--acid);
  letter-spacing: 0.1em;
}

.proc h3 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 23px;
  letter-spacing: 0.01em;
  margin: 16px 0 10px;
}

.proc p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- BOUNTY BOARD ---------- */
.board {
  border-top: 1px solid var(--line);
}

.board-row {
  display: grid;
  grid-template-columns: 56px 1.1fr 2.4fr 1fr 0.9fr;
  align-items: center;
  gap: 16px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
}

.board-head {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 14px 8px;
}

.b-row {
  cursor: pointer;
  transition: background 0.18s, padding 0.18s;
}

.b-row:hover {
  background: var(--acid);
  color: #0b0b0a;
}

.b-row:hover .b-sub,
.b-row:hover .b-platform,
.b-row:hover .b-challenge p {
  color: #0b0b0a;
}

.b-row:hover .b-reward,
.b-row:hover .b-no {
  color: #0b0b0a;
}

.b-no {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--faint);
}

.b-streamer {
  font-weight: 600;
  font-size: 15px;
}

.b-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

.b-challenge h4 {
  font-size: 15.5px;
  font-weight: 600;
}

.b-challenge p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.b-reward {
  font-family: "Anton", sans-serif;
  font-size: 30px;
  letter-spacing: 0.01em;
  text-align: right;
}

.b-status {
  text-align: right;
}

.tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border: 1px solid currentColor;
  display: inline-block;
}

.tag.open { color: var(--acid); }
.tag.claimed { color: var(--warn); }
.tag.paid { color: var(--muted); }
.b-row:hover .tag { color: #0b0b0a; }

.board-empty {
  padding: 40px 8px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}

.board-empty.soon {
  color: var(--acid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

code.soon {
  color: var(--acid) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.streamers .board-empty {
  grid-column: 1 / -1;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- STREAMERS ---------- */
.streamers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  border: 1px solid var(--line);
  border-bottom: none;
  border-right: none;
}

.scard {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.18s;
}

.scard:hover {
  background: var(--bg-2);
}

.savatar {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--acid);
  color: #0b0b0a;
  font-family: "Anton", sans-serif;
  font-size: 17px;
  object-fit: cover;
}

.sinfo { min-width: 0; flex: 1; }

.shandle {
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.smeta {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.spaid {
  font-family: "Anton", sans-serif;
  font-size: 22px;
  color: var(--acid);
}

/* ---------- RECEIPT / WALLET ---------- */
.receipt {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(22px, 4vw, 40px);
}

.receipt-top {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}

.receipt-status { color: var(--acid); display: inline-flex; gap: 7px; }

.receipt-note {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 560px;
  margin: 20px 0 26px;
}

.receipt-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.rk {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--acid);
  width: 84px;
  flex-shrink: 0;
}

.receipt-line code {
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  color: var(--ink);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: 0.18s;
  flex-shrink: 0;
}

.copy:hover {
  background: var(--acid);
  border-color: var(--acid);
  color: #0b0b0a;
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 80px) var(--pad) 40px;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-big {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-size: clamp(64px, 24vw, 320px);
  line-height: 0.8;
  letter-spacing: -0.01em;
  color: var(--ink);
  word-break: break-all;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-socials a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: 0.18s;
}

.footer-socials a:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.footer-note {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--faint);
  text-align: right;
  line-height: 1.7;
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(18px);
  background: var(--acid);
  color: #0b0b0a;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .grain, .blink, .ticker-track { animation: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-row { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .hero-cta { justify-content: flex-start; }
  .metrics { grid-template-columns: 1fr 1fr; border-right: 1px solid var(--line); }
  .metric:nth-child(odd) { border-right: 1px solid var(--line); }
  .metric:nth-child(even) { border-right: none; }
  .process { grid-template-columns: 1fr 1fr; }
  .proc, .proc + .proc { border-left: none; padding-left: 0; }
  .proc:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line-soft); }
}

@media (max-width: 720px) {
  /* Bounty board → stacked cards */
  .board-head { display: none; }
  .board-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "no status"
      "streamer reward"
      "challenge challenge";
    gap: 8px 16px;
    padding: 20px 4px;
  }
  .b-no { grid-area: no; }
  .b-status { grid-area: status; }
  .b-streamerwrap { grid-area: streamer; }
  .b-reward { grid-area: reward; text-align: left; }
  .b-challenge { grid-area: challenge; }
  .b-challenge p { -webkit-line-clamp: 3; }
}

@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .proc:nth-child(even) { padding-left: 0; border-left: none; }
  .metrics { grid-template-columns: 1fr; border-right: 1px solid var(--line); }
  .metric { border-right: none !important; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-note { text-align: left; }
}
