@font-face {
  font-family: 'Tajawal';
  src: url('fonts/Tajawal-Regular.woff2') format('woff2');
  font-weight: 400;
}
@font-face {
  font-family: 'Tajawal';
  src: url('fonts/Tajawal-Bold.woff2') format('woff2');
  font-weight: 700;
}
body {
  margin: 0;
  font-family: 'Tajawal', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
h1 {
  margin-bottom: 20px;
  font-size: 2rem;
  text-shadow: 0 4px 8px rgba(0,0,0,0.6);
}
.player {
  background: rgba(0,0,0,0.6);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  text-align: center;
  width: 320px;
  backdrop-filter: blur(5px);
}
.station {
  margin: 15px 0;
  padding: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.station:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}
audio {
  margin-top: 15px;
  width: 100%;
  border-radius: 8px;
}
.note {
  font-size: 12px;
  color: #ccc;
  margin-top: 12px;
}
.sound-wave {
  display: flex;
  justify-content: center;
  align-items: end;
  height: 30px;
  margin-bottom: 10px;
}
.sound-wave span {
  display: block;
  width: 4px;
  height: 100%;
  margin: 0 2px;
  background: #00ff99;
  animation: wave 1s infinite ease-in-out;
}
.sound-wave span:nth-child(1) { animation-delay: 0s; }
.sound-wave span:nth-child(2) { animation-delay: 0.1s; }
.sound-wave span:nth-child(3) { animation-delay: 0.2s; }
.sound-wave span:nth-child(4) { animation-delay: 0.3s; }
.sound-wave span:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
  0%, 40%, 100% { transform: scaleY(0.3); }
  20% { transform: scaleY(1); }
}