/* =========================================
   CHART SECTION - PREMIUM STYLING
   ========================================= */

/* Rândul din tabel: Tranziții fine pentru fundal, margine și spațiere */
.chart-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.01);
}

/* Efectul cinematic la Hover pe fiecare melodie */
.chart-row:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: scale(1.01);
  border-bottom-color: transparent;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-left-color: rgba(255, 255, 255, 0.2);
}

/* Custom Disc Artwork (Înlocuiește imaginea de la Azura) */
.custom-disc {
  position: relative;
  background: radial-gradient(circle at center, #1a1c23 0%, #0d0e12 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8), 0 5px 15px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-disc::before {
  content: '';
  position: absolute;
  width: 25%;
  height: 25%;
  border-radius: 50%;
  background: #222;
  border: 2px solid rgba(255, 255, 255, 0.05);
  z-index: 1;
}
.custom-disc::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,0.1) 90deg, transparent 180deg, rgba(255,255,255,0.1) 270deg, transparent 360deg);
  opacity: 0.3;
  animation: spinDisc 4s linear infinite;
  animation-play-state: paused;
}
.chart-row:hover .custom-disc::after {
  animation-play-state: running;
}

@keyframes spinDisc {
  100% { transform: rotate(360deg); }
}

/* Stilizarea specială a butonului de vot */
.vote-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vote-btn:hover {
  background: rgba(242, 202, 80, 0.15);
  border-color: rgba(242, 202, 80, 0.5);
  color: #f2ca50;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 20px -5px rgba(242, 202, 80, 0.3);
}
.vote-btn:active {
  transform: translateY(1px) scale(0.95);
}

/* Paginare Premium */
.pagination-arrow {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.pagination-arrow:hover:not(:disabled) {
  background: rgba(0, 242, 255, 0.1);
  border-color: rgba(0, 242, 255, 0.3);
  color: #00F2FF;
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}
.pagination-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Custom Disc Artwork */
.custom-disc {
  position: relative;
  background: radial-gradient(circle at center, #1a1c23 0%, #0d0e12 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8), 0 5px 15px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.custom-disc::before {
  content: '';
  position: absolute;
  width: 25%;
  height: 25%;
  border-radius: 50%;
  background: #222;
  border: 2px solid rgba(255, 255, 255, 0.05);
  z-index: 1;
}
.custom-disc::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,0.1) 90deg, transparent 180deg, rgba(255,255,255,0.1) 270deg, transparent 360deg);
  opacity: 0.3;
  animation: spinDisc 4s linear infinite;
  animation-play-state: paused;
}
/* Se învârte DOAR când adăugăm clasa .playing din JS */
.custom-disc.playing::after {
  animation-play-state: running;
}
.custom-disc:hover {
  border-color: #00F2FF;
}

@keyframes spinDisc {
  100% { transform: rotate(360deg); }
}

/* Premium Bottom Player */
#premium-player {
  box-shadow: 0 -10px 40px rgba(0,0,0,0.8);
}
.player-progress-bg {
  background: rgba(255, 255, 255, 0.1);
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}
.player-progress-bar {
  background: #f2ca50;
  height: 100%;
  width: 0%;
  transition: width 0.1s linear;
}