body {
  color: #0f0;
  font: 500 1.25rem/1.2 "Source Code Pro", monospace;
  height: 100vh;
  height: 100dvh;
  background: radial-gradient(ellipse at center, #0d260d 0%, #040e04 60%, black 100%) black;
  overflow: hidden;
  text-shadow:
    0 0 4px #0f0,
    0 0 12px rgba(0, 255, 0, 0.6),
    0 0 30px rgba(0, 255, 0, 0.3),
    0 0 50px rgba(0, 255, 0, 0.1);
  animation: flicker 6s infinite;
}

/* Scanlines */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    rgba(0, 0, 0, 0.12) 0 1px,
    transparent 1px 3px
  );
  pointer-events: none;
  z-index: 10;
}

/* Vignette with green edge glow — brightness cranked up */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 255, 0, 0.03) 0%,
    transparent 40%,
    rgba(0, 40, 0, 0.4) 80%,
    rgba(0, 0, 0, 0.7) 100%
  );
  box-shadow: inset 0 0 10rem rgba(0, 255, 0, 0.04);
  pointer-events: none;
  z-index: 10;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.96; }
  94% { opacity: 1; }
}

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

#main {
  max-width: 43.75rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

#zork {
  padding-top: 25vh;
}

#zork p {
  cursor: pointer;
}

#whatsAgrue,
#blinkCursor {
  padding-top: 1.25rem;
  opacity: 0;
  visibility: hidden;
}

#whatsAgrue {
  transition: opacity 0.8s, visibility 0.8s;
}

#whatsAgrue.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 2s, visibility 0s;
}

#blinkCursor {
  transition: opacity 0.2s, visibility 0.2s;
}

#blinkCursor.visible {
  opacity: 1;
  visibility: visible;
  transition: none;
  animation: pulsate 1s ease-in-out infinite;
}

#zorkCopyright {
  font-weight: 400;
  font-size: 0.875rem;
  font-style: italic;
}