/* styles.css — the page is just a black frame around the canvas.
   UI is intentionally quiet: a clean sans, lowercase, no chrome. */

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

html, body {
  height: 100%;
  background: #000;
  overflow: hidden;
  cursor: default;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  color: #d8d6cf;
}

#stage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

/* The internal buffer is 480x270; scale it up crisp-edged to fill the frame. */
#screen {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
}

/* Center reticle — barely there. */
#reticle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 7px rgba(255, 255, 255, 0.42);
  pointer-events: none;
  opacity: 0;
}

#reticle.visible {
  opacity: 1;
}

#gun-hint {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  color: rgba(185, 182, 172, 0.88);
  font-size: 0.68rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: lowercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

#gun-hint.visible {
  opacity: 1;
}

/* Overlay */
#overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.86) 100%);
  transition: opacity 0.6s ease;
  cursor: pointer;
}

#overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

#overlay-inner {
  text-align: center;
  max-width: 30rem;
  padding: 2rem;
}

#overlay-title {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ece8dc;
  margin-bottom: 1rem;
}

#overlay-hint {
  font-size: 0.95rem;
  font-weight: 400;
  color: #b9b6ac;
  margin-bottom: 1.25rem;
}

#overlay-note {
  font-size: 0.85rem;
  font-weight: 400;
  color: #6f6d66;
  line-height: 1.5;
}

@media (max-width: 520px) {
  #overlay-title { font-size: 1.8rem; }
  #overlay-hint, #overlay-note { font-size: 0.8rem; }
}
