:root {
  color-scheme: dark;
  --ink: #fffaf0;
  --muted: rgba(255, 250, 240, 0.78);
  --line: rgba(255, 250, 240, 0.22);
  --panel: rgba(8, 7, 5, 0.38);
  --panel-strong: rgba(255, 250, 240, 0.14);
  --glow: rgba(224, 171, 96, 0.34);
  --cave-background-image: url("/assets/cave-background.jpg");
}

[hidden] {
  display: none !important;
}

.language-picker {
  position: relative;
  justify-self: center;
  max-width: 100%;
  text-align: center;
}

.language-picker summary {
  display: inline-flex;
  max-width: 100%;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: 0.35rem;
  color: rgba(255, 250, 240, 0.64);
  font-size: 0.72rem;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.language-picker summary::-webkit-details-marker {
  display: none;
}

.language-picker summary > span {
  min-width: 0;
}

.language-picker summary span[lang="en"] {
  white-space: nowrap;
}

.language-picker summary svg {
  flex-shrink: 0;
}

.language-picker summary:hover,
.language-picker[open] summary {
  color: var(--ink);
}

.language-picker__globe {
  width: 0.95rem;
  height: 0.95rem;
}

.language-picker__chevron {
  width: 0.75rem;
  height: 0.75rem;
}

.language-picker[open] .language-picker__chevron {
  transform: rotate(180deg);
}

.language-switch {
  position: absolute;
  bottom: calc(100% + 0.15rem);
  left: 50%;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(21rem, calc(100vw - 2rem));
  max-height: min(20rem, var(--language-menu-space, 60vh));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #17130e;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.4);
  transform: translateX(-50%);
}

.language-picker--below .language-switch {
  top: calc(100% + 0.15rem);
  bottom: auto;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.85rem;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}

.language-switch a[aria-current="page"] {
  background: var(--panel-strong);
  color: var(--ink);
}

.language-switch a:hover {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.2);
}

.language-picker summary:focus-visible,
.language-switch a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

@supports (background-image: image-set(url("/assets/cave-background-960.avif") type("image/avif"))) {
  :root {
    --cave-background-image: image-set(
      url("/assets/cave-background-960.avif") type("image/avif"),
      url("/assets/cave-background-960.webp") type("image/webp")
    );
  }
}

@media (min-width: 60rem) {
  @supports (background-image: image-set(url("/assets/cave-background-1920.avif") type("image/avif"))) {
    :root {
      --cave-background-image: image-set(
        url("/assets/cave-background-1920.avif") type("image/avif"),
        url("/assets/cave-background-1920.webp") type("image/webp")
      );
    }
  }
}

* {
  box-sizing: border-box;
}

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

html {
  min-height: 100%;
  overflow-x: hidden;
  background: #090704;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 236, 198, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(7, 6, 4, 0.42), rgba(7, 6, 4, 0.84)),
    var(--cave-background-image) center / cover no-repeat;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.44), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.48)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 36%, rgba(0, 0, 0, 0.38));
}

body::after {
  box-shadow: inset 0 0 7rem rgba(0, 0, 0, 0.72);
}

.cursor-light {
  --cursor-x: 50%;
  --cursor-y: 44%;
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(
      circle at var(--cursor-x) var(--cursor-y),
      rgba(255, 244, 214, 0.12) 0,
      rgba(234, 184, 105, 0.065) 6.5rem,
      rgba(255, 244, 214, 0.025) 13rem,
      transparent 21rem
    );
  opacity: 0;
  transition: opacity 360ms ease;
}

.cursor-light::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at var(--cursor-x) var(--cursor-y),
      rgba(255, 244, 214, 0.065) 0,
      rgba(234, 184, 105, 0.038) 9rem,
      rgba(255, 244, 214, 0.018) 17rem,
      transparent 27rem
    );
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.cursor-active .cursor-light {
  opacity: 1;
}

.cursor-press .cursor-light::after {
  opacity: 1;
}

.secret-credit {
  --cursor-x: 50%;
  --cursor-y: 44%;
  display: none;
}

.page {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  grid-template-rows: minmax(min-content, 1fr) auto;
  gap: clamp(1rem, 3vmin, 2rem);
  padding: 1.25rem 1rem 1rem;
  padding:
    max(clamp(1.25rem, 3vw, 2.5rem), env(safe-area-inset-top))
    max(clamp(1rem, 3vw, 2.5rem), env(safe-area-inset-right))
    max(clamp(1rem, 3vw, 2.25rem), env(safe-area-inset-bottom))
    max(clamp(1rem, 3vw, 2.5rem), env(safe-area-inset-left));
}

.page::before,
.page::after {
  position: fixed;
  pointer-events: none;
  content: "";
}

.page::before {
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.74);
  animation: caveDarkness 1.9s cubic-bezier(0.2, 0.9, 0.16, 1) both;
}

.page::after {
  top: 50%;
  left: 50%;
  z-index: 4;
  width: min(82vmax, 68rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 249, 229, 0.58) 0 5%, rgba(234, 187, 115, 0.28) 12%, rgba(255, 255, 255, 0.1) 24%, transparent 58%);
  filter: blur(10px);
  mix-blend-mode: screen;
  opacity: 0;
  animation: flashlightSearch 2s cubic-bezier(0.3, 0.02, 0.08, 1) both;
}

.centerpiece {
  position: relative;
  z-index: 3;
  display: grid;
  gap: clamp(0.9rem, 2.2vmin, 1.45rem);
  min-height: 0;
  place-items: center;
  width: min(100%, 58rem);
  place-self: center;
  transform: none;
  text-align: center;
}

.logo-stage {
  position: absolute;
  top: 1.25rem;
  left: 1rem;
  top: max(clamp(1.25rem, 3vw, 2.5rem), env(safe-area-inset-top));
  left: max(
    clamp(1rem, 3vw, 2.5rem),
    calc(env(safe-area-inset-left) + 0.5rem)
  );
  z-index: 4;
  display: inline-grid;
  isolation: isolate;
  place-items: center;
  backface-visibility: hidden;
  transform: translate3d(-7%, 0, 0);
  will-change: opacity, transform;
  animation: logoFound 0.8s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.logo-stage::before {
  position: absolute;
  inset: 16% -6% 5%;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(230, 185, 112, 0.28), rgba(13, 10, 7, 0.4) 44%, transparent 70%);
  content: "";
  pointer-events: none;
}

.brand-logo {
  position: relative;
  z-index: 1;
  aspect-ratio: 320 / 394;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  width: auto;
  max-width: min(22vw, 6rem);
  max-height: min(22vh, 7.5rem);
  max-height: min(22dvh, 7.5rem);
  height: auto;
  object-fit: contain;
}

.brand-games {
  position: relative;
  left: 7%;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  justify-self: center;
  width: 72%;
  margin-top: clamp(0.25rem, 0.65vw, 0.4rem);
  font-family: "Arial Black", Arial, Helvetica, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.58rem, 1.35vw, 0.7rem);
  font-weight: 900;
  font-variant-ligatures: none;
  letter-spacing: 0;
  line-height: 0.85;
  color: var(--ink);
  text-shadow: 0 0 0.65rem rgba(230, 185, 112, 0.2);
  -webkit-user-select: none;
  user-select: none;
}

.media-stack {
  display: grid;
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 40.375rem);
  gap: clamp(0.65rem, 1.7vmin, 0.9rem);
}

.game-intro {
  padding: 0 0.75rem 0.4rem;
}

.game-intro h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 650;
  line-height: 1.2;
}

.game-title-translation {
  display: inline-block;
  color: var(--muted);
  font-size: 0.8em;
  font-weight: 500;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}

.game-intro p {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(0.85rem, 1.6vw, 0.95rem);
  line-height: 1.55;
}

.youtube-embed-shell {
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
  border-radius: 5px;
  background: #090704;
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.42);
  animation: textFound 0.45s 0.08s ease-out both;
}

.youtube-embed {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 1px;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  border: 0;
}

@supports (aspect-ratio: 16 / 9) {
  .youtube-embed-shell {
    height: auto;
    padding-top: 0;
    aspect-ratio: 16 / 9;
  }
}

.youtube-callout-stage {
  position: relative;
  width: 100%;
  isolation: isolate;
}

.steam-callout-stage {
  position: relative;
  width: 100%;
  height: 190px;
  isolation: isolate;
}

.steam-embed-shell {
  position: relative;
  z-index: 2;
  container-type: inline-size;
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
  isolation: isolate;
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.42);
  animation: textFound 0.35s ease-out both;
}

.wishlist-callouts {
  color: rgba(235, 193, 116, 0.88);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.wishlist-callouts,
.wishlist-callouts * {
  pointer-events: none;
}

.wishlist-callouts--wide {
  display: none;
}

.wishlist-callout {
  position: absolute;
  filter: drop-shadow(0 0.16rem 0.28rem rgba(31, 16, 5, 0.76));
}

.wishlist-callout,
.wishlist-callouts--compact {
  --wishlist-flashlight-x: -999px;
  --wishlist-flashlight-y: -999px;
  opacity: 0;
  -webkit-mask-image:
    radial-gradient(
      circle at var(--wishlist-flashlight-x) var(--wishlist-flashlight-y),
      #000 0 7rem,
      rgba(0, 0, 0, 0.72) 10rem,
      transparent 12rem
    );
  mask-image:
    radial-gradient(
      circle at var(--wishlist-flashlight-x) var(--wishlist-flashlight-y),
      #000 0 7rem,
      rgba(0, 0, 0, 0.72) 10rem,
      transparent 12rem
    );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: opacity 260ms ease;
}

.cursor-active .wishlist-callout,
.cursor-active .wishlist-callouts--compact {
  opacity: 0.68;
}

.wishlist-callout__copy {
  position: absolute;
  z-index: 1;
  font-family: "Marker Felt", "Chalkboard SE", "Comic Sans MS", cursive;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 0.88;
  text-align: center;
  text-shadow:
    0.06rem 0.02rem 0 rgba(235, 193, 116, 0.24),
    0 0 0.55rem rgba(218, 146, 62, 0.2);
  text-transform: uppercase;
  white-space: nowrap;
}

.wishlist-callout__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wishlist-callout__trace {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
  vector-effect: non-scaling-stroke;
}

.wishlist-callouts--compact {
  position: absolute;
  top: 185px;
  right: 0.1rem;
  z-index: 3;
  display: none;
  width: 11rem;
  height: 2.65rem;
}

.wishlist-callouts--compact .wishlist-callout__copy {
  right: 0.35rem;
  bottom: -0.05rem;
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  transform: rotate(-2deg);
}

@media (hover: hover) and (pointer: fine) {
  .steam-callout-stage {
    height: calc(190px + 2.55rem);
  }

  .wishlist-callouts--compact {
    display: block;
  }
}

@media (min-width: 980px) and (min-height: 600px) and (hover: hover) and (pointer: fine) {
  .steam-callout-stage {
    height: 190px;
  }

  .wishlist-callouts--wide {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
  }

  .wishlist-callouts--compact {
    display: none;
  }

  .wishlist-callout--nearby-left {
    top: -3.75rem;
    left: -8.5rem;
    width: 11rem;
    height: 6rem;
  }

  .wishlist-callout--nearby-left .wishlist-callout__copy {
    top: 0.85rem;
    left: 1rem;
    transform: rotate(-3deg);
  }

  .wishlist-callout--nearby-right {
    top: 6.75rem;
    right: -8.5rem;
    width: 11rem;
    height: 6rem;
  }

  .wishlist-callout--nearby-right .wishlist-callout__copy {
    top: 0.85rem;
    right: 1rem;
    transform: rotate(3deg);
  }
}

.trailer-callouts--compact {
  top: auto;
  bottom: -1.8rem;
}

@media (hover: hover) and (pointer: fine) {
  .youtube-callout-stage {
    margin-bottom: 2.55rem;
  }
}

@media (min-width: 980px) and (min-height: 600px) and (hover: hover) and (pointer: fine) {
  .youtube-callout-stage {
    margin-bottom: 0;
  }

  .trailer-callout--nearby-left {
    top: 3.25rem;
    left: -8.5rem;
    width: 11rem;
    height: 6rem;
  }

  .trailer-callout--nearby-left .wishlist-callout__copy {
    top: 0.55rem;
    left: 0.35rem;
    transform: rotate(-4deg);
  }
}

.steam-embed {
  display: block;
  /* Match Steam's light canvas so the iframe background stays transparent. */
  color-scheme: light;
  width: 1px;
  min-width: 100%;
  max-width: 100%;
  height: 190px;
  border: 0;
  /* Keep Steam's rounded 167px card and purchase bar ending at 187px. */
  clip-path: polygon(
    0 0,
    100% 0,
    100% 163px,
    calc(100% - 4px) 167px,
    calc(100% - 10px) 167px,
    calc(100% - 10px) 185px,
    calc(100% - 12px) 187px,
    calc(100% - 432px) 187px,
    calc(100% - 434px) 185px,
    calc(100% - 434px) 167px,
    4px 167px,
    0 163px,
    0 0
  );
}

@container (max-width: 500px) {
  .steam-embed {
    clip-path: polygon(
      0 0,
      100% 0,
      100% 163px,
      calc(100% - 4px) 167px,
      calc(100% - 10px) 167px,
      calc(100% - 10px) 185px,
      calc(100% - 12px) 187px,
      calc(100% - 356px) 187px,
      calc(100% - 358px) 185px,
      calc(100% - 358px) 167px,
      4px 167px,
      0 163px,
      0 0
    );
  }
}

@container (max-width: 358px) {
  .steam-embed {
    clip-path: polygon(
      0 0,
      100% 0,
      100% 163px,
      calc(100% - 4px) 167px,
      calc(100% - 10px) 167px,
      calc(100% - 10px) 185px,
      calc(100% - 12px) 187px,
      0 187px,
      0 0
    );
  }
}

/* Safari before 16 ignores container queries, so mirror the phone rule. */
@media (max-width: 520px) {
  .steam-embed {
    clip-path: polygon(
      0 0,
      100% 0,
      100% 163px,
      calc(100% - 4px) 167px,
      calc(100% - 10px) 167px,
      calc(100% - 10px) 185px,
      calc(100% - 12px) 187px,
      calc(100% - 356px) 187px,
      calc(100% - 358px) 185px,
      calc(100% - 358px) 167px,
      4px 167px,
      0 163px,
      0 0
    );
  }
}

@media (max-width: 430px), (orientation: landscape) and (max-height: 430px) {
  .steam-callout-stage,
  .steam-embed-shell {
    height: 152px;
  }

  .steam-embed {
    width: 125%;
    min-width: 125%;
    max-width: none;
    transform: scale(0.8);
    transform-origin: top left;
  }
}

.site-footer {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  place-self: end center;
  gap: 0.62rem;
  width: min(100%, 48rem);
  animation: iconsFound 0.45s 0.2s ease-out both;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 0.75rem;
}

.social-link {
  position: relative;
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.social-link:focus-visible {
  border-color: rgba(255, 250, 240, 0.6);
  background: var(--panel-strong);
  outline: 2px solid rgba(255, 250, 240, 0.82);
  outline-offset: 2px;
  transform: translateY(-2px);
}

.social-link::after {
  position: absolute;
  bottom: calc(100% + 0.55rem);
  left: 50%;
  z-index: 5;
  width: max-content;
  max-width: min(72vw, 16rem);
  padding: 0.48rem 0.65rem;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 999px;
  background: rgba(8, 7, 5, 0.76);
  color: var(--ink);
  content: attr(data-hover-label);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.15;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, 0.28rem);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  white-space: nowrap;
}

.social-link:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.social-link svg {
  width: 1.18rem;
  height: 1.18rem;
}

.steam-icon {
  width: 1.08rem;
  height: 1.08rem;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 0.55rem;
}

.footer-action {
  position: relative;
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  overflow: hidden;
  padding: 0 0.92rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.footer-action:focus-visible {
  border-color: rgba(255, 250, 240, 0.6);
  background: var(--panel-strong);
  outline: 2px solid rgba(255, 250, 240, 0.82);
  outline-offset: 2px;
  transform: translateY(-2px);
}

.footer-action svg {
  flex: 0 0 auto;
  width: 0.98rem;
  height: 0.98rem;
}

.footer-action--contact {
  min-width: 13.25rem;
}

.footer-action__label,
.footer-action__email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.footer-action__email {
  position: absolute;
  inset: 0;
  padding: 0 0.85rem;
  opacity: 0;
  color: var(--ink);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-transform: none;
  transform: translateY(60%);
}

.footer-action--contact:focus-visible .footer-action__label {
  opacity: 0;
  transform: translateY(-60%);
}

.footer-action--contact:focus-visible .footer-action__email {
  opacity: 1;
  transform: translateY(0);
}

.legal-copy {
  display: grid;
  width: 100%;
  gap: 0.18rem;
  margin: 0.08rem 0 0;
  padding-top: 0.58rem;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
  color: rgba(255, 250, 240, 0.42);
  font-size: clamp(0.54rem, 0.72vw, 0.62rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: center;
  text-shadow: 0 0.65rem 1.2rem rgba(0, 0, 0, 0.72);
  text-wrap: balance;
}

.legal-copy > span {
  display: block;
}

.legal-copy strong {
  color: rgba(255, 250, 240, 0.52);
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.legal-copy__origin {
  margin-top: 0.12rem;
  color: rgba(255, 250, 240, 0.54);
  font-weight: 700;
  letter-spacing: 0.06em;
}

@media (hover: hover) and (pointer: fine) {
  .social-link:hover,
  .footer-action:hover {
    border-color: rgba(255, 250, 240, 0.6);
    background: var(--panel-strong);
    transform: translateY(-2px);
  }

  .social-link:hover::after {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .footer-action--contact:hover .footer-action__label {
    opacity: 0;
    transform: translateY(-60%);
  }

  .footer-action--contact:hover .footer-action__email {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1180px) and (hover: hover) and (pointer: fine) {
  .secret-credit {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: block;
    pointer-events: none;
    color: rgba(255, 250, 240, 0.1);
    opacity: 0;
    -webkit-mask-image:
      radial-gradient(
        circle at var(--cursor-x) var(--cursor-y),
        #000 0 4.4rem,
        rgba(0, 0, 0, 0.58) 6.2rem,
        transparent 9rem
      );
    mask-image:
      radial-gradient(
        circle at var(--cursor-x) var(--cursor-y),
        #000 0 4.4rem,
        rgba(0, 0, 0, 0.58) 6.2rem,
        transparent 9rem
      );
    transition: opacity 260ms ease;
  }

  .cursor-active .secret-credit {
    opacity: 1;
  }

  .secret-credit__item {
    position: absolute;
    font-size: 0.62rem;
    font-weight: 750;
    letter-spacing: 0.075em;
    line-height: 1;
    max-width: min(32vw, 24rem);
    text-shadow: 0 0 1.2rem rgba(255, 230, 180, 0.12);
    text-transform: uppercase;
    white-space: nowrap;
  }

  .secret-credit__item--top-left {
    top: clamp(13rem, 30vh, 17rem);
    left: clamp(1.9rem, 3.8vw, 4.4rem);
    letter-spacing: 0.065em;
    transform: rotate(-7deg);
  }

  .secret-credit__item--top-right {
    top: clamp(2.9rem, 4.4vw, 5.1rem);
    right: clamp(2.3rem, 4.1vw, 5rem);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    transform: rotate(5deg);
  }

  .secret-credit__item--bottom-right {
    right: clamp(2.6rem, 5.2vw, 6.8rem);
    bottom: max(clamp(2.1rem, 4.1vw, 4.9rem), env(safe-area-inset-bottom));
    font-size: 0.57rem;
    letter-spacing: 0.055em;
    transform: rotate(-3deg);
  }

  .secret-credit__item--bottom-left {
    left: clamp(2.2rem, 4.7vw, 5.8rem);
    bottom: max(clamp(2.6rem, 5vw, 5.6rem), env(safe-area-inset-bottom));
    font-size: 0.56rem;
    letter-spacing: 0.1em;
    transform: rotate(4deg);
  }

  .secret-credit__item--bbb {
    top: 52%;
    right: clamp(1.8rem, 3.4vw, 4.2rem);
    font-family: "Marker Felt", "Chalkboard SE", "Comic Sans MS", cursive;
    font-size: 0.54rem;
    letter-spacing: 0.08em;
    text-transform: none;
    transform: rotate(-6deg);
  }

  .secret-credit__item--dinglenut {
    top: 68%;
    left: clamp(1.9rem, 3.6vw, 4.5rem);
    font-family: "Marker Felt", "Chalkboard SE", "Comic Sans MS", cursive;
    font-size: 0.52rem;
    letter-spacing: 0.09em;
    text-transform: none;
    transform: rotate(5deg);
  }
}

@keyframes caveDarkness {
  0% {
    opacity: 1;
  }

  42% {
    opacity: 0.86;
  }

  76% {
    opacity: 0.28;
  }

  100% {
    opacity: 0;
  }
}

@keyframes flashlightSearch {
  0% {
    opacity: 0;
    transform: translate(calc(-50% - 54vw), calc(-50% - 28vh)) scale(0.62);
  }

  12% {
    opacity: 0.86;
  }

  28% {
    transform: translate(calc(-50% + 18vw), calc(-50% - 14vh)) scale(0.82);
  }

  50% {
    transform: translate(calc(-50% - 16vw), calc(-50% + 10vh)) scale(0.98);
  }

  72% {
    opacity: 0.84;
    transform: translate(calc(-50% + 2vw), calc(-50% - 4vh)) scale(1.08);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.24);
  }
}

@keyframes logoFound {
  0% {
    opacity: 0;
    transform: translate3d(-7%, 0, 0) scale(0.94);
  }

  48% {
    opacity: 0.28;
  }

  72% {
    opacity: 1;
    transform: translate3d(-7%, 0, 0) scale(1.015);
  }

  100% {
    opacity: 1;
    transform: translate3d(-7%, 0, 0) scale(1);
  }
}

@keyframes textFound {
  0% {
    opacity: 0;
    transform: translateY(0.8rem);
    filter: blur(0.25rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes iconsFound {
  0% {
    opacity: 0;
    transform: translateY(0.55rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 899px) {
  .centerpiece {
    padding-top: 6rem;
  }
}

@media (min-width: 521px) and (max-width: 879px) {
  .centerpiece {
    padding-top: 9rem;
  }
}

@media (max-width: 520px) {
  .page {
    gap: 0.85rem;
    padding-right: max(0.9rem, env(safe-area-inset-right));
    padding-left: max(0.9rem, env(safe-area-inset-left));
  }

  .centerpiece {
    padding-top: clamp(7.125rem, 32vw, 8rem);
    transform: none;
  }

  .brand-logo {
    max-width: min(22vw, 5.5rem);
    max-height: 20vh;
    max-height: 20dvh;
  }

  .media-stack {
    width: min(
      calc(100% + 1.4rem),
      calc(
        100vw - 0.5rem - env(safe-area-inset-left) - env(safe-area-inset-right)
      )
    );
  }

  .wishlist-callouts--compact {
    right: 0;
    width: 10rem;
    height: 2.45rem;
  }

  .wishlist-callouts--compact .wishlist-callout__copy {
    font-size: 0.6rem;
    letter-spacing: 0.09em;
  }

  .site-footer {
    gap: 0.45rem;
  }

  .socials {
    gap: 0.45rem;
    max-width: 12rem;
  }

  .social-link {
    width: 2.45rem;
    height: 2.45rem;
  }

  .social-link::after {
    display: none;
  }

  .footer-actions {
    gap: 0.4rem;
  }

  .footer-action {
    min-height: 2.2rem;
    padding: 0 0.72rem;
    font-size: 0.64rem;
  }

  .footer-action svg {
    width: 0.86rem;
    height: 0.86rem;
  }

  .footer-action--contact {
    min-width: 11.9rem;
  }

  .footer-action__email {
    font-size: 0.6rem;
    letter-spacing: 0;
  }

}

@media (max-width: 520px) and (hover: hover) and (pointer: fine) {
  .steam-callout-stage {
    height: calc(190px + 2.35rem);
  }
}

@media (max-height: 560px) {
  .centerpiece {
    transform: none;
  }

  .brand-logo {
    max-width: min(16vw, 5rem);
    max-height: 20vh;
    max-height: 20dvh;
  }

  .social-link {
    width: 2.75rem;
    height: 2.75rem;
  }

  .footer-action {
    min-height: 2.15rem;
    font-size: 0.62rem;
  }
}

@media (orientation: landscape) and (min-height: 521px) and (max-height: 780px) {
  .page {
    gap: 1rem;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .page {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    gap: clamp(0.75rem, 2vmin, 1rem);
  }

  .centerpiece {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45rem;
    align-items: center;
    justify-content: center;
    padding-top: 0;
  }

  .media-stack {
    justify-self: end;
    width: min(calc(100% - 6.5rem), clamp(15rem, calc(177.778vh - 25rem), 30rem));
    width: min(calc(100% - 6.5rem), clamp(15rem, calc(177.778dvh - 25rem), 30rem));
    gap: 0.5rem;
  }

  .steam-callout-stage {
    height: 190px;
  }

  .wishlist-callouts {
    display: none;
  }

  .site-footer {
    align-self: center;
    width: auto;
    gap: 0.5rem;
  }

  .socials {
    display: grid;
    align-self: center;
    grid-template-columns: repeat(2, 2.35rem);
    gap: 0.48rem;
    width: auto;
  }

  .social-link {
    width: 2.35rem;
    height: 2.35rem;
  }

  .social-link svg {
    width: 1.02rem;
    height: 1.02rem;
  }

  .social-link::after {
    bottom: auto;
    right: calc(100% + 0.45rem);
    left: auto;
    top: 50%;
    max-width: 11rem;
    white-space: normal;
    transform: translate(0.28rem, -50%);
  }

  .social-link:focus-visible::after {
    transform: translate(0, -50%);
  }

  .footer-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }

  .footer-action {
    min-height: 2.05rem;
    padding: 0 0.62rem;
    font-size: 0.58rem;
  }

  .footer-action svg {
    width: 0.78rem;
    height: 0.78rem;
  }

  .footer-action--contact {
    min-width: 10.6rem;
  }

  .footer-action__email {
    font-size: 0.54rem;
  }

  .legal-copy {
    max-width: 12rem;
    gap: 0.12rem;
    padding-top: 0.4rem;
    font-size: 0.5rem;
    line-height: 1.25;
  }

  .brand-logo {
    max-width: min(14vw, 6.5rem);
    max-height: 28vh;
    max-height: 28dvh;
  }

}

@media (orientation: landscape) and (max-height: 430px) {
  .media-stack {
    justify-self: end;
    width: min(calc(100% - 5rem), 32rem);
  }

  .steam-callout-stage {
    height: 152px;
  }
}

@media (orientation: landscape) and (max-height: 520px) and (hover: hover) and (pointer: fine) {
  .social-link:hover::after {
    transform: translate(0, -50%);
  }
}

@media (orientation: landscape) and (max-height: 360px) {
  .centerpiece {
    gap: 0.55rem;
  }

  .socials {
    gap: 0.38rem;
    grid-template-columns: repeat(2, 2.05rem);
  }

  .brand-logo {
    max-height: 24vh;
    max-height: 24dvh;
  }

  .legal-copy {
    display: none;
  }

  .social-link {
    width: 2.05rem;
    height: 2.05rem;
  }

  .social-link svg {
    width: 1rem;
    height: 1rem;
  }

  .footer-action {
    min-height: 1.9rem;
    font-size: 0.54rem;
  }

  .footer-action svg {
    width: 0.72rem;
    height: 0.72rem;
  }

  .footer-action--contact {
    min-width: 9.7rem;
  }

}

@media (pointer: coarse), (hover: none), (any-pointer: coarse) {
  .socials {
    grid-template-columns: repeat(2, 2.75rem);
  }

  .social-link {
    width: 2.75rem;
    height: 2.75rem;
  }

  .social-link::after {
    display: none;
  }

  .footer-action {
    min-height: 2.75rem;
    font-size: 0.68rem;
  }

  .footer-action__email {
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce),
  (hover: none),
  (pointer: coarse),
  (any-pointer: coarse) {
  .page::before,
  .page::after,
  .cursor-light,
  .secret-credit,
  .wishlist-callouts {
    display: none;
  }

  .logo-stage,
  .youtube-embed-shell,
  .steam-embed-shell,
  .site-footer {
    animation: none;
    opacity: 1;
  }

  .social-link,
  .footer-action,
  .wishlist-callout,
  .wishlist-callouts--compact {
    transition: none;
  }
}

html:lang(ko) body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
}

html:lang(ja) body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
}

html:lang(zh-Hans) body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Noto Sans SC", system-ui, sans-serif;
}

html:lang(zh-Hant) body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei",
    "Noto Sans TC", system-ui, sans-serif;
}

html:not(:lang(en)) .game-intro p {
  line-height: 1.75;
}

html:not(:lang(en)) .wishlist-callout__copy,
html:not(:lang(en)) .secret-credit__item {
  font-family: inherit;
  letter-spacing: 0;
  line-height: 1.3;
}

html:not(:lang(en)) .wishlist-callouts--wide .wishlist-callout__copy {
  top: auto;
  bottom: 3.1rem;
  width: min(11rem, calc((100vw - 646px) / 2 - 1.5rem));
  font-size: clamp(0.75rem, 1.1vw, 0.88rem);
  white-space: normal;
}

html:not(:lang(en)) .wishlist-callout--nearby-left,
html:not(:lang(en)) .trailer-callout--nearby-left {
  left: -12.5rem;
  width: 15rem;
}

html:not(:lang(en)) .wishlist-callout--nearby-right {
  right: -12.5rem;
  width: 15rem;
}

html:not(:lang(en)) .wishlist-callout--nearby-left .wishlist-callout__copy,
html:not(:lang(en)) .trailer-callout--nearby-left .wishlist-callout__copy {
  right: 3.5rem;
  left: auto;
}

html:not(:lang(en)) .wishlist-callout--nearby-right .wishlist-callout__copy {
  right: auto;
  left: 3.5rem;
}

html:not(:lang(en)) .wishlist-callouts--wide .wishlist-callout__art {
  top: 0.9rem;
  width: 11rem;
}

html:not(:lang(en)) .wishlist-callout--nearby-left .wishlist-callout__art,
html:not(:lang(en)) .trailer-callout--nearby-left .wishlist-callout__art {
  left: 4rem;
}

html:not(:lang(en)) .wishlist-callouts--compact {
  width: min(17rem, calc(100vw - 3rem));
}

html:not(:lang(en)) .wishlist-callouts--compact .wishlist-callout__copy {
  right: 5.7rem;
  max-width: calc(100% - 6.05rem);
  white-space: normal;
}

html:not(:lang(en)) .wishlist-callouts--compact .wishlist-callout__art {
  right: 0;
  left: auto;
  width: 11rem;
}

html:not(:lang(en)) .footer-action,
html:not(:lang(en)) .social-link::after,
html:not(:lang(en)) .legal-copy,
html:not(:lang(en)) .legal-copy strong,
html:not(:lang(en)) .legal-copy__origin {
  letter-spacing: 0;
  text-transform: none;
}

html:not(:lang(en)) .legal-copy {
  line-height: 1.6;
}


@media (orientation: landscape) and (max-height: 520px) {
  .language-picker {
    max-width: 12rem;
  }

  .language-switch {
    right: 0;
    left: auto;
    max-height: min(20rem, var(--language-menu-space, 40vh));
    transform: none;
  }
}
