body {
  margin: 0;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background: #00a1b8;
}

* {
  box-sizing: border-box;
}

.classic-player {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at center 34%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 26%, rgba(255,255,255,0) 44%),
    linear-gradient(180deg, #00a8bf 0%, #009fb7 100%);
}

.classic-player::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
  pointer-events: none;
}

.visualizer {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 0 18px;
  opacity: 0.18;
  pointer-events: none;
}

.visualizer span {
  flex: 1 1 auto;
  min-width: 6px;
  height: 24%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0));
  transform-origin: bottom center;
  animation: idleBars 2.8s ease-in-out infinite;
}

.visualizer span:nth-child(3n) { animation-duration: 3.3s; }
.visualizer span:nth-child(4n) { animation-duration: 2.2s; }
.visualizer span:nth-child(5n) { animation-duration: 2.9s; }

.classic-player:not(.is-playing) .visualizer span {
  animation-play-state: paused;
  transform: scaleY(0.35);
}

@keyframes idleBars {
  0%, 100% { transform: scaleY(0.3); opacity: 0.55; }
  20% { transform: scaleY(0.75); opacity: 0.85; }
  50% { transform: scaleY(1); opacity: 1; }
  80% { transform: scaleY(0.5); opacity: 0.72; }
}

.cover-wrap {
  position: absolute;
  top: 20px;
  left: 50%;
  width: min(50vh - 20px, 100%);
  height: min(50vh - 20px, 100%);
  min-width: 180px;
  min-height: 180px;
  transform: translateX(-50%);
}

.cover-blur,
.cover-ring,
.cover-image {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.cover-blur {
  background: rgba(255, 255, 255, 0.32);
  filter: blur(34px);
  transform: scale(0.78);
  opacity: 0.38;
}

.cover-blur-1 {
  transform: translateY(48px) scale(0.76);
}

.cover-blur-2 {
  transform: translateY(48px) scale(0.66);
  opacity: 0.22;
}

.cover-ring {
  border: 20px solid rgba(255, 255, 255, 0.25);
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.meta {
  position: absolute;
  left: 20px;
  width: calc(100vw - 40px);
  text-align: center;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(229, 0, 102, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.station-name {
  top: calc(50vh + 20px);
  font-size: 16px;
  line-height: 24px;
  height: 24px;
}

.artist {
  top: calc(50vh + 50px);
  font-size: 20px;
  line-height: 30px;
  height: 30px;
  font-weight: 700;
}

.song-title {
  top: calc(50vh + 80px);
  font-size: 16px;
  line-height: 24px;
  height: 24px;
}

.volume-wrap {
  position: absolute;
  left: 20px;
  right: 20px;
  top: calc(75vh - 20px);
  height: 40px;
  display: flex;
  align-items: center;
}

.volume-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 0;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
  cursor: pointer;
}

.volume-range::-moz-range-track {
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.volume-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 0;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
  cursor: pointer;
}

.play-btn,
.volume-btn {
  position: absolute;
  z-index: 43;
  border: 2px solid #ffffff;
  background: #e50066;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  left: 50%;
  bottom: 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  transform: translateX(-50%);
}

.play-btn svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.icon-pause {
  display: none;
}

.classic-player.is-playing .icon-play {
  display: none;
}

.classic-player.is-playing .icon-pause {
  display: block;
}

.volume-btn {
  right: 20px;
  bottom: 40px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
}

.volume-btn svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

.icon-volume-off {
  display: none;
}

.classic-player.is-muted .icon-volume-on {
  display: none;
}

.classic-player.is-muted .icon-volume-off {
  display: block;
}

.developer {
  background: url(/images/semseo-icon-1.png);
  background-size: 100%;
  position: absolute;
  z-index: 43;
  height: 40px;
  width: 40px;
  bottom: 40px;
  left: 20px;
}

.raport-2025,
.warning-2025 {
  background: url(/images/report.png);
  background-size: 100%;
  position: absolute;
  z-index: 43;
  height: 30px;
  width: 30px;
  top: 80px;
  left: 20px;
}

.raport-2025-link,
.warning-2025-link {
  position: absolute;
  z-index: 43;
  height: 40px;
  width: 350px;
  top: 80px;
  left: 60px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  line-height: 15px;
  text-shadow: 0 0 5px rgba(229, 0, 102, 0.6);
}

.warning-2025,
.warning-2025-link {
  top: 40px;
}

@media (max-width: 900px) {
  .cover-wrap {
    width: min(42vh, 260px);
    height: min(42vh, 260px);
  }
}

@media (max-width: 640px) {
  .classic-player {
    min-height: 100vh;
  }

  .cover-wrap {
    top: 26px;
    width: min(38vh, 210px);
    height: min(38vh, 210px);
    min-width: 150px;
    min-height: 150px;
  }

  .cover-ring {
    border-width: 14px;
  }

  .station-name {
    top: calc(38vh + 44px);
  }

  .artist {
    top: calc(38vh + 72px);
    font-size: 18px;
  }

  .song-title {
    top: calc(38vh + 102px);
    font-size: 14px;
  }

  .volume-wrap {
    top: auto;
    bottom: 124px;
  }

  .raport-2025-link,
  .warning-2025-link {
    width: calc(100vw - 72px);
    max-width: 320px;
    font-size: 14px;
  }
}
