#hiro-player {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #231F20;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  padding: 12px 20px;
  z-index: 9999;
  width: 500px; /* desktop */
  max-width: 95%; /* na mobile nie wychodzi poza ekran */
}

.hiro-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#hiro-logo {
  height: 50px;
}

#play-btn {
  background: url('../img/radioplayerHiro/playbtn.png') no-repeat center center;
  background-size: contain;
  width: 50px;
  height: 50px;
  border: none;
  margin-left: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#play-btn.playing {
  animation: pulsePause 2s infinite;
}

@keyframes pulsePause {
  0%, 100% {
    background: url('../img/radioplayerHiro/pauseWhite.png') no-repeat center center;
    background-size: contain;
  }
  50% {
    background: url('../img/radioplayerHiro/pausePurple.png') no-repeat center center;
    background-size: contain;
  }
}

.hiro-bottom {
  display: flex;
  align-items: center;
  margin-top: 12px;
}

#volume-slider {
  flex: 1;
  appearance: none;
  height: 6px;
  background: linear-gradient(
    to right,
    #392769 100%, /* pełna głośność na start */
    #D7D6DC 0%
  );
  border-radius: 3px;
  outline: none;
  margin-right: 10px;
  cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: #392769;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

#volume-icon {
  height: 20px;
}

@media screen and (max-width: 600px) {
  .hiro-bottom {
    display: none !important; /* ukrywa suwak głośności na mobile */
  }

  #hiro-logo {
    height: 40px;
  }

  #play-btn {
    width: 40px;
    height: 40px;
  }
}
