:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07090a;
  color: #f0eee9;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #07090a;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(186, 130, 54, 0.08), transparent 38%),
    #07090a;
}

.page-shell {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  width: min(100%, 120rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 4rem);
}

.wordmark {
  position: relative;
  display: block;
  align-self: end;
  justify-self: center;
  width: min(62vw, 13rem);
  aspect-ratio: 1787 / 186;
  margin: 0 0 clamp(1.25rem, 3vh, 2.75rem);
  overflow: hidden;
  filter: drop-shadow(0 0 0.75rem rgba(189, 135, 63, 0.17));
  transition: filter 180ms ease, opacity 180ms ease;
}

.wordmark img {
  position: absolute;
  top: -177.42%;
  left: -5.6%;
  display: block;
  width: 110.97%;
  height: auto;
}

.wordmark:hover {
  filter: drop-shadow(0 0 0.85rem rgba(216, 172, 104, 0.3));
}

.wordmark:focus-visible {
  border-radius: 0.15rem;
  outline: 2px solid #bd873f;
  outline-offset: 0.35rem;
}

.banner-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.banner-link:focus-visible {
  outline: 2px solid #bd873f;
  outline-offset: 0.4rem;
}

.banner-link .banner {
  transition: border-color 220ms ease, filter 220ms ease;
}

.banner-link:hover .banner {
  border-color: rgba(216, 172, 104, 0.55);
  filter: brightness(1.04);
}

.media-stage {
  width: 100%;
}

.banner {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 172, 104, 0.2);
  background: #0a0c0d;
  box-shadow:
    0 1.75rem 5rem rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  animation: reveal 1.2s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.banner::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.04);
  content: "";
  pointer-events: none;
}

.banner .scene-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.4 / 1;
  object-fit: cover;
}

.scene-overlay {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.game-room-terrace-overlay {
  clip-path: polygon(30.06% 18.86%, 67.28% 18.86%, 67.28% 55.72%, 31.57% 55.72%);
}

.hotspot-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hotspot-layer a {
  cursor: pointer;
  pointer-events: auto;
}

.scene-back {
  position: absolute;
  z-index: 2;
  bottom: clamp(0.65rem, 1.8vw, 1.15rem);
  left: clamp(0.65rem, 1.8vw, 1.15rem);
  display: grid;
  width: clamp(2.25rem, 4vw, 3rem);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(240, 238, 233, 0.22);
  border-radius: 50%;
  background: rgba(7, 9, 10, 0.18);
  color: rgba(240, 238, 233, 0.66);
  opacity: 0.72;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease;
  backdrop-filter: blur(0.18rem);
}

.scene-back svg {
  width: 52%;
  height: 52%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.scene-back:hover,
.scene-back:focus-visible {
  border-color: rgba(230, 190, 125, 0.68);
  background: rgba(7, 9, 10, 0.48);
  color: #e6be7d;
  opacity: 1;
}

.scene-back:focus-visible {
  outline: 2px solid rgba(230, 190, 125, 0.82);
  outline-offset: 0.2rem;
}

.door-hotspot,
.hallway-hotspot,
.arcade-hotspot,
.outdoor-hotspot,
.dj-hotspot,
.scene-hotspot,
.logo-hotspot {
  fill: transparent;
  stroke: transparent;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transition: fill 180ms ease, stroke 180ms ease;
}

.hotspot-layer a:hover .door-hotspot,
.hotspot-layer a:focus-visible .door-hotspot,
.hotspot-layer a:hover .hallway-hotspot,
.hotspot-layer a:focus-visible .hallway-hotspot,
.hotspot-layer a:hover .outdoor-hotspot,
.hotspot-layer a:focus-visible .outdoor-hotspot,
.hotspot-layer a:hover .dj-hotspot,
.hotspot-layer a:focus-visible .dj-hotspot,
.hotspot-layer a:hover .scene-hotspot,
.hotspot-layer a:focus-visible .scene-hotspot {
  fill: rgba(189, 135, 63, 0.1);
  stroke: rgba(230, 190, 125, 0.72);
}

.media-player {
  --gold: #d8ac68;
  --gold-bright: #efc77f;
  display: grid;
  width: min(100%, 32rem);
  margin: clamp(1rem, 2.5vw, 1.75rem) auto 0;
  overflow: hidden;
  border: 1px solid rgba(216, 172, 104, 0.28);
  border-radius: 0.45rem;
  background:
    radial-gradient(circle at 50% 0, rgba(216, 172, 104, 0.09), transparent 48%),
    linear-gradient(135deg, rgba(24, 27, 29, 0.96), rgba(7, 9, 10, 0.98));
  box-shadow:
    0 1rem 2.75rem rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 0 1.5rem rgba(189, 135, 63, 0.05);
  animation: player-reveal 220ms ease-out both;
  backdrop-filter: blur(0.8rem);
  transition: width 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.media-player[hidden] {
  display: none;
}

.media-player:focus-visible {
  outline: 2px solid rgba(230, 190, 125, 0.72);
  outline-offset: 0.25rem;
}

.media-player.is-playing {
  border-color: rgba(230, 190, 125, 0.48);
  box-shadow:
    0 1rem 2.75rem rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 0 2rem rgba(189, 135, 63, 0.1);
}

.player-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.9rem;
  min-height: 4rem;
  padding: 0.75rem 0.8rem 0.75rem 1rem;
  border-bottom: 1px solid rgba(216, 172, 104, 0.12);
}

.media-player-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.16rem;
}

.media-player-label {
  color: #f0eee9;
  width: fit-content;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration-color: rgba(216, 172, 104, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22rem;
  text-transform: uppercase;
}

.media-player-label:hover,
.media-player-label:focus-visible {
  color: #e6be7d;
  text-decoration-color: currentColor;
}

.media-player-status {
  overflow: hidden;
  color: rgba(240, 238, 233, 0.66);
  font-size: 0.875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.level-indicator {
  display: flex;
  align-items: end;
  gap: 0.16rem;
  height: 1rem;
  opacity: 0.28;
  transition: opacity 180ms ease;
}

.level-indicator span {
  width: 0.14rem;
  height: 35%;
  border-radius: 1rem;
  background: var(--gold);
  transform-origin: bottom;
}

.media-player.is-playing .level-indicator {
  opacity: 0.9;
}

.media-player.is-playing .level-indicator span {
  animation: level-dance 820ms ease-in-out infinite alternate;
}

.media-player.is-playing .level-indicator span:nth-child(2) {
  animation-delay: -420ms;
}

.media-player.is-playing .level-indicator span:nth-child(3) {
  animation-delay: -180ms;
}

.media-player.is-playing .level-indicator span:nth-child(4) {
  animation-delay: -620ms;
}

.player-minimize,
.compact-play-toggle,
.transport-controls button,
.player-utility button,
.playlist button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.compact-play-toggle {
  display: none;
  width: 2rem;
  height: 2rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(230, 190, 125, 0.48);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(216, 172, 104, 0.18), rgba(122, 78, 30, 0.12));
  color: var(--gold-bright);
  font-size: 0.7rem;
  line-height: 1;
  box-shadow: 0 0 0.8rem rgba(189, 135, 63, 0.08);
}

.player-minimize {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(216, 172, 104, 0.18);
  border-radius: 50%;
  color: rgba(240, 238, 233, 0.72);
  font-size: 1rem;
}

.player-body {
  display: grid;
  gap: 0.9rem;
  padding: 0.9rem 1rem 1rem;
}

.transport-controls {
  display: grid;
  grid-template-columns: 2.25rem 3rem 2.25rem;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
}

.transport-controls button {
  display: grid;
  min-width: 2.25rem;
  min-height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(216, 172, 104, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.028);
  color: rgba(240, 238, 233, 0.82);
  font-size: 1.35rem;
  line-height: 1;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.transport-controls .play-toggle {
  min-width: 3rem;
  min-height: 3rem;
  border-color: rgba(230, 190, 125, 0.58);
  background: linear-gradient(145deg, rgba(216, 172, 104, 0.2), rgba(122, 78, 30, 0.14));
  color: var(--gold-bright);
  font-size: 0.95rem;
  box-shadow: 0 0 1rem rgba(189, 135, 63, 0.08);
}

.timeline {
  display: grid;
  grid-template-columns: 2.75rem 1fr 2.75rem;
  align-items: center;
  gap: 0.55rem;
  color: rgba(240, 238, 233, 0.5);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.timeline span:last-child {
  text-align: right;
}

.media-player input[type="range"] {
  --range-fill: 0%;
  width: 100%;
  height: 1rem;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}

.media-player input[type="range"]::-webkit-slider-runnable-track {
  height: 0.18rem;
  border-radius: 1rem;
  background: linear-gradient(to right, var(--gold) var(--range-fill), rgba(240, 238, 233, 0.16) var(--range-fill));
}

.media-player input[type="range"]::-moz-range-track {
  height: 0.18rem;
  border-radius: 1rem;
  background: rgba(240, 238, 233, 0.16);
}

.media-player input[type="range"]::-moz-range-progress {
  height: 0.18rem;
  border-radius: 1rem;
  background: var(--gold);
}

.media-player input[type="range"]::-webkit-slider-thumb {
  width: 0.75rem;
  height: 0.75rem;
  margin-top: -0.285rem;
  appearance: none;
  border: 1px solid rgba(255, 239, 207, 0.72);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0.65rem rgba(216, 172, 104, 0.24);
}

.media-player input[type="range"]::-moz-range-thumb {
  width: 0.75rem;
  height: 0.75rem;
  border: 1px solid rgba(255, 239, 207, 0.72);
  border-radius: 50%;
  background: var(--gold);
}

.player-utility {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) auto auto;
  align-items: center;
  gap: 0.8rem;
  color: rgba(240, 238, 233, 0.58);
  font-size: 0.78rem;
}

.volume-control {
  display: grid;
  grid-template-columns: 1.8rem minmax(4rem, 6.5rem);
  align-items: center;
  gap: 0.3rem;
}

.volume-control button {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  padding: 0.25rem;
  place-items: center;
  color: rgba(240, 238, 233, 0.62);
}

.volume-control svg {
  width: 100%;
  fill: currentColor;
}

.volume-control svg .volume-wave {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.volume-control button.is-muted .volume-wave {
  opacity: 0.15;
}

.playlist-toggle {
  min-height: 2rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(216, 172, 104, 0.2) !important;
  border-radius: 1rem;
  color: rgba(240, 238, 233, 0.72) !important;
  font-size: 0.78rem !important;
}

.playlist {
  max-height: 13rem;
  overflow-y: auto;
  border-top: 1px solid rgba(216, 172, 104, 0.12);
  scrollbar-color: rgba(216, 172, 104, 0.45) transparent;
}

.playlist[hidden] {
  display: none;
}

.playlist ol {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0.75rem 0 0;
  list-style: none;
}

.playlist button {
  display: grid;
  grid-template-columns: 4rem 1fr;
  align-items: center;
  width: 100%;
  min-height: 2.4rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.2rem;
  color: rgba(240, 238, 233, 0.58);
  text-align: left;
}

.playlist button span {
  color: rgba(216, 172, 104, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.playlist button strong {
  overflow: hidden;
  color: rgba(240, 238, 233, 0.74);
  font-size: 0.82rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist button[aria-current="true"] {
  background: linear-gradient(90deg, rgba(216, 172, 104, 0.14), transparent);
}

.playlist button[aria-current="true"] strong {
  color: var(--gold-bright);
}

.player-minimize:hover,
.player-minimize:focus-visible,
.compact-play-toggle:hover,
.compact-play-toggle:focus-visible,
.transport-controls button:hover,
.transport-controls button:focus-visible,
.player-utility button:hover,
.player-utility button:focus-visible,
.playlist button:hover,
.playlist button:focus-visible {
  border-color: rgba(230, 190, 125, 0.72);
  background-color: rgba(189, 135, 63, 0.1);
  color: var(--gold-bright);
  outline: none;
}

.media-player input[type="range"]:focus-visible {
  outline: 2px solid rgba(230, 190, 125, 0.68);
  outline-offset: 0.25rem;
}

.media-player.is-minimized {
  width: min(100%, 17rem);
}

.media-player.is-minimized .player-header {
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  grid-template-areas:
    "session session session session"
    "track play levels expand";
  column-gap: 0.55rem;
  row-gap: 0.38rem;
  min-height: 0;
  padding: 0.55rem 0.65rem 0.6rem;
  border-bottom: 0;
}

.media-player.is-minimized .media-player-copy {
  display: contents;
}

.media-player.is-minimized .media-player-label {
  grid-area: session;
  justify-self: center;
  max-width: 100%;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  line-height: 1.2;
  white-space: nowrap;
}

.media-player.is-minimized .media-player-status {
  grid-area: track;
  align-self: center;
  font-size: 0.875rem;
  line-height: 1.2;
}

.media-player.is-minimized .compact-play-toggle {
  grid-area: play;
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
}

.media-player.is-minimized .level-indicator {
  grid-area: levels;
  align-self: center;
  gap: 0.12rem;
  height: 0.82rem;
}

.media-player.is-minimized .level-indicator span {
  width: 0.12rem;
}

.media-player.is-minimized .player-minimize {
  grid-area: expand;
  width: 1.8rem;
  height: 1.8rem;
  font-size: 0.9rem;
}

.media-player.is-minimized .player-body {
  display: none;
}

@keyframes player-reveal {
  from {
    opacity: 0;
    transform: translateY(-0.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes level-dance {
  0% {
    height: 28%;
  }
  100% {
    height: 100%;
  }
}

.hotspot-layer a:hover .logo-hotspot,
.hotspot-layer a:focus-visible .logo-hotspot,
.hotspot-layer a:hover .arcade-hotspot,
.hotspot-layer a:focus-visible .arcade-hotspot {
  fill: rgba(0, 164, 220, 0.06);
  stroke: rgba(129, 198, 230, 0.72);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 40rem) {
  .page-shell {
    padding-inline: 1rem;
  }

  .banner .scene-image {
    aspect-ratio: 4 / 3;
  }

  .player-header {
    padding-inline: 0.8rem;
  }

  .player-body {
    padding-inline: 0.8rem;
  }

  .player-utility {
    gap: 0.5rem;
  }

  .volume-control {
    grid-template-columns: 1.8rem minmax(3rem, 5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner {
    animation: none;
  }

  .banner-link .banner {
    transition: none;
  }

  .wordmark {
    transition: none;
  }

  .scene-back {
    transition: none;
  }

  .door-hotspot,
  .hallway-hotspot,
  .arcade-hotspot,
  .outdoor-hotspot,
  .dj-hotspot,
  .scene-hotspot,
  .logo-hotspot {
    transition: none;
  }

  .media-player {
    animation: none;
  }

  .media-player.is-playing .level-indicator span {
    height: 70%;
    animation: none;
  }
}
