/* player.css */
.screen-and-diods {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.screen {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background-color: #171C2B;
  border: 2px solid #00F2B8;
  border-radius: 50px;
  padding: 15px;
  width: 95%;
  margin-bottom: 10px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  overflow: hidden;
}

.screen::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(25deg);
  pointer-events: none;
}

.screen:hover::after {
  animation: shine 3s forwards;
}

@keyframes shine {
  from {
    left: 100%;
  }
  to {
    left: -100%;
  }
}

.left-group,
.center-group,
.right-group {
  display: flex;
  align-items: center;
}
.left-group {
  flex: 1;
  gap: 5px;
  overflow: hidden;
}
.center-group {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  justify-content: center;
}
.right-group {
  margin-left: 10%;
  flex: 1;
  justify-content: flex-end;
  gap: 5px;
  overflow: hidden;
}
.stream-icon,
.track-icon {
  width: 24px;
  height: 24px;
}
.track-icon {
  height: 16px;
}
.station-label,
.track-name {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.station-label .scrolling-text,
.track-name .scrolling-text {
  display: inline-block;
}

.station-label .scrolling-text.marquee {
  animation: marquee 20s linear infinite;
}

.track-name .scrolling-text.marquee {
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(50%); }
  100% { transform: translateX(-100%); }
}
.station-label {
  font-size: 1.2rem;
  font-weight: bold;
  color: #00F2B8;
}
.track-name {
  font-size: 1rem;
  color: #fff;
}
.diods-row {
  display: flex;
  justify-content: center;
}
.diods-img {
  width: 80%;
  height: auto;
}
.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.player-controls.expanded {
  gap: 80px;
  justify-content: space-around;
}

.player-controls.expanded .player-btn {
  width: 90px !important;
  height: 90px !important;
  transition: width 0.3s ease, height 0.3s ease;
}

.player-controls.expanded .play-btn {
  width: 160px !important;
  height: 160px !important;
}

.diods-row.expanded {
  height: 70px !important;
  transition: height 0.3s ease;
}

.diods-row.expanded .equalizer-bar {
  width: 8px !important;
  margin: 0 4px !important;
  transition: width 0.3s ease, margin 0.3s ease;
}


.left-stack,
.right-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
  height: 100%;
}
.center-circle {
  position: relative;
  width: 200px;
  height: 200px;
}
.play-ellipse {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  transition: all 1.3s ease-in-out;
}

.play-btn {
  position: absolute;
  top: 40px;
  left: 40px;
  cursor: pointer;
}
.player-btn {
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  filter:
    drop-shadow(0px 14px 6px #00000031)
    drop-shadow(0px 10px 3px #00000031);
}
.player-btn:hover {
  transition: all 0.3s ease-in-out;
  transform: scale(0.95);
  filter:
    drop-shadow(0px 12px 6px #00000047)
    drop-shadow(0px 8px 3px #00000047);
}

@keyframes bounce {
  0% {
    transform: scale(0.95);
  }
  40% {
    transform: scale(0.92);
  }
  60% {
    transform: scale(0.93);
  }
  80% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(0.95);
  }
}

.player-btn:active {
  animation: bounce 0.4s ease-in-out;
}

#playPauseBtn {
  width: 120px;
  height: 120px;
}
#ffBtn, #rrBtn {
  width: 65px;
  height: 65px;
}
#randomBtn {
  width: 133px;
  height: 42px;
}
#shuffleBtn,
#favBtn {
  width: 38px;
  height: 38px;
}

.volume-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -1.5rem;
}
.volume-scale {
  margin-bottom: 5px;
}
.volume-slider {
  position: relative;
  cursor: pointer;
  z-index: 10;
}
.volume-line {
  display: block;
  height: auto;
}
.volume-knob {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translate(-50%, -50%);
  cursor: pointer;
  width: 55px;
  height: 55px;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.volume-knob:hover {
  transform: translate(-50%, -50%) scale(1.1);
  filter:
    drop-shadow(0px 8px 4px rgba(50, 50, 93, 0.20))
    drop-shadow(0px 6px 7px rgba(0, 0, 0, 0.27));
}

