/* Song Page Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0d0d0f;
  color: #d0d0d0;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Accent color system */
:root {
  --accent: #6bb6ff;
}

body[data-mood="calming"] {
  --accent: #64c8ff;
}

body[data-mood="nostalgic"] {
  --accent: #ffc864;
}

body[data-mood="energetic"] {
  --accent: #ff6496;
}

body[data-mood="harsh"] {
  --accent: #ff3232;
}

body[data-mood="reflective"] {
  --accent: #9664ff;
}

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

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a0a0a0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 40px;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.back-link:hover {
  color: var(--accent);
  transform: translateX(-4px);
}

.back-link .arrow {
  color: var(--accent);
  transition: transform 0.3s ease;
}

.back-link:hover .arrow {
  transform: translateX(-4px);
}

/* Hero Section */
.song-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 70%);
  animation: fadeIn 0.8s ease-out;
}

.song-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 24px;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.song-description {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  color: #a0a0a0;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* YouTube Link */
.youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 24px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  transition: all 0.3s ease;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.youtube-link:hover {
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 30%, transparent);
}

/* Enhanced hover effect for ambient songs - subtle but intensified glow */
body[data-ambient="true"] .youtube-link:hover {
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 40%, transparent),
              0 0 15px color-mix(in srgb, var(--accent) 20%, transparent);
  background: color-mix(in srgb, var(--accent) 25%, transparent);
}

body[data-ambient="true"][data-mood="calming"] .youtube-link:hover {
  box-shadow: 0 4px 20px rgba(100, 200, 255, 0.4),
              0 0 15px rgba(100, 200, 255, 0.2);
  background: color-mix(in srgb, rgba(100, 200, 255, 1) 25%, transparent);
}

body[data-ambient="true"][data-mood="reflective"] .youtube-link:hover {
  box-shadow: 0 4px 20px rgba(150, 100, 255, 0.4),
              0 0 15px rgba(150, 100, 255, 0.2);
  background: color-mix(in srgb, rgba(150, 100, 255, 1) 25%, transparent);
}

.youtube-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.youtube-link:hover::after {
  transform: translateX(4px);
}

/* Footer */
.footer {
  text-align: center;
  padding: 60px 20px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #808080;
  font-size: 14px;
  font-weight: 300;
  margin-top: 80px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .song-hero {
    padding: 100px 20px 60px;
    min-height: 50vh;
  }

  .song-description {
    font-size: 16px;
  }

  .youtube-link {
    font-size: 14px;
    padding: 10px 20px;
  }
}

