/* ══════════════════════════════════════
   LECTEUR — styles propres à la page player radio
   LMP Radio
══════════════════════════════════════ */

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1140/475;
  max-height: 75vh;
  overflow: hidden;
  background: #050008;
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-dots { position: absolute; bottom: 14px; right: 20px; display: flex; gap: 8px; }
.hero-dot { width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); cursor: pointer; transition: all .3s; }
.hero-dot.active { background: var(--red); width: 48px; }
@media (max-width: 600px) { .hero { max-height: 50vh; } }

/* ── PLAYER ── */
#player-section { padding: 48px 0; }
.player-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }

.player-card {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255,255,255,.08); border-radius: 28px;
  padding: 32px; display: flex; align-items: center; gap: 28px;
  box-shadow: 0 20px 80px rgba(0,0,0,.7);
  background: rgba(10,0,15,.6); backdrop-filter: blur(20px);
}
#player-bg {
  position: absolute; inset: -60px;
  background: linear-gradient(135deg, #120005, #07070d);
  filter: blur(80px) brightness(.45) saturate(2);
  z-index: 0; transition: background 1.5s ease;
}
.player-card > *:not(#player-bg) { position: relative; z-index: 1; }

.player-cover-wrap { position: relative; flex-shrink: 0; }
#pl-cover { width: 180px; height: 180px; border-radius: 18px; object-fit: cover; display: none; box-shadow: 0 16px 48px rgba(0,0,0,.8); }
#pl-cover-ph {
  width: 180px; height: 180px; border-radius: 18px;
  background: linear-gradient(135deg, #1a0000, #6b0000, #cc0000);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: rgba(255,255,255,.08);
  box-shadow: 0 16px 48px rgba(180,0,0,.4);
}
.live-badge {
  position: absolute; top: -10px; right: -10px;
  background: linear-gradient(135deg, #cc0000, #ff2200);
  color: #fff; font-size: .5rem; font-weight: 900; letter-spacing: 2.5px;
  padding: 5px 10px; border-radius: 20px;
  animation: pulse 1.5s infinite; display: none;
  box-shadow: 0 2px 16px rgba(255,0,0,.6);
}
.live-badge.show { display: block; }

.player-info { flex: 1; min-width: 0; }
.player-mode {
  font-size: .55rem; font-weight: 900; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.player-mode::before { content: ''; width: 20px; height: 2px; background: currentColor; border-radius: 1px; }
.player-mode.dj-on { color: var(--g); }
#pl-dj { font-size: .9rem; color: var(--t2); margin-bottom: 4px; display: none; }
#pl-dj.show { display: block; }
#pl-title { font-size: 1.7rem; font-weight: 900; line-height: 1.15; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pl-artist { font-size: .95rem; color: var(--t2); margin-bottom: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.player-controls { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
#pl-play-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #8b0000, #cc0000, #ff2200);
  border: none; color: #fff; font-size: 20px; cursor: pointer;
  transition: all .3s; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(180,0,0,.6); flex-shrink: 0;
}
#pl-play-btn:hover { transform: scale(1.1); box-shadow: 0 6px 32px rgba(204,0,0,.9); }
#pl-play-btn.playing { animation: glow 2s ease-in-out infinite; }
@keyframes glow { 0%,100% { box-shadow: 0 4px 24px rgba(180,0,0,.6); } 50% { box-shadow: 0 4px 48px rgba(220,0,0,1); } }

.vol-wrap { display: flex; align-items: center; gap: 8px; flex: 1; }
.vol-wrap i { color: var(--t3); font-size: .75rem; }
.stream-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  font-size: .7rem; font-weight: 700; color: var(--t2);
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.stream-btn:hover { background: rgba(255,255,255,.12); color: #fff; }

.vote-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vote-btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04);
  cursor: pointer; transition: all .25s; font-family: inherit; color: #fff; flex: 1;
}
.vote-btn span.vicon  { font-size: 1.2rem; line-height: 1; }
.vote-btn span.vlabel { font-size: .52rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--t3); }
.vote-btn span.vcount { font-size: .7rem; font-weight: 700; }
.vote-btn.like-btn:hover,     .vote-btn.like-btn.voted      { background: rgba(0,200,80,.12); border-color: rgba(0,200,80,.35); }
.vote-btn.dislike-btn:hover,  .vote-btn.dislike-btn.voted   { background: rgba(255,60,60,.12); border-color: rgba(255,60,60,.35); }
.vote-btn.superlike-btn:hover,.vote-btn.superlike-btn.voted { background: rgba(255,200,0,.1); border-color: rgba(255,200,0,.35); }

.player-meta { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
#pl-listeners { font-size: .75rem; color: var(--t3); display: flex; align-items: center; gap: 5px; }
#pl-listeners i { color: var(--accent); }
#pl-score { font-size: .75rem; color: var(--t3); display: flex; align-items: center; gap: 5px; }
#pl-score i { color: #ffd700; }

/* Derniers titres */
.recent-card {
  background: rgba(8,0,12,.5); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.07); border-radius: 28px;
  padding: 28px; display: flex; flex-direction: column;
  box-shadow: 0 20px 80px rgba(0,0,0,.6);
}
.recent-card .section-title { margin-bottom: 14px; font-size: .82rem; }
.recent-list { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.recent-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(255,255,255,.025); border: 1px solid transparent; transition: all .2s;
}
.recent-item:hover { background: rgba(180,0,0,.07); border-color: rgba(204,0,0,.15); }
.ri-cover { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: linear-gradient(135deg,#1a0000,#8b0000); }
.ri-info { flex: 1; min-width: 0; }
.ri-title { font-size: .78rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ri-artist { font-size: .66rem; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.ri-time { font-size: .6rem; color: var(--t3); flex-shrink: 0; }

@media (max-width: 960px) { .player-wrap { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .player-card { flex-direction: column; text-align: center; padding: 24px; }
  #pl-cover, #pl-cover-ph { width: 140px; height: 140px; }
  #pl-title { font-size: 1.3rem; }
  .player-controls, .vote-bar { justify-content: center; flex-wrap: wrap; }
  .stream-btn { display: none; }
}

/* ── COUPS DE CŒUR ── */
.coeurs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.coeur-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06); border-radius: 16px;
  transition: all .22s; position: relative; overflow: hidden;
}
.coeur-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; border-radius: 3px 0 0 3px; transition: background .2s; }
.coeur-item:hover { background: rgba(180,0,0,.07); border-color: rgba(204,0,0,.2); transform: translateX(4px); }
.coeur-item:hover::before { background: var(--red); }
.coeur-item.top1 { border-color: rgba(255,215,0,.2); background: rgba(255,215,0,.04); }
.coeur-item.top1::before { background: #ffd700; }
.coeur-item.top2::before { background: #c0c0c0; }
.coeur-item.top3::before { background: #cd7f32; }
.coeur-cover { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: linear-gradient(135deg,#1a0000,#8b0000); }
.coeur-rank { font-size: 1rem; line-height: 1; flex-shrink: 0; }
.coeur-info { flex: 1; min-width: 0; }
.coeur-title { font-size: .8rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coeur-artist { font-size: .68rem; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 2px 0 6px; }
.coeur-score { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 800; color: var(--accent); background: rgba(230,50,50,.1); border: 1px solid rgba(230,50,50,.2); border-radius: 20px; padding: 2px 8px; }
