/* NOT TOP BLASTER — dark terminal, kinetic type, scroll-driven */

@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --bg: #0A0A0B;
  --bg-2: #101012;
  --ink: #EDEDEF;
  --dim: #8A8A93;
  --faint: #55555E;
  --line: #232328;
  --accent: #C8F542;
  --accent-ink: #0A0A0B;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--accent-ink); }

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

/* ---------- grain (fixed, pointer-events none) ---------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.nav-links { display: flex; gap: clamp(14px, 3vw, 32px); }
.nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: var(--accent); }
.nav-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- hero ---------- */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 96px clamp(16px, 4vw, 48px) 0;
}
.hero-inner { max-width: 1400px; width: 100%; margin: 0 auto; }
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--dim);
  margin-bottom: 28px;
}
.hero-title {
  font-weight: 700;
  font-size: clamp(64px, 14.5vw, 208px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero-title .line { display: block; }
.line-accent { color: var(--accent); }
.hero-sub {
  margin-top: 32px;
  max-width: 46ch;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--dim);
  line-height: 1.65;
}
.hero-ctas { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 16px 28px;
  border-radius: 0;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s, color 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: #D6FA6B; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: rgba(200, 245, 66, 0.08); }

/* hero ticker marquee */
.hero-ticker {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
  background: var(--bg-2);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.ticker-track span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--faint);
  white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- rise (load-in) ---------- */
.rise {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--rd, 0ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- manifesto ---------- */
.manifesto {
  padding: clamp(96px, 14vh, 160px) clamp(16px, 4vw, 48px);
  max-width: 1400px;
  margin: 0 auto;
}
.m-line {
  font-weight: 700;
  font-size: clamp(40px, 7.5vw, 104px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.m-accent { color: var(--accent); }
.manifesto-body {
  margin-top: 48px;
  max-width: 62ch;
  color: var(--dim);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
}

/* ---------- section scaffolding ---------- */
section { padding: clamp(80px, 12vh, 140px) clamp(16px, 4vw, 48px); }
.section-head { max-width: 1400px; margin: 0 auto 56px; }
.section-head h2 {
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 72px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.section-caption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--faint);
}

/* ---------- numbers ---------- */
.numbers { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--bg-2);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  justify-content: space-between;
}
.stat-n {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-l {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: uppercase;
}
.stat-accent { background: var(--accent); }
.stat-accent .stat-n, .stat-accent .stat-l { color: var(--accent-ink); }
.numbers-foot {
  max-width: 1400px;
  margin: 40px auto 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

/* ---------- rules ---------- */
.rules-list {
  list-style: none;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.rule {
  background: var(--bg);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.rule-i {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding-top: 6px;
}
.rule h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.rule p { color: var(--dim); font-size: 15px; line-height: 1.65; max-width: 48ch; }

/* ---------- thoughts ---------- */
.thoughts { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feed {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feed-loading {
  grid-column: 1 / -1;
  background: var(--bg-2);
  padding: 64px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--dim);
}
.feed-loader {
  width: 14px; height: 14px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.thought {
  background: var(--bg-2);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 120px;
}
.thought-text { font-size: 15px; line-height: 1.6; color: var(--ink); }
.thought-time {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.thought-clock { color: var(--accent); }
.feed-empty {
  grid-column: 1 / -1;
  background: var(--bg-2);
  padding: 64px 32px;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--dim);
}

/* ---------- wallet ---------- */
.wallet-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.wallet-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--faint);
  margin-bottom: 18px;
}
.addr {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(13px, 1.6vw, 17px);
  padding: 20px 22px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  overflow-wrap: anywhere;
}
.addr:hover { border-color: var(--accent); }
.addr-hint {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.token-mark {
  font-weight: 700;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.token-line {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink);
}
.token-sub { margin-top: 18px; color: var(--dim); font-size: 15px; line-height: 1.65; max-width: 44ch; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px clamp(16px, 4vw, 48px);
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--faint);
}

/* ---------- responsive collapse ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .rules-list { grid-template-columns: 1fr; }
  .feed { grid-template-columns: 1fr; }
  .wallet-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .nav-status { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .ticker-track { animation: none; }
  .dot, .feed-loader { animation: none; }
}
