/* === TOKENS === */
:root {
  --bg:        #080810;
  --bg2:       #0f0f1c;
  --surface:   #13132a;
  --border:    #1e1e40;
  --mint:      #00ff88;
  --amber:     #ffb800;
  --pink:      #ff2d78;
  --fg:        #e8e8f2;
  --fg-muted:  #8888aa;
  --fg-dim:    #44445a;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-noise {
  position: absolute;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
  max-width: 860px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.2);
  color: var(--mint);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 40px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 10vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-title-line { display: block; }
.hero-title-line.accent { color: var(--mint); }
.hero-lede {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.65;
}

/* === SOUNDWAVE === */
.hero-art {
  margin: 0 auto 52px;
  overflow: hidden;
}
.soundwave {
  width: 100%;
  max-width: 640px;
  height: 80px;
  display: block;
}
.wave-bar { fill: var(--mint); opacity: 0.85; }
.wave-bar-b { fill: var(--amber); opacity: 0.5; }
.wave-group { animation: wave-shift 3.2s ease-in-out infinite; }
.wave-b { animation-delay: -1.6s; }
@keyframes wave-shift {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* === HERO STATS === */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}
.stat {
  flex: 1;
  padding: 20px 32px;
  text-align: center;
  min-width: 100px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--mint);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* === DISCORD BUTTON === */
.hero-discord {
  margin-top: 28px;
}
.hero-discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5865F2;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 100px;
  transition: background 0.18s, transform 0.18s;
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-discord-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

/* === SECTION COMMON === */
.section-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 500;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* === MODES SECTION === */
.modes {
  padding: 120px 24px;
  background: var(--bg2);
  position: relative;
}
.modes::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  opacity: 0.3;
}
.modes-header {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.mode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.mode-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,255,136,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.mode-card:hover {
  border-color: rgba(0,255,136,0.4);
  transform: translateY(-2px);
}
.mode-icon {
  color: var(--mint);
  margin-bottom: 18px;
  display: flex;
}
.mode-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.mode-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.mode-genre-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.genre-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* === PROOF SECTION === */
.proof-section {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 48px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
}
.proof-card blockquote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
  font-style: italic;
  margin-bottom: 16px;
}
.proof-platform {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}
.platform-icon { display: flex; }

/* === COMMUNITY SECTION === */
.community-section {
  padding: 120px 24px;
  background: var(--bg);
}
.community-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.community-desc {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin: 18px 0 28px;
}
.community-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.comm-tag {
  font-size: 12px;
  color: var(--mint);
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.2);
  padding: 5px 12px;
  border-radius: 100px;
}

/* === TRACK CARD STACK === */
.track-card-stack {
  position: relative;
  height: 280px;
}
.track-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 90%;
  transition: transform 0.3s;
}
.track-card:hover { transform: translateX(-4px); }
.track-card-1 {
  top: 0; left: 0;
  background: rgba(19,19,42,0.9);
  backdrop-filter: blur(8px);
  z-index: 3;
  width: 85%;
}
.track-card-2 {
  top: 52px; left: 12px;
  background: rgba(19,19,42,0.7);
  backdrop-filter: blur(4px);
  z-index: 2;
}
.track-card-3 {
  top: 104px; left: 0;
  background: rgba(19,19,42,0.5);
  backdrop-filter: blur(2px);
  z-index: 1;
}
.track-genre-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--mint);
}
.track-genre-dot-alt { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.track-genre-dot-pink { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.track-info { flex: 1; }
.track-title { display: block; font-size: 14px; font-weight: 500; font-family: var(--font-display); }
.track-meta { display: block; font-size: 12px; color: var(--fg-muted); margin-top: 3px; }
.track-actions { display: flex; gap: 8px; }
.track-btn {
  font-size: 12px;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.track-btn:hover { border-color: var(--fg-muted); color: var(--fg); }
.track-btn-accent {
  color: var(--mint);
  border-color: rgba(0,255,136,0.3);
}
.track-btn-accent:hover { background: rgba(0,255,136,0.08); }

/* === CLOSER === */
.closer {
  padding: 120px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closer-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,255,136,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.closer-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.closer-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 14px 0 20px;
}
.closer-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 40px;
}
.closer-modes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.closer-mode {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
}
.closer-mode-sep {
  color: var(--mint);
  font-size: 18px;
  font-weight: 700;
}
.closer-note {
  font-size: 13px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-tagline { font-size: 13px; color: var(--fg-dim); margin-top: 4px; display: block; }
.footer-links { display: flex; gap: 24px; }
.footer-link { font-size: 13px; color: var(--fg-muted); transition: color 0.15s; }
.footer-link:hover { color: var(--fg); }

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .mode-grid,
  .proof-grid,
  .community-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; }
  .stat-sep { width: 60%; height: 1px; }
  .stat { padding: 14px 20px; }
  .track-card-stack { height: 320px; }
  .track-card-2 { left: 0; }
  .track-card-3 { left: 24px; }
  .closer-modes { gap: 8px; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 16px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 44px; }
  .section-title { font-size: 26px; }
  .closer-title { font-size: 28px; }
}