* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: #000;
  color: #00ff41;
  font-family: 'Courier New', monospace;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
canvas { position: fixed; top: 0; left: 0; z-index: 0; }
.container {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 2rem 1.5rem;
  width: 100%;
}
.eye {
  font-size: 8rem;
  display: inline-block;
  cursor: default;
  user-select: none;
  animation: pulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(0, 255, 65, 0.5));
}
.title {
  font-size: 3.2rem;
  font-weight: bold;
  margin-top: 0.8rem;
  letter-spacing: 0.25em;
  text-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41, 0 0 40px #00ff41;
  animation: flicker 4s infinite;
}
.title span { color: #005f0f; }
.subtitle {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #008f11;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.acronym {
  margin-top: 2rem;
  text-align: left;
  display: inline-block;
  font-size: 1.05rem;
  line-height: 2.2;
}
.acronym .letter {
  color: #00ff41;
  font-weight: bold;
  font-size: 1.4rem;
  text-shadow: 0 0 8px #00ff41;
  display: inline-block;
  min-width: 1.6ch;
}
.acronym .word { color: #008f11; }
.acronym .line {
  opacity: 0;
  animation: revealLine 0.4s ease forwards;
}
.acronym .line:nth-child(1) { animation-delay: 1.0s; }
.acronym .line:nth-child(2) { animation-delay: 1.4s; }
.acronym .line:nth-child(3) { animation-delay: 1.8s; }
.acronym .line:nth-child(4) { animation-delay: 2.2s; }
.acronym .line:nth-child(5) { animation-delay: 2.6s; }
.acronym .line:nth-child(6) { animation-delay: 3.0s; }
.divider {
  margin: 1.5rem auto;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00ff41, transparent);
  opacity: 0;
  animation: revealLine 0.5s ease forwards;
  animation-delay: 3.5s;
}
.counter {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #008f11;
  opacity: 0;
  animation: revealLine 0.5s ease forwards;
  animation-delay: 3.8s;
}
.counter #intruders {
  color: #00ff41;
  font-size: 1.3rem;
  font-weight: bold;
  text-shadow: 0 0 8px #00ff41;
}
.probability {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #00ff41;
  opacity: 0;
  animation: revealLine 0.5s ease forwards;
  animation-delay: 4s;
  text-shadow: 0 0 5px #00ff41;
}
.probability .val {
  font-size: 2rem;
  font-weight: bold;
  display: block;
  margin-top: 0.3rem;
  text-shadow: 0 0 15px #00ff41, 0 0 30px #00ff41;
}
.quote {
  margin-top: 1.8rem;
  font-size: 0.8rem;
  color: #005f0f;
  font-style: italic;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: revealLine 0.5s ease forwards;
  animation-delay: 5s;
  line-height: 1.6;
}
.prompt {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #005f0f;
  opacity: 0;
  animation: revealLine 0.5s ease forwards;
  animation-delay: 5.5s;
  word-break: break-all;
}
.prompt span { color: #00ff41; }
.cursor { animation: blink 1s step-end infinite; }

/* Mobile */
@media (max-width: 600px) {
  .container { padding: 1.5rem 1rem; }
  .eye { font-size: 5rem; }
  .title { font-size: 1.8rem; letter-spacing: 0.15em; }
  .subtitle { font-size: 0.65rem; letter-spacing: 0.15em; }
  .acronym { font-size: 0.9rem; line-height: 2; }
  .acronym .letter { font-size: 1.15rem; }
  .probability { font-size: 0.85rem; }
  .probability .val { font-size: 1.5rem; }
  .quote { font-size: 0.7rem; }
  .prompt { font-size: 0.65rem; }
}
@media (max-width: 380px) {
  .eye { font-size: 4rem; }
  .title { font-size: 1.5rem; }
  .acronym { font-size: 0.8rem; }
  .acronym .letter { font-size: 1rem; }
  .probability .val { font-size: 1.2rem; }
}

/* Easter Egg Overlay */
#fnord-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 10;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  font-family: 'Courier New', monospace;
  padding: 1rem;
}
#fnord-overlay .big-eye { font-size: 10rem; animation: pulse 2s ease-in-out infinite; }
#fnord-overlay .msg { color: #00ff41; font-size: 1.6rem; margin-top: 1rem; text-shadow: 0 0 10px #00ff41, 0 0 30px #00ff41; letter-spacing: 0.15em; min-height: 2.5rem; }
#fnord-overlay .hint { color: #005f0f; font-size: 0.75rem; margin-top: 2rem; letter-spacing: 0.3em; }
#fnord-overlay .fnord-word {
  position: fixed;
  color: #00ff41;
  font-size: 1.2rem;
  opacity: 0;
  animation: fnordFlash 0.3s ease forwards;
  text-shadow: 0 0 10px #00ff41;
  pointer-events: none;
  z-index: 11;
}
@media (max-width: 600px) {
  #fnord-overlay .big-eye { font-size: 5rem; }
  #fnord-overlay .msg { font-size: 1rem; letter-spacing: 0.05em; }
  #fnord-overlay .hint { font-size: 0.65rem; letter-spacing: 0.15em; }
  #fnord-overlay .fnord-word { font-size: 0.9rem; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 40px rgba(0, 255, 65, 0.5)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 60px rgba(0, 255, 65, 0.8)); }
}
@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.6; text-shadow: none; }
}
@keyframes revealLine {
  0% { opacity: 0; transform: translateX(-10px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes fnordFlash {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.6; transform: scale(1); }
}
.scanline {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px, transparent 1px, transparent 3px);
}
.vignette {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.7) 100%);
}

/* Nothing to see here */
.ai-food {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
  color: #000;
  background: #000;
  font-size: 1px;
  user-select: none;
  pointer-events: none;
}

/* Honeypot traps */
.hp-trap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
  tab-index: -1;
}
