/* Reset & Base */
* {
  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;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Floating Navigation */
.floating-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  padding: 8px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #d0d0d0;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: #6bb6ff;
  background: rgba(107, 182, 255, 0.1);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  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, rgba(107, 182, 255, 0.05) 0%, transparent 70%);
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #6bb6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, transparent, #6bb6ff);
  margin: 0 auto;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease-out;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.section-description {
  font-size: 18px;
  color: #a0a0a0;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* Songs Grid */
.songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.song-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.song-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(107, 182, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.song-card:hover {
  transform: translateY(-4px);
  border-color: var(--glow-color, rgba(107, 182, 255, 0.2));
  box-shadow: 0 8px 32px var(--glow-color, rgba(107, 182, 255, 0.15));
  background: rgba(255, 255, 255, 0.03);
}

.song-card[data-mood="calming"]:hover {
  --glow-color: rgba(100, 200, 255, 0.2);
  box-shadow: 0 8px 32px rgba(100, 200, 255, 0.15);
  border-color: rgba(100, 200, 255, 0.2);
}

.song-card[data-mood="nostalgic"]:hover {
  --glow-color: rgba(255, 200, 100, 0.2);
  box-shadow: 0 8px 32px rgba(255, 200, 100, 0.15);
  border-color: rgba(255, 200, 100, 0.2);
}

.song-card[data-mood="energetic"]:hover {
  --glow-color: rgba(255, 100, 150, 0.2);
  box-shadow: 0 8px 32px rgba(255, 100, 150, 0.15);
  border-color: rgba(255, 100, 150, 0.2);
}

.song-card[data-mood="harsh"]:hover {
  --glow-color: rgba(255, 50, 50, 0.2);
  box-shadow: 0 8px 32px rgba(255, 50, 50, 0.15);
  border-color: rgba(255, 50, 50, 0.2);
}

.song-card[data-mood="reflective"]:hover {
  --glow-color: rgba(150, 100, 255, 0.2);
  box-shadow: 0 8px 32px rgba(150, 100, 255, 0.15);
  border-color: rgba(150, 100, 255, 0.2);
}

.song-card:hover::before {
  opacity: 1;
}

/* Enhanced hover effect for ambient songs - subtle but intensified glow */
.song-card[data-ambient="true"]:hover {
  box-shadow: 0 8px 40px var(--glow-color, rgba(100, 200, 255, 0.25)),
              0 0 20px var(--glow-color, rgba(100, 200, 255, 0.1)),
              inset 0 0 30px var(--glow-color, rgba(100, 200, 255, 0.05));
  border-color: var(--glow-color, rgba(100, 200, 255, 0.35));
}

.song-card[data-ambient="true"][data-mood="calming"]:hover {
  box-shadow: 0 8px 40px rgba(100, 200, 255, 0.25),
              0 0 20px rgba(100, 200, 255, 0.1),
              inset 0 0 30px rgba(100, 200, 255, 0.05);
  border-color: rgba(100, 200, 255, 0.35);
}

.song-card[data-ambient="true"][data-mood="reflective"]:hover {
  box-shadow: 0 8px 40px rgba(150, 100, 255, 0.25),
              0 0 20px rgba(150, 100, 255, 0.1),
              inset 0 0 30px rgba(150, 100, 255, 0.05);
  border-color: rgba(150, 100, 255, 0.35);
}

.song-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.song-description {
  font-size: 15px;
  color: #a0a0a0;
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 300;
}

.song-link {
  display: inline-block;
  color: #6bb6ff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.song-link:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* Fade-up Animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section Dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(107, 182, 255, 0.3),
    transparent
  );
  margin: 60px auto;
  max-width: 800px;
  position: relative;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #6bb6ff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(107, 182, 255, 0.6);
}

/* About Section */
#about {
  padding-bottom: 120px;
}

#about .section-description {
  font-size: 18px;
  line-height: 1.8;
  max-width: 700px;
}

/* About Section */
.about-section {
  padding-bottom: 80px;
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.about-content p {
  margin-bottom: 20px;
  color: #a0a0a0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Links Section */
.links-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.playlist-link-wrapper {
  margin-bottom: 40px;
}

.playlist-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #6bb6ff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 28px;
  border: 1px solid rgba(107, 182, 255, 0.3);
  border-radius: 8px;
  background: rgba(107, 182, 255, 0.1);
  transition: all 0.3s ease;
}

.playlist-link:hover {
  color: #ffffff;
  border-color: rgba(107, 182, 255, 0.5);
  background: rgba(107, 182, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(107, 182, 255, 0.3);
}

.playlist-link svg {
  flex-shrink: 0;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #808080;
  text-decoration: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.social-link:hover {
  color: #6bb6ff;
  border-color: rgba(107, 182, 255, 0.3);
  background: rgba(107, 182, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 182, 255, 0.2);
}

.social-link svg {
  width: 100%;
  height: 100%;
  padding: 8px;
}

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

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.footer-social-links .social-link {
  width: 36px;
  height: 36px;
}

.footer-social-links .social-link svg {
  padding: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  .floating-nav {
    top: 10px;
    padding: 6px 12px;
  }

  .nav-container {
    gap: 6px;
  }

  .nav-link {
    font-size: 12px;
    padding: 4px 10px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .section {
    padding: 60px 20px;
  }

  .songs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .song-card {
    padding: 24px;
  }

  .about-content {
    text-align: left;
  }

  .about-content p {
    font-size: 15px;
  }

  .social-links {
    gap: 12px;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }

  .links-section {
    padding: 40px 20px;
  }

  .playlist-link {
    font-size: 14px;
    padding: 12px 24px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    flex-direction: column;
    gap: 4px;
  }

  .floating-nav {
    border-radius: 16px;
    max-width: 90%;
  }

  .about-content p {
    font-size: 14px;
  }

  .social-links {
    gap: 10px;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .footer-social-links .social-link {
    width: 32px;
    height: 32px;
  }

  .links-section {
    padding: 30px 20px;
  }

  .playlist-link {
    font-size: 13px;
    padding: 10px 20px;
  }

  .playlist-link span {
    display: none;
  }
}

