/* === VARIABLES DE COLOR Y FUENTE === */
:root {
  --azul-base: #10F3F3;
  --azul-efecto: #54eed0;
  --rosa-base: #F50BBA;
  --rosa-efecto: #EB45B4;
  --blanco-brillo: #EFEDF6;
  --fondo-oscuro: #0A092C;
}

/* === CONFIGURACIÓN GENERAL === */
body {
  margin: 0;
  padding: 0;
  background-color: var(--fondo-oscuro);
  color: var(--blanco-brillo);
  font-family: 'Audiowide', sans-serif;
 
}

/* === ENCABEZADO === */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(239, 237, 246, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--blanco-brillo);
  box-shadow: 0 2px 13px rgba(239, 237, 246, 0.5);
}

/* === LOGO === */
.logo img {
  max-height: 70px;
  height: auto;
  width: auto;
  filter: drop-shadow(0 0 8px var(--azul-base));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px var(--azul-efecto));
}

/* === MENÚ DE NAVEGACIÓN === */
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav a {

  font-size: 20px;
  position: relative;
  text-decoration: none;
  color: var(--rosa-base);
  font-weight: bold;
  transition: color 0.3s ease; 
}

nav a::after {

  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: var(--azul-base);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  box-shadow: 0 0 8px var(--azul-efecto);
}

nav a:hover {
  color: var(--azul-base);
  text-shadow: 0 0 5px var(--azul-efecto);
}

nav a:hover::after {
  transform: scaleX(1);
}

/* === CUERPO PRINCIPAL === */
/* Contenedor general del formulario */
.contact-form-wrapper {
  display: flex;
  justify-content: center;
  padding: 4rem 2rem;
  background-color: var(--fondo-oscuro);
}

/* El recuadro glassmorphism */
.contact-form {
  width: 100%;
  max-width: 500px;
  padding: 2rem;
  background: rgba(239, 237, 246, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--blanco-brillo);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(16, 243, 243, 0.2);
  color: var(--blanco-brillo);
}

/* Título */
.contact-form h2 {
  font-family: 'Ethnocentric', sans-serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--rosa-base);
  text-shadow: 0 0 6px var(--rosa-efecto);
}

/* Cada grupo de campo */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--azul-base);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--blanco-brillo);
  font-family: 'Audiowide', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--rosa-base);
}

/* Botón de enviar */
.send-button {
  display: block;
  width: 100%;
  font-family: 'Audiowide', sans-serif;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  padding: 0.8rem;
  background: linear-gradient(135deg, var(--azul-base), var(--rosa-base));
  color: #0A092C;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 0 15px var(--azul-efecto), 0 0 20px var(--rosa-efecto);
  transition: background-position 0.5s ease, box-shadow 0.3s ease;
}

.send-button:hover {
  background-position: 100% 0;
  box-shadow: 0 0 20px var(--rosa-efecto), 0 0 30px var(--azul-efecto);
}


/* === PIE DE PÁGINA === */
footer {
  background-color: var(--fondo-oscuro);
  color: var(--blanco-brillo);
  padding: 2rem 2rem 1rem;
  box-shadow: 0 -2px 10px rgba(16, 243, 243, 0.3);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: left;
  font-size: 1.2rem;
  margin-left: 15rem
}

.instagram-img {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 0 4px var(--azul-base));
  transition: transform 0.3s ease;
}

.instagram-img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px var(--rosa-base));
}

.footer-contact-texto {
  font-size: 1.1rem;
  color: var(--blanco-brillo);
  margin-bottom: 0.5rem;
  display: block;
  text-align: center;
}

.footer-contacto {
  display: flex;
  flex-direction: column; /* 👈 Esto coloca los elementos en columna */
  align-items: center;
  justify-content: flex-end;
  margin-right: 15rem
}

.footer-contact-button {
  font-family: 'Audiowide', sans-serif;
  font-size: 2rem;
  margin-top: 15px;
  background: linear-gradient(135deg, var(--azul-base), var(--rosa-base));
  color: #0A092C;
  border: none;
  border-radius: 30px;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  box-shadow: 0 0 20px var(--rosa-efecto);
  transition: all 0.3s ease;
}

.footer-contact-button:hover {
  background-position: 100% 50%;
  box-shadow: 0 0 25px var(--azul-efecto);
}

.footer-copy {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.7;
}


@keyframes gridAppear {
  0% {
    background-size: 0 0;
    opacity: 0;
  }
  20% {
    /* crece la rejilla hasta 40×40px */
    background-size: 40px 40px;
    opacity: 1;
  }
  60% {
    /* se mantiene visible */
    background-size: 40px 40px;
    opacity: 1;
  }
  80% {
    /* empieza a desvanecerse */
    opacity: 0.3;
  }
  100% {
    /* desaparece por completo */
    background-size: 40px 40px;
    opacity: 0;
  }
}

/* Canvas de fondo animado */
#cyber-bg {
  position: fixed;
  inset: 0;                 /* top/right/bottom/left: 0 */
  z-index: 0;              /* detrás del contenido */
  pointer-events: none;     /* no bloquea clics */
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(16,243,243,0.06), transparent 60%),
    radial-gradient(1000px 700px at 80% 90%, rgba(245,11,186,0.05), transparent 60%),
    var(--fondo-oscuro);
}

/* (Opcional) sutil línea superior bajo el header para más “neón” */
header {
  border-bottom: 1px solid rgba(239,237,246,0.25);
  box-shadow: 0 4px 24px rgba(16,243,243,0.08);
}


/* Oculto por defecto */
.hidden { display: none; }

/* Asegura que el modal esté oculto si tiene la clase hidden */
.modal.hidden { 
  display: none !important; 
}


/* Fondo del modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: radial-gradient(60% 60% at 50% 50%, rgba(16,243,243,0.08), transparent 60%),
              rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Tarjeta del modal */
.modal-card {
  width: min(92vw, 560px);
  background: rgba(239,237,246,0.08);
  border: 1px solid rgba(239,237,246,0.35);
  border-radius: 18px;
  box-shadow: 0 10px 50px rgba(16,243,243,0.25), 0 0 30px rgba(245,11,186,0.2);
  padding: 1.25rem;
  text-align: center;
  color: var(--blanco-brillo);
}

/* Título */
.modal-card h3 {
  margin: 0 0 0.75rem;
  font-family: 'Ethnocentric', sans-serif;
  font-size: 1.4rem;
  color: var(--rosa-base);
  text-shadow: 0 0 8px var(--rosa-efecto);
}

/* Vídeo responsivo */
.modal-media {
  margin: 0.5rem 0 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255,255,255,0.08);
}
.modal-media video {
  display: block;
  width: 100%;
  height: auto;
}

/* Botón Inicio */
.btn-inicio {
  font-family: 'Audiowide', sans-serif;
  font-size: 1.1rem;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  color: #0A092C;
  background: linear-gradient(135deg, var(--azul-base), var(--rosa-base));
  box-shadow: 0 0 16px var(--azul-efecto), 0 0 22px var(--rosa-efecto);
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn-inicio:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px var(--rosa-efecto), 0 0 30px var(--azul-efecto);
}

