:root {
  --bg-deep: #0b0916;
  --bg-panel: #14111f;
  --bg-panel-2: #191527;
  --gold: #e6b76a;
  --gold-soft: #f2d9a8;
  --text-primary: #f4f1ea;
  --text-secondary: #a9a3b8;
  --text-muted: #716c82;
  --border-soft: rgba(230, 183, 106, 0.16);
  --shadow-glow: 0 0 60px rgba(230, 183, 106, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 20% 0%, #1c1730 0%, var(--bg-deep) 55%) fixed;
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  position: relative;
  overflow-x: hidden;
}

.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.glow-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -100px;
  background: #6d4fc9;
}

.glow-2 {
  width: 380px;
  height: 380px;
  bottom: -140px;
  right: -100px;
  background: #e6b76a;
  opacity: 0.18;
}

.glow-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  right: -150px;
  background: #3f7fd0;
  opacity: 0.15;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 56px 20px 80px;
  min-height: 100vh;
}

.player-card {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, var(--bg-panel) 0%, #0f0c19 100%);
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  padding: 36px 32px 28px;
  box-shadow: var(--shadow-glow), 0 30px 80px rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}

.player-header {
  text-align: center;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 34px;
  letter-spacing: 3px;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(230, 183, 106, 0.45);
}

.title {
  margin: 0 0 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.25;
  color: var(--text-primary);
}

.title em {
  font-style: italic;
  color: var(--gold-soft);
}

.subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Filters */
.filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.2px;
}

.filter-btn i {
  font-size: 11px;
}

.filter-btn:hover {
  border-color: var(--border-soft);
  color: var(--text-primary);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, #c8934a 100%);
  color: #221807;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(230, 183, 106, 0.35);
}

/* Cover / Disc */
.cover-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

.cover-disc {
  position: relative;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(230,183,106,0.2), 0 20px 50px rgba(0,0,0,0.6), var(--shadow-glow);
  transition: transform 0.4s ease;
}

.cover-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease;
}

.disc-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.08), inset 0 0 30px rgba(0,0,0,0.5);
  pointer-events: none;
}

.disc-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1626 0%, #0d0b15 100%);
  border: 2px solid rgba(230,183,106,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  font-size: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.cover-disc.spinning {
  animation: spin 8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Now playing */
.now-playing {
  text-align: center;
  margin-bottom: 20px;
}

.badge-row {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 12px;
}

.badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
}

.platform-badge {
  background: rgba(255,255,255,0.08);
  color: var(--text-secondary);
}

.category-badge {
  background: rgba(230, 183, 106, 0.15);
  color: var(--gold-soft);
}

.now-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  padding: 0 6px;
}

.now-tagline {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 10px;
}

/* Progress */
.progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.time {
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 30px;
}

.time.duration {
  text-align: right;
}

.progress-track {
  position: relative;
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  cursor: pointer;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 100%);
  border-radius: 999px;
}

.progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-soft);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(230,183,106,0.7);
}

/* Controls */
.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
}

.ctrl-btn:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.play-btn {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--gold) 0%, #c8934a 100%);
  color: #221807;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(230, 183, 106, 0.35);
}

.play-btn:hover {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 100%);
  color: #221807;
  transform: scale(1.04);
}

.read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(230, 183, 106, 0.12);
  border: 1px solid var(--border-soft);
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-left: 4px;
}

.read-btn:hover {
  background: var(--gold);
  color: #221807;
  border-color: transparent;
}

/* Playlist */
.playlist-section {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 18px;
}

.playlist-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 700;
}

.playlist-title i {
  color: var(--gold);
  margin-right: 4px;
}

.playlist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.playlist::-webkit-scrollbar {
  width: 5px;
}

.playlist::-webkit-scrollbar-thumb {
  background: rgba(230,183,106,0.3);
  border-radius: 4px;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  border: 1px solid transparent;
}

.playlist-item:hover {
  background: rgba(255,255,255,0.04);
}

.playlist-item.active {
  background: rgba(230, 183, 106, 0.1);
  border-color: var(--border-soft);
}

.pl-index {
  width: 22px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.playlist-item.active .pl-index {
  color: var(--gold);
}

.pl-thumb {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1a1626;
}

.pl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-info {
  flex: 1;
  min-width: 0;
}

.pl-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.pl-tagline {
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pl-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pl-platform {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.pl-duration {
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  width: 32px;
  text-align: right;
}

.pl-playicon {
  color: var(--gold);
  font-size: 12px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.player-footer {
  text-align: center;
  margin-top: 22px;
}

.player-footer p {
  margin: 0;
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .player-card {
    padding: 28px 20px 22px;
    border-radius: 22px;
  }
  .eyebrow {
    font-size: 26px;
  }
  .title {
    font-size: 25px;
  }
  .cover-disc {
    width: 160px;
    height: 160px;
  }
  .read-btn span {
    display: none;
  }
  .read-btn {
    padding: 12px;
  }
}
