:root {
  --green: #6cff9a;
  --dim: #2a6b45;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #04070a;
  font-family: "Courier New", ui-monospace, monospace;
  color: var(--green);
  cursor: crosshair;
}

#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
}

/* The darkness sits above the background and the creatures, but below
   the page content and the UFO. The flashlight punches a hole in it
   with a radial gradient at the cursor, so the creatures reveal only
   when lit while the headline stays readable. */
#dark {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: radial-gradient(
    circle 180px at var(--mx, 50%) var(--my, 50%),
    transparent 0%,
    rgba(2, 5, 8, 0.45) 45%,
    rgba(2, 5, 8, 0.92) 80%
  );
}

#creatures {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}
.creature {
  position: absolute;
  font-size: 2.4rem;
  filter: grayscale(0.4) brightness(0.85);
  transform: translate(-50%, -50%);
  user-select: none;
}

#ufo {
  position: fixed;
  z-index: 30;
  font-size: 3rem;
  filter: drop-shadow(0 0 12px var(--green));
  user-select: none;
  will-change: transform;
}

main {
  position: relative;
  z-index: 40;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.4rem;
  padding: 2rem;
  text-shadow: 0 0 10px rgba(108, 255, 154, 0.5);
}

.eyebrow {
  letter-spacing: 0.5em;
  font-size: 0.8rem;
  color: var(--dim);
}

h1 {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(2.5rem, 9vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.06em;
  color: #eafff2;
  text-shadow: 0 0 18px var(--green), 0 0 40px rgba(108, 255, 154, 0.4);
}

.badges {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}
.badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--dim);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  background: rgba(6, 20, 12, 0.6);
  text-align: left;
  animation: bob 4s ease-in-out infinite;
}
.badge:nth-child(2) { animation-delay: -2s; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.photo { font-size: 2.2rem; filter: drop-shadow(0 0 6px var(--green)); }
.who { display: flex; flex-direction: column; }
.name { font-weight: 700; letter-spacing: 0.12em; color: #eafff2; }
.rank { font-size: 0.7rem; color: var(--dim); letter-spacing: 0.1em; }
.tag { font-size: 0.8rem; font-style: italic; margin-top: 0.2rem; }

.site {
  margin-top: 0.6rem;
  font-size: 1.3rem;
  letter-spacing: 0.35em;
  color: var(--green);
}
.hint {
  font-size: 0.75rem;
  color: var(--dim);
  letter-spacing: 0.15em;
}

@media (max-width: 520px) {
  .badges { flex-direction: column; }
}
