:root {
  --bg: #030914;
  --focus: #78a7ff;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
html { background: var(--bg); }
body {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  user-select: none;
  -webkit-user-drag: none;
}

.hotspot {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 18px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* Artwork coordinates, expressed relative to viewport. */
.hotspot-game {
  left: 31%;
  top: 49%;
  width: 38%;
  height: 12%;
}

.hotspot-email {
  left: 38%;
  bottom: 3.5%;
  width: 24%;
  height: 7%;
}

.hotspot:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  background: rgb(60 120 255 / 0.08);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Portrait screens: keep the central logo/title/email visible while cropping sides. */
@media (max-aspect-ratio: 4/5) {
  .hero-art { object-position: 50% 50%; }

  .hotspot-game {
    left: 13%;
    top: 48%;
    width: 74%;
    height: 12%;
  }

  .hotspot-email {
    left: 22%;
    bottom: 3%;
    width: 56%;
    height: 7%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
