

/* === STYLE RÉALISTE COMME EXEMPLE FOURNI (cover + demi-vinyle) === */
.realistic-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center; /* 💡 important pour centrer */
}


.realistic-container {
  position: relative;
  width: 220px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center; /* ✅ centre le bloc global */
}

/* 💿 Vinyle - déplace avec left / right */
.realistic-vinyl {
  position: absolute;
  top: 10px;
  right: 0;              /* 📀 vinyle bien à droite */
  width: 100px;
  height: 100px;
  z-index: 1;
  transition: transform 0.3s ease;
}
.realistic-vinyl.spin {
  animation: spinVinyle 3.5s linear infinite;
}

/* 📀 Pochette */
.realistic-cover {
  position: relative;
  width: 100px;
  height: 100px;
  margin-right: -30px;    /* ➡️ espace entre la pochette et le vinyle */
  z-index: 2;
  border: 3px solid #fff;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}


/* 📝 Texte */
.track-caption {
  color: black;
  margin-top: 10px;
  font-size: 0.85rem;
  margin-left:70px; /* décale le texte vers la droite */
  text-align: center;  /* ou center / right selon ton besoin */
  font-family: "ComicNeue", cursive;
  display: block;
  width: 100%;
}




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

/* 🌟 Grille 3 colonnes pour les titres */
.favoris-grid,
.coups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 600px;
  margin: 0 auto;
  gap: 30px;
  margin: 30px 0;
  justify-content: center;    /* ✅ centre les colonnes */
  align-items: start;
}


.realistic-cover {
  cursor: pointer;
}


.deezer-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: white;
  border-radius: 6px;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.deezer-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.realistic-container:hover .deezer-btn {
  opacity: 1;
}




.music-intro-bubble {
  background: #fffbe8;
  border: 2px dashed #f2c46d;
  padding: 20px;
  margin: 10px auto 20px;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: "ComicNeue", cursive, sans-serif;
  font-size: 1rem;
  color: #444;
  text-align: center;
  line-height: 1.5;
}
.music-intro-bubble strong {
  color: #d28500;
}
.music-intro-bubble em {
  font-style: italic;
  color: #7a5f00;
}

.music-intro-bubble_info {
  background: #e8fffc;
  border: 2px dashed #6dabf2;
  padding: 20px;
  margin: 10px auto 20px;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: "ComicNeue", cursive, sans-serif;
  font-size: 1rem;
  color: #444;
  text-align: center;
  line-height: 1.5;
}
.music-intro-bubble_info strong {
  color: #000000;
}
.music-intro-bubble_info em {
  font-style: italic;
  color: #7a5f00;
}


.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.9em;
  color: #555;
  margin-top: -10px;
  margin-bottom: 20px;
  opacity: 0.8;
  font-style: italic;
}

.powered-by a {
  text-decoration: none;
}

.deezer-logo {
  height: 18px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.deezer-logo:hover {
  transform: scale(1.1);
}





.search-container {
  text-align: center;
  margin: 20px auto;
}

#music-search {
  font-family: "ComicNeue", cursive;
  padding: 10px 14px;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  width: 300px;
}





#mini-player {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff8e1;
  border: 2px solid #ccc;
  padding: 10px 15px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 99;
  transition: opacity 0.3s ease;
}

#mini-player.hidden {
  display: none;
}

#mini-player img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #ccc;
}

#mini-player .mini-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

#mini-title {
  font-family: "ComicNeue", cursive;
  font-size: 0.9rem;
  color: #444;
}

#play-toggle {
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
}
