﻿/* =============================================
   SUBVERSE ($SUBVER) — PREMIUM WEB3 STYLESHEET
   Robinhood Chain Ecosystem
   ============================================= */

/* ============ DESIGN TOKENS ============ */
:root {
  /* Primary: #C6F700 (aliases keep --purple* for legacy selectors) */
  --primary: #C6F700;
  --primary-light: #E0FF66;
  --primary-dark: #9BC200;
  --primary-ink: #0a0f00;
  --purple: #C6F700;
  --purple-light: #E0FF66;
  --purple-dark: #9BC200;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --green: #10b981;
  --orange: #f59e0b;
  --pink: #ec4899;
  --red: #ef4444;
  --bg: #030712;
  --bg-1: #0a0a1a;
  --bg-2: #0d0d24;
  --bg-3: #111130;
  --surface: rgba(255,255,255,0.03);
  --surface-hover: rgba(255,255,255,0.06);
  --border: rgba(198,247,0,0.15);
  --border-bright: rgba(198,247,0,0.35);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #475569;
  --gradient-primary: linear-gradient(135deg, #C6F700, #9BC200);
  --gradient-glow: linear-gradient(135deg, rgba(198,247,0,0.35), rgba(155,194,0,0.25));
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-ui: 'Space Grotesk', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-purple: 0 0 40px rgba(198,247,0,0.3);
  --shadow-primary: 0 0 40px rgba(198,247,0,0.3);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; }

/* ============ PARTICLE CANVAS ============ */
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--purple-dark); border-radius: 3px; }

/* ============ NAVIGATION ============ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(3,7,18,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(3,7,18,0.97);
  border-bottom-color: var(--border-bright);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { width: 36px; height: 36px; display: flex; align-items: center; }
.logo-icon svg { width: 100%; height: 100%; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 2px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.nav-link:hover { color: var(--text); background: var(--surface-hover); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.live-price-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-light);
  background: rgba(198,247,0,0.1);
  border: 1px solid rgba(198,247,0,0.2);
  padding: 6px 12px;
  border-radius: 20px;
}
.price-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(1.5); }
}
.wallet-balance-chip {
  display: none;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple-light);
  background: rgba(198,247,0, 0.12);
  border: 1px solid rgba(198,247,0, 0.28);
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wallet-balance-chip:not([hidden]) {
  display: inline-flex;
}
.wallet-btn-wrap {
  position: relative;
  flex-shrink: 0;
}
.btn-connect {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--gradient-primary);
  color: var(--primary-ink);
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(198,247,0,0.3);
  border: 1.5px solid transparent;
  max-width: 280px;
}
.btn-connect:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(198,247,0,0.55);
}
.btn-connect:disabled {
  opacity: 0.75;
  cursor: wait;
  transform: none;
}
.btn-connect.connected {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #4ade80;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.15);
}
.btn-connect.connected:hover {
  background: rgba(34, 197, 94, 0.18);
  box-shadow: 0 0 22px rgba(34, 197, 94, 0.25);
}
.wallet-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  flex-shrink: 0;
}
.wallet-addr {
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.wallet-chain-pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  white-space: nowrap;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wallet-chevron {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-left: 2px;
}
.wallet-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(10,15,0,0.25);
  border-top-color: var(--primary-ink);
  border-radius: 50%;
  animation: walletSpin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes walletSpin {
  to { transform: rotate(360deg); }
}
.wallet-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 280px;
  background: var(--bg-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 40px rgba(198,247,0,0.12);
  padding: 8px;
  z-index: 1100;
  animation: walletMenuIn 0.18s ease both;
}
.wallet-menu.open { display: block; }
@keyframes walletMenuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.wallet-menu-header {
  padding: 12px 14px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.wallet-menu-provider {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.wallet-menu-address {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text);
  word-break: break-all;
  line-height: 1.4;
  margin-bottom: 8px;
}
.wallet-menu-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.wallet-menu-chain {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(198,247,0,0.12);
  border: 1px solid rgba(198,247,0,0.25);
  color: var(--purple-light);
}
.wallet-menu-badge-ok {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  color: #86efac;
}
.wallet-menu-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(198,247,0,0.08);
  border: 1px solid rgba(198,247,0,0.18);
}
.wallet-bal-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wallet-bal-value {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.wallet-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  transition: var(--transition);
}
.wallet-menu-item:hover {
  background: var(--surface-hover);
}
.wallet-menu-item.danger {
  color: #f87171;
}
.wallet-menu-item.danger:hover {
  background: rgba(239,68,68,0.12);
}
.btn-icon { font-size: 1rem; }
.btn-connect.mobile.connected {
  background: rgba(34, 197, 94, 0.12);
  border: 1.5px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--purple-light);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  gap: 4px;
}
.mobile-menu a, .mobile-menu button {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 0.95rem;
}
.mobile-menu a:hover { color: var(--text); background: var(--surface-hover); }
.mobile-menu .btn-connect.mobile { margin-top: 8px; justify-content: center; }
.mobile-menu.open { display: flex; }

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--gradient-primary);
  color: var(--primary-ink);
  transition: var(--transition);
  box-shadow: 0 0 30px rgba(198,247,0,0.4);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(198,247,0,0.6); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
  color: var(--purple-light);
  border: 1.5px solid var(--border-bright);
  transition: var(--transition);
}
.btn-secondary:hover {
  background: rgba(198,247,0,0.1);
  border-color: var(--purple);
  transform: translateY(-2px);
}
.btn-secondary.full-width { width: 100%; justify-content: center; margin-top: 12px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--text); background: var(--surface-hover); }
.play-icon {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(198,247,0,0.2);
  border-radius: 50%;
  font-size: 0.7rem;
  color: var(--purple-light);
}

/* ============ SECTION BASE ============ */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-light);
  background: rgba(198,247,0,0.1);
  border: 1px solid rgba(198,247,0,0.25);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ HERO SECTION ============ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  padding: 100px 60px 60px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 48px;
}
.hero-bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(198,247,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198,247,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: rgba(198,247,0,0.12);
  animation: glowFloat 8s ease-in-out infinite;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  top: 50%; right: -100px;
  background: rgba(155,194,0,0.12);
  animation: glowFloat 10s ease-in-out infinite reverse;
}
.hero-glow-3 {
  width: 400px; height: 400px;
  bottom: -100px; left: 40%;
  background: rgba(224,255,102,0.08);
  animation: glowFloat 12s ease-in-out infinite;
}
@keyframes glowFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,30px) scale(0.95); }
}
.hero-content {
  flex: 1;
  max-width: 680px;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(198,247,0,0.08);
  border: 1px solid rgba(198,247,0,0.2);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseDot 2s infinite;
}
.badge-separator { color: var(--border-bright); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.title-line {
  display: block;
  animation: fadeInUp 0.7s ease both;
}
.title-line:nth-child(2) { animation-delay: 0.1s; }

/* Glitch effect */
.glitch-text { position: relative; }
.glitch-text::before, .glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glitch-text::before {
  animation: glitch1 4s infinite linear;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}
.glitch-text::after {
  animation: glitch2 4s infinite linear;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}
@keyframes glitch1 {
  0%,90%,100% { transform: translate(0); opacity: 0; }
  91% { transform: translate(-2px,1px); opacity: 0.7; }
  93% { transform: translate(2px,-1px); opacity: 0.7; }
  95% { transform: translate(0); opacity: 0; }
}
@keyframes glitch2 {
  0%,85%,100% { transform: translate(0); opacity: 0; }
  86% { transform: translate(2px,1px); opacity: 0.5; }
  88% { transform: translate(-1px,-1px); opacity: 0.5; }
  90% { transform: translate(0); opacity: 0; }
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 36px;
  animation: fadeInUp 0.7s 0.2s ease both;
}
.highlight {
  color: var(--purple-light);
  font-weight: 600;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.7s 0.3s ease both;
}
.stat-item { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.stat-change {
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 2px;
}
.stat-change.positive { color: #22c55e; }
.stat-change.negative { color: #ef4444; }
.stat-change.muted { color: var(--text-dim); font-weight: 500; }

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 18px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(198,247,0,0.06);
  border: 1px solid rgba(198,247,0,0.18);
}
.hero-live-badge.live {
  color: #86efac;
  border-color: rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.08);
}
.hero-live-badge.error {
  color: #fca5a5;
  border-color: rgba(239,68,68,0.35);
  background: rgba(239,68,68,0.08);
}
.hero-live-badge .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}
.hero-live-badge.live .live-dot {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseDot 1.6s infinite;
}
.hero-live-badge.error .live-dot {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s 0.4s ease both;
}
.chain-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
  animation: fadeInUp 0.7s 0.5s ease both;
}
.chain-badge strong { color: #22c55e; }

/* Hero Visual */
.hero-visual {
  position: relative;
  flex-shrink: 0;
  width: 480px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: fadeInRight 0.8s 0.2s ease both;
}
.orbit-container { position: relative; width: 400px; height: 400px; }
.orbit {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(198,247,0,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-1 { width: 200px; height: 200px; animation: orbit 8s linear infinite; }
.orbit-2 { width: 300px; height: 300px; animation: orbit 14s linear infinite reverse; border-color: rgba(59,130,246,0.12); }
.orbit-3 { width: 380px; height: 380px; animation: orbit 20s linear infinite; border-color: rgba(6,182,212,0.1); }
@keyframes orbit { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }
.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
}
.dot-1 { background: var(--purple); box-shadow: 0 0 10px var(--purple); }
.dot-2 { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.dot-3 { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hex-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 160px; height: 160px;
  animation: hexPulse 4s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(198,247,0,0.5));
}
.hex-core svg { width: 100%; height: 100%; }
@keyframes hexPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); filter: drop-shadow(0 0 30px rgba(198,247,0,0.5)); }
  50% { transform: translate(-50%,-50%) scale(1.05); filter: drop-shadow(0 0 50px rgba(198,247,0,0.8)); }
}

.float-tag {
  position: absolute;
  background: rgba(10,10,26,0.9);
  border: 1px solid var(--border-bright);
  padding: 8px 14px;
  border-radius: 20px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.tag-1 { top: 30px; left: -20px; animation: floatTag 3s ease-in-out infinite; }
.tag-2 { top: 30px; right: -20px; animation: floatTag 3s 0.75s ease-in-out infinite; }
.tag-3 { bottom: 30px; left: -20px; animation: floatTag 3s 1.5s ease-in-out infinite; }
.tag-4 { bottom: 30px; right: -20px; animation: floatTag 3s 2.25s ease-in-out infinite; }
@keyframes floatTag {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.75rem;
  z-index: 2;
  animation: fadeIn 1s 1s ease both;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

/* ============ STATS TICKER ============ */
.stats-ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: rgba(198,247,0,0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ticker-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
}
.ticker-value {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}
.ticker-value.green { color: #22c55e; }
.ticker-value.red { color: #ef4444; }
.ticker-change.up { color: #22c55e; }
.ticker-change.down { color: #ef4444; }
.ticker-change {
  font-size: 0.75rem;
  font-weight: 600;
  color: #22c55e;
}
.ticker-sep {
  color: rgba(198,247,0,0.3);
  font-size: 0.5rem;
  flex-shrink: 0;
}

/* ============ FEATURES SECTION ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.feature-card.card-large { grid-column: span 2; }
.feature-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.feature-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(198,247,0,0.1);
  border: 1px solid rgba(198,247,0,0.2);
  border-radius: 14px;
  margin-bottom: 20px;
}
.feature-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(198,247,0,0.4);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 16px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.feature-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--purple);
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(198,247,0,0.1);
  border: 1px solid rgba(198,247,0,0.2);
  color: var(--purple-light);
}
.tag.cyan {
  background: rgba(6,182,212,0.1);
  border-color: rgba(6,182,212,0.2);
  color: var(--cyan);
}
.tag.orange {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.2);
  color: var(--orange);
}
.feature-glow {
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(198,247,0,0.08);
  filter: blur(40px);
  pointer-events: none;
  transition: var(--transition);
}
.feature-glow.glow-pink { background: rgba(236,72,153,0.08); }
.feature-glow.glow-cyan { background: rgba(6,182,212,0.08); }
.feature-glow.glow-orange { background: rgba(245,158,11,0.08); }
.feature-glow.glow-green { background: rgba(16,185,129,0.08); }
.feature-card:hover .feature-glow { transform: scale(1.3); opacity: 1.5; }
.defi-stats-mini {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.defi-stat { text-align: center; }
.ds-val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
}
.ds-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ============ UTILITY SECTION ============ */
.utility-section { background: none; }
.utility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.utility-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.utility-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: var(--transition);
}
.utility-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}
.utility-card:hover::before { opacity: 1; }
.utility-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.utility-card h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}
.utility-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
}

/* ============ TOKENOMICS SECTION ============ */
.tokenomics-section {
  background: linear-gradient(180deg, transparent, rgba(198,247,0,0.03), transparent);
}
.tokenomics-container {
  display: flex;
  align-items: center;
  gap: 64px;
}
.tokenomics-chart-wrap {
  position: relative;
  flex-shrink: 0;
  width: 380px; height: 380px;
}
#tokenomicsChart { width: 100%; height: 100%; }
.chart-center-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.chart-center-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.chart-center-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 2px;
}
.tokenomics-breakdown { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.breakdown-item { display: flex; flex-direction: column; gap: 8px; }
.breakdown-bar {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--clr), transparent);
  width: calc(var(--pct) * 1%);
  transition: width 1s ease;
}
.breakdown-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breakdown-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.breakdown-name {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  flex: 1;
}
.breakdown-pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}
.breakdown-amount {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 16px;
}
.breakdown-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  padding-left: 16px;
  line-height: 1.5;
}

/* ============ ROADMAP SECTION ============ */
.roadmap-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-line {
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark), rgba(198,247,0,0.1));
}
.roadmap-phase {
  display: flex;
  gap: 32px;
  padding-left: 52px;
  padding-bottom: 40px;
  position: relative;
}
.roadmap-phase:last-child { padding-bottom: 0; }
.phase-marker {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
}
.phase-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--border-bright);
  z-index: 1;
}
.phase-dot.completed { background: var(--purple); border-color: var(--purple); box-shadow: 0 0 15px rgba(198,247,0,0.5); }
.phase-dot.active { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 15px rgba(198,247,0,0.7); }
.phase-pulse {
  position: absolute;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(198,247,0,0.2);
  animation: phasePulse 2s ease-in-out infinite;
}
@keyframes phasePulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0; }
}
.phase-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: var(--transition);
}
.phase-card:hover { border-color: var(--border-bright); }
.phase-card.active-card {
  border-color: rgba(198,247,0,0.35);
  background: rgba(198,247,0,0.05);
  box-shadow: 0 0 30px rgba(198,247,0,0.12);
}
.phase-label {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.completed-label { background: rgba(198,247,0,0.15); color: var(--purple-light); }
.active-label { background: rgba(198,247,0,0.15); color: var(--primary-light); }
.upcoming-label { background: rgba(71,85,105,0.3); color: var(--text-dim); }
.phase-q {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.phase-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.phase-card ul { display: flex; flex-direction: column; gap: 6px; }
.phase-card li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}
.phase-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--border-bright);
  font-size: 0.7rem;
}
.roadmap-phase.completed .phase-card li::before { color: var(--purple); }
.roadmap-phase.active .phase-card li::before { color: var(--blue-light); }

/* ============ NFT SECTION ============ */
.nft-section { background: none; }
.nft-showcase {
  display: flex;
  gap: 48px;
  align-items: center;
}
.nft-cards-container {
  display: flex;
  gap: 20px;
  align-items: center;
  flex: 1;
}
.nft-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.nft-card:hover { transform: translateY(-8px); border-color: var(--border-bright); box-shadow: var(--shadow-purple); }
.nft-card-featured {
  transform: translateY(-16px) scale(1.03);
  border-color: rgba(198,247,0,0.4);
  box-shadow: 0 0 40px rgba(198,247,0,0.2);
}
.nft-card-featured:hover { transform: translateY(-24px) scale(1.03); }
.nft-card-inner { overflow: hidden; }
.nft-rarity {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.nft-rarity.legendary { background: rgba(245,158,11,0.2); color: var(--orange); border: 1px solid rgba(245,158,11,0.3); }
.nft-rarity.epic { background: rgba(198,247,0,0.2); color: var(--purple-light); border: 1px solid rgba(198,247,0,0.3); }
.nft-rarity.rare { background: rgba(59,130,246,0.2); color: var(--blue-light); border: 1px solid rgba(59,130,246,0.3); }
.nft-art {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nft-art-bg {
  position: absolute;
  inset: 0;
}
.nft-art-1 .nft-art-bg { background: linear-gradient(135deg, #1e1b4b, #312e81, #4c1d95); }
.nft-art-2 .nft-art-bg { background: linear-gradient(135deg, #0c1445, #1e3a5f, #0891b2); }
.nft-art-3 .nft-art-bg { background: linear-gradient(135deg, #1a0533, #4a044e, #be185d); }
.nft-art-icon {
  font-size: 4.5rem;
  position: relative;
  z-index: 1;
  animation: floatIcon 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(198,247,0,0.6));
}
@keyframes floatIcon {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}
.nft-art-particles { position: absolute; inset: 0; }
.nft-art-particles span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: particleFloat 3s ease-in-out infinite;
}
.nft-art-particles span:nth-child(1) { top:20%; left:20%; animation-delay:0s; }
.nft-art-particles span:nth-child(2) { top:70%; left:70%; animation-delay:0.75s; background: rgba(198,247,0,0.6); }
.nft-art-particles span:nth-child(3) { top:30%; right:20%; animation-delay:1.5s; background: rgba(59,130,246,0.6); }
.nft-art-particles span:nth-child(4) { bottom:20%; left:40%; animation-delay:2.25s; }
@keyframes particleFloat {
  0%,100% { transform: translate(0,0) scale(1); opacity:0.4; }
  50% { transform: translate(10px,-10px) scale(1.5); opacity:1; }
}
.nft-info { padding: 16px; }
.nft-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.nft-collection {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.nft-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nft-price {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--purple-light);
}
.nft-owner { font-size: 0.75rem; color: var(--text-muted); }

.nft-stats-panel {
  width: 280px;
  flex-shrink: 0;
}
.nft-stats-panel h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.nft-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.ns-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}
.ns-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ns-label { font-size: 0.72rem; color: var(--text-dim); margin-top: 4px; }

/* ============ COMMUNITY SECTION ============ */
.community-section { position: relative; overflow: hidden; }
.community-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(198,247,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.community-stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.cs-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.cs-item:hover { border-color: var(--border-bright); transform: translateY(-4px); }
.cs-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cs-label { font-size: 0.8rem; color: var(--text-dim); margin-top: 6px; }
.social-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.social-card:hover { border-color: var(--border-bright); transform: translateY(-4px); background: var(--surface-hover); }
.social-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  flex-shrink: 0;
  color: var(--text-muted);
}
.telegram-icon { background: rgba(0,136,204,0.15); color: #29b6f6; }
.discord-icon { background: rgba(88,101,242,0.15); color: #7289da; }
.social-info { flex: 1; }
.social-name {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 3px;
}
.social-handle { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 4px; }
.social-count { font-size: 0.75rem; font-weight: 600; color: var(--purple-light); }
.social-arrow { color: var(--text-dim); font-size: 1.1rem; transition: var(--transition); }
.social-card:hover .social-arrow { color: var(--purple-light); transform: translateX(4px); }

/* ============ GOVERNANCE SECTION ============ */
.governance-section { background: none; }
.governance-portal { display: flex; gap: 40px; }
.gov-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  flex-shrink: 0;
  width: 320px;
  align-content: start;
}
.gov-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.gov-stat-card:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.gov-icon { font-size: 1.8rem; margin-bottom: 8px; }
.gov-val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gov-label { font-size: 0.72rem; color: var(--text-dim); margin-top: 4px; }
.active-proposals { flex: 1; }
.active-proposals h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.proposal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  transition: var(--transition);
}
.proposal-card:hover { border-color: var(--border-bright); }
.proposal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.proposal-id {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--purple-light);
  letter-spacing: 1px;
}
.proposal-status.active-status {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(34,197,94,0.1);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.2);
}
.proposal-title {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.proposal-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; }
.vote-bar {
  height: 6px;
  background: rgba(239,68,68,0.2);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  margin-bottom: 8px;
}
.vote-for { background: #22c55e; border-radius: 3px 0 0 3px; transition: width 1s ease; }
.vote-against { background: rgba(239,68,68,0.5); border-radius: 0 3px 3px 0; }
.vote-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.vote-labels .for { color: #22c55e; }
.vote-labels .against { color: var(--red); }
.proposal-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(198,247,0,0.08), transparent);
  filter: blur(60px);
  pointer-events: none;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: flex;
  gap: 64px;
}
.footer-brand { max-width: 320px; flex-shrink: 0; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}
.footer-chain-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.footer-chain-badge strong { color: #22c55e; }
.footer-links {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--purple-light); transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}
.footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-disclaimer { color: rgba(71,85,105,0.7); font-style: italic; }
.footer-bottom-inner strong { color: var(--text-muted); }

/* ============ MODALS ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
.modal {
  background: var(--bg-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 0 80px rgba(198,247,0,0.2);
  animation: modalSlide 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes modalSlide {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--surface-hover);
  border-radius: 8px;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.modal-close:hover { background: rgba(239,68,68,0.2); color: var(--red); }
.modal-header {
  text-align: center;
  margin-bottom: 28px;
}
.modal-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}
.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.modal-header p { font-size: 0.85rem; color: var(--text-muted); }
.wallet-detect-status {
  margin-top: 12px;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(198,247,0,0.1);
  border: 1px solid rgba(198,247,0,0.2);
  color: var(--text-muted);
}
.wallet-detect-status.detected {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.3);
  color: #86efac;
}
.wallet-detect-status.missing {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.3);
  color: #fcd34d;
}
.wallet-options { display: flex; flex-direction: column; gap: 10px; }
.wallet-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  width: 100%;
  text-align: left;
}
.wallet-option:hover {
  border-color: var(--border-bright);
  background: var(--surface-hover);
  transform: translateX(4px);
}
.wallet-emoji { font-size: 1.4rem; flex-shrink: 0; }
.wallet-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.wallet-option-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.wallet-option-desc {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-dim);
}
.wallet-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 999px;
  flex-shrink: 0;
  background: rgba(148,163,184,0.12);
  color: var(--text-muted);
  border: 1px solid rgba(148,163,184,0.2);
}
.wallet-badge.detected {
  background: rgba(34,197,94,0.12);
  color: #86efac;
  border-color: rgba(34,197,94,0.3);
}
.wallet-badge.install {
  background: rgba(245,158,11,0.12);
  color: #fcd34d;
  border-color: rgba(245,158,11,0.3);
}
.wallet-badge.soon {
  background: rgba(198,247,0,0.12);
  color: var(--purple-light);
  border-color: rgba(198,247,0,0.3);
}
.wallet-modal-note {
  margin-top: 16px;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}
.wallet-modal-note code {
  font-size: 0.7rem;
  color: var(--purple-light);
  background: rgba(198,247,0,0.1);
  padding: 1px 5px;
  border-radius: 4px;
}
.buy-form { display: flex; flex-direction: column; gap: 12px; }
.swap-input-group { display: flex; flex-direction: column; gap: 6px; }
.swap-input-group label {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
}
.swap-input {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.swap-input:focus-within { border-color: var(--border-bright); }
.swap-input input {
  flex: 1;
  padding: 14px 16px;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}
.swap-token {
  padding: 0 14px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-left: 1px solid var(--border);
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.swap-arrow {
  text-align: center;
  font-size: 1.2rem;
  color: var(--purple-light);
  padding: 4px 0;
}
.swap-info {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.swap-rate {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.swap-rate span:last-child { color: var(--text); font-weight: 500; }
.gov-modal-body { display: flex; flex-direction: column; gap: 20px; }
.gov-info-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; text-align: center; }
.gov-info-text strong { color: var(--purple-light); }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 3000;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(198,247,0,0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ============ ANIMATIONS ============ */
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeInUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInDown { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(32px); } to { opacity:1; transform:translateX(0); } }

/* Intersection Observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .hero-section { flex-direction: column; text-align: center; padding-top: 120px; padding-bottom: 60px; }
  .hero-content { max-width: 100%; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .chain-badge { justify-content: center; }
  .hero-visual { width: 360px; height: 360px; }
  .orbit-container { width: 320px; height: 320px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card.card-large { grid-column: span 1; }
  .tokenomics-container { flex-direction: column; align-items: center; }
  .nft-showcase { flex-direction: column; }
  .nft-stats-panel { width: 100%; }
  .governance-portal { flex-direction: column; }
  .gov-overview { width: 100%; grid-template-columns: repeat(4,1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .wallet-balance-chip { display: none !important; }
  .mobile-menu-btn { display: flex; }
  .hero-section { padding: 90px 20px 40px; }
  .hero-title { font-size: 2.8rem; }
  .hero-stats { flex-wrap: wrap; gap: 16px; padding: 16px; }
  .stat-divider { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-visual { width: 280px; height: 280px; }
  .orbit-container { width: 240px; height: 240px; }
  .float-tag { font-size: 0.68rem; padding: 6px 10px; }
  .features-grid { grid-template-columns: 1fr; }
  .utility-grid { grid-template-columns: 1fr 1fr; }
  .tokenomics-chart-wrap { width: 280px; height: 280px; }
  .nft-cards-container { flex-direction: column; }
  .nft-card-featured { transform: none; }
  .community-stats-banner { grid-template-columns: 1fr 1fr; }
  .social-links { grid-template-columns: 1fr; }
  .gov-overview { grid-template-columns: 1fr 1fr; width: 100%; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .section { padding: 64px 20px; }
}

@media (max-width: 480px) {
  .utility-grid { grid-template-columns: 1fr; }
  .community-stats-banner { grid-template-columns: 1fr; }
  .gov-overview { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 12px; }
}
