@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* ---- CONFIGURACIÓN GENERAL ---- */
body {
   
    background-size: cover;
    color: #fff;
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ---- ESTILO PARA LOS ELEMENTOS <p> ---- */
p {
    background-color: rgba(0, 0, 0, 0.7); /* Fondo negro con 70% de opacidad */
    padding: 10px 20px;                  /* Espaciado interno para mejorar legibilidad */
    border-radius: 5px;                  /* Bordes ligeramente redondeados */
    display: inline-block;               /* Ajuste para el ancho del texto */
    margin-top: 20px;
    color: #fff;                         /* Color de texto blanco para contraste */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); /* Sombra para resaltar el texto */
    font-size: 1.1rem;                   /* Tamaño de fuente ajustado */
}

.info-pill-container {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.info-pill {
  display: inline-block;
  padding: 8px 20px;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: white;
  background-color: #ff00ff;
  border-radius: 8px;
  text-decoration: none;
  line-height: 1.4;
  box-shadow: 0 0 6px #ff00ff99;
  text-align: center;
  max-width: 90vw;
  
}
.info-pill span {
  margin: 4px 0;
}

.info-pill:hover {
  background-color: #ffffff;
  color: #000;
  box-shadow: 0 0 12px #ff00ff;
}


/* ---- VIDEO DE FONDO ---- */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1; /* Coloca el video detrás del contenido */
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta el video para cubrir toda la pantalla */
    transform: translate(-50%, -50%);
    z-index: -1; /* Mantiene el video detrás del contenido */
}


/* ---- CONTENEDOR CENTRAL ---- */
.landing-container {
    text-align: center;
}

/* ---- TÍTULO CON EFECTO GLITCH ---- */
.glitch {
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 0px #ff00ff, -2px -2px 0px #00ffea;
    animation: glitch 0.8s infinite alternate;
}
.cta-container {
  text-align: center;
  margin-top: 20px;
}

.highlights {
  margin-top: 15px;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.9rem;
  color: #00FFEA;
  text-shadow: 1px 1px 2px #FF00FF;
  animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
  from { opacity: 1; }
  to { opacity: 0.85; }
}


@keyframes glitch {
    0% { text-shadow: 2px 2px 0px #ff00ff, -2px -2px 0px #00ffea; }
    100% { text-shadow: -2px -2px 0px #ff00ff, 2px 2px 0px #00ffea; }
}

/* ---- BOTÓN DE ACCESO ---- */
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: #ff00ff;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 8px;
    box-shadow: 0px 0px 15px #ff00ff;
    transition: 0.3s;
}

.cta-button:hover {
    background: #00ffea;
    box-shadow: 0px 0px 20px #00ffea;
}

/* ---- RESPONSIVE DESIGN ---- */
@media screen and (max-width: 768px) {
    .glitch {
        font-size: 2rem;
    }

    .cta-button {
        font-size: 1.2rem;
        padding: 12px 25px;
    }
}


@media screen and (max-width: 480px) {
  .info-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    padding: 12px 18px;
    line-height: 1.6;
  }

  .info-pill span {
    display: block;
    margin: 4px 0;
  }
}
