/* ===== لیست آهنگ‌ها ===== */
.single-playlist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-playlist li {
  list-style: none;
  margin-bottom: 10px;
}

/* ردیف آهنگ */
.playlist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background: #1a1a1a;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.playlist-row:hover {
  background: #333;
  transform: scale(1.01);
}

/* شماره آهنگ */
.playlist-number {
  font-weight: 700;
  font-size: 16px;
  color: #ffcc00;
  width: 30px;
  text-align: center;
}

/* کاور آهنگ */
.playlist-cover img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

/* اطلاعات آهنگ */
.playlist-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.track-name,
.track-name a {
  color: #ffcc00;
  font-weight: 700;
  text-decoration: none;
  font-size: 12px
}

.artist-name {
  font-size: 13px;
  color: #aaa;
}

/* دکمه‌ها */
.playlist-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.playlist-play-btn {
  background: #ff3d00;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.playlist-play-btn:hover {
  transform: scale(1.1);
  background: #ff5722;
}

.playlist-download-btn {
  background: #ff3d00;
  color: #fff !important;
  border-radius: 999px;
  padding: 7px 14px;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s;
}

.playlist-download-btn:hover {
  transform: scale(1.1) !important;
  background: #ff5722;
}

.playlist-empty {
  color: #777;
  font-size: 14px;
}

/* ===== Playlist Title ===== */
.playlist-title {
  font-size: 18px;
  font-weight: 700;
  color: #ff6600;
  text-align: center;
  margin: 15px auto 20px auto;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: #121212;
  padding: 12px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  display: table;
  transition: all 0.3s ease;
  cursor: default;
}

.playlist-title:hover {
  color: #121212;
  background-color: #ff6600;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
  .playlist-title {
    font-size: 16px;
    padding: 10px 20px;
  }
}

@media screen and (max-width: 480px) {
  .playlist-title {
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* ردیف فعال */
.playlist-row.active {
  background: #ff3d00;
  color: #fff;
  transform: scale(1.02);
}

.playlist-row.active .track-name a,
.playlist-row.active .artist-name {
  color: #fff;
  font-weight: bold;
}
/* ===== پلیر پایین ===== */
#sticky-player {
  position: fixed;
  bottom: 70px; /* فاصله از پایین برای جلوگیری از پوشش تبلیغات */
  left: 0;
  width: 100%;
  background: #111;
  color: #fff;
  z-index: 9999;
  padding: 10px 14px;
  box-shadow: 0 -4px 12px rgba(0,0,0,.6);
  display: none;
}

#sticky-player.active {
  display: block;
}

.player-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

/* دکمه‌ها وسط */
.player-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.player-btn {
  background: #ff3d00;
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.player-btn:hover {
  transform: scale(1.1);
}

/* بستن سمت راست */
.player-close {
  background: transparent;
  color: #aaa;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.player-close:hover {
  color: #fff;
}

/* تایم */
.player-time {
  text-align: center;
  margin-top: 6px;
  font-size: 13px;
  color: #ccc;
}

/* نوار پیشرفت */
.progress-wrap {
  margin-top: 6px;
  width: 100%;
  height: 6px;
  background: #333;
  border-radius: 10px;
  cursor: pointer;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: #ff3d00;
  border-radius: 10px;
  pointer-events: none;
}

/* موبایل */
@media(max-width:600px){
  #sticky-player {
    bottom: 80px; /* افزایش فاصله برای تبلیغات در موبایل */
  }
}
