/* =============================================
   WRATH PROTOCOL v2 — BRUTAL EDITION
   Inspired by: cycles.money raw aesthetic
   Theme: Void-black / Blood-red / Fire
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Bebas+Neue&family=Fira+Code:wght@400;500;600&family=Barlow+Condensed:wght@400;600;700;900&display=swap');

/* --- VARIABLES --- */
:root {
  --bg:         #050505;
  --bg2:        #0a0202;
  --bg3:        #100404;
  --red:        #c41230;
  --red-bright: #ff1a3c;
  --orange:     #ff5500;
  --ember:      #ff8800;
  --gold:       #cc6600;
  --white:      #f0e8e8;
  --dim:        #5c3a3a;
  --muted:      #2e1515;
  --border:     rgba(196, 18, 48, 0.15);
  --border-hot: rgba(196, 18, 48, 0.5);

  --font-brutal: 'Bebas Neue', sans-serif;
  --font-cond:   'Barlow Condensed', sans-serif;
  --font-body:   'Space Grotesk', sans-serif;
  --font-mono:   'Fira Code', monospace;

  --nav-h: 68px;
  --max:   1280px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  /* Scanline overlay */
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.25) 2px,
    rgba(0,0,0,0.25) 4px
  );
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); border: none; cursor: pointer; }

/* Scanline effect on body */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* --- CANVAS (particles) --- */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* --- GRADIENT TEXTS --- */
.fire { 
  background: linear-gradient(90deg, var(--red-bright), var(--orange) 60%, var(--ember));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dim-red { color: var(--dim); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.18s;
}
.btn:hover::before { background: rgba(255,255,255,0.04); }

.btn-kill {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-kill:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  box-shadow: 0 0 30px rgba(255,26,60,0.5), 0 0 80px rgba(255,26,60,0.2);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--dim);
  border-color: rgba(196,18,48,0.2);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red-bright);
}

.btn-lg { padding: 18px 48px; font-size: 1.2rem; letter-spacing: 3px; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.navbar.scrolled {
  background: rgba(5,5,5,0.96);
  border-bottom-color: var(--border);
  backdrop-filter: blur(16px);
}

.nav-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img { width: 34px; height: 34px; object-fit: contain; }
.logo-text {
  font-family: var(--font-brutal);
  font-size: 2rem;
  letter-spacing: 6px;
  color: var(--red-bright);
  text-shadow: 0 0 20px rgba(255,26,60,0.5);
}

/* Glitch effect on logo */
.logo-text-glitch {
  animation: glitch 0.35s steps(1) forwards;
}
@keyframes glitch {
  0%   { text-shadow: 2px 0 var(--orange), -2px 0 var(--red-bright); transform: skewX(0); }
  20%  { text-shadow: -3px 0 var(--orange), 3px 0 var(--red); transform: skewX(-5deg); }
  40%  { text-shadow: 3px 0 var(--red), -3px 0 var(--orange); transform: skewX(5deg); }
  60%  { text-shadow: -2px 0 var(--red-bright), 2px 0 var(--orange); transform: skewX(-3deg); }
  80%  { text-shadow: 1px 0 var(--red), -1px 0 var(--ember); transform: skewX(2deg); }
  100% { text-shadow: 0 0 20px rgba(255,26,60,0.5); transform: skewX(0); }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--dim);
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions { display: flex; gap: 12px; align-items: center; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--dim);
  transition: all 0.3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Red diagonal slash across hero */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 2px;
  height: 130%;
  background: linear-gradient(180deg, transparent, rgba(196,18,48,0.3) 30%, rgba(255,85,0,0.5) 60%, transparent);
  transform: rotate(15deg);
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: 15%;
  width: 1px;
  height: 130%;
  background: linear-gradient(180deg, transparent, rgba(196,18,48,0.15) 40%, transparent);
  transform: rotate(15deg);
  z-index: 1;
}

.hero-glow-red {
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(196,18,48,0.1) 0%, transparent 65%);
  top: -200px; left: -200px;
  pointer-events: none;
  z-index: 1;
  animation: breathe 7s ease-in-out infinite;
}
.hero-glow-orange {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,85,0,0.07) 0%, transparent 65%);
  bottom: -100px; right: -100px;
  pointer-events: none;
  z-index: 1;
  animation: breathe 9s ease-in-out infinite reverse;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

/* --- HERO LEFT --- */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow-line {
  width: 40px; height: 1px;
  background: var(--red);
  flex-shrink: 0;
}
.eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--red);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--red); }
  50% { opacity: 0.2; box-shadow: none; }
}

.hero-title {
  font-family: var(--font-brutal);
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 3px;
  text-transform: uppercase;
  /* Subtle text stroke */
  -webkit-text-stroke: 1px rgba(255,255,255,0.05);
}
.hero-title .line-1 { display: block; color: var(--white); }
.hero-title .line-2 { display: block; }
.hero-title .line-3 { 
  display: block; 
  color: var(--muted); 
  -webkit-text-stroke: 1px rgba(196,18,48,0.4);
  transition: all 0.3s;
}
.hero-title:hover .line-3 { color: var(--red); -webkit-text-stroke-color: transparent; }

.hero-desc {
  font-size: 0.95rem;
  color: var(--dim);
  line-height: 1.9;
  max-width: 460px;
  border-left: 2px solid rgba(196,18,48,0.3);
  padding-left: 20px;
}

.hero-verdict {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.verdict-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 28px;
  border: 1px solid var(--muted);
  border-right: none;
  position: relative;
}
.verdict-block:first-child { border-left: 2px solid var(--red); }
.verdict-block:last-child { border-right: 1px solid var(--muted); }
.verdict-val {
  font-family: var(--font-brutal);
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--white);
}
.verdict-val.fire-val {
  background: linear-gradient(90deg, var(--red-bright), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.verdict-key {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- HERO RIGHT: WRATH TERMINAL --- */
.hero-visual { position: relative; z-index: 2; }

.wrath-terminal {
  background: var(--bg2);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Red top bar like a danger indicator */
.wrath-terminal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, var(--orange) 40%, var(--red) 100%);
  animation: danger-pulse 2s ease-in-out infinite;
}
@keyframes danger-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Corner cuts */
.wrath-terminal::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 20px; height: 20px;
  background: var(--red);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  opacity: 0.4;
}

.terminal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--muted);
  background: rgba(196,18,48,0.04);
}
.tb-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tb-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.tb-dot.red { background: #cc1122; box-shadow: 0 0 6px #cc1122; }
.tb-dot.orange { background: var(--orange); }
.tb-dot.dim { background: var(--muted); }
.tb-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-left: 8px;
}
.tb-right {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--red);
  letter-spacing: 1px;
  animation: blink 1.5s ease-in-out infinite;
}

/* Score Display */
.score-zone {
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--muted);
}
.score-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.score-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--dim);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.score-status {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--red);
  letter-spacing: 1px;
  font-weight: 600;
}
.score-number {
  font-family: var(--font-brutal);
  font-size: 5.5rem;
  letter-spacing: 4px;
  line-height: 1;
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--orange) 60%, var(--ember) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  /* Flicker */
  animation: score-flicker 4s ease-in-out infinite;
}
@keyframes score-flicker {
  0%, 98%, 100% { opacity: 1; filter: none; }
  99% { opacity: 0.85; filter: brightness(1.5); }
}

.score-bar-outer {
  height: 6px;
  background: var(--muted);
  position: relative;
  overflow: hidden;
}
.score-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--orange) 70%);
  transition: width 0.6s ease;
  position: relative;
}
.score-bar-inner::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 4px; height: 100%;
  background: #fff;
  filter: blur(2px);
  animation: scan-right 2s linear infinite;
}
@keyframes scan-right {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/* Log Feed */
.log-zone {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 160px;
}
.log-header {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.log-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--muted);
}
.log-entry {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.01);
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-8px);
}
.log-entry.visible {
  opacity: 1;
  transform: translateX(0);
}
.log-entry:hover {
  background: rgba(196,18,48,0.04);
  border-left-color: var(--red);
}

.log-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 6px;
  flex-shrink: 0;
  border: 1px solid transparent;
}
.log-tag.t-kill { border-color: var(--red); color: var(--red); background: rgba(196,18,48,0.1); }
.log-tag.t-burn { border-color: var(--orange); color: var(--orange); background: rgba(255,85,0,0.1); }
.log-tag.t-warn { border-color: #cc9900; color: #cc9900; background: rgba(204,153,0,0.1); }
.log-tag.t-exec { border-color: var(--dim); color: var(--dim); background: transparent; }

.log-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--dim);
  line-height: 1.5;
  flex: 1;
}
.log-time {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--muted);
  flex-shrink: 0;
  align-self: center;
}

/* Block counter row */
.block-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--muted);
  background: rgba(196,18,48,0.02);
}
.block-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 2px;
}
.block-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--red);
  letter-spacing: 1px;
}

/* =============================================
   MARQUEE STRIP (between sections)
   ============================================= */
.marquee-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  background: var(--bg2);
  overflow: hidden;
  height: 44px;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee-scroll 20s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: var(--font-brutal);
  font-size: 0.85rem;
  letter-spacing: 6px;
  color: var(--dim);
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  text-transform: uppercase;
}
.marquee-item::after {
  content: '✦';
  color: var(--red);
  font-size: 0.5rem;
}
.marquee-item .hot { color: var(--red); }
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   ENGINE SECTION
   ============================================= */
.engine-section {
  position: relative;
  z-index: 2;
  padding: 120px 0;
  border-top: 1px solid var(--muted);
  background: var(--bg2);
}

/* Big X decoration */
.engine-section::before {
  content: 'X';
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  font-family: var(--font-brutal);
  font-size: 30rem;
  color: rgba(196,18,48,0.03);
  pointer-events: none;
  line-height: 1;
}

.section-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.section-header { margin-bottom: 72px; }

.sec-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sec-label-line { width: 32px; height: 1px; background: var(--red); }
.sec-label-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--red);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-brutal);
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 0.9;
}

/* Engine 3-col grid */
.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--muted);
}

.engine-card {
  padding: 48px 36px;
  border-right: 1px solid var(--muted);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.engine-card:last-child { border-right: none; }
.engine-card:hover { background: rgba(196,18,48,0.03); }

/* Number watermark */
.engine-card-num {
  font-family: var(--font-brutal);
  font-size: 8rem;
  position: absolute;
  top: -20px; right: 20px;
  color: rgba(196,18,48,0.06);
  pointer-events: none;
  line-height: 1;
  letter-spacing: 0;
}
.engine-card-num.featured-num { color: rgba(255,85,0,0.08); }

.engine-icon-wrap {
  width: 48px; height: 48px;
  border: 1px solid var(--border-hot);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.engine-card-verb {
  font-family: var(--font-brutal);
  font-size: 3rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--white);
}
.engine-card.featured .engine-card-verb { color: var(--red); }

.engine-card-desc {
  font-size: 0.85rem;
  color: var(--dim);
  line-height: 1.8;
  margin-bottom: 28px;
}

.engine-card-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--muted);
}
.stat-num {
  font-family: var(--font-brutal);
  font-size: 2rem;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--red-bright), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-unit {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 2px;
}

/* =============================================
   TOKENOMICS
   ============================================= */
.token-section {
  position: relative;
  z-index: 2;
  padding: 120px 0;
  border-top: 1px solid var(--muted);
  background: var(--bg);
}

.token-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--muted);
  border: 1px solid var(--muted);
  margin-top: 64px;
}

.token-cell {
  background: var(--bg);
  padding: 32px 28px;
}

.token-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.token-row:last-child { border-bottom: none; }
.tk { 
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.tv { 
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--white);
  font-weight: 600;
  text-align: right;
}
.tv.fire-val {
  background: linear-gradient(90deg, var(--red-bright), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Donut */
.token-chart-cell {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.donut-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.donut-center {
  position: absolute;
  text-align: center;
  pointer-events: none;
}
.donut-big {
  font-family: var(--font-brutal);
  font-size: 1.8rem;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--red-bright), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.donut-small {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--muted);
  letter-spacing: 1px;
}

.legend { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--dim);
}
.ld { width: 10px; height: 10px; flex-shrink: 0; }
.ld.r { background: var(--red); }
.ld.o { background: var(--orange); }
.ld.d { background: var(--muted); border: 1px solid var(--border); }

/* Flywheel */
.flywheel-cell {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fw-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.fw-step:last-child { border-bottom: none; }
.fw-num {
  font-family: var(--font-brutal);
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--muted);
  flex-shrink: 0;
  min-width: 32px;
}
.fw-num.hot {
  background: linear-gradient(135deg, var(--red-bright), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fw-text {
  font-size: 0.78rem;
  color: var(--dim);
  line-height: 1.7;
  padding-top: 4px;
}

/* =============================================
   MANIFESTO
   ============================================= */
.manifesto-section {
  position: relative;
  z-index: 2;
  padding: 140px 0;
  border-top: 1px solid var(--muted);
  background: var(--bg);
  overflow: hidden;
}

/* Giant background text */
.manifesto-section::before {
  content: 'WRATH';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-brutal);
  font-size: 24vw;
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196,18,48,0.06);
  pointer-events: none;
  white-space: nowrap;
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.manifesto-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--red);
  letter-spacing: 6px;
  text-transform: uppercase;
}

.manifesto-lines { display: flex; flex-direction: column; gap: 4px; }
.m-line {
  font-family: var(--font-brutal);
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  color: var(--white);
}
.m-line.in { opacity: 1; transform: translateY(0); }
.m-line.space { margin-top: 28px; }
.m-line.climax {
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: 5px;
}
.m-line.ghost {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.15);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--muted);
  background: var(--bg2);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 32px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 300px; }
.f-logo { display: flex; align-items: center; gap: 10px; }
.f-logo-img { width: 30px; height: 30px; object-fit: contain; }
.f-logo-text {
  font-family: var(--font-brutal);
  font-size: 1.6rem;
  letter-spacing: 5px;
  color: var(--red-bright);
}
.f-tagline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.f-socials { display: flex; gap: 10px; }
.f-social {
  width: 36px; height: 36px;
  border: 1px solid var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.2s;
}
.f-social:hover { border-color: var(--red); color: var(--red-bright); background: rgba(196,18,48,0.06); }

.footer-cols { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.f-col-title {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  color: var(--red);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
}
.footer-col a {
  font-size: 0.8rem;
  color: var(--dim);
  transition: color 0.2s;
  font-family: var(--font-cond);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 1px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 56px; }
  .hero-content { align-items: center; }
  .hero-desc { border-left: none; padding-left: 0; border-top: 2px solid rgba(196,18,48,0.3); padding-top: 20px; text-align: left; }
  .hero-verdict { justify-content: center; }
  .hero-actions { justify-content: center; }
  .eyebrow-line { display: none; }

  .engine-grid { grid-template-columns: 1fr; }
  .engine-card { border-right: none; border-bottom: 1px solid var(--muted); }
  .engine-card:last-child { border-bottom: none; }

  .token-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { flex-wrap: wrap; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(5,5,5,0.98);
    padding: 32px;
    border-bottom: 1px solid var(--muted);
    gap: 20px;
    align-items: center;
    z-index: 999;
  }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero-title { font-size: 3.5rem; }
  .hero-verdict { flex-direction: column; gap: 1px; }
  .verdict-block { border-right: 1px solid var(--muted); }

  .section-title { font-size: 2.5rem; }
  .m-line { font-size: 2rem; }
  .m-line.climax { font-size: 2.8rem; }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
