body {
  margin: 0;
  height: 100vh;
  background: url("https://images.unsplash.com/photo-1605647601778-865aeff15565?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1yZWxhdGVkfDEzfHx8ZW58MHx8fHx8") no-repeat center center fixed;
  background-size: cover;   /* makes it fill screen */
  color: white;
  font-family: 'Press Start 2P', monospace;
  overflow: hidden;
}

.static {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif');
  background-size: cover;
  opacity: 0.02;
  pointer-events: none;
  z-index: 999;
}

.scanlines {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    rgba(255,255,255,0.05) 0px,
    rgba(255,255,255,0.05) 2px,
    transparent 3px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 1000;
}

.screen {
  position: relative;
  z-index: 10;
  padding: 2rem;
  text-align: center;
}

.glitch {
  position: relative;
  font-size: 2.5em;
  color: white;
  animation: flicker 1s infinite;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
}

.glitch::before {
  color: #ff0080;
  animation: glitchTop 1s infinite;
}

.glitch::after {
  color: #00ffff;
  animation: glitchBottom 1.3s infinite;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.7; }
}

@keyframes glitchTop {
  0% { clip-path: inset(0 0 80% 0); transform: translate(-2px, -2px); }
  50% { clip-path: inset(0 0 50% 0); transform: translate(2px, -1px); }
  100% { clip-path: inset(0 0 80% 0); transform: translate(0, 0); }
}

@keyframes glitchBottom {
  0% { clip-path: inset(50% 0 0 0); transform: translate(2px, 1px); }
  50% { clip-path: inset(20% 0 0 0); transform: translate(-2px, 0); }
  100% { clip-path: inset(50% 0 0 0); transform: translate(0, 0); }
}

/* Terminal text */
.terminal {
  text-align: left;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #00ff00;
  text-shadow: 0 0 10px #00ff00;
  background: rgba(0,0,0,0.7);
  padding: 1rem;
  border-radius: 5px;
  border: 1px solid #00ff00;
}

/* Blinking cursor */
.blink {
  animation: blink 1s step-end infinite;
  color: #00ff00;
}

@keyframes blink {
  50% { opacity: 0; }
}

.menu {
  margin-top: 2rem;
  font-size: 0.8rem;
}

.menu a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  border: 1px solid white;
  background: rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

.menu a:hover {
  color: black;
  background-color: white;
  box-shadow: 0 0 10px white;
}

marquee {
  color: #ff0080;
  text-shadow: 0 0 10px #ff0080;
  font-size: 1.2rem;
  margin: 1rem 0;
}