/* -----------------------------------
   SPOTIFY PLAYER – CLEAN VERSION
----------------------------------- */

.sc-player {
  background: #121212;
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  overflow: hidden;
}

/* PLAY BUTTON */
.sc-play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #1DB954;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(29,185,84,0.25);
  transition: 0.25s ease;
}

.sc-play:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(29,185,84,0.35);
}

/* PLAY ICON */
.sc-play::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 13px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

/* PAUSE ICON */
.sc-player.playing .sc-play::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 12px;
  width: 6px;
  height: 20px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 12px 0 0 #fff;
}

/* WAVE */
.sc-wave {
  display: flex;
  gap: 4px;
  width: 28px;
}

.sc-wave span {
  width: 4px;
  height: 10px;
  background: #1DB954;
  border-radius: 2px;
  animation: wave 1s infinite ease-in-out;
  opacity: 0.4;
}

.sc-player.playing .sc-wave span {
  opacity: 1;
}

.sc-wave span:nth-child(1) { animation-delay: 0s; }
.sc-wave span:nth-child(2) { animation-delay: .2s; }
.sc-wave span:nth-child(3) { animation-delay: .4s; }

/* TIME */
.sc-time {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 80px;
  justify-content: space-between;
  color: #b3b3b3;
  font-size: 13px;
  font-weight: 500;
}

/* PROGRESS BAR */
.sc-progress {
  flex: 1;
  appearance: none;
  height: 5px;
  background: linear-gradient(
    to right,
    #1DB954 var(--progress, 0%),
    #404040 var(--progress, 0%)
  );
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  position: relative;
  top: 1px;
  margin-right: -6px;
  overflow: hidden;
}

.sc-progress::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  background: #1DB954;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(29,185,84,0.25);
  transition: 0.2s ease;
}

.sc-progress::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.sc-progress::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #1DB954;
  border-radius: 50%;
  border: none;
  box-shadow: 0 0 0 4px rgba(29,185,84,0.25);
}
.sc-player.playing .sc-play::before {
  border: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
}
