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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1a1a2e;
  font-family: 'VT323', monospace;
  overflow: hidden;
}

.container {
  text-align: center;
}

.linea {
  display: block;
  min-height: 1.2em;
}

.iconos {
  font-family: 'VT323', monospace;
  font-size: 2rem;
  color: #a0e050;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.titulo-1,
.titulo-2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: #7cfc00;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  text-shadow:
    0 0 10px rgba(124, 252, 0, 0.4),
    0 0 40px rgba(124, 252, 0, 0.2);
}

.titulo-2.pulso {
  animation: pulso 2s ease-in-out infinite;
}

.subtitulo {
  font-family: 'VT323', monospace;
  margin-top: 1rem;
  font-size: 1.8rem;
  color: #a0e050;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: inline-block;
}

.subtitulo.aparece {
  animation: aparece 2.5s ease-in-out infinite alternate;
}

/* Cursor parpadeante durante la escritura */
.cursor {
  border-right: 3px solid currentColor;
  padding-right: 0.1em;
  animation: parpadeo 1s step-end infinite;
}

@keyframes parpadeo {
  0%, 100% { border-color: currentColor; }
  50%      { border-color: transparent; }
}

@keyframes pulso {
  0%, 100% {
    transform: scale(1);
    text-shadow:
      0 0 10px rgba(124, 252, 0, 0.4),
      0 0 40px rgba(124, 252, 0, 0.2);
  }
  50% {
    transform: scale(1.06);
    text-shadow:
      0 0 20px rgba(124, 252, 0, 0.7),
      0 0 60px rgba(124, 252, 0, 0.4);
  }
}

@keyframes aparece {
  from { opacity: 0.5; }
  to   { opacity: 1; }
}
