/* ── RESET & BASE ── */
*, *::before, *::after { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

:root {
  --indigo: #4F46E5;
  --indigo-light: #EEF2FF;
  --indigo-mid: #C7D2FE;
  --indigo-dark: #3730A3;
  --indigo-deep: #312E81;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-tertiary: #9CA3AF;
  --bg-white: #ffffff;
  --bg-surface: #F9FAFB;
  --bg-surface2: #F3F4F6;
  --border: #E5E7EB;
  --border-hover: #D1D5DB;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 0.02em;
}
.nav-logo-name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.nav-logo-sub { font-size: 11px; color: var(--text-secondary); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 14px; color: var(--text-secondary); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--text-primary); }

/* ── HERO ── */
.hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
  max-width: 800px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--indigo-light); color: var(--indigo-dark);
  border-radius: 20px; padding: 6px 16px;
  font-size: 13px; font-weight: 500; margin-bottom: 1.75rem;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--text-primary); margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--indigo); }
.hero-sub {
  font-size: 18px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 0.75rem; max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-tribute {
  font-size: 14px; color: var(--text-tertiary);
  font-style: italic; margin-bottom: 2.5rem;
}

/* ── AUTH UI SYNC (NEW) ── */
.auth-container {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin: 2.5rem auto;
  max-width: 480px;
  width: 100%;
}

.input-field {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  font-size: 15px;
  outline: none;
  background: var(--bg-surface);
  transition: all 0.2s ease;
}

.input-field:focus {
  border-color: var(--indigo);
  background: #fff;
  box-shadow: 0 0 0 4px var(--indigo-light);
}

.btn-primary {
  background: var(--indigo); color: #fff; border: none;
  border-radius: var(--radius-md); padding: 14px 28px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary:disabled { background: var(--text-tertiary); cursor: not-allowed; }

/* ── STATS ── */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 560px; margin: 1rem auto 4rem; padding: 0 2rem;
}
.stat-card {
  background: var(--bg-surface); border-radius: var(--radius-md);
  padding: 1.25rem; text-align: center;
}
.stat-num { font-size: 26px; font-weight: 700; color: var(--indigo); }
.stat-label { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }

/* ── TRACKS ── */
.tracks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.track-card {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: all 0.2s; text-decoration: none; color: inherit; display: block;
}
.track-card:hover { border-color: var(--indigo); transform: translateY(-3px); }
.track-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.track-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ── MOBILE RESPONSIVENESS ── */
@media (max-width: 600px) {
  .auth-container {
    flex-direction: column;
    padding: 0 1rem;
  }
  .input-field, .btn-primary {
    width: 100%;
  }
  .stats {
    grid-template-columns: 1fr;
  }
}