@font-face {
  font-family: 'Press Start 2P';
  src: url('fonts/press-start-2p-v16-latin-regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@keyframes cyberpunk-glitch {
  0%, 90%, 100% {
    transform: translate(0);
    text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 20px #008800;
  }
  92% {
    transform: translate(-4px, 3px);
    text-shadow: 3px 0 #ff00ff, -3px 0 #00ffff;
  }
  95% {
    transform: translate(4px, -2px);
    text-shadow: -3px 0 #ff00ff, 3px 0 #00ffff;
  }
}

@keyframes cyberpunk-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

body::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
              linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 2;
  background-size: 100% 4px, 3px 100%;
  pointer-events: none;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
  z-index: 3;
  pointer-events: none;
}

h1 {
  font-family: 'Press Start 2P', cursive;
  color: #00ff00;
  font-size: 8vw;
  margin: 0;
  text-transform: uppercase;
  animation: cyberpunk-pulse 10s ease-in-out infinite, 
             cyberpunk-glitch 8s linear infinite;
}
