/* ============================================
   MUSIC SCHOOL - VIBRANT DARK THEME
   Enhanced with Music Animations
   ============================================ */

/* Color Palette - Vibrant Music Theme */
:root {
  --music-purple: #9333ea;
  --music-pink: #ec4899;
  --music-cyan: #06b6d4;
  --music-orange: #f97316;
  --music-yellow: #eab308;
  --music-blue: #3b82f6;
  --dark-bg: #0a0a0f;
  --dark-surface: #111118;
  --dark-card: #1a1a24;
}

/* Background Music Animation Container */
.music-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Animated Sound Waves - Always Visible */
.sound-waves {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

.wave-bar {
  width: 5px;
  background: linear-gradient(to top, var(--music-purple), var(--music-pink), var(--music-cyan), var(--music-orange));
  border-radius: 3px 3px 0 0;
  animation: wave-animation 1.2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
}

.wave-bar:nth-child(1) { height: 30px; animation-delay: 0s; background: linear-gradient(to top, var(--music-purple), var(--music-pink)); }
.wave-bar:nth-child(2) { height: 50px; animation-delay: 0.1s; background: linear-gradient(to top, var(--music-pink), var(--music-cyan)); }
.wave-bar:nth-child(3) { height: 70px; animation-delay: 0.2s; background: linear-gradient(to top, var(--music-cyan), var(--music-orange)); }
.wave-bar:nth-child(4) { height: 90px; animation-delay: 0.3s; background: linear-gradient(to top, var(--music-orange), var(--music-yellow)); }
.wave-bar:nth-child(5) { height: 110px; animation-delay: 0.4s; background: linear-gradient(to top, var(--music-yellow), var(--music-blue)); }
.wave-bar:nth-child(6) { height: 90px; animation-delay: 0.5s; background: linear-gradient(to top, var(--music-blue), var(--music-cyan)); }
.wave-bar:nth-child(7) { height: 70px; animation-delay: 0.6s; background: linear-gradient(to top, var(--music-cyan), var(--music-pink)); }
.wave-bar:nth-child(8) { height: 50px; animation-delay: 0.7s; background: linear-gradient(to top, var(--music-pink), var(--music-purple)); }
.wave-bar:nth-child(9) { height: 30px; animation-delay: 0.8s; background: linear-gradient(to top, var(--music-purple), var(--music-cyan)); }
.wave-bar:nth-child(10) { height: 40px; animation-delay: 0.9s; background: linear-gradient(to top, var(--music-cyan), var(--music-orange)); }
.wave-bar:nth-child(11) { height: 60px; animation-delay: 1s; background: linear-gradient(to top, var(--music-orange), var(--music-pink)); }
.wave-bar:nth-child(12) { height: 80px; animation-delay: 1.1s; background: linear-gradient(to top, var(--music-pink), var(--music-purple)); }

@keyframes wave-animation {
  0%, 100% { 
    transform: scaleY(0.3); 
    opacity: 0.4; 
  }
  25% {
    transform: scaleY(0.7);
    opacity: 0.7;
  }
  50% { 
    transform: scaleY(1); 
    opacity: 1; 
  }
  75% {
    transform: scaleY(0.8);
    opacity: 0.8;
  }
}

/* Additional Sound Wave Layers */
.sound-waves-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
  transform: rotate(180deg);
}

.sound-waves-top .wave-bar {
  width: 3px;
  height: 40px;
  background: linear-gradient(to bottom, var(--music-purple), var(--music-pink));
  border-radius: 0 0 2px 2px;
  animation: wave-animation-reverse 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(236, 72, 153, 0.4);
}

@keyframes wave-animation-reverse {
  0%, 100% { 
    transform: scaleY(0.2) rotate(180deg); 
    opacity: 0.3; 
  }
  50% { 
    transform: scaleY(1) rotate(180deg); 
    opacity: 0.8; 
  }
}

/* Circular Sound Waves - Always Pulsing */
.circular-sound-waves {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
}

.circular-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--music-purple);
  border-radius: 50%;
  animation: circular-wave-expand 3s ease-out infinite;
}

.circular-wave:nth-child(1) {
  width: 200px;
  height: 200px;
  animation-delay: 0s;
  border-color: var(--music-purple);
}

.circular-wave:nth-child(2) {
  width: 400px;
  height: 400px;
  animation-delay: 1s;
  border-color: var(--music-pink);
}

.circular-wave:nth-child(3) {
  width: 600px;
  height: 600px;
  animation-delay: 2s;
  border-color: var(--music-cyan);
}

@keyframes circular-wave-expand {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Side Sound Waves */
.side-sound-waves-left {
  position: fixed;
  left: 0;
  top: 0;
  width: 100px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.side-sound-waves-right {
  position: fixed;
  right: 0;
  top: 0;
  width: 100px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.side-wave-bar {
  width: 40px;
  height: 4px;
  background: linear-gradient(to right, var(--music-purple), var(--music-pink));
  border-radius: 2px;
  animation: side-wave-animation 1.8s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(147, 51, 234, 0.4);
}

.side-sound-waves-right .side-wave-bar {
  background: linear-gradient(to left, var(--music-cyan), var(--music-orange));
  animation: side-wave-animation-reverse 1.8s ease-in-out infinite;
}

@keyframes side-wave-animation {
  0%, 100% { 
    transform: scaleX(0.3); 
    opacity: 0.4; 
  }
  50% { 
    transform: scaleX(1); 
    opacity: 1; 
  }
}

@keyframes side-wave-animation-reverse {
  0%, 100% { 
    transform: scaleX(0.3); 
    opacity: 0.4; 
  }
  50% { 
    transform: scaleX(1); 
    opacity: 1; 
  }
}

/* Floating Musical Notes - DISABLED */
/* .floating-notes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.musical-note {
  position: absolute;
  font-size: 2rem;
  color: rgba(147, 51, 234, 0.3);
  animation: float-note 15s infinite linear;
  pointer-events: none;
}

.musical-note:nth-child(1) { left: 10%; animation-delay: 0s; }
.musical-note:nth-child(2) { left: 20%; animation-delay: 2s; color: rgba(236, 72, 153, 0.3); }
.musical-note:nth-child(3) { left: 30%; animation-delay: 4s; color: rgba(6, 182, 212, 0.3); }
.musical-note:nth-child(4) { left: 40%; animation-delay: 6s; color: rgba(249, 115, 22, 0.3); }
.musical-note:nth-child(5) { left: 50%; animation-delay: 8s; color: rgba(234, 179, 8, 0.3); }
.musical-note:nth-child(6) { left: 60%; animation-delay: 10s; color: rgba(59, 130, 246, 0.3); }
.musical-note:nth-child(7) { left: 70%; animation-delay: 12s; }
.musical-note:nth-child(8) { left: 80%; animation-delay: 14s; color: rgba(236, 72, 153, 0.3); }

@keyframes float-note {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
} */

/* Popping Music Symbols Background - DISABLED */
/* .music-symbols-popup {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.music-symbol-pop {
  position: absolute;
  font-size: 2.5rem;
  font-weight: bold;
  animation: pop-music-symbol 3s ease-out infinite;
  pointer-events: none;
  text-shadow: 0 0 20px currentColor;
  opacity: 0;
} */

/* Different music symbols - DISABLED */
/* .music-symbol-pop.symbol-1 { content: '♪'; }
.music-symbol-pop.symbol-2 { content: '♫'; }
.music-symbol-pop.symbol-3 { content: '♬'; }
.music-symbol-pop.symbol-4 { content: '♩'; }
.music-symbol-pop.symbol-5 { content: '♭'; }
.music-symbol-pop.symbol-6 { content: '♯'; }
.music-symbol-pop.symbol-7 { content: '♮'; }
.music-symbol-pop.symbol-8 { content: '𝄞'; }
.music-symbol-pop.symbol-9 { content: '𝄢'; }
.music-symbol-pop.symbol-10 { content: '𝄐'; } */

/* Position variations - DISABLED */
/* .music-symbol-pop:nth-child(1) { 
  left: 5%; 
  bottom: 10%; 
  animation-delay: 0s; 
  color: rgba(147, 51, 234, 0.6);
  font-size: 2rem;
}
.music-symbol-pop:nth-child(2) { 
  left: 15%; 
  bottom: 20%; 
  animation-delay: 0.5s; 
  color: rgba(236, 72, 153, 0.6);
  font-size: 2.5rem;
}
.music-symbol-pop:nth-child(3) { 
  left: 25%; 
  bottom: 15%; 
  animation-delay: 1s; 
  color: rgba(6, 182, 212, 0.6);
  font-size: 2.2rem;
}
.music-symbol-pop:nth-child(4) { 
  left: 35%; 
  bottom: 25%; 
  animation-delay: 1.5s; 
  color: rgba(249, 115, 22, 0.6);
  font-size: 2.8rem;
}
.music-symbol-pop:nth-child(5) { 
  left: 45%; 
  bottom: 12%; 
  animation-delay: 2s; 
  color: rgba(234, 179, 8, 0.6);
  font-size: 2.3rem;
}
.music-symbol-pop:nth-child(6) { 
  left: 55%; 
  bottom: 18%; 
  animation-delay: 2.5s; 
  color: rgba(59, 130, 246, 0.6);
  font-size: 2.6rem;
}
.music-symbol-pop:nth-child(7) { 
  left: 65%; 
  bottom: 22%; 
  animation-delay: 3s; 
  color: rgba(147, 51, 234, 0.6);
  font-size: 2.4rem;
}
.music-symbol-pop:nth-child(8) { 
  left: 75%; 
  bottom: 14%; 
  animation-delay: 3.5s; 
  color: rgba(236, 72, 153, 0.6);
  font-size: 2.7rem;
}
.music-symbol-pop:nth-child(9) { 
  left: 85%; 
  bottom: 19%; 
  animation-delay: 4s; 
  color: rgba(6, 182, 212, 0.6);
  font-size: 2.1rem;
}
.music-symbol-pop:nth-child(10) { 
  left: 95%; 
  bottom: 16%; 
  animation-delay: 4.5s; 
  color: rgba(249, 115, 22, 0.6);
  font-size: 2.9rem;
}
.music-symbol-pop:nth-child(11) { 
  left: 8%; 
  bottom: 30%; 
  animation-delay: 5s; 
  color: rgba(234, 179, 8, 0.6);
  font-size: 2.5rem;
}
.music-symbol-pop:nth-child(12) { 
  left: 18%; 
  bottom: 35%; 
  animation-delay: 5.5s; 
  color: rgba(59, 130, 246, 0.6);
  font-size: 2.3rem;
}
.music-symbol-pop:nth-child(13) { 
  left: 28%; 
  bottom: 28%; 
  animation-delay: 6s; 
  color: rgba(147, 51, 234, 0.6);
  font-size: 2.6rem;
}
.music-symbol-pop:nth-child(14) { 
  left: 38%; 
  bottom: 32%; 
  animation-delay: 6.5s; 
  color: rgba(236, 72, 153, 0.6);
  font-size: 2.4rem;
}
.music-symbol-pop:nth-child(15) { 
  left: 48%; 
  bottom: 26%; 
  animation-delay: 7s; 
  color: rgba(6, 182, 212, 0.6);
  font-size: 2.7rem;
}
.music-symbol-pop:nth-child(16) { 
  left: 58%; 
  bottom: 31%; 
  animation-delay: 7.5s; 
  color: rgba(249, 115, 22, 0.6);
  font-size: 2.2rem;
}
.music-symbol-pop:nth-child(17) { 
  left: 68%; 
  bottom: 29%; 
  animation-delay: 8s; 
  color: rgba(234, 179, 8, 0.6);
  font-size: 2.8rem;
}
.music-symbol-pop:nth-child(18) { 
  left: 78%; 
  bottom: 33%; 
  animation-delay: 8.5s; 
  color: rgba(59, 130, 246, 0.6);
  font-size: 2.5rem;
}
.music-symbol-pop:nth-child(19) { 
  left: 88%; 
  bottom: 27%; 
  animation-delay: 9s; 
  color: rgba(147, 51, 234, 0.6);
  font-size: 2.3rem;
}
.music-symbol-pop:nth-child(20) { 
  left: 12%; 
  bottom: 40%; 
  animation-delay: 9.5s; 
  color: rgba(236, 72, 153, 0.6);
  font-size: 2.6rem;
}

/* Top section symbols */
.music-symbol-pop.top-1 { 
  left: 10%; 
  top: 10%; 
  bottom: auto;
  animation-delay: 0.3s; 
  color: rgba(147, 51, 234, 0.5);
  font-size: 2rem;
}
.music-symbol-pop.top-2 { 
  left: 30%; 
  top: 15%; 
  bottom: auto;
  animation-delay: 1.2s; 
  color: rgba(236, 72, 153, 0.5);
  font-size: 2.4rem;
}
.music-symbol-pop.top-3 { 
  left: 50%; 
  top: 12%; 
  bottom: auto;
  animation-delay: 2.1s; 
  color: rgba(6, 182, 212, 0.5);
  font-size: 2.2rem;
}
.music-symbol-pop.top-4 { 
  left: 70%; 
  top: 18%; 
  bottom: auto;
  animation-delay: 2.9s; 
  color: rgba(249, 115, 22, 0.5);
  font-size: 2.6rem;
}
.music-symbol-pop.top-5 { 
  left: 90%; 
  top: 14%; 
  bottom: auto;
  animation-delay: 3.7s; 
  color: rgba(234, 179, 8, 0.5);
  font-size: 2.3rem;
}

/* Middle section symbols */
.music-symbol-pop.mid-1 { 
  left: 20%; 
  top: 40%; 
  bottom: auto;
  animation-delay: 1.5s; 
  color: rgba(59, 130, 246, 0.5);
  font-size: 2.5rem;
}
.music-symbol-pop.mid-2 { 
  left: 40%; 
  top: 45%; 
  bottom: auto;
  animation-delay: 2.3s; 
  color: rgba(147, 51, 234, 0.5);
  font-size: 2.1rem;
}
.music-symbol-pop.mid-3 { 
  left: 60%; 
  top: 42%; 
  bottom: auto;
  animation-delay: 3.1s; 
  color: rgba(236, 72, 153, 0.5);
  font-size: 2.7rem;
}
.music-symbol-pop.mid-4 { 
  left: 80%; 
  top: 48%; 
  bottom: auto;
  animation-delay: 3.9s; 
  color: rgba(6, 182, 212, 0.5);
  font-size: 2.4rem;
}

@keyframes pop-music-symbol {
  0% {
    transform: translateY(0) scale(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(-20px) scale(1.2) rotate(10deg);
  }
  30% {
    transform: translateY(-40px) scale(1) rotate(-5deg);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-60px) scale(0.9) rotate(5deg);
    opacity: 0.7;
  }
  70% {
    transform: translateY(-80px) scale(0.8) rotate(-3deg);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-120px) scale(0.5) rotate(0deg);
    opacity: 0;
  }
} */

/* Alternative pop animation for variety - DISABLED */
/* .music-symbol-pop.bounce-pop {
  animation: bounce-pop-symbol 2.5s ease-out infinite;
}

@keyframes bounce-pop-symbol {
  0% {
    transform: translateY(0) scale(0) rotate(0deg);
    opacity: 0;
  }
  15% {
    transform: translateY(-30px) scale(1.3) rotate(15deg);
    opacity: 1;
  }
  30% {
    transform: translateY(-20px) scale(1.1) rotate(-10deg);
    opacity: 0.9;
  }
  45% {
    transform: translateY(-50px) scale(1) rotate(8deg);
    opacity: 0.8;
  }
  60% {
    transform: translateY(-70px) scale(0.9) rotate(-5deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-150px) scale(0.4) rotate(0deg);
    opacity: 0;
  }
}

/* Spin pop animation - DISABLED */
/* .music-symbol-pop.spin-pop {
  animation: spin-pop-symbol 3.5s ease-out infinite;
}

@keyframes spin-pop-symbol {
  0% {
    transform: translateY(0) scale(0) rotate(0deg);
    opacity: 0;
  }
  20% {
    transform: translateY(-25px) scale(1.2) rotate(180deg);
    opacity: 1;
  }
  40% {
    transform: translateY(-45px) scale(1) rotate(360deg);
    opacity: 0.9;
  }
  60% {
    transform: translateY(-65px) scale(0.9) rotate(540deg);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-130px) scale(0.3) rotate(720deg);
    opacity: 0;
  }
} */

/* Particle System */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--music-purple);
  border-radius: 50%;
  animation: particle-float 20s infinite;
  opacity: 0.6;
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}

/* Gradient Background Animation */
.gradient-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: orb-move 20s ease-in-out infinite;
}

.gradient-orb-1 {
  background: radial-gradient(circle, var(--music-purple), transparent);
  top: -250px;
  left: -250px;
  animation-delay: 0s;
}

.gradient-orb-2 {
  background: radial-gradient(circle, var(--music-pink), transparent);
  bottom: -250px;
  right: -250px;
  animation-delay: 5s;
}

.gradient-orb-3 {
  background: radial-gradient(circle, var(--music-cyan), transparent);
  top: 50%;
  right: -250px;
  animation-delay: 10s;
}

@keyframes orb-move {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(100px, 100px) scale(1.2);
  }
  66% {
    transform: translate(-100px, 50px) scale(0.8);
  }
}

/* Enhanced Glassmorphism */
.glass-card {
  background: rgba(26, 26, 36, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(147, 51, 234, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card:hover {
  border-color: rgba(147, 51, 234, 0.5);
  box-shadow: 0 8px 32px rgba(147, 51, 234, 0.3);
  transition: all 0.3s ease;
}

/* Vibrant Gradient Text */
.gradient-text-purple {
  background: linear-gradient(135deg, #9333ea, #ec4899, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-orange {
  background: linear-gradient(135deg, #f97316, #eab308, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #06b6d4, #3b82f6, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pulsing Glow Effect */
.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(147, 51, 234, 0.8), 0 0 60px rgba(236, 72, 153, 0.4);
  }
}

/* Shimmer Effect */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Enhanced Button Styles */
.btn-music-primary {
  background: linear-gradient(135deg, #9333ea, #ec4899);
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
}

.btn-music-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.6);
}

.btn-music-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-music-primary:hover::before {
  left: 100%;
}

/* Instrument Card Hover Effects */
.instrument-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.instrument-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #9333ea, #ec4899, #06b6d4, #f97316);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}

.instrument-card:hover::before {
  opacity: 1;
  animation: rotate-gradient 3s linear infinite;
}

@keyframes rotate-gradient {
  0% {
    background: linear-gradient(0deg, #9333ea, #ec4899, #06b6d4, #f97316);
  }
  100% {
    background: linear-gradient(360deg, #9333ea, #ec4899, #06b6d4, #f97316);
  }
}

/* Section Background with Pattern */
.section-bg {
  position: relative;
  background: linear-gradient(180deg, #0a0a0f 0%, #111118 50%, #0a0a0f 100%);
}

.section-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* ============================================
   MUSICAL HOVER EFFECTS
   ============================================ */

/* Musical Hover Sound Wave Effect - DISABLED */
/* .musical-hover {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.musical-hover::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.4), rgba(236, 72, 153, 0.3), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.musical-hover:hover::before {
  width: 300px;
  height: 300px;
  opacity: 1;
}

.musical-hover > * {
  position: relative;
  z-index: 1;
} */

/* Musical Note Popup on Hover */
.musical-note-hover {
  position: relative;
}

.musical-note-hover::after {
  content: '♪';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%) scale(0) rotate(0deg);
  font-size: 1.5rem;
  color: var(--music-purple);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
  z-index: 10;
}

.musical-note-hover:hover::after {
  transform: translateX(-50%) scale(1.5) rotate(360deg) translateY(-30px);
  opacity: 1;
}

/* Sound Wave Ripple Effect */
.sound-wave-hover {
  position: relative;
}

.sound-wave-hover::before,
.sound-wave-hover::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border: 2px solid var(--music-purple);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

/* .musical-hover.sound-wave-hover:hover::before {
  animation: sound-wave-ripple 1s ease-out;
}

.musical-hover.sound-wave-hover:hover::after {
  animation: sound-wave-ripple 1s ease-out 0.3s;
} */

@keyframes sound-wave-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0.8;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

/* Circular Hover Effect for Course Cards */
.course-card-hover {
  position: relative;
}

.course-card-hover::before,
.course-card-hover::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(147, 51, 234, 0.7) 0%, 
    rgba(236, 72, 153, 0.5) 25%, 
    rgba(6, 182, 212, 0.3) 50%, 
    transparent 75%);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.course-card-hover:hover::before {
  animation: circle-ripple-1 1.5s ease-out;
}

.course-card-hover:hover::after {
  animation: circle-ripple-2 1.5s ease-out 0.3s;
}

@keyframes circle-ripple-1 {
  0% {
    width: 0;
    height: 0;
    opacity: 0.9;
  }
  30% {
    opacity: 0.7;
  }
  100% {
    width: 1000px;
    height: 1000px;
    opacity: 0;
  }
}

@keyframes circle-ripple-2 {
  0% {
    width: 0;
    height: 0;
    opacity: 0.7;
  }
  30% {
    opacity: 0.5;
  }
  100% {
    width: 1200px;
    height: 1200px;
    opacity: 0;
  }
}

/* Additional circular glow effect */
.course-card-hover .course-circle-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(147, 51, 234, 0.6) 0%, 
    rgba(236, 72, 153, 0.4) 30%, 
    rgba(6, 182, 212, 0.2) 60%, 
    transparent 80%);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: all 0.4s ease;
}

.course-card-hover:hover .course-circle-glow {
  width: 400px;
  height: 400px;
  opacity: 0.5;
  animation: circle-pulse 2s ease-in-out infinite;
}

@keyframes circle-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.7;
  }
}

/* Ensure content stays above the circles */
.course-card-hover > *:not(.course-circle-glow) {
  position: relative;
  z-index: 2;
}

/* Musical Glow Pulse on Hover - DISABLED */
/* .musical-glow-hover {
  transition: all 0.3s ease;
}

.musical-glow-hover:hover {
  box-shadow: 
    0 0 20px rgba(147, 51, 234, 0.5),
    0 0 40px rgba(236, 72, 153, 0.3),
    0 0 60px rgba(6, 182, 212, 0.2);
  animation: musical-glow-pulse 1.5s ease-in-out infinite;
}

@keyframes musical-glow-pulse {
  0%, 100% {
    box-shadow: 
      0 0 20px rgba(147, 51, 234, 0.5),
      0 0 40px rgba(236, 72, 153, 0.3),
      0 0 60px rgba(6, 182, 212, 0.2);
  }
  50% {
    box-shadow: 
      0 0 30px rgba(147, 51, 234, 0.7),
      0 0 60px rgba(236, 72, 153, 0.5),
      0 0 90px rgba(6, 182, 212, 0.3);
  }
} */

/* Musical Scale Animation */
.musical-scale-hover {
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.musical-scale-hover:hover {
  transform: scale(1.05) translateY(-5px);
}

/* Musical Rotation Effect */
.musical-rotate-hover {
  transition: transform 0.4s ease;
}

.musical-rotate-hover:hover {
  transform: rotate(2deg) scale(1.02);
}

/* Musical Color Shift */
.musical-color-shift {
  transition: all 0.3s ease;
}

.musical-color-shift:hover {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(236, 72, 153, 0.1));
  border-color: var(--music-purple);
}

/* Musical Text Glow */
.musical-text-glow {
  transition: all 0.3s ease;
}

.musical-text-glow:hover {
  text-shadow: 
    0 0 10px rgba(147, 51, 234, 0.8),
    0 0 20px rgba(236, 72, 153, 0.6),
    0 0 30px rgba(6, 182, 212, 0.4);
  color: var(--music-purple);
}

/* Musical Button Hover */
.musical-btn-hover {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.musical-btn-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.musical-btn-hover:hover::before {
  left: 100%;
}

.musical-btn-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
}

/* Musical Card Hover with Multiple Notes - DISABLED */
/* .musical-card-hover {
  position: relative;
  overflow: visible;
}

.musical-card-hover::before,
.musical-card-hover::after {
  content: '♪';
  position: absolute;
  font-size: 1.2rem;
  color: var(--music-purple);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
  z-index: 10;
}

.musical-card-hover::before {
  top: -15px;
  left: 20px;
  transform: scale(0) rotate(0deg);
}

.musical-card-hover::after {
  bottom: -15px;
  right: 20px;
  transform: scale(0) rotate(0deg);
}

.musical-card-hover:hover::before {
  opacity: 1;
  transform: scale(1.3) rotate(360deg) translateY(-10px);
  animation: float-note-up 1s ease-out;
}

.musical-card-hover:hover::after {
  opacity: 1;
  transform: scale(1.3) rotate(-360deg) translateY(10px);
  animation: float-note-down 1s ease-out;
}

@keyframes float-note-up {
  0% {
    transform: scale(1.3) rotate(360deg) translateY(0);
  }
  100% {
    transform: scale(1.5) rotate(360deg) translateY(-20px);
    opacity: 0;
  }
}

@keyframes float-note-down {
  0% {
    transform: scale(1.3) rotate(-360deg) translateY(0);
  }
  100% {
    transform: scale(1.5) rotate(-360deg) translateY(20px);
    opacity: 0;
  }
} */

/* Musical Link Hover */
.musical-link-hover {
  position: relative;
  transition: all 0.3s ease;
}

/* .musical-link-hover::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--music-purple), var(--music-pink), var(--music-cyan));
  transition: width 0.3s ease;
}

.musical-link-hover:hover::before {
  width: 100%;
} */

.musical-link-hover:hover {
  color: var(--music-blue);
  transform: translateX(5px);
}

/* Musical Image Hover */
.musical-image-hover {
  position: relative;
  overflow: hidden;
}

.musical-image-hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(236, 72, 153, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.musical-image-hover:hover::after {
  opacity: 1;
}

.musical-image-hover:hover img {
  transform: scale(1.1) rotate(1deg);
  filter: brightness(1.1) saturate(1.2);
}

/* Musical Input Focus */
.musical-input-focus:focus {
  outline: none;
  border-color: var(--music-purple);
  box-shadow: 
    0 0 0 3px rgba(147, 51, 234, 0.1),
    0 0 15px rgba(147, 51, 234, 0.3);
  animation: musical-input-pulse 2s ease-in-out infinite;
}

@keyframes musical-input-pulse {
  0%, 100% {
    box-shadow: 
      0 0 0 3px rgba(147, 51, 234, 0.1),
      0 0 15px rgba(147, 51, 234, 0.3);
  }
  50% {
    box-shadow: 
      0 0 0 3px rgba(147, 51, 234, 0.2),
      0 0 25px rgba(236, 72, 153, 0.4);
  }
}

/* Enhanced Background Music Visualizer */
.music-visualizer-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.music-frequency-bars {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0 20px;
  gap: 3px;
}

.frequency-bar {
  flex: 1;
  max-width: 8px;
  background: linear-gradient(to top, 
    var(--music-purple) 0%,
    var(--music-pink) 25%,
    var(--music-cyan) 50%,
    var(--music-orange) 75%,
    var(--music-yellow) 100%
  );
  border-radius: 4px 4px 0 0;
  animation: frequency-pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.6);
}

.frequency-bar:nth-child(odd) {
  animation-duration: 1.2s;
}

.frequency-bar:nth-child(even) {
  animation-duration: 1.8s;
}

@keyframes frequency-pulse {
  0%, 100% {
    transform: scaleY(0.2);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Music Spectrum Lines */
.music-spectrum {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

.spectrum-line {
  position: absolute;
  width: 2px;
  background: linear-gradient(to bottom, 
    transparent,
    var(--music-purple),
    var(--music-pink),
    var(--music-cyan),
    transparent
  );
  animation: spectrum-move 4s linear infinite;
}

.spectrum-line:nth-child(1) { left: 10%; animation-delay: 0s; height: 30%; }
.spectrum-line:nth-child(2) { left: 20%; animation-delay: 0.5s; height: 40%; }
.spectrum-line:nth-child(3) { left: 30%; animation-delay: 1s; height: 50%; }
.spectrum-line:nth-child(4) { left: 40%; animation-delay: 1.5s; height: 45%; }
.spectrum-line:nth-child(5) { left: 50%; animation-delay: 2s; height: 55%; }
.spectrum-line:nth-child(6) { left: 60%; animation-delay: 2.5s; height: 50%; }
.spectrum-line:nth-child(7) { left: 70%; animation-delay: 3s; height: 40%; }
.spectrum-line:nth-child(8) { left: 80%; animation-delay: 3.5s; height: 35%; }
.spectrum-line:nth-child(9) { left: 90%; animation-delay: 4s; height: 30%; }

@keyframes spectrum-move {
  0% {
    transform: translateY(100vh);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .sound-waves {
    height: 100px;
    gap: 4px;
  }
  
  .wave-bar {
    width: 3px;
  }
  
  .sound-waves-top {
    height: 80px;
  }
  
  .side-sound-waves-left,
  .side-sound-waves-right {
    width: 60px;
    gap: 6px;
  }
  
  .side-wave-bar {
    width: 30px;
    height: 3px;
  }
  
  .circular-wave:nth-child(1) {
    width: 150px;
    height: 150px;
  }
  
  .circular-wave:nth-child(2) {
    width: 250px;
    height: 250px;
  }
  
  .circular-wave:nth-child(3) {
    width: 350px;
    height: 350px;
  }
  
  .gradient-orb {
    width: 300px;
    height: 300px;
  }
  
  .musical-note {
    font-size: 1.5rem;
  }
  
  /* .musical-hover::before {
    width: 200px !important;
    height: 200px !important;
  } */
  
  .music-frequency-bars {
    height: 80px;
    padding: 0 10px;
  }
  
  .frequency-bar {
    max-width: 5px;
  }
}

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

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

/* Enhanced Header Gradient */
.header-gradient {
  background: linear-gradient(135deg, 
    rgba(10, 10, 15, 0.95) 0%,
    rgba(17, 17, 24, 0.95) 50%,
    rgba(10, 10, 15, 0.95) 100%
  );
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(147, 51, 234, 0.2);
}

/* Image Enhancement */
.hd-image {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: brightness(1.05) contrast(1.1) saturate(1.2);
}

.hd-image:hover {
  filter: brightness(1.1) contrast(1.15) saturate(1.3);
  transition: filter 0.3s ease;
}
