/* Radio Player — MIO Dashboard */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=JetBrains+Mono:wght@400;700&family=Space+Grotesk:wght@300;400;600&display=swap');

#tab-radio {
  background: #0a0a0f;
  align-items: center;
  justify-content: center;
}

.radio-player {
  width: 420px;
  max-width: 95vw;
  background: #12121a;
  border: 1px solid #1e1e2e;
  border-radius: 24px;
  padding: 40px 32px 32px;
  box-shadow: 0 0 80px rgba(0,229,255,.06), 0 24px 48px rgba(0,0,0,.5);
  animation: radioFadeIn .8s ease-out;
}

@keyframes radioFadeIn {
  from { opacity:0; transform:translateY(20px) scale(.98); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}

/* Live badge */
.radio-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,61,113,.12);
  border: 1px solid rgba(255,61,113,.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff3d71;
  margin-bottom: 28px;
}
.radio-live-badge.offline {
  background: rgba(107,107,128,.12);
  border-color: rgba(107,107,128,.3);
  color: #6b6b80;
}
.radio-live-dot {
  width: 8px;
  height: 8px;
  background: #ff3d71;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}
.radio-live-badge.offline .radio-live-dot {
  background: #6b6b80;
  animation: none;
}
@keyframes livePulse {
  0%,100% { opacity:1; box-shadow:0 0 0 0 rgba(255,61,113,.6); }
  50%      { opacity:.5; box-shadow:0 0 0 6px rgba(255,61,113,0); }
}

/* DJ Name */
.radio-dj-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #e8e8f0 0%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.radio-dj-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #6b6b80;
  letter-spacing: 1px;
  margin-bottom: 32px;
}

/* Visualizer */
.radio-visualizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 60px;
  margin-bottom: 32px;
  padding: 0 20px;
}
.viz-bar {
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(to top, #00e5ff, #ff3d71);
  opacity: .7;
  height: 4px;
  transition: height .1s;
}
.viz-bar.active {
  animation: vizBounce var(--speed, .4s) ease-in-out infinite alternate;
}
@keyframes vizBounce {
  0%   { height: var(--min-h, 3px); opacity: .4; }
  100% { height: var(--max-h, 30px); opacity: .9; }
}

/* Now Playing */
.radio-now-playing {
  background: rgba(0,229,255,.04);
  border: 1px solid rgba(0,229,255,.1);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 28px;
  min-height: 62px;
}
.radio-np-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #00e5ff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.radio-np-track {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #e8e8f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
}

/* Play button */
.radio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.radio-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #00e5ff;
  background: rgba(0,229,255,.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}
.radio-play-btn:hover {
  background: rgba(0,229,255,.15);
  box-shadow: 0 0 30px rgba(0,229,255,.2);
  transform: scale(1.05);
}
.radio-play-btn:active { transform: scale(.97); }
.radio-play-btn svg {
  width: 28px;
  height: 28px;
  fill: #00e5ff;
}

/* Volume */
.radio-volume-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
}
.radio-volume-wrap svg {
  width: 18px;
  height: 18px;
  fill: #6b6b80;
  flex-shrink: 0;
}
.radio-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #1e1e2e;
  outline: none;
  cursor: pointer;
}
.radio-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #00e5ff;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,229,255,.3);
}
.radio-volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #00e5ff;
  cursor: pointer;
  border: none;
}

/* Meta row */
.radio-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #1e1e2e;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #6b6b80;
}
.radio-listeners {
  display: flex;
  align-items: center;
  gap: 6px;
}
.radio-listeners-dot {
  width: 6px;
  height: 6px;
  background: #4caf50;
  border-radius: 50%;
  display: inline-block;
}