:root {
  --lime: #bfff00;
  --yellow: #fff700;
  --blue: #00a1ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, var(--blue), var(--lime));
  position: relative;
  overflow: hidden;
}

.background-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.background-effect.active {
  opacity: 1;
}

.wave {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 70%
  );
  animation: pulseWave 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes pulseWave {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.wave:nth-child(2) {
  animation-delay: 0.5s;
}

.wave:nth-child(3) {
  animation-delay: 1s;
}

.player-container {
  width: 100%;
  padding: 0 20px;
}

.player {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  height: 60px;
  padding: 0 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
}

.logo {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
}

.radio-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.player-controls {
  display: flex;
  align-items: center;

  flex-grow: 1;
}

.control-btn,
.share-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
}

.control-btn svg,
.share-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--yellow);
  transition: fill 0.3s;
}

.control-btn:hover svg,
.share-btn:hover svg {
  fill: var(--lime);
}

.hidden {
  display: none;
}

.share-buttons {
  display: flex;

  flex-grow: 1;
}

.volume-container {
  display: flex;
  align-items: center;

  min-width: 100px;
}

#volumeSlider {
  width: 60px;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

#volumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--yellow);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

#volumeSlider::-webkit-slider-thumb:hover {
  background: var(--lime);
}
