/* --- Police globale & fond --- */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 17px;
  background: url('assets/photos/benjamin_voros_background.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* --- Conteneur central --- */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  flex-direction: column;
}

/* --- Carte principale --- */
.card {
  background: rgba(20, 20, 20, 0.45);
  color: white;
  padding: 80px;
  border-radius: 25px;
  display: flex;
  gap: 100px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1100px;
  width: 90%;
  flex-wrap: wrap;
}

/* --- Colonne gauche --- */
.left-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

/* --- Photo de profil --- */
.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
}

/* --- Texte sous la photo --- */
.text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  max-width: 250px;
}

.pseudo {
  margin: 0 0 8px 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
}

.text-content p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* --- Zone droite : liens + divers --- */
.right-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
  padding-left: 40px;
}

/* --- Sous-sections (liens / divers) --- */
.links-section,
.extras-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --- Titres h5 --- */
.right-card h5 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  border-bottom: 1px solid #555;
  padding-bottom: 5px;
}

/* --- Liens avec icônes --- */
.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.links a {
  color: #b7dfff;
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
  padding-left: 10px;
}

.links a:hover {
  color: #ffffff;
}

/* --- Icônes Material --- */
.material-icons {
  font-family: 'Material Icons';
  font-size: 20px;
}

/* --- Contenu Divers --- */
.extras {
  font-size: 1rem;
  line-height: 1.5;
  color: #eee;
}

/* --- Pied de page --- */
.footer {
  text-align: center;
  color: #ccc;
  font-size: 0.95rem;
  padding: 20px;
  margin-top: 40px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px;
    gap: 40px;
  }

  .right-card {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    gap: 30px;
  }

  .text-content {
    align-items: center;
    text-align: center;
  }
}

.floating-background-text {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.534);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* === LECTEUR AUDIO === */

/* Carte du lecteur */
.audio-card {
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-radius: 16px;
  padding: 20px 30px;
  margin: 10px auto 0 auto;
  width: 540px;
  color: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.audio-card h5 {
  font-size: 1.1rem;
  color: #C0A3C4;
  margin: 0;
}

/* Structure horizontale : cover à gauche, tout le reste à droite */
.audio-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

/* Colonne à droite de la cover : titre, boutons, volume */
.audio-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Titre centré au-dessus des boutons */
#track-name {
  font-size: 0.95rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 4px;
  max-width: 100%;
  word-break: break-all;
}

/* Boutons sur une ligne */
.audio-controls .buttons {
  display: flex;
  gap: 15px;
}

/* Style des boutons */
.audio-controls button {
  background: none;
  border: none;
  color: #C0A3C4;
  font-size: 1.6rem;
  cursor: pointer;
  transition: transform 0.1s ease;
}
.audio-controls button:hover {
  transform: scale(1.2);
}

/* Slider volume */
.audio-controls input[type="range"] {
  width: 120px;
}

/* Image de cover */
.audio-artwork img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.progress-container {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

#progress {
  width: 100%;
  height: 6px;
  border-radius: 8px;
  background: #fff;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  transition: background 0.2s;
}

/* Chrome, Safari, Edge */
#progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #C0A3C4;
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.2s;
}

/* Firefox */
#progress::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #C0A3C4;
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.2s;
}

/* IE */
#progress::-ms-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #C0A3C4;
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.2s;
}

/* Track background for Firefox */
#progress::-moz-range-track {
  height: 6px;
  border-radius: 8px;
  background: #fff;
}

/* Track background for IE */
#progress::-ms-fill-lower,
#progress::-ms-fill-upper {
  background: #fff;
  border-radius: 8px;
}

/* Remove outline on focus */
#progress:focus {
  outline: none;
}

/* Hide the outline for Firefox */
#progress::-moz-focus-outer {
  border: 0;
}

#time-display {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 8px; /* Augmente la marge pour bien séparer */
}

.progress-volume-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
  justify-content: center;
  position: relative;
}

.volume-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin-left: 18px;
}

.audio-card {
  position: relative;
}
