/* --- 1. DESIGN VARIABLES --- */
:root {
  /* Colors */
  --bg-dark: #1a0b2e;
  --glass-surface: rgba(45, 35, 60, 0.4);
  --glass-border: rgba(255, 255, 255, 0.15);
  --text-primary: #ffffff;
  --text-secondary: #d0c5e0;
  --accent: #bf5af2;

  /* Spacing & Shape */
  --radius-lg: 28px;
  --radius-md: 16px;
  --padding: 24px;
  --font: "Inter", sans-serif;
}

/* --- 2. BASE STYLES --- */
html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  line-height: 1.5;
}

/* --- 3. BACKGROUND (Aurora) --- */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 40%, rgba(88, 86, 214, 0.3), transparent 40%),
    radial-gradient(
      circle at 90% 10%,
      rgba(191, 90, 242, 0.2),
      transparent 40%
    ),
    radial-gradient(circle at 50% 80%, rgba(10, 132, 255, 0.2), transparent 50%);
  filter: blur(60px);
  animation: pulse 10s ease-in-out infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* --- 4. LAYOUT --- */
.container {
  width: 100%;
  max-width: 800px;
  padding: 40px 20px 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  z-index: 1;
}

/* --- 5. GLASS UTILS --- */
.glass {
  background: var(--glass-surface);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--padding);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* --- 6. HEADER --- */
header {
  text-align: center;
  margin-bottom: 20px;
}

h1 {
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 8px;
  color: #ffffff;
  text-transform: uppercase;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 16px;
}

.update-note {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(4px);
}

.back-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
  transition: opacity 0.2s;
}
.back-link:hover {
  opacity: 0.8;
}

/* --- 7. CTA BOX --- */
.cta-container {
  margin-top: 32px;
  text-align: center;
}

.cta-text {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: white;
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  background: #ffffff;
  color: #000000;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  transition:
    transform 0.2s,
    opacity 0.2s;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* --- 8. LIST SECTIONS --- */

/* Added class to control spacing between sections */
.category-section {
  margin-bottom: 60px;
}
.category-section:last-child {
  margin-bottom: 0;
}

h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  padding-left: 12px;
}

.section-desc {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
  padding-left: 12px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

li:last-child {
  border-bottom: none;
}

li:hover {
  background: rgba(255, 255, 255, 0.05);
  padding-left: 10px;
  padding-right: 10px;
  margin-left: -10px;
  margin-right: -10px;
  border-radius: 8px;
}

.track-info {
  display: flex;
  flex-direction: column;
  padding-right: 15px;
}

.song-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.artist-name {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: block;
}

.bpm {
  font-family: var(--font);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-radius: 12px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  li {
    align-items: flex-start;
  }
  .bpm {
    margin-top: 4px;
  }
}
