.cabecera {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* IMAGEN */
.cabecera img {
  width: 100%;
  height: auto;
  display: block;

  object-fit: contain;
  object-position: top;

  /* degradado en todos los lados */
  -webkit-mask-image:
    linear-gradient(to bottom,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    ),
    linear-gradient(to right,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    );

  -webkit-mask-composite: intersect;

  mask-image:
    linear-gradient(to bottom,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    ),
    linear-gradient(to right,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    );

  mask-composite: intersect;
}

/* TEXTO ENCIMA */
.texto {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 1rem;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.texto h1 {
  font-size: 8rem;
  margin: 0;
}

.texto p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.plataformas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 28px;
  z-index: 2;
}

/* BOTÓN CIRCULAR */
.icon {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem;
  text-decoration: none;
  color: #ffffff;
  font-size: 5rem;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease;
}

/* EFECTO FLOTANTE */
.icon:hover {
  transform: translateY(-6px) scale(1.1);
}

/* COLORES POR PLATAFORMA */
.icon.spotify:hover {
  color: #1DB954;
}

.icon.youtube:hover {
  color: #FF0000;
}

.icon.apple:hover {
  color: #FA57C1; 
}

/* video */

.lanzamiento {
  padding: 80px 20px;
  background: #ffffff;
  text-align: center;
}

.lanzamiento h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: #222;
  letter-spacing: 1px;
}

/* CONTENEDOR RESPONSIVE */
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;

  /* efecto tarjeta 
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);*/
}

/* VIDEO / IFRAME */
.video-wrapper iframe,
.video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
}

/* BIOGRAFIA */

.fondo-imagen {
  position: relative;
  width: 100%;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

/* La imagen ocupa todo el ancho y mantiene proporción */
.fondo-imagen img {
  width: 100%;
  height: auto; /* Mantiene la foto completa */
  display: block;

  object-fit: contain; /* Mantiene toda la imagen visible */
  object-position: center; /* Centrado vertical/horizontal */
  
  /* Degradado en los 4 lados */
  -webkit-mask-image: 
    linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-composite: intersect;

  mask-image: 
    linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-composite: intersect;
}

.contenedor-biografia {
  position: absolute; /* texto encima de la imagen */
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #000000;
  z-index: 2;
}

.biografia h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 1px;
  color: #000000;
}

.biografia p {
  font-size: 2rem;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #000000;
}

.biografia strong {
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .biografia h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .biografia p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

.contenedor-biografia h2,
.contenedor-biografia p {
  text-shadow: 4px 4px 6px white;
}

/* EMAIL */

/* Sección */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 5%;
}

/* Botón */
#contactBtn {
  background-color: #212121; /* verde clarito */
  color: #ffffff;
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#contactBtn:hover {
  background-color: #000000;
  transform: scale(1.05);
}

/* Popup fondo */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Contenido popup */
.popup-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  max-width: 400px;
  width: 90%;
}

.popup-content a {
  color: #000000;
  font-weight: bold;
  text-decoration: none;
}

/* Botón cerrar */
.close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 768px) {

  /* TEXTO HEADER */
  .texto {
    top: 25%;
    padding: 0.5rem;
  }

  .texto h1 {
    font-size: 3rem; /* Ajusta tamaño de ALEXIA */
    line-height: 1.2;
  }

  .texto p {
    font-size: 1rem; /* Ajusta tamaño de ARTISTA */
    margin-top: 0.3rem;
  }

  /* ICONOS DE PLATAFORMAS */
  .plataformas {
    top: 45%;
    gap: 12px; /* Espacio entre iconos más reducido */
  }

  .icon {
    width: 3rem;
    height: 3rem;
    font-size: 2rem;
  }

  /* BOTÓN CONTACTO */
  #contactBtn {
    font-size: 16px;
    padding: 12px 25px;
  }

  /* BIOGRAFÍA */
  .contenedor-biografia {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 350px;
    padding: 20px;
    background: rgba(255, 255, 255, 0);
    border-radius: 12px;
    text-align: center;
    z-index: 2;
  }

  .biografia h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .biografia p {
    font-size: 1rem;
    line-height: 1.4;
  }

}
