* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.social-icons a img {
  height: 20px;
  margin-right: 10px;
}

.reino-icon img {
  height: 40px;
}

.main-logo {
  text-align: center;
  margin: 30px 0;
}

.main-logo img {
  height: 100px;
}

/* === SLIDER ADAPTABLE === */
.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slider img,
.slider video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Media query para dispositivos móviles */
@media (max-width: 768px) {
  .slider {
    height: auto; /* Permite que la altura se ajuste al contenido */
    min-height: 50vh; /* Mínimo para no colapsar */
  }

  .slider img,
  .slider video {
    height: auto; /* Ajusta la altura automáticamente */
    min-height: 50vh; /* Mínimo para mantener visibilidad */
    object-fit: contain; /* Cambia a contain para evitar cortes */
  }
}


/* Banda */
#banda {
  padding: 60px 20px;
  background: #000;
  text-align: center;
}

#banda h2 {
  color: #FFD700;
  font-size: 2.8em;
  text-shadow: 0 0 10px #FFD700;
  margin-bottom: 50px;
}

.banda-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.banda-item {
  width: 180px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: #fff;
}

.banda-item:hover {
  transform: scale(1.05);
}

.banda-item img {
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255,255,255,0.2);
  transition: transform 0.3s ease;
}

.banda-item:hover img {
  transform: scale(1.1);
}

.banda-item p {
  margin-top: 10px;
  font-weight: bold;
  color: #FFD700;
}

/* Barra superior fija */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  height: 40px;
}

.topbar-left a img {
  height: 20px;
  margin: 0 0px;
}

.topbar-right {
  margin-right: 5px;
}

.topbar-right a img.icono-reino {
  height: 28px;
  max-height: 100%;
  object-fit: contain;
  margin-left: 5px;
  margin-right: 5px;
}

/* Logo superpuesto con scroll */
.logo-central {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  position: relative;
  z-index: 998;
}

.logo-central img {
  max-width: 400px;
  width: 80%;
  margin-top: -60px;
}

.logo-superpuesto {
  position: fixed;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 294px;
  width: 80%;
  z-index: 999;
  pointer-events: none;
  transition: all 0.4s ease-in-out;
}

.logo-reducido {
  max-width: 70px !important;
  top: 6px !important;
  transform: translate(-50%, 0) !important;
}

/* En dispositivos móviles: siempre logo reducido */
@media only screen and (max-width: 768px) {
  .logo-superpuesto {
    max-width: 70px;
    top: 6px;
    transform: translate(-50%, 0);
  }



  body {
    overflow-x: hidden;
  }
}

/* Últimos lanzamientos */
#lanzamientos {
  padding: 60px 20px;
  background: #111;
  text-align: center;
}

#lanzamientos h2 {
  color: #FFD700;
  font-size: 2.6em;
  text-shadow: 0 0 10px #FFD700;
  margin-bottom: 40px;
}

.spotify-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
}

/* Modal estilo caja */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(2px);
}

.modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  border: 2px solid #FFD700;
}

.modal-box iframe {
  width: 100%;
  height: 600px;
  border: none;
}

.modal:target {
  display: block;
}

.cerrar {
  display: block;
  text-align: right;
  font-size: 2em;
  color: #FFD700;
  text-decoration: none;
  padding: 10px 20px;
  background: #111;
}

/* Formularios */
form input,
form textarea {
  width: 100%;
  background: #1a1a1a;
  border: none;
  padding: 12px;
  margin-bottom: 15px;
  color: white;
  border-radius: 6px;
  font-size: 14px;
}

form input:focus,
form textarea:focus {
  outline: none;
  box-shadow: 0 0 8px #FFD700;
}

button {
  background-color: #FFD700;
  color: black;
  border: none;
  padding: 10px 30px;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #e6c200;
}

/* Animaciones parallax */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
  }
}

/* Flecha volver arriba */
.flecha-arriba {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #111;
  color: #FFD700;
  border: 2px solid #FFD700;
  border-radius: 50%;
  font-size: 2em;
  width: 50px;
  height: 50px;
  line-height: 45px;
  text-align: center;
  text-decoration: none;
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(255,215,0,0.4);
}

.flecha-arriba.visible {
  opacity: 1;
  pointer-events: auto;
}

.flecha-arriba:hover {
  background-color: #FFD700;
  color: #000;
  transform: scale(1.1);
}

.reino-icono-hover {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
}

.reino-icono-hover img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

.reino-icono-hover .hover {
  opacity: 0;
  z-index: 2;
}

.reino-icono-hover:hover .hover {
  opacity: 1;
}

.reino-icono-hover:hover .normal {
  opacity: 0;
}

/* INTERFERENCIA DEL REINO */

#interferencia-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out;
  background: transparent !important; /* ← Esto anula fondo negro */
}

#interferencia-overlay.activo {
  opacity: 1;
  visibility: visible;
}

.simbolo-interferencia {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 2px rgb(255, 204, 0));
  animation: simbolo-glitch 0.5s ease-in-out;
  z-index: 2;
}

.glitch-block {
  position: absolute;
  opacity: 0.7;
  animation: glitch-move 0.5s ease-in-out forwards;
  z-index: 1;
}

@keyframes glitch-move {
  0% { transform: translateX(0); opacity: 0; }
  20% { transform: translateX(-10px); opacity: 1; }
  50% { transform: translateX(10px); }
  80% { transform: translateX(-5px); }
  100% { transform: translateX(0); opacity: 0; }
}

@keyframes simbolo-glitch {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

.modal-respuesta {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.modal-contenido {
  background: #111;
  border: 2px solid #FFD700;
  padding: 30px;
  color: #fff;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 0 20px #FFD700;
}

.modal-contenido button {
  margin-top: 20px;
  padding: 10px 25px;
  background-color: #FFD700;
  border: none;
  border-radius: 5px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

/* Sección cuenta regresiva mejorada */
#cuenta-regresiva {
  background: linear-gradient(to bottom, #000000, #111111);
  padding: 60px 20px;
  text-align: center;
  color: #FFD700;
  font-family: 'Segoe UI', sans-serif;
}

#cuenta-regresiva .titulo-cuenta {
  font-size: 2.2em;
  color: #fff;
  text-shadow: 0 0 8px #FFD700;
  margin-bottom: 30px;
}

#cuenta-regresiva .nombre-single {
  font-size: 1.4em;
  color: #FFD700;
  text-shadow: 0 0 15px #FFD700;
  display: inline-block;
}

.reloj-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.reloj-container .bloque {
  background-color: #1a1a1a;
  border: 2px solid #FFD700;
  border-radius: 12px;
  padding: 20px 25px;
  min-width: 90px;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
  transition: transform 0.3s ease-in-out;
}

.reloj-container .bloque small {
  display: block;
  font-size: 0.6em;
  margin-top: 5px;
  color: #ccc;
  font-weight: normal;
}

/* Animación de resplandor dorado */
@keyframes resplandor {
  0%, 100% {
    box-shadow: 0 0 15px #FFD700;
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 25px #FFD700, 0 0 30px #FFD700;
    transform: scale(1.05);
  }
}

.pulso {
  animation: resplandor 2s infinite;
}

#cuenta-regresiva .texto-final {
  color: #fff;
  font-size: 1.1em;
  text-shadow: 0 0 5px #FFD700;
}

.texto-preguardar {
  font-size: 1.1em;
  color: #FFD700;
  text-shadow: 0 0 5px #FFD700;
  margin-bottom: 10px;
}

.btn-preguardar {
  padding: 15px 30px;
  font-size: 1.2em;
  background-color: #1DB954;
  color: #fff;
  text-decoration: none;
  border-radius: 40px;
  box-shadow: 0 0 15px #1DB954;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-preguardar:hover {
  background-color: #17a44b;
  transform: scale(1.05);
}

/* ============================================================
   PRESAVE — ESTILOS GENERALES
   ============================================================ */

body.presave-page {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden !important;
  background: #000;
}

/* VIDEO FULLSCREEN */
body.presave-page .video-fondo-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}

body.presave-page .video-fondo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}


/* CONTENIDO CENTRADO (DESKTOP + MOBILE BASE) */
body.presave-page .contenido-presave {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 100%;
  max-width: 100%;
  padding: 0 20px;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


/* ============================================================
   BOX DE CUENTA REGRESIVA — ESCRITORIO
   ============================================================ */

#cuenta-regresiva {
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  padding: 40px 25px;
  border-radius: 16px;
  max-width: 780px;
  box-shadow: 0 0 35px rgba(0,0,0,0.6);
  margin: 0 auto;
}


/* ============================================================
   MÓDULO RESPONSIVE CELULAR (MÁXIMO AJUSTE)
   SIN SCROLL — CUENTA REGRESIVA MÁS GRANDE
   ============================================================ */

@media (max-width: 768px) {

  /* Video más claro en móviles */
  body.presave-page .video-fondo {
    filter: brightness(0.70);
  }

  /* Asegura que el contenido SIEMPRE entre */
  body.presave-page .contenido-presave {
    transform: translate(-50%, -50%);
    height: auto;
    max-height: 92vh;
    padding: 0 10px;
  }

  /* Box más delgado y más transparente */
  #cuenta-regresiva {
    width: 95%;
    padding: 20px 12px;
    background: rgba(0,0,0,0.18);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 14px;
    box-shadow: 0 0 12px rgba(0,0,0,0.45);
  }

  /* Títulos más grandes y con mejor proporción */
  #cuenta-regresiva .titulo-cuenta {
    font-size: 1.55em;
    line-height: 1.25em;
    margin-bottom: 12px;
  }

  #cuenta-regresiva .nombre-single {
    font-size: 1.20em;
  }

  /* BLOQUES DEL RELOJ — MÁS GRANDES PARA QUE NO SE VEAN CHICOS */
  .reloj-container {
    gap: 12px;
    margin-bottom: 12px;
  }

  .reloj-container .bloque {
    transform: scale(0.95);
    min-width: 75px;
    padding: 14px 12px;
    box-shadow: 0 0 14px rgba(255,215,0,0.35);
  }

  /* Textos inferiores compactados pero legibles */
  #cuenta-regresiva .texto-final,
  .texto-preguardar {
    font-size: 0.95em;
    margin-bottom: 8px;
    line-height: 1.25em;
  }

  /* BOTÓN — MÁS GRANDE Y SIEMPRE VISIBLE */
  .btn-preguardar {
    transform: scale(1.05);
    margin-top: 5px;
  }
}


/* ============================================================
   AJUSTE ESPECIAL PARA PANTALLAS MUY CHICAS (ALTURA BAJA)
   ============================================================ */

@media (max-height: 690px) {

  body.presave-page .contenido-presave {
    max-height: 90vh;
  }

  #cuenta-regresiva {
    padding: 15px 10px;
  }

  .reloj-container .bloque {
    transform: scale(0.80);
    min-width: 60px;
  }

  .btn-preguardar {
    transform: scale(0.90);
  }
}

/* ============================================================
   FIX DEFINITIVO: eliminar subrayados en iconos de redes
   ============================================================ */

.topbar-left a,
.topbar-left a:visited,
.topbar-left a:link,
.topbar-left a:hover,
.topbar-left a:active,
.topbar-left a:focus,
.topbar-left a:focus-visible {
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
}

/* Asegurar que las imágenes no hereden subrayados */
.topbar-left a img {
    display: inline-block !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

/* ============================================================
   FIX DEFINITIVO PARA CELULARES EN HORIZONTAL (LANDSCAPE)
   ============================================================ */

@media only screen and (max-height: 480px) and (orientation: landscape) {

  body.presave-page {
    overflow: hidden !important;
    height: 100vh;
  }

  /* El video sigue ocupando toda la pantalla sin deformarse */
  body.presave-page .video-fondo-container {
    height: 100vh !important;
  }

  body.presave-page .video-fondo {
    height: 100vh !important;
    object-fit: cover !important;
    filter: brightness(0.70);
  }

  /* El contenido deja de estar centrado EXACTO y pasa a centrarse visualmente */
  body.presave-page .contenido-presave {
    top: 52%;
    transform: translate(-50%, -50%);
    max-height: 96vh;
    padding: 0 8px;
  }

  /* Box reducido para que entre completo */
  #cuenta-regresiva {
    padding: 12px 8px;
    width: 88%;
    background: rgba(0,0,0,0.22);
    backdrop-filter: blur(3px);
  }

  /* Títulos más compactos */
  #cuenta-regresiva .titulo-cuenta {
    font-size: 1.25em;
    margin-bottom: 8px;
    line-height: 1.2em;
  }

  #cuenta-regresiva .nombre-single {
    font-size: 1.1em;
  }

  /* Reloj más compacto */
  .reloj-container {
    gap: 8px;
    margin-bottom: 5px;
  }

  .reloj-container .bloque {
    transform: scale(0.70);
    min-width: 55px;
    padding: 10px 8px;
  }

  /* Textos finales compactos */
  #cuenta-regresiva .texto-final,
  .texto-preguardar {
    font-size: 0.80em;
    margin-bottom: 6px;
  }

  /* Botón siempre visible */
  .btn-preguardar {
    transform: scale(0.85);
    margin-top: 5px;
  }
}

/* ============================================================
   REDES SOCIALES EN PRESAVE – ESTILO RESPONSIVE
   ============================================================ */

.presave-redes {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  z-index: 20;
}

.presave-redes a img {
  width: 38px;      /* tamaño normal */
  height: 38px;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

/* Hover (PC) */
.presave-redes a img:hover {
  transform: scale(1.13);
}

/* Ajuste especial para celulares */
@media (max-width: 768px) {
  .presave-redes a img {
    width: 32px;
    height: 32px;
  }

  .presave-redes {
    gap: 10px;
    margin-top: 12px;
  }
}

/* Ajuste landscape bajo */
@media (max-height: 480px) and (orientation: landscape) {
  .presave-redes a img {
    width: 28px;
    height: 28px;
  }
  .presave-redes {
    gap: 8px;
    margin-top: 8px;
  }
}

/* LOGO PRESAVE */
.presave-logo-container {
  position: fixed;
  top: 20px;
  width: 100%;
  text-align: center;
  z-index: 20;
}

.presave-logo {
  width: 220px;
  max-width: 65%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.55));
}


/* ============================================
   FIX ESPECIAL PARA MÓVIL – PRESAVE
   Evita que el logo tape el texto
   ============================================ */

@media (max-width: 768px) {

  /* Baja todo el contenido del presave */
  .contenido-presave {
    padding-top: 120px !important;   /* antes 0 — ahora hay espacio real */
  }

  /* Baja un poco más el título */
  #cuenta-regresiva .titulo-cuenta {
    margin-top: 40px !important;
  }

  /* Ajusta aún más en pantallas muy chicas */
  @media (max-width: 480px) {
    .contenido-presave {
      padding-top: 140px !important;
    }
    #cuenta-regresiva .titulo-cuenta {
      margin-top: 45px !important;
    }
  }
}

