/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: transparent;
  color: #eee;
  overflow: hidden; /* le scroll se fait sur main */
}

/* Video Landing Overlay */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.video-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.video-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animations pour le burger et le titre */
.burger {
  transition: opacity 0.6s ease;
}

#titleAccueil {
  transition: opacity 0.8s ease;
}

/* Background Video for Accueil Section */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  mix-blend-mode: screen;
}

#accueil {
  position: relative;
}

#accueil::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111;
  opacity: 0;
  z-index: -1;
}

#accueil h1 {
  position: relative;
  z-index: 2; /* Above overlay */
  font-size: 5em; /* Slightly larger */
  letter-spacing: -2px;
  color: #fff;
  /* Base shadow, will be overridden by JS for reactivity */
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 20px 50px rgba(0, 0, 0, 0.9);
  transition: text-shadow 0.1s ease-out, opacity 0.8s ease, letter-spacing 0.8s ease;
}

/* One-scroll fluide global */
main {
  height: 100vh;
  overflow: hidden; /* Full JS control */
  /* scroll-snap-type: y mandatory;  Désactivé pour JS custom */
  scroll-behavior: auto; /* Handled by JS */
  scroll-padding-top: 0;
}
main::-webkit-scrollbar { display: none; }
main { -ms-overflow-style: none; scrollbar-width: none; }

/* Sections plein écran */
.screen {
  min-height: 100vh;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  /* scroll-snap-align: start; Désactivé */
}

h1, h2, h3, h4, h5, h6 { 
  font-family: 'Overzero', sans-serif;
  font-weight: 400; 
  margin: 0 0 12px; 
  color: #f5f5f5; 
  text-transform: uppercase;
  letter-spacing: -1px; /* Un peu plus serré pour l'impact */
}
p { max-width: 800px; text-align: center; color: #ccc; }

/* Burger */
.burger {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1000;
  
  /* Size & Layout (Matching Volume Button) */
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;

  /* Glassmorphism Style */
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  color: #eee;
  border-radius: 50%; /* Circular */
  
  font-size: 24px;
  cursor: pointer;

  /* Animation */
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 0.4s ease,
              border-color 0.4s ease,
              color 0.4s ease,
              opacity 0.6s ease;
}

.burger:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.15);
  background-color: rgba(35, 35, 35, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* Menu */
.menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.menu.hidden { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu li { margin: 12px 0; }
.menu a {
  font-family: 'Overzero', sans-serif;
  font-weight: 400;
  color: #eee;
  text-decoration: none;
  font-size: 20px;
  padding: 6px 10px;
  transition: color 0.2s;
  text-transform: uppercase;
}
.menu a:hover { color: #aaa; }

/* Menu Groups */
.menu-group-title {
  display: block;
  font-family: 'Outfit', sans-serif;
  color: #888;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.menu-group-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-group-list li {
  margin: 8px 0;
}

.menu-group-list a {
  font-size: 1.2rem;
}

/* Boutons */
.btn {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  
  /* Glassmorphism Style (Matching Timeline Cards) */
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  color: #eee;
  
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 1px;
  
  /* Animation Easing */
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 0.4s ease,
              border-color 0.4s ease,
              color 0.4s ease;
}

.btn:hover { 
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.15);
  background-color: rgba(35, 35, 35, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* Contact */
.contact-form input,
.contact-form textarea {
  font-family: 'Outfit', sans-serif;
  width: 100%;
  max-width: 700px;
  margin: 8px auto;
  padding: 12px;
  border-radius: 4px;
  border: none;
  background: #1a1a1a;
  color: #eee;
}
.contact-form textarea { min-height: 120px; }
.contact-form .btn { margin-top: 8px; }

/* ASCII Background Canvas */
#asciiBg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: auto; /* Allow mouse interaction */
  background-color: #111;
}

/* Radio Section */
#radio {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  position: relative;
  overflow: hidden;
}

#noiseCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4; /* Opacity handled in JS mostly, but this is a global multiplier */
}

#radio.playing .film-grain::before {
  animation-play-state: running;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

.radio-header {
  position: absolute;
  top: 30px;
  left: 30px;
  width: calc(100% - 60px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Circular Volume Control */
.volume-container {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  
  /* Glassmorphism Style (Unified) */
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  border-radius: 50%;

  /* Animation */
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 100;
}

.volume-container:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.15);
  background-color: rgba(35, 35, 35, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
}

.volume-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Clicks pass through to container */
}

.volume-container:hover .volume-ring,
.volume-container.dragging .volume-ring {
  opacity: 1;
}

.volume-icon-center {
  font-size: 20px;
  color: #fff;
  z-index: 2;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.volume-container:hover .volume-icon-center {
    transform: scale(1.1);
}

.volume-floating {
  position: fixed !important;
  top: 100px !important; /* Aligné sous le burger (30px + 60px + 10px gap) */
  right: 30px !important; /* Aligné avec le burger */
  left: auto !important;
  z-index: 1001;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
}

.volume-floating.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2), 0 0 10px rgba(255, 255, 255, 0.1);
}

.volume-floating:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 255, 255, 0.3);
  background-color: rgba(35, 35, 35, 0.8);
  border-color: rgba(255, 255, 255, 0.6);
}



#radio h2 {
  font-size: 4.5em;
  margin: 0;
  position: relative;
  line-height: 1;
  opacity: 0.5;
  z-index: 2;
}

#currentSong {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Lexend', sans-serif;
  font-size: 1.1rem;
  color: #aaa;
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;

  /* Style "Timeline Post" */
  background-color: transparent;
  padding: 10px 20px 30px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  
  /* Adaptation longueur */
  width: auto;
  max-width: 60vw; /* Limite pour éviter le débordement sur petits écrans */
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

#currentSong .title {
  color: #fff;
  font-weight: 700;
  filter: drop-shadow(0 0 15px rgba(238, 238, 238, 0.6));
}

#visualizer {
  position: absolute;
  top: 50%;
  left: 0;
  width: 400px;
  height: 90px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  border-radius: 0;
}

.volume-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

.btn-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #eee;
  font-size: 42px;
  cursor: pointer;
  transition: color 0.3s, transform 0.2s;
  filter: drop-shadow(0 0 30px rgba(238, 238, 238, 0.3));
}

.btn-play:hover {
  color: #fff;
  transform: scale(1.05);
  filter: drop-shadow(0 0 40px rgba(238, 238, 238, 0.5));
}

.btn-play:active {
  transform: scale(0.95);
}

#volumeToggle {
  margin: 0;
  width: 35px;
  height: 35px;
  font-size: 16px;
  position: relative;
  z-index: 50;
}

.status {
  position: absolute;
  bottom: 20px;
  right: 20px;
  text-align: right;
  color: #aaa;
  font-size: 0.8em;
  z-index: 20;
}

.player {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}



.listeners {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #aaa;
  font-size: 0.92em;
  z-index: 20;
}

/* Volume Control */
.volume {
  position: absolute;
  top: 50px; /* Position below the button */
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  padding: 10px 5px;
  border-radius: 8px;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px) translateX(-50%);
}

.volume:not(.hidden) {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) translateX(-50%);
}

.volume.hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px) translateX(-50%);
}

.volume:not(.hidden) {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) translateX(-50%);
}

.volume.hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px) translateX(-50%);
}


@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.volume input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 50px; /* This is now the height */
  height: 4px;
  border-radius: 2px;
  background: #333;
  outline: none;
  cursor: pointer;
  transform: rotate(-90deg); /* Makes the slider vertical */
  transform-origin: center;
}

.volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 2px;
  height: 16px;
  background: #999;
  border: none;
  cursor: pointer;
  margin-top: -6px;
}

.volume input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
  border: none;
}

.volume input[type="range"]::-moz-range-thumb {
  width: 2px;
  height: 16px;
  background: #999;
  border: none;
  cursor: pointer;
  margin-top: -6px;
}

.volume input[type="range"]::-moz-range-track {
  background: transparent;
  border: none;
}

/* Timeline */
#timeline { 
  justify-content: flex-start; 
  padding: 0;
  overflow: hidden;
  position: relative;
  height: 100vh;
}

.timeline-header-wrapper {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  z-index: 10;
  pointer-events: none;
}

#timeline h2 { 
  margin: 0;
  font-size: 4.5em;
  position: absolute;
  text-align: left;
  pointer-events: none;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.timeline-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  pointer-events: auto;
}

.filter-btn.active {
  background-color: rgba(255, 255, 255, 0.9);
  color: #111;
  border-color: #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.timeline-container {
  position: relative;
  width: 100%;
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: stretch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  /* Infinite line */
  background: linear-gradient(#555, #555) repeat-x left 50% / 1px 2px local;
}

.timeline-container::-webkit-scrollbar { display: none; }

.timeline-item { 
  position: relative;
  flex-shrink: 0;
  width: 300px;
  margin: 0 40px;
  z-index: 2;
}

/* The Cursor (Trait) */
.timeline-item::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 24px;
  background-color: #fff;
  border: none;
  border-radius: 0;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Vertical Connector */
.timeline-item::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #555;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item:nth-child(odd)::before {
  bottom: 50%;
  height: 40px;
}

.timeline-item:nth-child(even)::before {
  top: 50%;
  height: 40px;
}

.timeline-content,
.timeline-content-left,
.timeline-content-right { 
  position: absolute;
  left: 0;
  width: 100%;
  background-color: transparent;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 0.4s ease,
              border-color 0.4s ease;
}

.timeline-content:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 255, 255, 0.15);
  background-color: rgba(35, 35, 35, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-content {
  bottom: 50%;
  margin-bottom: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
  top: 50%;
  margin-top: 40px;
}

.timeline-item h3 { 
  color: #fff;
  margin: 0 0 8px;
  font-size: 1.3em;
}

.timeline-item h4 { 
  font-family: 'Outfit', sans-serif;
  color: #999;
  margin: 0 0 12px;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-item p { 
  color: #ccc;
  font-size: 0.9em;
  line-height: 1.5;
  margin-bottom: 10px;
  max-width: 100%;
  text-align: center;
}

.timeline-item img { 
  max-width: 100%;
  height: auto;
  border-radius: 0;
  margin-top: 10px;
}

/* Remove old generic link style that might conflict */
.timeline-item a { 
  /* color: #fff;  Removed to allow inherit */
  text-decoration: none;
  /* font-weight: bold; Removed, h3 is already bold */
  /* border-bottom: 1px solid #fff; Removed, handled by specific selectors */
}

.timeline-item h3 a,
.timeline-item h4 a { 
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s, border-bottom-color 0.2s;
}

.timeline-item h3 a:hover,
.timeline-item h4 a:hover { 
  color: #ccc;
}

.timeline-item a.timeline-image-link {
  display: block;
  border-bottom: none;
}

.timeline-item a.timeline-image-link:hover {
  border-bottom: none;
}

.timeline-date { 
  display: block;
  font-size: 0.75em;
  color: #777;
  margin-top: 12px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .timeline-header-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 0 20px;
  }
  
  #timeline h2 {
    font-size: 1.5em;
    position: static;
    transform: none;
  }
  
  .timeline-filters {
    flex-wrap: wrap;
  }
  
  .timeline-item {
    width: 250px;
    margin: 0 40px;
  }
}

/* Section titre Artistes réduite */
#artistes {
  min-height: auto;       /* annule le 100vh hérité de .screen */
  height: auto;           /* s’adapte au contenu */
  padding: 80px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* pas besoin de centrer verticalement */
  gap: 20px;
  /* scroll-snap-align: start; Désactivé */
}
#artistes h2 {
  margin: 0 0 20px;
  text-align: center;
}

/* Navigation boutons sous le titre Artistes */
.artistes-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.artistes-nav .btn {
  font-size: 16px;
  padding: 10px 20px;
}

/* Chaque artiste = section plein écran intégrée au one-scroll */
.artiste {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 40px;
  gap: 40px;
  /* scroll-snap-align: start; Désactivé */
}

/* Colonne gauche: infos */
.artiste-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  text-align: left;
  padding-left: 40px;   /* décalage vers la droite */
}

.artiste-info h3 { 
  margin: 0; 
  font-size: 4rem; /* Beaucoup plus gros pour l'impact */
  line-height: 0.9;
  color: #f5f5f5; 
}
.artiste-info .localisation {
  font-family: 'Lexend', sans-serif;
  font-size: 1.2rem;
  color: #aaa;
  margin: 0;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Localisation alignée */
.artiste-info .localisation {
  font-size: 18px;
  color: #aaa;
  margin: 0;
  line-height: 1.4;
  text-align: left;
}

.artiste-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.artiste-socials { display: flex; gap: 14px; margin-top: 12px; }
.artiste-socials a { color: #eee; font-size: 24px; transition: color 0.3s; }
.artiste-socials a:hover { color: #ff4081; }

/* Colonne droite: image */
.artiste {
  padding: 0;              /* supprime le padding autour de la section */
  gap: 0;                  /* supprime l’espace entre colonnes */
}

.artiste-image {
  width: 100%;
  height: 100vh;           /* occupe toute la hauteur de l’écran */
}

.artiste-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* l’image couvre toute la zone */
  object-position: center;
  border-radius: 0;
  display: block;          /* supprime les espaces blancs éventuels */
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .artiste { gap: 24px; padding: 32px; }
}

@media (max-width: 768) {
  .artiste {
    height: auto;                 /* sur mobile, on laisse respirer */
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .artiste-image {
    width: 100%;
    height: 50vh;                 /* présence visuelle forte */
  }
  .artiste-info {
    text-align: center;
    align-items: center;
  }
}

/* Barre de progression de la radio */
#progress-info {
  opacity: 1;
  pointer-events: auto;
  position: absolute;
  left: 50%;
  top: calc(50% + 5px); /* Juste en dessous du titre */
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 400px;
  max-width: 80%;
  transition: opacity 0.5s ease;
}

#radio.playing #progress-info.visible {
  opacity: 1;
  pointer-events: auto;
}

#progress-container {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

#progress-bar {
  width: 0%;
  height: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: width 0.25s linear;
}

#elapsed-time,
#remaining-time {
  font-family: 'Lexend', sans-serif;
  font-size: 0.8rem;
  color: #ccc;
  min-width: 35px; /* Empêche le layout de sauter */
  text-align: center;
}

/* Custom timeline image style */
.timeline-image {
  width: 100%;
  height: 300px; /* Fixed height */
  object-fit: cover; /* Crop to fit */
  object-position: center; /* Center the image */
  border-radius: 12px;
  margin-top: 10px;
}

/* Radar Disc Styles */
#vinyl-disc-container {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#vinyl-disc {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  
  /* Glassmorphism Style */
  background-color: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  
  /* Radar Grid (More visible lines + Diagonals) */
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle closest-side, transparent 20%, rgba(255, 255, 255, 0.15) 20%, rgba(255, 255, 255, 0.15) 21%, transparent 21%, transparent 40%, rgba(255, 255, 255, 0.15) 40%, rgba(255, 255, 255, 0.15) 41%, transparent 41%, transparent 60%, rgba(255, 255, 255, 0.15) 60%, rgba(255, 255, 255, 0.15) 61%, transparent 61%, transparent 80%, rgba(255, 255, 255, 0.15) 80%, rgba(255, 255, 255, 0.15) 81%, transparent 81%);
  background-size: 50px 50px, 50px 50px, 50px 50px, 50px 50px, 100% 100%;
  background-position: center center;
  
  /* Electric Glow Shadow */
  box-shadow: 
    0 0 15px rgba(255, 255, 255, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 0.05),
    0 0 20px rgba(255, 255, 255, 0.2);
    
  transition: transform 0.1s ease, box-shadow 0.3s ease; /* Faster transform for audio reactivity */
  overflow: hidden;
}

#vinyl-disc::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* Radar Sweep - White - Brighter & Wider */
  background: conic-gradient(
    from 0deg, 
    transparent 0deg, 
    transparent 300deg, 
    rgba(255, 255, 255, 0.01) 320deg, 
    rgba(255, 255, 255, 0.1) 340deg, 
    rgba(255, 255, 255, 0.5) 360deg
  );
  opacity: 0;
  transition: opacity 2s ease-in-out; /* Fluidifie lancement/arret */
  pointer-events: none;
  z-index: 0;
  filter: blur(5px); /* Stylise le FOV (soft edges) */
}

#vinyl-disc.playing::after {
  opacity: 1;
  animation: radar-spin 15s linear infinite; /* Ralentis encore plus */
}

#vinyl-disc.playing {
  /* Pulse effect with white glow - Faded global glow */
  box-shadow: 
    0 0 30px rgba(0, 0, 0, 0.8),
    inset 0 0 50px rgba(255, 255, 255, 0.05),
    0 0 40px rgba(255, 255, 255, 0.1);
  transition: box-shadow 2s ease-in-out;
}

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

#radarPoints {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#playRadio {
  position: relative; /* Pour être au-dessus du disque */
  z-index: 2;
  width: 80px;
  height: 80px;
  font-size: 36px;
  background-color: transparent; /* Fond transparent pour se fondre avec l'ASCII */
  border: 2px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(2px);
}
