/* Section Musique */
.music-album {
  /* padding: 3rem 2rem; */
  background: linear-gradient(135deg, #1c1c1c, #2a2a2a);
  border-radius: 1rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

text {
  color: #ffffff;
}   

.album-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  align-items: flex-start;
}

.album-cover img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.album-details {
  flex: 1;
  min-width: 300px;
}

.album-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.album-title span {
  color: #87ffd3;
}

.album-description {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #dddddd;
}

.tracklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.tracklist li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #333;
  font-weight: 500;
  transition: all 0.2s;
}

.tracklist li:hover {
  color: #ff3b77;
  transform: translateX(5px);
}

.preview-btn {
  display: inline-block;
  margin-top: 1rem;
  background: #ff3b77;
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.preview-btn:hover {
  background: #ff6397;
}

/* Intégration des iframes */
.album-details iframe {
  margin-top: 1.5rem;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .album-container {
    flex-direction: column;
    align-items: center;
  }

  .album-cover img {
    width: 100%;
    max-width: 350px;
  }

  .album-details {
    text-align: center;
  }

  .tracklist {
    text-align: left;
  }

  .preview-btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .album-container {
    flex-direction: column;
    align-items: center;
  }

  .album-cover img {
    width: 100%;
    max-width: 300px;
  }

  .album-details {
    text-align: center;
  }
}