html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: white;
  font-family: Arial, sans-serif;
}

/* CONTENEDOR */
.wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #222;
}

.logo {
  font-family: 'Silkscreen', monospace;
  font-size: 20px;
}

.navbar a {
  margin-left: 15px;
  text-decoration: none;
  color: white;
}

/* HERO */
.hero {
  text-align: center;
  padding: 60px 20px;
}

.title {
  font-family: 'Silkscreen', monospace;
  font-size: 42px;
  margin-bottom: 20px;
}

.description {
  max-width: 500px;
  margin: 0 auto 20px;
  color: #ccc;
}

/* BOTÓN */
button {
  padding: 12px 20px;
  background: white;
  color: black;
  border: none;
  cursor: pointer;
  font-family: 'Silkscreen', monospace;
}

.mini {
  margin-top: 10px;
  font-size: 12px;
  color: #aaa;
}

/* INFO */
.info {
  display: flex;
  gap: 30px;
  padding: 40px 20px;
}

/* TARJETAS */
.info div {
  flex: 1;
  padding: 20px;
  border: 1px solid #222;
  background: #050505;
  text-align: left;
}

/* TÍTULOS */
.info h3 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #fff;
  font-family: 'Silkscreen', monospace;
}

/* TEXTO */
.info p {
  font-size: 14px;
  color: #aaa;
  line-height: 1.5;
}

/* GAME */
#gameContainer {
  text-align: center;
  padding: 20px;
  z-index: 9999;
}

canvas {
      width: min(100vw, 900px);
      height: min(100vh, 700px);
      image-rendering: pixelated;
      image-rendering: crisp-edges;
      background: #0b0f1a;
      border: 2px solid #ffffff33;
      box-shadow: 0 0 40px #00ffff22;
    }

/* UTIL */
.hidden {
  display: none;
}



/* 🌌 ESTRELLAS */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: transparent;
}

/* Capa 1 (estrellas pequeñas) */
body::before {
  box-shadow:
    50px 100px white,
    200px 300px white,
    400px 150px white,
    600px 500px white,
    800px 200px white,
    300px 600px white,
    700px 400px white,
    150px 500px white,
    900px 100px white,
    1000px 300px white;
    
  width: 2px;
  height: 2px;
  animation: twinkle 3s infinite alternate;
}

/* Capa 2 (estrellas más grandes) */
body::after {
  box-shadow:
    120px 200px white,
    350px 400px white,
    550px 250px white,
    750px 600px white,
    950px 350px white;

  width: 3px;
  height: 3px;
  animation: twinkle 5s infinite alternate;
}

/* ✨ Animación */
@keyframes twinkle {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
  }
}

/* FOOTER */

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  text-align: center;
  padding: 20px 0 12px;

  background: #000;
  font-size: 12px;
  color: #777;
}

/* Línea centrada */
.footer::before {
  content: "";
  display: block;
  width: 830px; 
  height: 1px;
  background: #222;
  margin: 0 auto 10px;
}

.footer {
  box-shadow: 0 -5px 20px rgba(0, 255, 255, 0.05);
}


#footerText::after {
  content: "|";
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}
