/* Reset */
/* Fuente estilo cyberpunk */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

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

body {
  font-family: 'Orbitron', sans-serif;
  min-height: 100vh;
  background: #0a0a0f; /* Negro profundo */
  color: #e0e0e0;
  overflow-x: hidden;

   /* Grid en puntos */
  background-image: 
    radial-gradient(circle, rgba(0, 255, 255, 0.67) 2px, transparent 2px),
    radial-gradient(circle, rgba(255, 0, 255, 0.69) 2px, transparent 2px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px; /* Desfase para que parezca cuadrícula de puntos */
  animation: moveGrid 8s linear infinite;
}

/* Animación grid */
@keyframes moveGrid {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 40px 40px, 40px 40px; }
}

/* Hero Section */
#hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 10px rgb(254, 254, 254), 0 0 20px rgb(255, 255, 255);
  margin-bottom: 20px;
}

#hero p {
  font-size: 2rem;
  color: #0ff;
  text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
  margin-bottom: 20px;
}
/* boton ver mas */
.btn-cyberpunk {
  display: inline-block;
  background: linear-gradient(90deg, #ff00ff, #00ffff);
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  color: #0d0d0d;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 15px #ff00ff, 0 0 25px #00ffff;
  text-decoration: none; /* quitar subrayado del enlace */
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-cyberpunk:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px #ff00ff, 0 0 40px #00ffff;
}


#hero button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px #ff00ff, 0 0 40px #00ffff;
}

/* Secciones generales */
section {
  padding: 100px 30px;
  text-align: center;
  background: transparent; /* deja ver el grid */
}

h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ff00ff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px #ff00ff, 0 0 25px #00ffff;

  /* Animación glitch */
  position: relative;
  animation: flicker 3s infinite;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
    text-shadow: 0 0 5px #ff00ff, 0 0 15px #00ffff, 0 0 30px #ff00ff;
  }
  20%, 24%, 55% {
    opacity: 0.6;
    text-shadow: none;
  }
}

p {
  font-size: 1.2rem;
  color: #e0e0e0;
  text-shadow: 0 0 5px #00ffff;
  max-width: 700px;
  margin: 0 auto;
}

/* Animación Lottie para todos los iconos */
.icono-lottie {
  margin: 0 auto 20px;
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 0 10px #00ffff);
    /* Animación glitch */
  position: relative;
  animation: flicker 2s infinite;
}

/* Barra superior fija animada cyberpunk */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10,10,15,0.95);
  display: flex;
  justify-content: center;
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 0 15px #00ffff, 0 0 30px #ff00ff;
  font-family: 'Orbitron', sans-serif;
}

.top-bar .contact-links {
  display: flex;
  gap: 30px; /* espacio entre cada link */
  align-items: center;
}

.top-bar .contact-links a {
  color: #0ff;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px; /* espacio entre ícono y texto */
  position: relative;
  animation: flickerIcon 2s infinite;
  transition: color 0.3s, text-shadow 0.3s;
}

.top-bar .contact-links a:hover {
  color: #ff00ff;
  text-shadow: 0 0 5px #ff00ff, 0 0 15px #00ffff, 0 0 25px #ff00ff;
}

/* Íconos de la barra con glow animado */
.top-bar .contact-links .icono-top {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 5px #0ff) drop-shadow(0 0 10px #ff00ff);
  animation: glowAnim 2s infinite alternate;
}

/* Glow animado tipo cyberpunk */
@keyframes glowAnim {
  0% {
    filter: drop-shadow(0 0 5px #0ff) drop-shadow(0 0 10px #ff00ff);
  }
  50% {
    filter: drop-shadow(0 0 10px #0ff) drop-shadow(0 0 20px #ff00ff);
  }
  100% {
    filter: drop-shadow(0 0 5px #0ff) drop-shadow(0 0 10px #ff00ff);
  }
}

/* Animación tipo glitch/parpadeo texto */
@keyframes flickerIcon {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
    text-shadow: 0 0 5px #0ff, 0 0 15px #ff00ff, 0 0 25px #0ff;
  }
  20%, 24%, 55% {
    opacity: 0.6;
    text-shadow: none;
  }
}

/* Ajuste de padding-top para que el contenido no quede tapado */
body {
  padding-top: 50px; /* ajusta según altura de la barra */
}

/* Iconos en la top-bar */
.icono-top {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

/* Top-bar responsive */
@media (max-width: 768px) {
  .top-bar .contact-links {
    flex-direction: row;
    gap: 10px;
    align-items: center;
  }
}

@media (min-width: 769px) {
  .top-bar .contact-links {
    flex-direction: row;
    gap: 20px;
  }
}

/* Barra superior */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.9);
  color: #e0e0e0;
  display: flex;
  justify-content: space-between; /* separa izquierda y derecha */
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
}

.logo-inicio a {
  color: #00ffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

.contact-links {
  display: flex;
  gap: 20px;
}

.contact-links a {
  color: #e0e0e0;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.icono-top {
  width: 22px;
  height: 22px;
  margin-right: 6px;
}

/* Versión móvil */
@media (max-width: 768px) {
  .contact-links a span.texto-red {
    display: none; /* oculta el texto */
  }

  .icono-top {
    margin-right: 0;
    width: 26px;
    height: 26px;
  }

  .contact-links {
    gap: 15px; /* espacio entre iconos */
  }
}

/* Contenedor de redes */
.top-bar .right {
  display: flex;
  flex-direction: row;   /* 🔥 siempre en fila */
  gap: 15px;
  align-items: center;
  justify-content: flex-end; /* pegado a la derecha */
  flex-wrap: nowrap; /* 🔒 evita que se apilen */
}

/* En móvil: ocultar solo los textos, no cambiar fila */
@media (max-width: 768px) {
  .top-bar .right a span {
    display: none; /* oculta texto, quedan solo los iconos */
  }
}


/* Footer */
footer {
  padding: 20px 0;
  text-align: center;
  background: rgba(10, 10, 15, 0.8);
  color: #e0e0e0;
  border-top: 1px solid #00ffff;
}