/* ==========================================================================
   404 arcade. The one place the pixel font survives, because it is a hidden
   Galaga easter egg and arcade type is the correct answer for an arcade.
   Self-hosted so the page needs no external style or font host, and split out
   of the page so the site can ship a CSP without 'unsafe-inline'.
   ========================================================================== */

@font-face {
  font-family: 'Press Start 2P';
  src: url('../fonts/press-start-2p-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: 'Press Start 2P', cursive;
}

#galagaGame {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.return-link {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  font-size: 10px;
  color: rgba(0, 255, 65, 0.4);
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid rgba(0, 255, 65, 0.3);
  background: rgba(0, 0, 0, 0.7);
  transition: color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.return-link:hover {
  color: #00ff41;
  border-color: #00ff41;
  background: rgba(0, 255, 65, 0.1);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.controls-hint {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  font-size: 8px;
  color: rgba(0, 255, 65, 0.3);
  text-align: center;
  pointer-events: none;
}
