/* =========================
   SISTEMA DE DISEÑO CYBER-Y2K / RETRO-FUTURISTA
   ========================= */
:root {
  --neon-purple: #ab3cf0;
  --neon-magenta: #ff00ff;
  --cyber-silver: #ffffff;
  --cyber-dark: #050512;
  --glass-bg: rgba(12, 8, 24, 0.7);
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--cyber-dark);
  background-image: linear-gradient(rgba(5, 5, 18, 0.85), rgba(5, 5, 18, 0.95)), url('../images/e457850d7a851a3945e6c8e946d72b16.jpg'); 
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../images/b5cc951268af078085955219a291b7b7.webp');
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

/* =========================
   UI WINDOWS MEDIA PLAYER (Global)
   ========================= */
.wmp-window {
  background:
    linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
    linear-gradient(
      135deg,
      #ff00ff 0%,
      #e600ff 12%,
      #c000ff 25%,
      #9d00ff 40%,
      #7b2cff 55%,
      #5a4dff 70%,
      #7b2cff 85%,
      #ff00ff 100%
    ) border-box;

  border: 2px solid transparent;
  box-shadow: 4px 4px 0px #000000, 0 0 25px rgba(157, 0, 255, 0.2);
  border-radius: 15px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.wmp-topbar {
  background: linear-gradient(90deg, #4a0080, #aa00aa);
  padding: 8px 15px;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
   font-size: clamp(0.75rem, 0.68rem + 0.35vw, 0.9rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--neon-magenta);
}

.color_lucio {
  font-family: 'Orbitron', 'Arial', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: #ffffff !important;
  text-shadow: 0 0 15px var(--neon-purple), 0 0 30px var(--neon-magenta) !important;
  text-align: center;
}


.logo-img {
  width: 85px;
  transition: transform 0.6s ease-in-out, filter 0.6s ease-in-out;
  transform-style: preserve-3d;
}

.logo-img:hover {
  transform: rotateY(360deg) scale(1.08);
  filter: drop-shadow(0 5px 10px rgba(157, 0, 255, 0.6));
}

/* Botón de Idioma (Outline Warning adaptado) */
.btn-outline-warning {
  color: var(--neon-purple) !important;
  border-color: var(--neon-purple) !important;
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 50px;
}

.btn-outline-warning:hover, .btn-outline-warning:active {
  background-color: var(--neon-purple) !important;
  color: #fff !important;
  border-color: var(--neon-magenta) !important;
  box-shadow: 0 0 15px var(--neon-purple), 0 0 30px var(--neon-magenta) !important;
}

/* =========================
   HERO
   ========================= */
.hero {
  min-height: 100vh;
  padding-top: 60px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 18, 0.308), rgba(5, 5, 18, 0.27));
  max-height: 80%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: "Doto", sans-serif;
  font-size: clamp(3rem, 6vw, 7.2rem);
  color: #ffffff;
  text-shadow:
    0 0 5px #fff,
    0 0 10px var(--neon-purple),
    0 0 20px var(--neon-purple),
    0 0 40px var(--neon-magenta),
    0 0 80px var(--neon-magenta);
  animation: shine 2.5s infinite alternate;
}

.hero-subtitle {
  color: var(--cyber-silver);
  font-size: clamp(1.2rem, 2.5vw, 1.3rem);
  padding-top: 50px;
  padding-bottom: 50px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  text-align: center;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.hero-subtitle strong {
  font-family: "Doto", sans-serif;
  font-weight: 900;
  color: var(--cyber-silver);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;

  text-shadow:
    0 0 4px #ff66ff,
    0 0 10px #ff00ff,
    0 0 20px #e600e6,
    0 0 35px rgba(255, 0, 255, 0.85),
    0 0 60px rgba(200, 0, 200, 0.65),
    0 0 90px rgba(150, 0, 150, 0.45);
}

@keyframes shine {
  0% {
    text-shadow:
      0 0 5px #fff,
      0 0 10px var(--neon-purple),
      0 0 20px var(--neon-purple),
      0 0 40px var(--neon-magenta),
      0 0 80px #fff;
  }
  25% {
    text-shadow:
      0 0 10px #fff,
      0 0 20px var(--neon-purple),
      0 0 40px var(--neon-magenta),
      0 0 60px var(--neon-magenta),
      0 0 120px #fff;
  }
  50% {
    text-shadow:
      0 0 15px #fff,
      0 0 30px var(--neon-purple),
      0 0 50px var(--neon-magenta),
      0 0 80px var(--neon-magenta),
      0 0 150px #fff;
  }
  75% {
    text-shadow:
      0 0 10px #fff,
      0 0 20px var(--neon-purple),
      0 0 40px var(--neon-magenta),
      0 0 60px var(--neon-magenta),
      0 0 120px #fff;
  }
  100% {
    text-shadow:
      0 0 5px #fff,
      0 0 10px var(--neon-purple),
      0 0 20px var(--neon-purple),
      0 0 40px var(--neon-magenta),
      0 0 80px #fff;
  }
}

/* =========================
   SECCIONES: MUSIC & VIDEOS
   ========================= */
.music-section,
.videos-section {
  padding: 0.8rem 1rem;
  text-align: center;
  box-sizing: border-box;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  color: white;
  text-shadow: 0 0 18px rgba(157, 0, 255, 0.75);
  margin-bottom: 20px;
}

.album-grid, .video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.video, .album {
  text-align: center;
}

.video img, .album img, .video-grid img {
  width: 100%;
  border-radius: 15px;
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
}

.video img:hover, .album img:hover, .video-grid img:hover {
  transform: scale(1.04);
  opacity: 1;
  box-shadow:
    0 0 12px rgba(157, 0, 255, 0.65),
    0 0 25px rgba(255, 0, 255, 0.55),
    0 0 55px rgba(157, 0, 255, 0.4),
    0 0 90px rgba(255, 0, 255, 0.3);
}

.album p {
  color: var(--neon-magenta);
  font-family: 'Rajdhani';
  font-size: clamp(0.95rem, 0.85rem + 0.6vw, 1.2rem);
  margin-top: 10px;
}



.video-btn:hover,
.bio-btn:hover,
.album-btn:hover,
.contrataciones_btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.6);
  color: #fff;
}

.contrataciones_btn {
  animation: glowPulse 2s infinite alternate;
}

.spotify_artista_embed {
  display: inline-block;
  width: 95%;
  max-width: 1200px;
  margin: 50px auto;
  padding: 4px;

  border: 2px solid transparent;
  border-radius: 24px;

  background:
    linear-gradient(#000000, #000000) padding-box,
    linear-gradient(
      135deg,
      #ff00ff 0%,
      #e600ff 12%,
      #c000ff 25%,
      #9d00ff 40%,
      #7b2cff 55%,
      #5a4dff 70%,
      #7b2cff 85%,
      #ff00ff 100%
    ) border-box;

  box-shadow:
    0 0 12px rgba(157, 0, 255, 0.65),
    0 0 25px rgba(255, 0, 255, 0.55),
    0 0 55px rgba(157, 0, 255, 0.4),
    0 0 90px rgba(255, 0, 255, 0.3);

  box-sizing: border-box;
}


.spotify_artista_embed iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
  border-radius: 20px;
  box-sizing: border-box;
}

.videoclip-wrapper {
  width: 90%;
  max-width: 1100px;
  margin: 50px auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(157, 0, 255, 0.4);
  /* ELIMINADO: aspect-ratio: 16 / 9; (esto era lo que rompía la caja) */
}

.video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  transform: scale(1.06);
}

.video-responsive {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  aspect-ratio: 16 / 9;
  
}

.video-responsive iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: block;
}

.media-video {
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
}

.media-video iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* =========================
   CONTRATACIONES SECTION
   ========================= */
.contrataciones_section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: min(92%, 1000px);
  padding: 2.5rem 2rem;

  background: var(--glass-bg);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);

  position: relative;
  margin: 3rem auto;
  opacity: 0;

  border: 2px solid rgba(157, 0, 255, 0.6);

  animation:
    borderGlow 3s ease-in-out infinite,
    fadeInUp 1s forwards,
    floatCard 6s ease-in-out infinite;

  box-sizing: border-box;
}

.contrataciones_text {
  color: var(--neon-magenta);
  font-size: clamp(1.15rem, 0.95rem + 1vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 25px;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 10px var(--neon-purple);
  animation: glowPulse 2s infinite alternate;
  max-width: 900px;
  text-align: center;
}

/* =========================
   ARTIST BIO (Para bio.html y Home)
   ========================= */
.bio-image-wrapper {
  position: relative;
  display: inline-block;
  width: 90%;
  max-width: 900px;
  margin: 70px auto;
  text-align: center;
}

.bio-image {
  width: 100%;
  border-radius: 15px;
  display: block;
  
}

.bio-overlay {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5, 5, 18, 0.85);
  color: var(--neon-magenta);
  padding: 12px 22px;
  border: 1px solid var(--neon-purple);
  border-radius: 8px;
  font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.1rem);
  font-weight: 600;
  font-family: 'Orbitron', sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 15px rgba(157, 0, 255, 0.5);
}

.bio-image-wrapper:hover .bio-overlay {
  opacity: 1;
  pointer-events: auto;
}

.bio-link {
  text-decoration: none;
  color: inherit;
}

.btn-center {
  text-align: center;
  margin-top: 20px;
}

.artist-bio {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
  background: transparent;
}

.artist-bio-container {
  width: 75%;
  max-width: 1200px;
  min-width: 280px;
  background: var(--glass-bg);
  border: 1px solid var(--cyber-silver);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  box-shadow: 4px 4px 0px #000, 0 10px 30px rgba(157, 0, 255, 0.3);
  backdrop-filter: blur(12px);
  color: #fff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: fadeInUp 1s forwards;
  transition: width 0.3s ease, padding 0.3s ease;
}

.artist-bio-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem);
  color: var(--neon-magenta);
  text-shadow: 0 0 25px rgba(255, 0, 255, 0.8);
  text-align: center;
  margin-bottom: 2rem;
}

.artist-bio-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1rem, 0.9rem + 0.45vw, 1.25rem);
  line-height: 1.9;
  text-align: justify;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}

.artist-bio-text strong {
  color: var(--neon-magenta);
  text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
}

.artist-bio-text br + br {
  content: "";
  display: block;
  height: 1rem;
}

/* =========================
   COSMOS (Planetas/Canciones)
   ========================= */
.cosmos-title {
 font-size: clamp(1.8rem, 1.2rem + 2.5vw, 2.8rem);
  text-align: center;
  color: var(--neon-magenta);
  text-shadow: 0 0 20px var(--neon-purple);
  margin-bottom: 5px;
  font-family: 'Orbitron', sans-serif;
}

.cosmos-subtitle, .cosmos-hint {
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  color: var(--cyber-silver);
  font-size: clamp(1.4rem, 2vw, 1.5rem);
  margin-bottom: 25px;
  opacity: 0.8;
}

.cosmos-item {
  font-size: 4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 20px;
  border-radius: 20px;
}

.cosmos-item:hover {
  transform: scale(1.2);
  background: rgba(157, 0, 255, 0.1);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
}

.cosmos-item:active {
  transform: scale(0.9);
}

/* =========================
   MODALES (INFO BOX)
   ========================= */
.info-box {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(5, 5, 18, 0.85);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.info-content {
  background: var(--glass-bg);
  border: 1px solid var(--cyber-silver);
  padding: clamp(20px, 4vw, 40px);
  border-radius: 6px;
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 4px 4px 0px #000, 0 0 30px rgba(157, 0, 255, 0.6);
  animation: aparecer 0.3s ease;
}

.cerrar {
  position: absolute;
  top: 15px; right: 20px;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--neon-magenta);
  transition: color 0.3s;
}

.cerrar:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--neon-magenta);
}

#tituloCancion {
  color: var(--neon-magenta);
  margin-bottom: 15px;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
}

#estadoCancion {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--cyber-silver);
}

/* =========================
   CARRUSEL
   ========================= */

/* =========================
   FOOTER
   ========================= */

footer {
  text-align: center;
  padding: clamp(35px, 6vw, 70px) clamp(15px, 4vw, 40px);
  background: #03030a;
  border-top: 2px solid var(--neon-purple);
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 30px);
  margin-bottom: clamp(20px, 3vw, 30px);
}

.social-icons img {
  width: clamp(34px, 4vw, 50px);
  height: auto;
  filter: drop-shadow(0 0 8px var(--neon-purple));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.18);
  filter: drop-shadow(0 0 12px var(--neon-magenta)) invert(0%);
}

footer p:first-of-type {
  color: #e0e0e0;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  margin-bottom: 10px;
}

footer p:last-of-type {
  color: var(--neon-purple);
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  margin-bottom: 0;
}

/* =========================
   EMAIL FOOTER
   ========================= */

.footer-contact{

    position:relative;

    display:flex;
    justify-content:center;

    margin:18px 0 28px;
    padding-top:30px;

}

/* =========================
   Línea superior
   ========================= */

.footer-contact::before{

    content:"";

    position:absolute;

    top:0;
    left:50%;

    transform:translateX(-50%);

    width:min(340px,80%);
    height:2px;

    border-radius:999px;

    background:linear-gradient(
        90deg,
        transparent,
        var(--neon-purple),
        var(--neon-magenta),
        var(--neon-purple),
        transparent
    );

    box-shadow:
        0 0 8px var(--neon-purple),
        0 0 20px var(--neon-magenta),
        0 0 35px rgba(255,0,255,.35);

}

/* =========================
   Botón completo
   ========================= */

.footer-contact a{

    position:relative;

    display:flex;
    flex-direction:column;
    align-items:center;

    padding:18px 34px;

    border-radius:18px;

    text-decoration:none;

    overflow:hidden;

    transition:
        transform .35s ease,
        background .35s ease,
        box-shadow .35s ease;

}

/* Reflejo */

.footer-contact a::after{

    content:"";

    position:absolute;

    top:0;
    left:-140%;

    width:45%;
    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.28),
        transparent
    );

    transform:skewX(-25deg);

    transition:left .7s ease;

}

/* =========================
   Icono
   ========================= */

.footer-contact img{

    width:68px;

    margin-bottom:12px;

    transition:.35s ease;

    filter:
        drop-shadow(0 0 10px var(--neon-purple))
        drop-shadow(0 0 22px var(--neon-magenta));

}

/* =========================
   Textos
   ========================= */

.footer-contact span{

    font-family:'Orbitron',sans-serif;

    font-size:1rem;

    color:#ffffff;

    letter-spacing:2px;

    transition:.35s ease;

}

.footer-contact small{

    margin-top:6px;

    font-family:'Rajdhani',sans-serif;

    font-size:.95rem;

    color:#bfbfbf;

    transition:.35s ease;

}

/* =========================
   HOVER
   ========================= */

.footer-contact a:hover{

    transform:translateY(-6px) scale(1.04);

    background:linear-gradient(
        135deg,
        rgba(157,0,255,.12),
        rgba(255,0,255,.08)
    );

    box-shadow:
        0 0 18px rgba(157,0,255,.35),
        0 0 40px rgba(255,0,255,.18);

}

.footer-contact a:hover::after{

    left:170%;

}

.footer-contact a:hover img{

    transform:scale(1.15) rotate(-4deg);

    filter:
        drop-shadow(0 0 16px var(--neon-purple))
        drop-shadow(0 0 36px var(--neon-magenta));

}

.footer-contact a:hover span{

    color:#ffffff;

    text-shadow:
        0 0 10px var(--neon-purple),
        0 0 20px var(--neon-magenta);

}

.footer-contact a:hover small{

    color:#ffffff;

}

/* =========================
   CLICK
   ========================= */

.footer-contact a:active{

    transform:scale(.97);

}

/* =========================
   Responsive
   ========================= */

@media (max-width:768px){

    .footer-contact img{

        width:58px;

    }

    .footer-contact span{

        font-size:.95rem;

    }

    .footer-contact small{

        font-size:.88rem;

    }

    .footer-contact a{

        padding:16px 24px;

    }

}



/* =========================
   ANIMACIONES CLAVE
   ========================= */
@keyframes borderGlow {
  0% { border-color: rgba(157, 0, 255, 0.2); }
  25% { border-color: rgba(255, 0, 255, 0.7); }
  50% { border-color: rgba(157, 0, 255, 0.2); }
  75% { border-color: rgba(255, 0, 255, 0.7); }
  100% { border-color: rgba(157, 0, 255, 0.2); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0% { text-shadow: 0 0 5px var(--neon-purple); }
  50% { text-shadow: 0 0 15px var(--neon-magenta); }
  100% { text-shadow: 0 0 5px var(--neon-purple); }
}

@keyframes aparecer {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   RESPONSIVE (MEDIA QUERIES)
   ========================= */
@media (min-width: 768px) {
  .music-section, .videos-section { padding: 1.2rem 2rem; }
}

@media (min-width: 1200px) {
  .music-section, .videos-section { padding: 1.5rem 3rem; }
}

@media (max-width: 992px) {
  .hero { padding-top: 4.5rem; }
  .contrataciones_section { width: 85%; padding: 2rem 1.5rem; }
  .contrataciones_text { font-size: 1.5rem; }
  .artist-bio-container { width: 85%; padding: 2rem 1.5rem; }
  .artist-bio-title { font-size: 2.3rem; }
  .artist-bio-text { font-size: 1.08rem; line-height: 1.8; }
  #musica h2 { margin-top: 120px; }
}

@media (max-width: 1200px) {
  .contrataciones_section { width: 80%; }
  .contrataciones_text { font-size: 1.55rem; }
  .artist-bio-container { width: 80%; }
}

@media (max-width: 768px) {
  .videoclip-wrapper { width: 95%; margin: 35px auto; }
  .bio-image-wrapper { width: 95%; margin: 50px auto; }
  .contrataciones_section { width: 90%; padding: 1.8rem 1.2rem; }
  .contrataciones_text { font-size: 1.45rem; }
  .artist-bio-container { width: 90%; padding: 1.8rem 1.2rem; }
  .artist-bio-title { font-size: 2rem; }
  .artist-bio-text { font-size: 1rem; line-height: 1.7; }
}

@media (max-width: 576px) {
  .contrataciones_section { width: 95%; padding: 1.5rem 1rem; }
  .contrataciones_text { font-size: 1.35rem; }
  .artist-bio-container { width: 95%; padding: 1.5rem 1rem; }
  .artist-bio-title { font-size: 1.8rem; margin-bottom: 1.2rem; }
  .artist-bio-text { font-size: 0.95rem; line-height: 1.6; }
  #musica h2 { margin-top: 60px; }
}

/* =========================
   PROTECTOR DE PANTALLA DVD ORIGINAL
   ========================= */
#pantalla-inactividad {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; /* Cambiado de 100vw a 100% */
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); 
  backdrop-filter: blur(2px);
  z-index: 999999; 
  display: none;   
  overflow: hidden; /* Esto es vital */
}

#pantalla-inactividad.activo {
  display: block;
}

#dvd-logo {
  position: absolute;
  width: 130px; 
  height: 80px;
  
  /* Esto trae el logo original de DVD de internet y lo usa como molde */
  -webkit-mask: url('https://upload.wikimedia.org/wikipedia/commons/9/9b/DVD_logo.svg') no-repeat center / contain;
  mask: url('https://upload.wikimedia.org/wikipedia/commons/9/9b/DVD_logo.svg') no-repeat center / contain;
  
  will-change: transform; 
  animation: titilarDvd 0.15s infinite alternate; /* Efecto que titila rápido */
}

/* Animación de titileo (más lenta e intensa) */
@keyframes titilarDvd {
  0% {
    opacity: 0.65;
    filter:
      drop-shadow(0 0 4px rgba(255,255,255,0.2))
      drop-shadow(0 0 8px rgba(255,255,255,0.15));
  }

  50% {
    opacity: 0.85;
    filter:
      drop-shadow(0 0 18px currentColor)
      drop-shadow(0 0 35px currentColor);
  }

  100% {
    opacity: 1;
    filter:
      drop-shadow(0 0 25px currentColor)
      drop-shadow(0 0 50px currentColor);
  }
}

/* Aplicar la animación */
.navbar-nav .nav-link {
  animation: titilarDvd 5s ease-in-out infinite alternate;
}              

/* Responsivo para móviles */
@media (max-width: 768px) {
  #dvd-logo {
    width: 90px;
    height: 55px;
  }
}

.hero-compacto {
  width: 100%;
  height: 90px;
  overflow: hidden;
  background-image: url('../images/gif.gif');
  background-size: 120 auto;
  background-position: center;
  background-color: var(--cyber-dark);
  
  /* Flexbox para controlar el contenido interno */
  display: flex;
  align-items: center; 
  
  border-bottom: 2px solid var(--neon-purple);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  
  /* Si el navbar tiene margen, usa padding-top en lugar de margin-top 
     para evitar el colapso de márgenes */
  margin-top: 0; 
  padding-top: 0;
  box-sizing: border-box;
}

.coche-animado {
  /* Quitamos position: absolute para que el flexbox lo controle */
  position: relative; 
  white-space: nowrap;
  
  /* Tipografía elegante */
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 4vw, 2rem);
 letter-spacing: 4px;
  font-weight: 800;
  
  color: var(--cyber-silver);
  text-shadow: 0 0 8px var(--neon-purple), 0 0 15px var(--neon-magenta);
  
  /* Animación */
  animation: avanzarAuto 16s linear infinite;
  will-change: transform;
}

@keyframes avanzarAuto {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}


.album-cover {
  cursor: pointer;
}

.album-cover:hover,
.album-cover:active {
  animation: pulseAlbum 0.45s ease-in-out;
}

@keyframes pulseAlbum {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* =========================
   HEADER / NAVBAR
   ========================= */

.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;

  background: rgba(5, 5, 15, 0.85) !important;
  border-bottom: 3px solid var(--neon-purple) !important;

  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;

  padding: 7px 0 !important;

  transition: all .3s ease !important;
}

body {
  padding-top: 100px;
}

/* =========================
   ENLACES
   ========================= */

.navbar-nav .nav-link {
  color: var(--cyber-silver) !important;
  font-family: 'Orbitron', sans-serif !important;
  font-size: clamp(0.800rem, 1vw + 0.5rem, 1.60rem);

  padding: 10px 10px !important;
  margin: 0 10px !important;

  border-radius: 8px !important;

  transition: all .3s ease !important;
}

.navbar-nav .nav-link:hover {
  color: var(--neon-magenta) !important;
  text-shadow:
    0 0 10px var(--neon-purple),
    0 0 20px var(--neon-magenta) !important;
}

/* elimina el margin-left viejo */
nav a {
  color: var(--neon-purple) !important;
  text-decoration: none !important;
  transition: all .3s ease !important;
  margin-left: 0 !important;
}

nav a:hover {
  color: #fff !important;
  text-shadow:
    0 0 10px var(--neon-purple),
    0 0 20px #fff !important;
}

/* =========================
   COLLAPSE
   ========================= */

.navbar-collapse {
  align-items: center !important;
}

/* =========================
   BOTONES IDIOMA
   ========================= */

.lang-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;

  margin-right: 18px !important;
}

.lang-buttons .btn {
  margin-bottom: 0 !important;
}

.navbar-toggler {
  margin-right: 18px !important;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 991.98px) {

  .navbar-collapse {
    text-align: center !important;
    padding: 20px 0 !important;
  }

  .navbar-nav {
    width: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .navbar-nav .nav-link {
    width: 100% !important;

    margin: 6px 0 !important;
    padding: 12px 0 !important;

    text-align: center !important;
    font-size: 1.15rem !important;
  }

  .lang-buttons {
    width: 100% !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    margin: 20px 0 0 0 !important;
    padding-top: 20px !important;

    border-top: 1px solid rgba(255,255,255,.08) !important;
  }

}

@media (max-width:991.98px){

    .navbar-collapse{

        max-height: calc(100vh - 80px);

        overflow-y:auto;

        overflow-x:hidden;

        -webkit-overflow-scrolling:touch;

    }

}



/* ====================================================
   BANNER INTERACTIVO (ESTRUCTURA BASE)
==================================================== */
.emilia-banner-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  display: flex;
}

.banner-background {
  width: 100%;
  height: auto;
  display: block;
}

.interactive-object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  transition: filter 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.interactive-object img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.interactive-object::before {
  content: "";
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
}

/* Hover solo en dispositivos con mouse (evita que quede pegado al deseleccionar en celular) */
@media (hover: hover) {
  .interactive-object:hover {
    filter: drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.65))
            drop-shadow(0px 0px 10px rgba(190, 110, 255, 0.55));
    transform: translateY(-8px) scale(1.025);
  }
}

/* ====================================================
   ÁREAS DE CLIC Y EJES DE ELEVACIÓN (100% RESPONSIVE)
==================================================== */

/* 1. Que No (Televisor + cassette VHS abajo) */
.obj-1 {
  transform-origin: 12% 68%;
}
.obj-1::before {
  top: 39%;
  left: 0.5%;
  width: 23.5%;
  height: 58%;
}

/* 2. Abrázame (Cúpula con Obelisco) */
.obj-2 {
  transform-origin: 33.5% 62%;
}
.obj-2::before {
  top: 39%;
  left: 25.5%;
  width: 16%;
  height: 45%;
}

/* 3. Lentamente (CD cromado y cadenas) */
.obj-3 {
  transform-origin: 50% 88%;
}
.obj-3::before {
  top: 76%;
  left: 33%;
  width: 34%;
  height: 23%;
}

/* 4. Otro Invierno (Polaroid) */
.obj-4 {
  transform-origin: 73% 57%;
  z-index: 10;
}
.obj-4::before {
  top: 40%;
  left: 64.5%;
  width: 17%;
  height: 34%;
}

/* 5. Primavera (Ramo de rosas adelante) */
.obj-5 {
  transform-origin: 81.5% 78%;
  z-index: 12;
}
.obj-5::before {
  top: 66%;
  left: 73.5%;
  width: 13.5%;
  height: 24%;
  z-index: 20;
}

/* 6. Dolce (Frasco de perfume a la derecha) */
.obj-6 {
  transform-origin: 92% 63%;
  z-index: 11;
}
.obj-6::before {
  top: 39%;
  left: 87%;
  width: 12.5%;
  height: 46%;
  z-index: 15;
}

/* ====================================================
   INTERACCIÓN MÓVIL / TABLET (LATIDO SINCRONIZADO)
==================================================== */

@keyframes latidoObjetos {
  0%, 100% {
    filter: drop-shadow(0px 0px 1px rgba(255, 255, 255, 0.1));
  }
  50% {
    filter: drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.6))
            drop-shadow(0px 0px 9px rgba(185, 100, 255, 0.5));
  }
}

/* Todos mantienen el mismo reloj desde que carga la página */
@media (hover: none) and (pointer: coarse) {
  .interactive-object {
    animation: latidoObjetos 2.6s ease-in-out infinite;
  }
}

/* Al tocar uno: pisa el brillo con !important sin detener su reloj interno */
.interactive-object.is-active {
  filter: drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.65))
          drop-shadow(0px 0px 10px rgba(190, 110, 255, 0.55)) !important;
  transform: translateY(-8px) scale(1.025);
}

/* =========================
   GRID RESPONSIVE DE 6 CD
   SIEMPRE 3 ARRIBA Y 3 ABAJO
   ========================= */

.cosmos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  padding: 0;

  gap: clamp(12px, 3vw, 25px);

  justify-items: center;
  align-items: center;
}

.cosmos-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
}

/* Tamaño adaptable de los CD */
.cosmos-grid .cosmos-item {
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: clamp(1.8rem, 7vw, 3rem);
  padding: clamp(4px, 1.5vw, 16px);
  line-height: 1;
}

/* =========================
   TARJETAS SPOTIFY
   TAMAÑO RESPONSIVE
   ========================= */

.music-section .album {
  width: 92%;
  max-width: 350px;
  margin-inline: auto;
  padding: clamp(12px, 1.3vw, 16px);
}

/* Botones ligeramente más compactos */
.music-section .album .album-btn {
  padding: 9px 22px !important;
  font-size: clamp(0.95rem, 1vw, 1.05rem) !important;
}

/* ==========================================
   CARRUSEL DE IMÁGENES - PHOTO VIEWER
   Idea 3: Cinta / Coverflow
========================================== */

.coverflow-stage {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(171, 60, 240, 0.22) 0%, rgba(5, 5, 18, 0.97) 85%);
}

.coverflow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.coverflow-card {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 86%;
  max-width: 66%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.45s ease,
              filter 0.45s ease,
              box-shadow 0.45s ease;
}

.coverflow-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.coverflow-card.is-center {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 4;
  filter: brightness(1);
  border: 2px solid var(--neon-magenta);
  box-shadow: 0 0 28px rgba(255, 0, 255, 0.45), 0 12px 32px rgba(0, 0, 0, 0.85);
}

.coverflow-card.is-prev {
  transform: translate(-112%, -50%) scale(0.76);
  opacity: 0.52;
  z-index: 2;
  filter: brightness(0.6) blur(1.5px);
  cursor: pointer;
  border: 1px solid rgba(171, 60, 240, 0.5);
}

.coverflow-card.is-next {
  transform: translate(12%, -50%) scale(0.76);
  opacity: 0.52;
  z-index: 2;
  filter: brightness(0.6) blur(1.5px);
  cursor: pointer;
  border: 1px solid rgba(171, 60, 240, 0.5);
}

.coverflow-card.is-prev:hover,
.coverflow-card.is-next:hover {
  opacity: 0.8;
  filter: brightness(0.85) blur(0px);
}

.coverflow-card.is-hidden {
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .coverflow-stage {
    height: 400px;
  }
  .coverflow-card {
    height: 82%;
    max-width: 72%;
  }
  .coverflow-card.is-prev {
    transform: translate(-102%, -50%) scale(0.72);
  }
  .coverflow-card.is-next {
    transform: translate(2%, -50%) scale(0.72);
  }
}

@media (max-width: 480px) {
  .coverflow-stage {
    height: 290px;
  }
}