/* ============================================
   HoodPets — Robinhood Chain NFT Collection
   ============================================ */

:root {
  --rh-green: #00C805;
  --rh-green-dark: #00a004;
  --rh-green-glow: rgba(0, 200, 5, 0.35);
  --forest-900: #0a1a0f;
  --forest-800: #0f2418;
  --forest-700: #1a3525;
  --forest-600: #2d5a3d;
  --forest-500: #3d7a52;
  --mint: #a8e063;
  --cream: #f0ead6;
  --cream-dim: rgba(240, 234, 214, 0.7);
  --pink: #ff6b9d;
  --gold: #ffd700;
  --text: #e8f5e9;
  --text-muted: rgba(232, 245, 233, 0.6);
  --border: rgba(0, 200, 5, 0.15);
  --border-hover: rgba(0, 200, 5, 0.4);
  --pixel-font: 'Press Start 2P', monospace;
  --body-font: 'Space Grotesk', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--body-font);
  background: var(--forest-900);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--rh-green);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--mint);
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.accent { color: var(--rh-green); }
.accent-text { color: var(--mint); }

/* Noise overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rh-green-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .cursor-glow { opacity: 1; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--rh-green);
  color: var(--forest-900);
  border-color: var(--rh-green);
  box-shadow: 0 0 20px var(--rh-green-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover:not(:disabled) {
  background: var(--mint);
  border-color: var(--mint);
  transform: translateY(-2px);
  box-shadow: 0 4px 30px var(--rh-green-glow);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--rh-green);
  color: var(--rh-green);
  background: rgba(0, 200, 5, 0.08);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(10, 26, 15, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pixel-font);
  font-size: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.logo-leaf { font-size: 1.2rem; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--rh-green); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: blur(2px);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--forest-900) 0%,
    rgba(10, 26, 15, 0.7) 40%,
    rgba(10, 26, 15, 0.85) 70%,
    var(--forest-900) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 200, 5, 0.1);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rh-green);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--rh-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--pixel-font);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  line-height: 1.5;
  margin-bottom: 24px;
}

.title-line { display: block; }

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
}

.stat-num {
  display: block;
  font-family: var(--pixel-font);
  font-size: 1.4rem;
  color: var(--rh-green);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-partners {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.partners-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.partner-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.partner-badge {
  padding: 4px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.pet-device {
  position: relative;
}

.device-frame {
  background: linear-gradient(145deg, var(--forest-700), var(--forest-800));
  border: 3px solid var(--forest-600);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow), 0 0 60px var(--rh-green-glow);
  image-rendering: pixelated;
}

.device-screen {
  background: #4a9c5d;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 2px solid #2d6a3e;
}

.pet-ui-scene {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.pet-ui-base {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  animation: petIdle 3s ease-in-out infinite;
}

@keyframes petIdle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.pet-ui-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ui-sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  opacity: 0;
  animation: sparkle 2s infinite;
}

.ui-sparkle.s1 { top: 20%; left: 15%; animation-delay: 0s; }
.ui-sparkle.s2 { top: 30%; right: 20%; animation-delay: 0.5s; }
.ui-sparkle.s3 { bottom: 40%; left: 25%; animation-delay: 1s; }
.ui-sparkle.s4 { top: 50%; right: 30%; animation-delay: 1.5s; }

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

.ui-bubble {
  position: absolute;
  padding: 4px 10px;
  background: white;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  animation: floatBubble 4s ease-in-out infinite;
}

.bubble-heart {
  top: 25%;
  left: 8%;
  color: var(--pink);
  animation-delay: 0s;
}

.bubble-zzz {
  top: 20%;
  right: 12%;
  background: #333;
  color: #aaa;
  animation-delay: 2s;
}

@keyframes floatBubble {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(-8px); opacity: 1; }
}

.ui-pet-bounce {
  position: absolute;
  bottom: 35%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 30%;
  background: radial-gradient(ellipse, rgba(0,200,5,0.15) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.1); }
}

.device-controls {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  background: var(--forest-800);
}

.ctrl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ctrl-dot.red { background: #ff5f57; }
.ctrl-dot.yellow { background: #febc2e; }
.ctrl-dot.green { background: var(--rh-green); }

.device-label {
  text-align: center;
  font-family: var(--pixel-font);
  font-size: 0.5rem;
  color: var(--mint);
  margin-top: 12px;
  letter-spacing: 0.1em;
}

.floating-pet {
  position: absolute;
  bottom: -20px;
  right: -30px;
  width: 120px;
  animation: floatPet 4s ease-in-out infinite;
}

.floating-pet-img {
  width: 100%;
  border-radius: 50%;
  border: 3px solid var(--rh-green);
  box-shadow: 0 0 30px var(--rh-green-glow);
  image-rendering: pixelated;
}

@keyframes floatPet {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

.video-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 0, 0, 0.85);
  border-radius: 6px;
  font-family: var(--pixel-font);
  font-size: 0.45rem;
  color: white;
  letter-spacing: 0.05em;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: bounceScroll 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

@keyframes bounceScroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== Sections ========== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--pixel-font);
  font-size: 0.55rem;
  color: var(--rh-green);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.section-title {
  font-family: var(--pixel-font);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  line-height: 1.6;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* About */
.about { background: var(--forest-800); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.about-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.about-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Mechanics */
.mechanics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mechanic-card {
  padding: 32px;
  background: linear-gradient(160deg, var(--forest-700), var(--forest-800));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.mechanic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rh-green), var(--mint));
  opacity: 0;
  transition: opacity var(--transition);
}

.mechanic-card:hover::before { opacity: 1; }
.mechanic-card:hover { transform: translateY(-4px); }

.mechanic-visual {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.growth-stages {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.8rem;
}

.stage-arrow {
  color: var(--rh-green);
  font-size: 1rem;
}

.quest-bar {
  width: 160px;
  height: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  overflow: hidden;
}

.quest-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--rh-green), var(--mint));
  animation: questProgress 3s ease-in-out infinite;
}

@keyframes questProgress {
  0% { width: 20%; }
  50% { width: 100%; }
  100% { width: 20%; }
}

.quest-label {
  display: block;
  margin-top: 8px;
  font-family: var(--pixel-font);
  font-size: 0.45rem;
  color: var(--rh-green);
}

.accessory-showcase {
  display: flex;
  gap: 12px;
  font-size: 1.6rem;
}

.accessory-showcase .acc {
  animation: accBounce 2s ease-in-out infinite;
}

.accessory-showcase .acc:nth-child(2) { animation-delay: 0.3s; }
.accessory-showcase .acc:nth-child(3) { animation-delay: 0.6s; }
.accessory-showcase .acc:nth-child(4) { animation-delay: 0.9s; }

@keyframes accBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.mechanic-num {
  font-family: var(--pixel-font);
  font-size: 0.6rem;
  color: var(--rh-green);
  opacity: 0.5;
  margin-bottom: 12px;
}

.mechanic-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.mechanic-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.mechanic-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mechanic-tags li {
  padding: 4px 10px;
  background: rgba(0, 200, 5, 0.1);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--mint);
}

/* Collection Gallery */
.collection { background: var(--forest-800); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
  image-rendering: pixelated;
  transition: transform 0.6s ease;
}

.gallery-main:hover img { transform: scale(1.03); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-weight: 600;
}

.gallery-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  flex: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100px;
  image-rendering: pixelated;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.7);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Chain Section */
.chain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.chain-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}

.spec {
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.spec-key {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.spec-val {
  font-weight: 600;
  color: var(--mint);
}

.chain-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chain-orbit {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--rh-green);
  box-shadow: 0 0 40px var(--rh-green-glow);
  z-index: 2;
}

.orbit-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed var(--border-hover);
  border-radius: 50%;
}

.ring-1 { width: 200px; height: 200px; animation: orbitSpin 20s linear infinite; }
.ring-2 { width: 280px; height: 280px; animation: orbitSpin 30s linear infinite reverse; }

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-item {
  position: absolute;
  font-size: 1.4rem;
  animation: orbitFloat 4s ease-in-out infinite;
}

.oi-1 { top: 10%; left: 50%; animation-delay: 0s; }
.oi-2 { top: 50%; right: 5%; animation-delay: 1s; }
.oi-3 { bottom: 10%; left: 50%; animation-delay: 2s; }
.oi-4 { top: 50%; left: 5%; animation-delay: 3s; }

@keyframes orbitFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Roadmap */
.roadmap { background: var(--forest-800); }

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--rh-green), var(--border));
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: 40px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--forest-800);
  border: 3px solid var(--border-hover);
  border-radius: 50%;
  transition: all var(--transition);
}

.timeline-item.active .timeline-marker {
  background: var(--rh-green);
  border-color: var(--rh-green);
  box-shadow: 0 0 16px var(--rh-green-glow);
}

.timeline-phase {
  font-family: var(--pixel-font);
  font-size: 0.5rem;
  color: var(--rh-green);
  letter-spacing: 0.05em;
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin: 8px 0;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* FAQ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--border-hover);
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--rh-green);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover { color: var(--rh-green); }

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* CTA */
.cta-section { padding: 60px 0 100px; }

.cta-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 48px;
  background: linear-gradient(135deg, var(--forest-700), var(--forest-800));
  border: 2px solid var(--border-hover);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, var(--rh-green-glow), transparent 60%);
  pointer-events: none;
}

.cta-pet {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid var(--rh-green);
  object-fit: cover;
  image-rendering: pixelated;
  flex-shrink: 0;
  animation: floatPet 4s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--pixel-font);
  font-size: clamp(0.8rem, 2vw, 1rem);
  line-height: 1.6;
  margin-bottom: 12px;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: var(--forest-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

.footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--rh-green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== Modals ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--forest-800);
  border: 2px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}

.modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}

.modal-icon {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 16px;
}

.modal h2 {
  font-family: var(--pixel-font);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 12px;
}

.modal-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.tweet-preview {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}

.tweet-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.tweet-avatar {
  width: 36px;
  height: 36px;
  background: var(--forest-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.tweet-header strong {
  display: block;
  font-size: 0.9rem;
}

.tweet-header span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tweet-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.gate-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(0, 200, 5, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.88rem;
  margin-bottom: 20px;
  transition: border-color var(--transition);
}

.gate-checkbox:hover { border-color: var(--border-hover); }

.gate-checkbox input { display: none; }

.checkmark {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-hover);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.gate-checkbox input:checked + .checkmark {
  background: var(--rh-green);
  border-color: var(--rh-green);
}

.gate-checkbox input:checked + .checkmark::after {
  content: '✓';
  color: var(--forest-900);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Wallet Form */
.wallet-form .form-group {
  margin-bottom: 20px;
}

.wallet-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.wallet-form input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.wallet-form input:focus {
  outline: none;
  border-color: var(--rh-green);
  box-shadow: 0 0 0 3px var(--rh-green-glow);
}

.wallet-form input::placeholder { color: rgba(232,245,233,0.3); }

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.wallet-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--rh-green);
  color: var(--forest-900);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px;
  animation: successPop 0.5s ease;
}

@keyframes successPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.wallet-success h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.wallet-success p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-partners { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .about-grid, .mechanics-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .chain-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--forest-800);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
  }

  .nav-links.open { right: 0; }

  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero-stats { gap: 24px; }
  .stat-num { font-size: 1rem; }

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .modal { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .chain-specs { grid-template-columns: 1fr; }
}
