/* BOUNTY CHAN — scroll-reveal theme. cyberpunk · solana · no masters. */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=JetBrains+Mono:wght@400;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #05060a;
  --fg: #eaf2f7;
  --muted: #8a93a6;
  --cyan: #00f0ff;
  --magenta: #ff2d9b;
  --sol1: #9945ff;
  --sol2: #14f195;
  --line: rgba(0, 240, 255, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --disp: 'Orbitron', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── reveal canvas (the spine) ── */
#reveal { position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; background: #000; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(5,6,10,.55) 78%, rgba(5,6,10,.92) 100%); }
.scanlines { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.22) 2px 3px); mix-blend-mode: multiply; }
.grain { position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite; }
@keyframes grain { to { transform: translate(-8%, 6%); } }

/* ── nav ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 40px); transition: background .4s var(--ease), backdrop-filter .4s; }
body.scrolled nav { background: rgba(5,6,10,.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--disp); font-weight: 900; letter-spacing: .04em; font-size: 19px; }
.brand b { color: var(--cyan); } .brand i { color: var(--magenta); font-style: normal; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.ca-chip { font-family: var(--mono); font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); padding: 7px 12px; border-radius: 4px; cursor: pointer; transition: .2s; white-space: nowrap; }
.ca-chip:hover { color: var(--cyan); border-color: var(--cyan); }
.nav-link { font-size: 13px; color: var(--muted); transition: .2s; }
.nav-link:hover { color: var(--fg); }

/* ── buttons ── */
.btn { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  padding: 12px 20px; border-radius: 4px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .18s var(--ease), box-shadow .25s, background .25s; border: 1px solid transparent; }
.btn-primary { background: var(--cyan); color: #021016; box-shadow: 0 0 0 rgba(0,240,255,0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(0,240,255,.35); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* ── scrub progress bar ── */
.scrub-track { position: fixed; left: 0; right: 0; bottom: 0; height: 2px; z-index: 40; background: rgba(255,255,255,.06); }
#scrub { height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--cyan), var(--magenta)); box-shadow: 0 0 12px var(--cyan); }

/* ── scroll stage ── */
.scroll-stage { position: relative; z-index: 1; height: 860vh; }
.sticky-wrap { position: sticky; top: 0; height: 100vh; overflow: hidden; }

/* ── panels (fixed overlays, reveal by .active) ── */
.panel { position: fixed; inset: 0; z-index: 10; display: grid; align-content: center;
  padding: 84px clamp(20px, 6vw, 96px) 90px;
  opacity: 0; transform: translateY(26px); pointer-events: none;
  transition: opacity .55s var(--ease), transform .7s var(--ease); }
.panel.active { opacity: 1; transform: none; pointer-events: auto; }
.panel .wrap { max-width: 1180px; width: 100%; margin: 0 auto; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--cyan);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--cyan); }

/* hero */
.wordmark { font-family: var(--disp); font-weight: 900; line-height: .92; letter-spacing: -.01em;
  font-size: clamp(48px, 11vw, 132px); margin: 0; }
.wordmark .c { color: var(--cyan); } .wordmark .m { color: var(--magenta); }
.glitch { position: relative; }
.glitch::before, .glitch::after { content: attr(data-t); position: absolute; left: 0; top: 0; width: 100%; opacity: .8; }
.glitch::before { color: var(--magenta); animation: gl1 3.6s infinite steps(2); }
.glitch::after { color: var(--cyan); animation: gl2 3.6s infinite steps(2); }
@keyframes gl1 { 0%,92%,100%{clip-path:inset(0 0 100% 0);transform:none} 93%{clip-path:inset(8% 0 70% 0);transform:translate(-3px,0)} 96%{clip-path:inset(40% 0 30% 0);transform:translate(3px,0)} }
@keyframes gl2 { 0%,92%,100%{clip-path:inset(100% 0 0 0);transform:none} 94%{clip-path:inset(60% 0 20% 0);transform:translate(3px,0)} 97%{clip-path:inset(20% 0 55% 0);transform:translate(-3px,0)} }
.lede { font-size: clamp(16px, 2vw, 22px); color: var(--fg); margin: 18px 0 8px; max-width: 600px; }
.typed-row { font-family: var(--mono); font-size: clamp(14px, 1.7vw, 19px); color: var(--cyan); min-height: 1.6em; }
.typed-row::after { content: '▌'; color: var(--magenta); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.stat-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.stat { border: 1px solid var(--line); border-radius: 6px; padding: 12px 18px; background: rgba(5,8,14,.5); backdrop-filter: blur(6px); }
.stat .k { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.stat .v { font-family: var(--disp); font-weight: 700; font-size: 24px; color: var(--fg); }
.stat .n { font-family: var(--mono); font-size: 10px; color: var(--muted); }

/* manifesto */
.manifesto h2 { font-family: var(--disp); font-weight: 900; line-height: .98; margin: 0;
  font-size: clamp(40px, 9vw, 104px); text-transform: uppercase; }
.manifesto .l1 { color: var(--fg); } .manifesto .l2 { color: var(--cyan); } .manifesto .l3 { color: var(--magenta); }
.manifesto p { color: var(--muted); max-width: 560px; margin-top: 22px; font-size: clamp(15px,1.6vw,17px); line-height: 1.6; }
.term { margin-top: 24px; font-family: var(--mono); font-size: 13px; border: 1px solid var(--line); border-radius: 6px;
  background: rgba(0,0,0,.55); padding: 14px 16px; max-width: 540px; color: var(--sol2); }
.term .dim { color: var(--muted); } .term .no { color: var(--magenta); }

/* tokenomics split viz */
.split { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.split .seg { border: 1px solid var(--line); border-radius: 8px; padding: 18px 22px; background: rgba(8,11,18,.6); backdrop-filter: blur(8px); flex: 1 1 220px; position: relative; overflow: hidden; }
.split .seg::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.split .burn::before { background: var(--magenta); } .split .bnty::before { background: var(--cyan); }
.split .pct { font-family: var(--disp); font-weight: 900; font-size: clamp(36px, 6vw, 64px); line-height: 1; }
.split .burn .pct { color: var(--magenta); } .split .bnty .pct { color: var(--cyan); }
.split .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); margin-top: 8px; }
.split .sub { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* flywheel + board cards */
.grid-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 26px; }
.card { border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: rgba(8,11,18,.62); backdrop-filter: blur(8px);
  position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--magenta)); opacity: .8; }
.card .n { font-family: var(--mono); font-size: 12px; color: var(--cyan); }
.card h4 { font-family: var(--disp); font-weight: 700; margin: 8px 0 6px; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }
.card p { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 0; }
.tier { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; padding: 4px 8px; border-radius: 3px; text-transform: uppercase; display: inline-block; }
.tier.headhunt { background: rgba(255,45,155,.16); color: var(--magenta); }
.tier.contract { background: rgba(0,240,255,.14); color: var(--cyan); }
.tier.sidejob { background: rgba(20,241,149,.14); color: var(--sol2); }
.card .reward { font-family: var(--disp); font-weight: 700; font-size: 22px; float: right; }
.card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px;
  font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* join */
.join h2 { font-family: var(--disp); font-weight: 900; font-size: clamp(40px,8vw,84px); margin: 0; }
.join h2 .m { color: var(--magenta); }
.links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.disclaimer { margin-top: 30px; font-size: 11.5px; color: var(--muted); max-width: 640px; line-height: 1.6; font-family: var(--mono); }

/* outro spacer so the last panel can settle */
.tail { height: 8vh; }

/* ── responsive ── */
@media (max-width: 720px) {
  .nav-link, .ca-chip { display: none; }
  .panel { padding: 96px 20px 80px; align-content: end; }
  .stat-strip .stat { flex: 1 1 40%; }
  .card .reward { float: none; display: block; margin-bottom: 6px; }
}
@media (max-width: 420px) {
  .wordmark { font-size: 46px; }
  .manifesto h2 { font-size: 40px; }
}

/* ── reduced motion: kill decorative animation, keep scroll-linked scrub ── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .panel { transition: opacity .2s linear; transform: none; }
  html { scroll-behavior: auto; }
}
