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

:root {
  /* Ethereum Electric Blue Palette */
  --eth-blue: #2563eb;
  --eth-blue-dark: #1d4ed8;
  --eth-blue-bright: #3b82f6;
  --eth-blue-deep: #1e40af;
  --eth-cyan: #38bdf8;
  --eth-glow: rgba(59, 130, 246, 0.45);
  --eth-glow-cyan: rgba(56, 189, 248, 0.5);
  
  --ink: #0d121d;
  --paper: #f4f6fb;
  --purple: #c4a5ed;
  --purple-dark: #7751a1;
  --line: 2px solid var(--ink);
  --line-thick: 3px solid var(--ink);
  
  --eye-x: 0px;
  --eye-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  cursor: pointer;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible {
  outline: 3px solid var(--eth-cyan);
  outline-offset: 4px;
}

.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
  height: 92px;
  padding: 0 4.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--line);
  background: var(--eth-blue);
  color: var(--paper);
  position: relative;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(13, 18, 29, 0.1);
}

.brand {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 34px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover {
  transform: scale(1.04);
}

.brand svg {
  width: 40px;
  height: 44px;
  color: var(--paper);
  filter: drop-shadow(2px 3px 0 var(--ink));
}

.brand span {
  font-family: sans-serif;
  font-size: 12px;
  align-self: flex-start;
  margin-top: 10px;
  opacity: 0.85;
}

nav {
  display: flex;
  gap: 34px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 500;
}

nav a {
  position: relative;
  transition: color 0.2s;
  padding: 6px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--paper);
  transition: width 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Header Social Actions */
.header-social {
  display: flex;
  align-items: center;
  position: relative;
}

.social-x-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--paper);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  animation: xIdleWiggle 6s ease-in-out infinite;
}

.social-x-btn:hover {
  transform: scale(1.18) rotate(360deg);
  background: #000000;
  border-color: #fde047;
  box-shadow: 5px 5px 0 #fde047;
  color: #ffffff;
}

.social-x-btn:active {
  transform: scale(0.9) rotate(360deg);
}

.x-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.social-x-btn:hover .x-icon {
  transform: scale(1.15);
  color: #fde047;
}

/* Cute Peeking Ghost on top of X */
.x-ghost-peeker {
  position: absolute;
  top: -12px;
  right: -8px;
  font-size: 18px;
  pointer-events: none;
  animation: ghostPeeker 3.5s ease-in-out infinite;
  transform-origin: bottom center;
  z-index: 2;
  filter: drop-shadow(1px 2px 0 rgba(0, 0, 0, 0.3));
}

/* Funny Speech Tooltip */
.x-speech-bubble {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fde047;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 4px 10px;
  border-radius: 6px;
  font: 800 10px 'DM Mono', monospace;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-6px) scale(0.85);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 3px 3px 0 var(--ink);
  z-index: 100;
}

.x-speech-bubble::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 14px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid var(--ink);
}

.social-x-btn:hover .x-speech-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes xIdleWiggle {
  0%, 88%, 100% {
    transform: rotate(0deg) scale(1);
  }
  90% {
    transform: rotate(-12deg) scale(1.08);
  }
  93% {
    transform: rotate(12deg) scale(1.08);
  }
  96% {
    transform: rotate(-6deg) scale(1.04);
  }
}

@keyframes ghostPeeker {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-6px) rotate(14deg) scale(1.2);
  }
  50% {
    transform: translateY(2px) rotate(-8deg) scale(0.9);
  }
  75% {
    transform: translateY(-4px) rotate(10deg) scale(1.15);
  }
}

/* ==========================================================================
   HERO SECTION (BODY PERTAMA) - DYNAMIC MEME AESTHETIC & ANIMATIONS
   ========================================================================== */
.hero {
  background: linear-gradient(175deg, var(--eth-blue) 0%, #1e4fd9 45%, #183bb5 100%);
  color: var(--paper);
  padding: 24px 4.5% 0;
  overflow: hidden;
  position: relative;
  border-bottom: 0;
}

/* Ambient Ethereal Background with Floating Glyphs */
.ethereal-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-plasma-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(37, 99, 235, 0.15) 50%, transparent 75%);
  top: 50%;
  right: 15%;
  transform: translate(50%, -50%);
  filter: blur(40px);
  animation: plasmaBreathe 8s ease-in-out infinite alternate;
}

/* Hero Top Bar */
.hero-top, .hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 11px 'DM Mono', monospace;
  letter-spacing: 1px;
  position: relative;
  z-index: 10;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 18, 29, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 10px;
  color: var(--paper);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.live-indicator {
  width: 7px;
  height: 7px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 10px #38bdf8;
  animation: liveBlink 1.4s ease-in-out infinite alternate;
}

/* Hero Grid Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  max-width: 1440px;
  margin: auto;
  min-height: 660px;
  align-items: center;
  position: relative;
  z-index: 5;
  padding: 20px 0;
}

.hero-copy {
  z-index: 10;
  position: relative;
}

.eyebrow {
  font: 12px 'DM Mono', monospace;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  letter-spacing: 1px;
  color: var(--eth-cyan);
}

.spark {
  font-size: 28px;
  line-height: 1;
  animation: sparkSpin 6s linear infinite;
  display: inline-block;
  color: #fde047;
}

h1, h2, h3 {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-weight: 900;
  margin: 0;
  line-height: 0.9;
  letter-spacing: -1.8px;
}

h1 {
  font-size: clamp(80px, 8.8vw, 138px);
  position: relative;
  z-index: 1;
  text-shadow: 4px 4px 0 var(--ink);
}

.hero-ghost-title {
  -webkit-text-stroke: 3px var(--ink);
  color: #ffffff;
  display: inline-block;
  text-shadow: 
    4px 4px 0 var(--ink),
    0 0 25px rgba(56, 189, 248, 0.7);
  animation: titleGlow 4s ease-in-out infinite alternate;
}

.hero-copy > p {
  font-size: 18px;
  margin: 24px 0 32px;
  max-width: 490px;
  line-height: 1.6;
  color: rgba(244, 246, 251, 0.92);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* Hero Action Group */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 18px 26px;
  border: var(--line-thick);
  font: 12px 'DM Mono', monospace;
  font-weight: 500;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s;
  box-shadow: 4px 4px 0 var(--ink);
}

.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--ink);
}

.button:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button span {
  font-size: 20px;
}

.dark {
  background: var(--ink);
  color: var(--paper);
}

.dark:hover {
  box-shadow: 7px 7px 0 var(--purple);
}

/* Interactive Poke Button */
.poke-button {
  background: #fde047;
  color: var(--ink);
  border: var(--line-thick);
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
  gap: 12px;
}

.poke-button:hover {
  background: #facc15;
  box-shadow: 7px 7px 0 var(--ink);
}

.poke-tag {
  background: var(--ink);
  color: #fde047;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.5px;
  animation: tagBounce 1.5s ease-in-out infinite alternate;
}

/* Sound Pill Toggle */
.sound-pill {
  background: rgba(13, 18, 29, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--paper);
  padding: 14px 18px;
  border-radius: 30px;
  font: 11px 'DM Mono', monospace;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}

.sound-pill:hover {
  background: var(--ink);
  border-color: var(--eth-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Hero Meta Strip */
.hero-meta-strip {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.hero-note {
  font: 11px 'DM Mono', monospace;
  color: rgba(244, 246, 251, 0.85);
}

.hero-note span {
  font-size: 18px;
  margin-right: 6px;
  color: var(--eth-cyan);
}

/* Live Haunt Power Counter */
.haunt-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 18, 29, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'DM Mono', monospace;
  backdrop-filter: blur(6px);
  transition: transform 0.15s, background 0.2s;
  user-select: none;
}

.haunt-counter.pulse-pop {
  transform: scale(1.1);
  background: var(--ink);
  border-color: #fde047;
}

.haunt-label {
  font-size: 9px;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

.haunt-number {
  font-size: 15px;
  font-weight: 700;
  color: #fde047;
}

.haunt-unit {
  font-size: 9px;
  color: var(--eth-cyan);
}

/* ==========================================================================
   MASCOT STAGE ("HAUNTING") - MEME GHOST ANIMATIONS & EFFECTS
   ========================================================================== */
.haunting {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ethereal Pulsing Aura behind Ghost */
.ghost-aura {
  position: absolute;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, rgba(37, 99, 235, 0.25) 50%, transparent 72%);
  border-radius: 50%;
  pointer-events: none;
  animation: auraPulse 4.5s ease-in-out infinite alternate;
  z-index: 1;
}

/* Rotating Celestial Orbits */
.orbit {
  position: absolute;
  border: 1.5px dashed rgba(244, 246, 251, 0.35);
  border-radius: 50%;
  width: 96%;
  height: 75%;
  pointer-events: none;
  animation: orbitSpin 32s linear infinite;
  z-index: 1;
}

.orbit-two {
  width: 72%;
  height: 98%;
  border-style: dotted;
  border-color: rgba(196, 165, 237, 0.45);
  animation: orbitSpinReverse 25s linear infinite;
}

/* Floating Stars */
.star {
  position: absolute;
  user-select: none;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(2px 2px 0 var(--ink));
}

.star-one {
  left: 10px;
  top: 35px;
  font-size: 70px;
  color: #fde047;
  animation: starWobble 5s ease-in-out infinite alternate;
}

.star-two {
  right: -5px;
  bottom: 100px;
  font-size: 75px;
  color: var(--purple);
  animation: starWobble 6s ease-in-out infinite alternate-reverse;
}

.star-three {
  left: 30px;
  bottom: 70px;
  font-size: 32px;
  color: var(--eth-cyan);
  animation: starFloat 7s ease-in-out infinite;
}

/* 3D Floating Ethereum Crystal Badge */
.eth-crystal-badge {
  position: absolute;
  top: 15px;
  left: 35px;
  background: var(--ink);
  color: var(--paper);
  border: var(--line);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--eth-cyan);
  z-index: 4;
  transform: rotate(-10deg);
  animation: ethBadgeFloat 4.8s ease-in-out infinite alternate;
  font: 800 12px 'DM Mono', monospace;
  user-select: none;
}

.eth-crystal-gem {
  font-size: 18px;
  color: var(--eth-cyan);
  animation: gemSpin 3s ease-in-out infinite alternate;
}

/* Dynamic Speech Bubble */
.bubble {
  position: absolute;
  right: -10px;
  top: 25px;
  background: var(--paper);
  color: var(--ink);
  border: var(--line-thick);
  border-radius: 40px;
  font: 900 30px / 0.85 'Barlow Condensed', Impact, sans-serif;
  text-align: center;
  padding: 22px 28px;
  transform: rotate(11deg);
  z-index: 5;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  min-width: 170px;
}

.bubble:hover {
  transform: rotate(6deg) scale(1.08);
}

.bubble-text {
  display: inline-block;
  letter-spacing: -0.5px;
}

.bubble small {
  font: 11px 'DM Mono', monospace;
  font-weight: 500;
  display: block;
  margin-top: 6px;
  color: #4b5563;
}

/* Mascot Ghost Button & Hover/Boop Effects */
.mascot-button {
  background: none;
  border: 0;
  padding: 0;
  width: 92%;
  z-index: 3;
  transform: rotate(-8deg);
  animation: ghostHover 5.2s ease-in-out infinite;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.ghost-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mascot-button:hover .ghost-wrapper {
  transform: scale(1.04) rotate(4deg);
}

.hero-ghost {
  display: block;
  width: 100%;
  aspect-ratio: 440 / 460;
  height: auto;
  color: var(--paper);
  filter: drop-shadow(10px 18px 0 rgba(13, 18, 29, 0.45));
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Cursor-Following Pupil Eyes */
.eyes {
  transform: translate(var(--eye-x, 0px), var(--eye-y, 0px));
  transition: transform 0.12s ease-out;
}

/* Ghost Reaction Meme Sweat */
.ghost-sweat {
  position: absolute;
  top: 18%;
  right: 24%;
  font-size: 32px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s;
  pointer-events: none;
  z-index: 6;
}

.ghost-sweat.show {
  opacity: 1;
  transform: scale(1.2) translateY(-10px);
}

/* Mascot Boop Bounce Animation */
.boop .ghost-wrapper {
  animation: ghostSquishBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Shadow beneath Ghost */
.shadow {
  position: absolute;
  width: 55%;
  height: 28px;
  background: rgba(13, 18, 29, 0.38);
  filter: blur(8px);
  border-radius: 50%;
  bottom: 50px;
  z-index: 2;
  animation: shadowPulse 5.2s ease-in-out infinite;
}

/* Floating Meme Stickers */
.sticker {
  position: absolute;
  border: var(--line-thick);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  z-index: 4;
  box-shadow: 5px 5px 0 var(--ink);
  user-select: none;
  transition: transform 0.2s;
}

.sticker:hover {
  transform: scale(1.15) rotate(0deg) !important;
}

.sticker-undead {
  left: -12px;
  bottom: 85px;
  background: var(--purple);
  width: 105px;
  height: 105px;
  transform: rotate(-15deg);
  font: 800 27px / 0.95 'Barlow Condensed', Impact, sans-serif;
  color: var(--ink);
  animation: stickerWiggle1 4.2s ease-in-out infinite alternate;
}

.sticker-gas {
  right: -5px;
  bottom: 120px;
  background: #fde047;
  width: 95px;
  height: 95px;
  transform: rotate(14deg);
  font: 800 20px / 1.05 'Barlow Condensed', Impact, sans-serif;
  color: var(--ink);
  animation: stickerWiggle2 4.6s ease-in-out infinite alternate;
}

/* Click Burst Particle Stage */
.particle-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 10;
}

.burst-particle {
  position: absolute;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-weight: 900;
  pointer-events: none;
  animation: burstFly 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  will-change: transform, opacity;
  text-shadow: 2px 2px 0 var(--ink);
}

/* Hero Bottom Bar */
.hero-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(244, 246, 251, 0.25);
  margin-top: 16px;
  color: rgba(244, 246, 251, 0.9);
}

.hero-bottom b {
  margin-left: 10px;
  color: #ffffff;
}

.gas-tracker {
  color: var(--eth-cyan);
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
/* ==========================================================================
   UNIQUE GHOST HEM SECTION SEAMS / DIVIDERS
   ========================================================================== */
.section-seam {
  position: relative;
  width: 100%;
  height: 42px;
  overflow: visible;
  z-index: 15;
  display: block;
  margin-top: -1px;
  margin-bottom: -1px;
}

.section-seam svg {
  display: block;
  width: 100%;
  height: 100%;
}

.seam-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.seam-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--paper);
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-size: 15px;
  box-shadow: 2px 3px 0 var(--ink);
  z-index: 20;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s;
  user-select: none;
}

.seam-badge:hover {
  transform: translate(-50%, -50%) scale(1.3) rotate(15deg);
  background: #fde047;
  color: var(--ink);
  border-color: var(--ink);
}

.seam-blue-to-dark {
  background: var(--ink);
}
.seam-blue-to-dark .seam-path {
  fill: var(--eth-blue);
}

.seam-paper-to-dark {
  background: var(--ink);
}
.seam-paper-to-dark .seam-path {
  fill: var(--paper);
}

.seam-dark-to-paper {
  background: var(--paper);
}
.seam-dark-to-paper .seam-path {
  fill: var(--ink);
}

.seam-paper-to-purple {
  background: var(--purple);
}
.seam-paper-to-purple .seam-path {
  fill: var(--paper);
}

.seam-purple-to-blue {
  background: var(--eth-blue);
}
.seam-purple-to-blue .seam-path {
  fill: var(--purple);
}

.seam-blue-to-paper {
  background: var(--paper);
}
.seam-blue-to-paper .seam-path {
  fill: var(--eth-blue);
}

.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 16px 0;
  border-bottom: 0;
}

.marquee > div {
  white-space: nowrap;
  font: 700 28px 'Barlow Condensed', Impact, sans-serif;
  letter-spacing: 1px;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee span {
  color: var(--eth-cyan);
  margin: 0 30px;
}

/* ==========================================================================
   THE LORE SECTION
   ========================================================================== */
.section {
  padding: 95px 6%;
}

.section-label {
  font: 11px 'DM Mono', monospace;
  letter-spacing: 1px;
  margin-bottom: 42px;
  color: #6b7280;
}

.lore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  align-items: center;
}

.comic {
  min-height: 470px;
  background: var(--purple);
  border: var(--line);
  position: relative;
  transform: rotate(-3deg);
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
  background-image: radial-gradient(rgba(13, 18, 29, 0.18) 1px, transparent 1px);
  background-size: 7px 7px;
  transition: transform 0.25s;
}

.comic:hover {
  transform: rotate(-1deg) scale(1.01);
}

.comic-top {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 20px;
  font: 12px 'DM Mono', monospace;
}

.comic > svg {
  position: absolute;
  width: 75%;
  height: 350px;
  left: -7%;
  bottom: 20px;
  color: var(--paper);
  transform: rotate(8deg);
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.15));
}

.comic-speech {
  position: absolute;
  left: 26px;
  top: 65px;
  background: var(--paper);
  padding: 17px 25px;
  border: var(--line);
  border-radius: 50%;
  font: 700 22px / 0.95 'Barlow Condensed', Impact, sans-serif;
  z-index: 2;
  box-shadow: 4px 4px 0 var(--ink);
}

.receipt {
  position: absolute;
  right: 15px;
  top: 150px;
  padding: 20px 14px;
  background: var(--paper);
  font: 10px / 1.9 'DM Mono', monospace;
  transform: rotate(12deg);
  box-shadow: 4px 4px 0 rgba(13, 18, 29, 0.25);
  border: 1px solid var(--ink);
}

.comic-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--eth-blue);
  color: var(--paper);
  border-top: var(--line);
  padding: 14px;
  width: 100%;
  font: 12px 'DM Mono', monospace;
  font-weight: 500;
}

.lore h2 {
  font-size: clamp(38px, 4.3vw, 66px);
}

.lore h2 em {
  font-style: normal;
  color: var(--eth-blue);
}

.lore-copy > p {
  font-size: 15px;
  max-width: 480px;
  line-height: 1.7;
}

.scribble {
  margin-top: 24px;
  border-top: var(--line);
  padding-top: 20px;
  font-size: 17px;
  font-weight: 700;
}

.scribble span {
  display: block;
  font: 10px 'DM Mono', monospace;
  margin-top: 9px;
  color: #6b7280;
}

/* ==========================================================================
   MANIFESTO SECTION
   ========================================================================== */
.manifesto {
  background: var(--ink);
  color: var(--paper);
  padding: 85px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 0;
  border-bottom: 0;
}

.manifesto > span {
  font: 11px 'DM Mono', monospace;
  letter-spacing: 1.5px;
  color: var(--eth-cyan);
}

.manifesto h2 {
  font-size: clamp(54px, 7.8vw, 110px);
  margin: 30px 0;
}

.manifesto h2 span {
  color: var(--eth-cyan);
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.manifesto p {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto;
}

.manifesto a {
  font: 12px 'DM Mono', monospace;
  display: inline-block;
  border-bottom: 2px solid var(--eth-cyan);
  padding: 16px 0;
  color: var(--eth-cyan);
  margin-top: 20px;
  transition: color 0.2s;
}

.manifesto a:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

/* ==========================================================================
   ROADMAP / HAUNTMAP SECTION
   ========================================================================== */
.roadmap-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 45px;
}

.roadmap h2 {
  font-size: clamp(50px, 6vw, 88px);
}

.roadmap h2 > span {
  color: var(--eth-blue);
  margin-left: 20px;
}

.roadmap-heading p {
  font: 11px / 1.8 'DM Mono', monospace;
}

.chapters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--line);
  background: var(--paper);
}

.chapter {
  padding: 26px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  border-right: var(--line);
  transition: background 0.25s, transform 0.2s;
}

.chapter:last-child {
  border-right: 0;
}

.chapter:first-child {
  background: var(--eth-blue);
  color: var(--paper);
}

.chapter:hover {
  background: var(--purple);
  color: var(--ink);
}

.chapter-number {
  font: 900 64px 'Barlow Condensed', Impact, sans-serif;
  opacity: 0.3;
  line-height: 1;
}

.phase {
  font: 9px / 1.5 'DM Mono', monospace;
  margin: 15px 0;
  letter-spacing: 0.5px;
}

.chapter h3 {
  font-size: 44px;
  letter-spacing: -0.5px;
}

.chapter p {
  font-size: 12px;
  min-height: 90px;
  line-height: 1.6;
}

.chapter ul {
  list-style: none;
  padding: 0;
  font: 10px / 1.7 'DM Mono', monospace;
  margin: 0 0 25px;
}

.chapter li {
  margin-bottom: 8px;
}

.chapter li:before {
  content: '↳ ';
  color: inherit;
}

.chapter-tag {
  font: 9px 'DM Mono', monospace;
  border-top: 1px solid currentColor;
  padding-top: 17px;
  margin-top: auto;
  font-weight: 700;
}

.roadmap-note {
  font: 11px 'DM Mono', monospace;
  margin-top: 24px;
  color: #64748b;
}

/* ==========================================================================
   CONTRACT SECTION
   ========================================================================== */
.contract {
  background: var(--purple);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: center;
  border-top: 0;
  border-bottom: 0;
}

.contract .section-label {
  font-size: 10px;
  margin-bottom: 28px;
  color: var(--ink);
}

.contract h2 {
  font-size: clamp(42px, 4.7vw, 68px);
}

.contract h2 > span {
  color: var(--paper);
  text-shadow: 2px 2px 0 var(--ink);
}

.contract-copy p {
  font-size: 14px;
  max-width: 400px;
}

.contract-card {
  background: var(--paper);
  border: var(--line);
  box-shadow: 9px 9px 0 var(--ink);
  padding: 28px;
  transform: rotate(2deg);
  transition: transform 0.25s;
}

.contract-card:hover {
  transform: rotate(0deg) scale(1.01);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 10px 'DM Mono', monospace;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 22px;
}

.pending {
  font-size: 9px;
  border: 1px solid var(--ink);
  padding: 6px 10px;
  background: #fde047;
  font-weight: 700;
}

.small-label {
  display: block;
  font: 9px 'DM Mono', monospace;
  margin-top: 30px;
  color: #64748b;
}

.ca {
  font: 800 clamp(35px, 3.7vw, 56px) 'Barlow Condensed', Impact, sans-serif;
  margin: 8px 0 25px;
  letter-spacing: -0.5px;
}

.copy {
  width: 100%;
  background: var(--eth-blue);
  color: var(--paper);
  padding: 16px;
  font-size: 11px;
  font-weight: 700;
}

.copy:hover {
  background: var(--eth-blue-dark);
  box-shadow: 6px 6px 0 var(--ink);
}

.contract-card p {
  font: 10px / 1.6 'DM Mono', monospace;
  margin-top: 14px;
  color: #475569;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed rgba(13, 18, 29, 0.4);
  margin-top: 26px;
  padding-top: 18px;
  font: 9px 'DM Mono', monospace;
}

/* ==========================================================================
   LAST CALL SECTION
   ========================================================================== */
.last-call {
  background: var(--eth-blue);
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 60px 6%;
  border-bottom: 0;
}

.last-call svg {
  width: 115px;
  height: 135px;
  color: var(--paper);
  transform: rotate(-12deg);
  filter: drop-shadow(4px 4px 0 var(--ink));
}

.last-call h2 {
  font-size: 56px;
  margin: 10px 0;
}

.last-call div > span {
  font: 10px 'DM Mono', monospace;
  color: var(--eth-cyan);
}

.last-call p {
  font-size: 13px;
  margin: 0;
  color: rgba(244, 246, 251, 0.85);
}

.last-call .button {
  margin-left: auto;
  font-size: 11px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 5px 5px 0 var(--eth-cyan);
}

.last-call .button:hover {
  box-shadow: 7px 7px 0 #ffffff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 38px 6%;
  gap: 25px;
  background: var(--paper);
}

footer p, footer > span {
  font: 10px / 1.8 'DM Mono', monospace;
  color: #475569;
}

footer > span {
  text-align: right;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--eth-cyan);
  padding: 16px 26px;
  font: 12px / 1.5 'DM Mono', monospace;
  z-index: 100;
  transition: opacity 0.2s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 90%;
  width: max-content;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-radius: 8px;
}

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

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes ghostHover {
  0%, 100% {
    transform: translateY(0px) rotate(-8deg);
  }
  50% {
    transform: translateY(-20px) rotate(-4deg);
  }
}

@keyframes shadowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.38;
  }
  50% {
    transform: scale(0.85);
    opacity: 0.22;
  }
}

@keyframes auraPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
  }
}

@keyframes plasmaBreathe {
  0% {
    transform: translate(50%, -50%) scale(0.9);
    opacity: 0.3;
  }
  100% {
    transform: translate(45%, -55%) scale(1.15);
    opacity: 0.55;
  }
}

@keyframes ghostSquishBounce {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.16, 0.84) rotate(-8deg); }
  50% { transform: scale(0.92, 1.14) rotate(6deg); }
  75% { transform: scale(1.05, 0.96) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes starWobble {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(18deg) scale(1.15); }
}

@keyframes starFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(180deg); }
}

@keyframes ethBadgeFloat {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-8px); }
}

@keyframes gemSpin {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); color: #ffffff; }
}

@keyframes stickerWiggle1 {
  0%, 100% { transform: rotate(-15deg) translateY(0); }
  50% { transform: rotate(-10deg) translateY(-7px) scale(1.05); }
}

@keyframes stickerWiggle2 {
  0%, 100% { transform: rotate(14deg) translateY(0); }
  50% { transform: rotate(18deg) translateY(-6px) scale(1.04); }
}

@keyframes floatRune {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-24px) rotate(15deg); }
}

@keyframes sparkSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes titleGlow {
  0% {
    text-shadow: 4px 4px 0 var(--ink), 0 0 15px rgba(56, 189, 248, 0.5);
  }
  100% {
    text-shadow: 4px 4px 0 var(--ink), 0 0 35px rgba(56, 189, 248, 0.9), 0 0 50px rgba(37, 99, 235, 0.7);
  }
}

@keyframes tagBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); background: #ffffff; color: var(--ink); }
}

@keyframes liveBlink {
  0% { opacity: 0.4; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1.2); }
}

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

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes burstFly {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.6) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx, 0px), var(--ty, -80px)) scale(1.3) rotate(var(--tr, 20deg));
  }
}

.blink {
  animation: blink 1s steps(2) infinite;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (min-width: 1600px) {
  .section {
    padding-left: max(6%, calc((100vw - 1400px) / 2));
    padding-right: max(6%, calc((100vw - 1400px) / 2));
  }
}

@media (max-width: 1000px) {
  header {
    height: 80px;
  }
  nav {
    gap: 18px;
    font-size: 11px;
  }
  .hero-grid {
    min-height: 580px;
  }
  .haunting {
    min-height: 480px;
  }
  h1 {
    font-size: 10.5vw;
  }
  .bubble {
    right: 0;
    top: 20px;
    font-size: 26px;
    padding: 18px 22px;
  }
  .sticker {
    width: 82px;
    height: 82px;
    font-size: 21px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .chapters {
    grid-template-columns: repeat(2, 1fr);
  }
  .chapter:nth-child(2) {
    border-right: 0;
  }
  .chapter:nth-child(-n+2) {
    border-bottom: var(--line);
  }
  .chapter p {
    min-height: 0;
  }
  .lore-grid {
    gap: 6%;
  }
  .receipt {
    font-size: 8px;
    right: 10px;
  }
  .comic {
    min-height: 430px;
  }
  .last-call h2 {
    font-size: 40px;
  }
  .last-call svg {
    width: 85px;
  }
  .last-call .button {
    padding: 16px;
    gap: 12px;
  }
  .contract {
    gap: 5%;
  }
  .contract-card {
    padding: 20px;
  }
}

@media (max-width: 680px) {
  header {
    height: 72px;
    padding: 0 5%;
  }
  .brand {
    font-size: 28px;
  }
  .brand svg {
    width: 32px;
    height: 36px;
  }
  nav a:first-child {
    display: none;
  }
  nav {
    font-size: 10px;
    gap: 15px;
  }
  .social-x-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .x-icon {
    width: 17px;
    height: 17px;
  }
  .x-ghost-peeker {
    font-size: 15px;
    top: -10px;
    right: -6px;
  }
  .hero {
    padding: 18px 5% 0;
  }
  .hero-top {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .hero-top span:last-child {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
  }
  h1 {
    font-size: 20vw;
    line-height: 0.88;
  }
  .hero-copy {
    z-index: 6;
  }
  .hero-copy > p {
    margin: 18px 0;
    font-size: 15px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .button {
    padding: 14px 18px;
    font-size: 11px;
    gap: 10px;
  }
  .sound-pill {
    padding: 12px 14px;
    font-size: 10px;
  }
  .hero-meta-strip {
    gap: 14px;
    margin-top: 20px;
  }
  .haunting {
    min-height: 420px;
    margin-top: 15px;
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }
  .ghost-aura {
    width: 300px;
    height: 300px;
  }
  .mascot-button {
    width: 82%;
  }
  .bubble {
    right: 5px;
    top: 5px;
    font-size: 22px;
    padding: 14px 18px;
    min-width: 130px;
  }
  .eth-crystal-badge {
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    font-size: 10px;
  }
  .star-one {
    font-size: 50px;
    left: 5px;
    top: 5px;
  }
  .star-two {
    font-size: 55px;
    bottom: 60px;
    right: -5px;
  }
  .sticker-undead {
    width: 80px;
    height: 80px;
    font-size: 20px;
    bottom: 60px;
  }
  .sticker-gas {
    width: 72px;
    height: 72px;
    font-size: 16px;
    bottom: 80px;
  }
  .shadow {
    bottom: 35px;
  }
  .hero-bottom {
    font-size: 8px;
    letter-spacing: 0;
    padding: 16px 0;
    margin-top: 10px;
  }
  .gas-tracker {
    display: none;
  }
  .marquee > div {
    font-size: 22px;
  }
  .section {
    padding: 60px 6%;
  }
  .section-label {
    font-size: 9px;
    margin-bottom: 30px;
  }
  .lore-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .comic {
    min-height: 380px;
    margin: 0 5px;
  }
  .comic > svg {
    height: 290px;
  }
  .receipt {
    font-size: 9px;
  }
  .lore h2 {
    font-size: 46px;
  }
  .lore-copy > p {
    font-size: 14px;
  }
  .manifesto {
    padding: 60px 6%;
  }
  .manifesto > span {
    font-size: 9px;
  }
  .manifesto h2 {
    font-size: 54px;
  }
  .manifesto p {
    font-size: 13px;
  }
  .roadmap-heading {
    display: block;
  }
  .roadmap-heading h2 {
    font-size: 50px;
  }
  .roadmap-heading h2 span {
    margin-left: 10px;
  }
  .roadmap-heading p {
    margin-top: 16px;
  }
  .chapters {
    grid-template-columns: 1fr;
  }
  .chapter {
    border-right: 0;
    border-bottom: var(--line);
    padding: 24px;
  }
  .chapter:nth-child(3) {
    border-bottom: var(--line);
  }
  .chapter-number {
    position: absolute;
    right: 20px;
    top: 15px;
  }
  .chapter h3 {
    font-size: 46px;
  }
  .chapter p {
    max-width: 280px;
    font-size: 13px;
  }
  .chapter ul {
    font-size: 11px;
  }
  .chapter-tag {
    font-size: 9px;
  }
  .contract {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contract h2 {
    font-size: 46px;
  }
  .contract-card {
    margin: 0;
    padding: 20px;
  }
  .ca {
    font-size: 42px;
  }
  .last-call {
    flex-wrap: wrap;
    gap: 18px;
    padding: 40px 6%;
  }
  .last-call svg {
    width: 70px;
    height: 90px;
  }
  .last-call h2 {
    font-size: 38px;
  }
  .last-call div {
    flex: 1;
  }
  .last-call div > span {
    font-size: 8px;
  }
  .last-call p {
    font-size: 12px;
  }
  .last-call .button {
    margin: 0;
    width: 100%;
    justify-content: center;
  }
  footer {
    flex-wrap: wrap;
    padding: 30px 6%;
    gap: 15px;
  }
  footer p {
    width: 100%;
    order: 3;
  }
  footer > span {
    margin-left: auto;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
