* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  background: #000;
  color: #0f0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 24px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  user-select: none;
}

.crt {
  position: relative;
  padding: 20px;
  text-shadow: 0 0 2px #0f0, 0 0 5px #0f0;
  animation: flicker 2s infinite;
  white-space: pre-line;
}

@keyframes flicker {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 0.85; }
}

.glitch-effect {
  animation: glitch 0.8s infinite;
  position: relative;
}

@keyframes glitch {
  0% {
    text-shadow: 1px 0 #0f0, -1px 0 #0f0;
    transform: translate(0);
  }
  20% {
    text-shadow: -2px -1px #0f0, 2px 1px #0f0;
    transform: translate(-2px, 1px);
  }
  40% {
    text-shadow: 2px 1px #0f0, -2px -1px #0f0;
    transform: translate(2px, -1px);
  }
  60% {
    text-shadow: 1px 0 #0f0, -1px 0 #0f0;
    transform: translate(0);
  }
  100% {
    text-shadow: 1px 0 #0f0, -1px 0 #0f0;
    transform: translate(0);
  }
}

.glitch-word {
  position: absolute;
  color: #0f0;
  text-shadow: 0 0 2px #0f0;
  font-family: 'Courier New', monospace;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 8s linear;
}

.glitch-line {
  position: absolute;
  top: 0;
  left: -20%;
  width: 150%;
  height: 2px;
  background: rgba(0, 255, 0, 0.2);
  box-shadow: 0 0 5px #0f0;
  animation: scan 6s infinite linear;
  pointer-events: none;
}

@keyframes scan {
  0%   { transform: translateY(100vh); }
  50%  { transform: translateY(0); }
  100% { transform: translateY(100vh); }
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #0f0;
  text-shadow: 0 0 2px #0f0;
  position: relative;
  z-index: 10;
}

@media (max-width: 600px) {
  body {
    font-size: 18px;
  }
}