/* General Reset */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #0f2027;
  color: white;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  padding: 80px 20px;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2rem;
  color: #ddd;
}

/* Chorister Section */
.chorister-section {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  padding: 50px 20px;
  text-align: center;
}
.chorister-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.music-playlist {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.music-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.music-card:hover {
  transform: translateY(-8px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 25px rgba(255,235,59,0.4);
}
.music-card.playing {
  animation: pulseGlow 2s infinite alternate;
}
.music-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #ffeb3b;
}
.music-card audio {
  width: 100%;
  margin: 10px 0;
}

/* Lyrics */
.lyrics {
  margin-top: 15px;
  background: rgba(255,255,255,0.15);
  padding: 10px;
  border-radius: 5px;
  text-align: left;
  max-height: 150px;
  overflow-y: auto;
}
.lyrics p {
  margin: 5px 0;
  color: #aaa;
  font-size: 0.95rem;
  transition: color 0.3s, transform 0.3s, opacity 0.3s;
  opacity: 0.6;
}
.lyrics p.active {
  color: #ffeb3b;
  font-weight: bold;
  transform: scale(1.08);
  opacity: 1;
}

/* Leaders Section */
.leaders {
  background: #16213e;
  padding: 60px 20px;
  text-align: center;
}
.leaders h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #ffdd59;
}
.leaders .intro {
  margin-bottom: 40px;
  font-size: 1rem;
  color: #ddd;
}
.leader-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.leader-card {
  background: rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: 12px;
  width: 220px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.leader-card:hover {
  transform: translateY(-8px) rotateX(4deg) rotateY(4deg);
  box-shadow: 0 15px 35px rgba(0,0,0,0.7), 0 0 25px rgba(255,221,89,0.4);
}
.leader-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #ffdd59;
}
.leader-card h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
  color: #ffdd59;
}
.leader-card p {
  font-size: 0.9rem;
  color: #ddd;
}

/* 🔥 Glow Animation for Active Song */
@keyframes pulseGlow {
  from {
    box-shadow: 0 6px 20px rgba(255,235,59,0.3), 0 0 10px rgba(255,235,59,0.2);
  }
  to {
    box-shadow: 0 6px 25px rgba(255,235,59,0.6), 0 0 25px rgba(255,235,59,0.5);
  }
}