/* Contenedor principal de la música */
.music-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  justify-content: flex-start;
  padding-top: 10px;
}
.music-player-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 5;
  width: 100%;
}

/* --- EL VINILO --- */
.disk-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%; /* REDONDO */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin: 20px auto;
  background: #000;
  overflow: hidden; /* Recorte de seguridad */
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.disk-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  animation: spin 8s linear infinite;
  animation-play-state: paused;
  border: 3px solid rgba(255, 255, 255, 0.2);
}
.disk-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: var(--page-bg-color);
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.1);
  z-index: 10;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.disk-wrapper.playing .disk-cover {
  animation-play-state: running;
}
.disk-wrapper.playing {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(216, 27, 96, 0.4);
}

/* --- PLAYLIST & EMBED --- */
.embed-container {
  width: 100%;
  height: 200px;
  display: none;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #000;
}
.embed-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.song-info {
  text-align: center;
  margin-bottom: 10px;
  width: 100%;
}
.add-song-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.playlist-container {
  width: 90%;
  max-height: 150px;
  overflow-y: auto;
  margin-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 10px;
}
.playlist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 12px;
  margin-bottom: 5px;
  border-radius: 8px;
}

/* MEDIA QUERIES (Música) */
@media (min-width: 1024px) {
  .disk-wrapper {
    width: 250px;
    height: 250px;
  }
}
