.footer-player {
  position: sticky;
  bottom: 0;
  width: 100%;
  background: #000;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.7);
  z-index: 999;
  gap: 28px;
  display: none;
  min-height: 62px;
}

.left-meta {
  display: flex;
  flex-direction: column;
  color: white;
  min-width: 230px;
  max-width: 230px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-title {
  font-size: 14px;
  font-weight: bold;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.01em;
}


a.track-title,
a.track-title:visited,
a.track-title:active {
  color: #fff !important;
  text-decoration: none !important;
}

a.track-title:hover {
  color: #cc292c !important;
  text-decoration: underline !important;
}

.track-artist {
  font-size: 13px;
  color: #aaa;
  max-width: 210px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#waveformWrapper {
  width: 410px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#waveform {
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.seekbar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 400px; /* ihtiyaca göre */
}
.seekbar {
  flex: 1;
  height: 8px;
  background: #373543;
  border-radius: 5px;
  position: relative;
  cursor: pointer;
}
.seekbar-progress {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #ff3575, #fd7329 85%);
  width: 0%;
  transition: width 0.2s;
}
#currentTime, #totalTime {
  color: #999;
  font-size: 13px;
  min-width: 46px;
  text-align: center;
}


.controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.controls button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  border-radius: 50%;
  transition: background 0.12s;
}
.controls button:active,
.controls button:focus {
  background: #1a191e;
}
.controls i {
  width: 22px;
  min-width: 22px;
  text-align: center;
  font-size: 20px;
  display: inline-block;
}
#playPauseBtn i {
  width: 22px;
  min-width: 22px;
  font-size: 22px;
  display: inline-block;
  text-align: center;
}

/* Volume */
.volume {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.volume i {
  font-size: 20px;
  color: white;
}

.volume-popup {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 140px;
  background: #1a191e;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  z-index: 1000;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.volume-popup.show {
  opacity: 1;
  pointer-events: auto;
}


.volume:hover .volume-popup {
  display: flex;
}

.volume-popup input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 110px;
  height: 30px;
  background: transparent;
  cursor: pointer;
  writing-mode: bt-lr;  /* Firefox dikey */
  transform: rotate(270deg); /* Chrome/Safari dikey */
}

/* Chrome / Safari track */
.volume-popup input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    #ff3575 0%,
    #ff3575 calc(var(--val, 50) * 100%),
    #222 calc(var(--val, 50) * 100%),
    #222 100%
  );
}

/* Chrome / Safari thumb */
.volume-popup input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: #ff3575;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: -4px;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

/* Firefox */
.volume-popup input[type="range"]::-moz-range-track {
  background: #222;
  height: 6px;
  border-radius: 3px;
}
.volume-popup input[type="range"]::-moz-range-progress {
  background: #ff3575;
  height: 6px;
  border-radius: 3px;
}
.volume-popup input[type="range"]::-moz-range-thumb {
  background: #ff3575;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;
}


/* Info/Download/Autoplay */
.info-btn,
#downloadBtn {
  background: none;
  border: none;
  color: #fff;
  font-size: 19px;
  cursor: pointer;
  outline: none;
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.autoplay-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 30px;
  position: relative;
}

#autoplayIcon {
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  transition: color 0.2s;
}
#autoplayIcon.active {
  color: #fd7329;
}

.info-popup {
  position: absolute;
  bottom: 55px;
  left: 0;
  background: #222;
  color: #fff;
  padding: 12px 14px;
  border-radius: 6px;
  display: none;
  width: 230px;
  font-size: 13px;
  box-shadow: 0 4px 24px #000a;
}

@media (max-width: 900px) {
  #waveformWrapper, #waveform {
    width: 96vw !important;
    min-width: unset !important;
    max-width: 98vw !important;
  }
  .footer-player {
    flex-wrap: wrap;
    gap: 9px;
    font-size: 13px;
    padding: 10px 2vw 0 2vw;
  }
  .left-meta, .controls, .volume, .autoplay-toggle {
    min-width: unset;
    max-width: 99vw;
  }
}

@media (max-width: 600px) {
  .footer-player {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 6px 2vw !important;
    font-size: 13px;
    min-height: 46px;
  }
  .left-meta {
    min-width: 0;
    max-width: 40vw;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 1;
  }
  .track-title, .track-artist {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
  }
  #waveformWrapper, #waveform, .seekbar-row {
    width: 42vw !important;
    min-width: 38vw !important;
    max-width: 44vw !important;
  }
  .seekbar {
    height: 6px;
    border-radius: 2px;
  }
  .controls {
    gap: 6px !important;
  }
  .controls button {
    width: 30px;
    height: 30px;
    min-width: 24px;
    min-height: 24px;
    font-size: 16px;
    padding: 0;
  }
  .controls i, #playPauseBtn i {
    font-size: 17px;
    min-width: 17px;
    width: 17px;
  }
  #currentTime, #totalTime {
    font-size: 10.5px;
    min-width: 25px;
    max-width: 32px;
    padding: 0 1px;
  }

  /* GEREKSİZLERİ GİZLE */
  .volume,
  .volume-popup,
  .autoplay-toggle,
  #autoplayIcon,
  .random-btn,
  .info-btn,
  #downloadBtn {
    display: none !important;
  }
  /* Tüm varyasyonları kapat */
  .random-btn,
  #randomBtn,
  button.random-btn,
  i.random-btn,
  .fa-random,
  .controls .fa-random,
  .controls button#randomBtn,
  .controls button.random-btn {
    display: none !important;
  }
}




















.shortcuts-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  background: rgba(30,30,30,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.shortcuts-modal {
  background: #424242;
  border-radius: 8px;
  padding: 44px 48px 38px 48px;
  box-shadow: 0 4px 40px 0 rgba(0,0,0,.6);
  min-width: 520px;
  max-width: 98vw;
  position: relative;
  color: #fff;
}

.shortcuts-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 26px;
  letter-spacing: 1px;
  font-family: 'Montserrat', 'Arial', sans-serif;
}

.shortcuts-heading {
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

.shortcuts-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.shortcuts-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: #f1f1f1;
  gap: 12px;
}

.key {
  font-size: 14px;
  background: #313131;
  border-radius: 4px;
  padding: 5px 14px;
  color: #fff;
  font-weight: bold;
  border: 1px solid #666;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
  letter-spacing: 1px;
}

.shortcuts-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  transition: color .2s;
  z-index: 3;
  line-height: 1;
}
.shortcuts-close:hover { color: #ff3575; }

@media (max-width: 700px) {
  .shortcuts-modal {
    min-width: 0;
    padding: 30px 12px 24px 12px;
    width: 98vw;
    max-width: 98vw;
  }
  .shortcuts-title { font-size: 20px; }
  .shortcuts-heading { font-size: 15px; }
}