* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.radio-container {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  text-align: center;
}

.radio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.status {
  background: #e74c3c;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.now-playing { margin: 20px 0; }

.track-info h2 { font-size: 26px; margin-bottom: 6px; transition: 0.3s; }
.track-info p { color: #aaa; font-size: 15px; }

.visualizer {
  display: flex;
  justify-content: center;
  gap: 5px;
  height: 30px;
  margin-top: 15px;
}

.visualizer .bar {
  width: 6px;
  background: #4ecca3;
  border-radius: 4px;
  animation: wave 1s ease-in-out infinite;
}

.visualizer .bar:nth-child(2) { animation-delay: 0.15s; }
.visualizer .bar:nth-child(3) { animation-delay: 0.3s; }
.visualizer .bar:nth-child(4) { animation-delay: 0.45s; }
.visualizer .bar:nth-child(5) { animation-delay: 0.6s; }

.visualizer.paused .bar { animation: none; height: 6px; opacity: 0.4; }

@keyframes wave {
  0%, 100% { height: 6px; }
  50% { height: 28px; }
}

.controls {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 24px 0;
}

.controls button {
  background: transparent;
  border: 2px solid #4ecca3;
  color: #4ecca3;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.controls button:hover { background: #4ecca3; color: #1a1a2e; transform: scale(1.05); }
.controls button:active { transform: scale(0.95); }

.progress-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #ccc;
}

#progress {
  flex: 1;
  accent-color: #4ecca3;
  height: 6px;
  cursor: pointer;
}

.controls button i {
  display: block;
  margin: 0 auto;
  line-height: 50px;
}