/* Fuente estilo terminal */
body {
  margin: 0;
  padding: 0;
  font-family: 'VT323', monospace;
  background: #000;
  color: #33ff33;
  font-size: 20px;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Contenedor con efecto CRT */
.crt {
  position: relative;
  height: 100vh;
  padding: 20px;
  text-shadow: 0 0 5px #33ff33, 0 0 10px #0f0;
  overflow-y: auto;
}

/* Línea de escaneo */
.scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 0, 0.05) 0px,
    rgba(0, 0, 0, 0.05) 2px
  );
  animation: scan 7s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100%); }
}

/* Hero principal */
.hero {
  margin-top: 10vh;
  text-align: center;
}

.terminal-text {
  font-size: 2.5rem;
  margin: 0;
  animation: flicker 2s infinite alternate;
}

.terminal-sub {
  font-size: 1.2rem;
  color: #9aff9a;
  animation: blink 1.2s infinite;
}

/* Animaciones de parpadeo */
@keyframes flicker {
  0% { opacity: 1; }
  50% { opacity: 0.85; }
  100% { opacity: 1; }
}

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

/* Secciones */
section {
  margin: 50px 0;
}

h2 {
  color: #66ff66;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

ul {
  list-style: none;
  padding: 0;
}

li::before {
  content: "> ";
  color: #33ff33;
}
