/* ============================================================
   RYLARIS MUSIC PUBLISHING — Liquid Glass Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --bg-void:        #070010;
  --bg-deep:        #0C0018;
  --bg-mid:         #160030;
  --purple-900:     #1E0040;
  --purple-800:     #3B0080;
  --purple-700:     #5B21B6;
  --purple-600:     #7C3AED;
  --purple-500:     #8B5CF6;
  --purple-400:     #A78BFA;
  --purple-300:     #C4B5FD;
  --purple-200:     #DDD6FE;
  --purple-100:     #EDE9FE;
  --glow-strong:    rgba(139, 92, 246, 0.6);
  --glow-mid:       rgba(139, 92, 246, 0.3);
  --glow-soft:      rgba(139, 92, 246, 0.12);
  --glass-bg:       rgba(139, 92, 246, 0.06);
  --glass-bg-hover: rgba(139, 92, 246, 0.12);
  --glass-border:   rgba(167, 139, 250, 0.18);
  --glass-border-hover: rgba(167, 139, 250, 0.4);
  --text-primary:   #F5F0FF;
  --text-secondary: rgba(245, 240, 255, 0.65);
  --text-muted:     rgba(245, 240, 255, 0.4);
  --radius-card:    24px;
  --radius-btn:     14px;
  --nav-height:     72px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Animated Background ── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(88, 28, 135, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 80%, rgba(109, 40, 217, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(30, 0, 64, 0.8) 0%, transparent 70%),
    var(--bg-void);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, transparent 70%);
  top: -250px;
  left: -200px;
  animation: orbDrift 28s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  top: 40%;
  right: -150px;
  animation: orbDrift 22s ease-in-out infinite reverse;
  animation-delay: -7s;
}

.orb-3 {
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
  bottom: -100px;
  left: 25%;
  animation: orbDrift 35s ease-in-out infinite;
  animation-delay: -14s;
}

.orb-4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.15) 0%, transparent 70%);
  top: 20%;
  left: 45%;
  animation: orbDrift 18s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  20%       { transform: translate(40px, -70px) scale(1.06); }
  50%       { transform: translate(-30px, 50px) scale(0.94); }
  80%       { transform: translate(70px, 30px) scale(1.03); }
}

/* ── Main Wrapper ── */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 32px);
  padding-bottom: 80px;
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  height: var(--nav-height);
  background: rgba(10, 0, 20, 0.45);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.05),
    0 4px 24px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(124, 58, 237, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(109, 40, 217, 0.1);
}

.navbar-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
  flex-shrink: 0;
}

.logo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  text-shadow: 0 0 20px var(--glow-strong);
}

.logo-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--purple-400);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 12px;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.15);
}

.nav-link.active {
  color: var(--purple-300);
  background: rgba(139, 92, 246, 0.12);
}

.nav-link.nav-cta {
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--purple-300);
  margin-left: 8px;
}

.nav-link.nav-cta:hover {
  background: rgba(124, 58, 237, 0.35);
  border-color: rgba(139, 92, 246, 0.6);
  color: var(--purple-200);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: var(--glass-bg);
  border-color: var(--glass-border-hover);
}

.nav-mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: rgba(10, 0, 20, 0.92);
  backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 12px;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-menu .nav-link {
  display: block;
  padding: 12px 16px;
}

/* ── Container ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Glass Card ── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 0 40px var(--glow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(109, 40, 217, 0.05);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  position: relative;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.08),
    0 12px 48px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(139, 92, 246, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(109, 40, 217, 0.08);
  transform: translateY(-4px);
}

/* ── Featured Card (FUNK UNIVERSO) ── */
.glass-card.featured {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.1),
    0 12px 48px rgba(0, 0, 0, 0.4),
    0 0 100px rgba(124, 58, 237, 0.35),
    0 0 200px rgba(124, 58, 237, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(109, 40, 217, 0.1);
}

.glass-card.featured::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-card) + 1px);
  background: linear-gradient(135deg,
    rgba(167, 139, 250, 0.6) 0%,
    rgba(124, 58, 237, 0.3) 40%,
    transparent 60%,
    rgba(109, 40, 217, 0.4) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-mega {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(167, 139, 250, 0.3));
  border: 1px solid rgba(167, 139, 250, 0.5);
  color: var(--purple-200);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 12px rgba(124, 58, 237, 0.4); }
  50%       { box-shadow: 0 0 24px rgba(124, 58, 237, 0.7); }
}

.badge-new {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: var(--purple-300);
}

.badge-platform {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-size: 10px;
}

/* ── Typography ── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-400);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-title .glow-text {
  background: linear-gradient(135deg, var(--purple-300) 0%, var(--purple-500) 50%, var(--purple-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

.section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
}

/* ── Stat Number ── */
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--purple-300) 60%, var(--purple-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.6));
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: 40px 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
  color: white;
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.5), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 0 0 20px var(--glow-soft);
}

/* ── Section spacing ── */
.section {
  margin-bottom: 80px;
}

.section-header {
  margin-bottom: 40px;
}

/* ── Hero ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px 80px;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--purple-300);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 8vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: 800px;
}

.hero-title .line-glow {
  display: block;
  background: linear-gradient(135deg, var(--purple-200) 0%, var(--purple-400) 40%, var(--purple-500) 70%, var(--purple-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5));
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 40px;
}

/* ── Track Cards ── */
.tracks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.track-card-featured {
  grid-column: 1 / -1;
}

.track-inner {
  padding: 32px;
}

.track-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.track-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.track-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.track-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3.5vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
}

.track-artist {
  font-size: 14px;
  font-weight: 500;
  color: var(--purple-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.track-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(167, 139, 250, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.platforms-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

/* Artist Cards */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.artist-card .artist-inner {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.artist-avatar {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(167, 139, 250, 0.2));
  border: 1px solid rgba(167, 139, 250, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--purple-300);
  letter-spacing: -0.02em;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.25);
}

.artist-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.artist-role {
  font-size: 13px;
  color: var(--purple-400);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Titles Table */
.titles-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.titles-table thead th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 20px;
  text-align: left;
}

.titles-table tbody tr {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  transition: all 0.25s ease;
}

.titles-table tbody tr:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
  transform: translateX(4px);
}

.titles-table tbody tr td {
  padding: 18px 20px;
  font-size: 14px;
}

.titles-table tbody tr td:first-child {
  border-radius: var(--radius-card) 0 0 var(--radius-card);
}

.titles-table tbody tr td:last-child {
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

.track-index {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--purple-600);
  width: 48px;
  text-align: center;
}

.track-name-cell {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.track-artist-cell {
  color: var(--purple-400);
  font-weight: 500;
  font-size: 13px;
}

.track-streams-cell {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--purple-300);
}

/* ── Password Page ── */
.password-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.password-box {
  width: 100%;
  max-width: 440px;
  padding: 48px 40px;
  text-align: center;
}

.lock-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(167, 139, 250, 0.15));
  border: 1px solid rgba(167, 139, 250, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
  font-size: 32px;
}

.password-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.password-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.password-field {
  width: 100%;
  padding: 14px 18px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 12px;
  outline: none;
  transition: all 0.25s ease;
  text-align: center;
  letter-spacing: 0.1em;
}

.password-field:focus {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.12);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15), 0 0 20px rgba(139, 92, 246, 0.1);
}

.password-field::placeholder { color: var(--text-muted); }

.password-error {
  font-size: 13px;
  color: #F87171;
  margin-bottom: 12px;
  min-height: 20px;
  display: none;
}

.password-error.visible { display: block; }

.btn-submit {
  width: 100%;
  padding: 14px;
  justify-content: center;
  font-size: 15px;
}

/* Iframe container */
.iframe-container {
  display: none;
  min-height: 100vh;
  flex-direction: column;
}

.iframe-container.visible { display: flex; }

.form-iframe {
  width: 100%;
  flex: 1;
  min-height: 80vh;
  border: none;
  background: transparent;
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  padding: 32px 20px;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .navbar { position: relative; top: 0; left: 0; transform: none; width: 100%; margin: 12px 0 0; border-radius: 0; }
  .page-wrapper { padding-top: 20px; }
  .tracks-grid { grid-template-columns: 1fr; }
  .track-card-featured { grid-column: 1; }
  .track-inner { padding: 24px; }
  .titles-table { font-size: 13px; }
  .password-box { padding: 36px 24px; }
  .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .track-stats { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 32px; }
}

/* ── Scroll animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
