* { box-sizing: border-box; }

body {
  margin: 0;
  background: #0b0b0b;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
}

.elf-radio {
  width: 330px;
  background: linear-gradient(180deg, #1c1c1c, #0e0e0e);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,.8);
}

.art {
  position: relative;
}

.art img {
  width: 100%;
  border-radius: 18px;
}

.equalizer {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 4px;
  opacity: 0;
}

.equalizer span {
  width: 4px;
  height: 14px;
  background: #2e7cff;
  animation: bounce 1s infinite ease-in-out;
}

.equalizer span:nth-child(2){animation-delay:.1s}
.equalizer span:nth-child(3){animation-delay:.2s}
.equalizer span:nth-child(4){animation-delay:.3s}

@keyframes bounce {
  0%,100% { height: 6px; }
  50% { height: 16px; }
}

.meta {
  padding: 12px 6px;
}

.station {
  font-size: 0.8em;
  opacity: .7;
}

.channel {
  font-weight: 600;
}

.track {
  font-size: 0.85em;
  opacity: .8;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.controls button {
  background: #1a1a1a;
  border: none;
  color: #fff;
  font-size: 18px;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}

#play {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2e7cff, #1b4ed8);
  position: relative;
}

#play::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 23px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

#play.playing::before {
  content: '';
  top: 18px;
  left: 20px;
  width: 6px;
  height: 20px;
  background: #fff;
  box-shadow: 10px 0 #fff;
  border: none;
}

.volume {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.volume input {
  flex: 1;
}

.tabs {
  display: flex;
  margin-top: 14px;
}

.tabs button {
  flex: 1;
  margin: 0 4px;
  background: #1a1a1a;
  border: none;
  color: #fff;
  padding: 8px;
  border-radius: 14px;
  font-size: 0.8em;
  cursor: pointer;
}

.tabs button.active {
  background: #2e7cff;
}

.below {
  margin: 25px;
  font-weight: bold;
}

footer {
  font-size: 0.8em;
  opacity: .6;
}
