body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: #000;
  background-image: url('assets/Secuencia_01.gif');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.botones {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.15);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.37);
  backdrop-filter: blur(8px);
}
.boton {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  margin: 10px 0;
  border: none;
  font-size: 20px;
  cursor: pointer;
  background: rgba(255,255,255,0.8);
  border-radius: 10px;
  transition: background 0.3s, transform 0.2s;
  font-weight: bold;
}
.boton:hover {
  background: #fff;
  transform: scale(1.05);
}
.boton-oculto {
  display: none;
  position: absolute;
  padding: 15px 30px;
  margin: 10px 0;
  border: none;
  font-size: 20px;
  cursor: pointer;
  background: rgba(255,255,255,0.8);
  border-radius: 10px;
  transition: background 0.3s, transform 0.2s;
  font-weight: bold;
  z-index: 5;
  backdrop-filter: blur(8px);
}
.boton-oculto:hover {
  background: #fff;
  transform: scale(1.05);
}
.boton-oculto.visible {
  display: flex;
  align-items: center;
  gap: 12px;
}

.area-invisible {
  position: absolute;
  width: 50px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 5;
}

/* Posiciones para escritorio */
#area-tracklist {
  top: 43%;
  left: 53%;
}
#area-snippet {
  top: 62%;
  right: 38%;
}
#area-snippet2 {
  top: 80%;
  right: 70%;
}
#area-remeras {
  bottom: 31%;
  left: 44%;
  transform: translateX(-50%);
}
#area-kick {
  top: 37%;
  left: 42%;
}
#area-remeras {
  width: 55px;
  height: 50px;
}
#area-presave {
  top: 70%;
  left: 6%;
}
#area-secret {
  top: 32%;
  right: 6%;
}

/* Ajustes para móvil */
@media (max-width: 600px) {
  #area-tracklist {
    top: 43vh;
    left: 62vw; 
  }
  #area-snippet {
    top: 62%;
    right: 3%;
  }
  #area-snippet2 {
    top: 86%;
    right: 10%;
  }
  #area-remeras {
    bottom: 32%;
    left: 27%;
    transform: translateX(-50%);
  }
  #area-kick {
    top: 37%;
    left: 20%;
  }
  .area-invisible {
    width: 50px;
    height: 30px;
  }
  .icon-btn{
    width: 2em;
  }
}
.icon-btn {
  position: absolute;
  top: 20px;
  background: none;
  border-radius: 50%;
  border-style: none;
  padding: 0; /* Eliminar padding para que el área sea solo el ícono */
  width: 2.4em; /* Ajustar al tamaño del ícono */
  height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4em;
  color: rgb(255, 255, 255);
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s, background 0.2s;
}
.icon-btn:hover {
  color: rgba(255,255,255,1);
  background: none;
}
.icon-btn i {
  border-radius: 50%;
  transition: background 0.2s, padding 0.2s;
}
/*.icon-btn:hover i {
  background: rgba(255, 239, 18, 0.753);
  padding: 0.40em;
}*/
.icon-btn-left {
  left: 30px;
}
.icon-btn-right {
  right: 30px;
}
.icon-btn i {
  color: #000; 
}

#btn-play-pause {
  position: fixed;
  left: 50%;
  top: 80%;
  transform: translateX(-50%);
  z-index: 9999;
}

.popup-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s;
}

.popup-overlay.active {
  display: flex;
}

.popup-content {
  background: #222;
  border-radius: 20px;
  padding: 20px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: popupScale 0.4s;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-img {
  max-width: 80vw;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.close-btn {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
}
.close-btn:hover {
  color: #ff4b4b;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popupScale {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}



.tracklist-img {
  max-width: 80vw;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: none;
  object-fit: contain;
}
.tracklist-overlay {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s;
}

.tracklist-overlay.active {
  display: flex;
  opacity: 1;
}

.tracklist-img-popup {
  background: transparent;
  border-radius: 0;
  padding: 0;
  position: relative;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: popupScale 0.4s;
  max-width: 90vw;
  max-height: 90vh;
}

.close-btn {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
}
.close-btn:hover {
  color: #ff4b4b;
}

