/* Landing Page Specific Styles */
.featured-songs {
  padding: 3rem 5%;
  background-color: var(--background-color);
  position: relative;
}

.featured-songs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23FF69B4' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.section-content {
max-width: 1200px;
margin: 0 auto;
position: relative;
z-index: 1;
}

/* Section Heading */
.section-heading {
text-align: center;
margin: 2rem 0 3rem;
position: relative;
}

.section-heading h2 {
font-family: 'Montserrat', sans-serif;
font-size: 2.2rem;
font-weight: 700;
color: #333;
letter-spacing: 0.5px;
margin-bottom: 1rem;
position: relative;
display: inline-block;
}

.section-heading h2::after {
content: '';
position: absolute;
bottom: -5px;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 3px;
background: linear-gradient(90deg, var(--primary-color), #8A2BE2);
animation: gentle-underline 8s ease-in-out infinite;
opacity: 0;
}

@keyframes gentle-underline {
0%, 90% {
  width: 0;
  opacity: 0;
}
15%, 20% {
  width: 100%;
  opacity: 1;
}
25%, 85% {
  width: 100%;
  opacity: 0.7;
}
}

.section-heading p {
font-size: 1.2rem;
color: var(--light-text);
max-width: 600px;
margin: 0 auto;
}

/* Songs Grid */
.songs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.song-card {
  background-color: var(--background-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.07);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
}

.song-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,105,180,0.1), rgba(123,104,238,0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.song-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.12);
  border-color: rgba(255,105,180,0.3);
}

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

.song-thumbnail {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.song-thumbnail::after {
  content: '♪';
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.7);
  color: var(--primary-color);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.song-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.song-card:hover .song-thumbnail img {
  transform: scale(1.1);
}

.difficulty-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  letter-spacing: 0.5px;
  margin-top: 1rem;
  position: static;
}

.song-info {
  padding: 1.2rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: calc(100% - 180px);
}

.song-title {
  margin: 0 0 0.3rem 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: 0.5px;
}

.song-artist {
  margin: 0;
  font-size: 0.9rem;
  color: var(--light-text);
  margin-bottom: auto;
}

.beginner {
  background-color: var(--beginner-bg);
  color: var(--beginner-color);
}

.intermediate {
  background-color: var(--intermediate-bg);
  color: var(--intermediate-color);
}

.advanced {
  background-color: var(--advanced-bg);
  color: var(--advanced-color);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .songs-grid {
      grid-template-columns: repeat(3, 1fr);
  }
  
  .logo-main {
      font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .logo-main {
      font-size: 3rem;
  }
  
  .logo-tagline {
      font-size: 1rem;
  }

  .songs-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .songs-grid {
      grid-template-columns: 1fr;
  }
  
  .logo-main {
      font-size: 2.5rem;
  }
  
  .logo-tagline {
      font-size: 0.9rem;
  }
}

/* Loading animation */
.loading-songs {
  text-align: center;
  padding: 2rem;
  color: var(--light-text, #999);
  font-style: italic;
  animation: pulse 1.5s infinite;
}

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


/* Play button styles that match current aesthetic */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(45deg, var(--primary-color), #8A2BE2);
  color: white;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.song-thumbnail:hover .play-button {
  opacity: 0.95;
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 6px 15px rgba(138, 43, 226, 0.3);
}

.play-button i {
  font-size: 18px;
}

/* Remove the music note that appears in top right when we have play button */
.song-card:has(.play-button) .song-thumbnail::after {
  display: none;
}