:root {
  color-scheme: dark;
  --bg: #030709;
  --gold: #dfa525;
  --focus: rgba(255, 193, 61, .95);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); }
body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: auto;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kiosk-shell {
  width: 100%;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(163, 112, 31, .12), transparent 38%),
    #020608;
}

.panel {
  position: relative;
  width: min(100vw, calc(100dvh * 0.5625));
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #050809;
  box-shadow: 0 0 55px rgba(0,0,0,.85);
  isolation: isolate;
}

.panel-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.hotspots { position: absolute; inset: 0; }
.hotspot {
  position: absolute;
  display: block;
  border-radius: 3.5%;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.hotspot span { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hotspot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  border: 2px solid var(--focus);
  box-shadow: inset 0 0 25px rgba(255,184,48,.2), 0 0 22px rgba(255,174,32,.32);
  transition: opacity .18s ease, transform .18s ease;
}
.hotspot:hover::after,
.hotspot:focus-visible::after { opacity: 1; transform: scale(.985); }
.hotspot:active::after { opacity: 1; transform: scale(.97); }

/* Coordenadas porcentuales sobre el mockup maestro 9:16 */
.sound      { left: 3.1%;  top: 47.45%; width: 45.6%; height: 13.95%; }
.oracle     { left: 50.2%; top: 47.45%; width: 46.1%; height: 13.95%; }
.cards      { left: 3.1%;  top: 62.15%; width: 45.6%; height: 13.85%; }
.meditation { left: 50.2%; top: 62.15%; width: 46.1%; height: 13.85%; }
.iching     { left: 3.1%;  top: 76.75%; width: 45.6%; height: 13.55%; }
.tour       { left: 50.2%; top: 76.75%; width: 46.1%; height: 13.55%; }
.settings   { left: 3.1%;  top: 93.85%; width: 20.4%; height: 4.4%; border-radius: 18% / 50%; }
.about      { left: 68.2%; top: 93.85%; width: 28.1%; height: 4.4%; border-radius: 15% / 50%; }

@media (orientation: landscape) {
  .panel { height: 100dvh; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hotspot::after { transition: none; }
}

body { opacity: 1; transform: scale(1); transition: opacity 240ms ease, transform 240ms ease; }
body.is-leaving { opacity: 0; transform: scale(.985); pointer-events: none; }
.hotspot.is-opening::after { opacity: 1; transform: scale(.97); }
