@font-face {
  font-family: "Prime Display";
  src: url("assets/fonts/anton-v27-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Prime Text";
  src: url("assets/fonts/inter-v20-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Wordmark face. NOTE: this file is a 62-glyph subset - it carries a-z plus
   A C I P T U W and a few digits and symbols, nothing else. The hero wordmark
   is set in lowercase on purpose: this font's lowercase ARE small-cap forms,
   all one uniform height, which is what gives the all-caps look. Archivo Black
   stays in the stack below it as a per-glyph fallback. */
@font-face {
  font-family: "Quadrat Grotesk";
  src: url("assets/fonts/quadrat-grotesk-new-bold.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Black";
  src: url("assets/fonts/archivo-black-v23-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Prime Halloween";
  src: url("assets/fonts/creepster-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #04080d;
  --page-blue: #07111c;
  --panel: #0a131e;
  --panel-raised: #101c29;
  --line: rgba(173, 196, 215, 0.18);
  --line-strong: rgba(190, 210, 226, 0.35);
  --text: #f1f4f6;
  --muted: #9aa9b5;
  --blue: #85bfe5;
  --orange: #f59a32;
  --orange-bright: #ffc063;
  --orange-dark: #6c3511;
  --shell: min(1180px, calc(100% - 48px));
  --hero-parallax: 0px;
  --world-parallax: 0px;
  --scroll-dim: 1;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scrollbar-color: #263747 var(--page);
}

html {
  overflow-x: clip;
}

/* Page locks while the menu sheet or the Play popup is open (JS toggles these). */
body.nav-open,
body.modal-open {
  overflow: hidden;
}

body.modal-open {
  position: fixed;
  width: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: #03080e;
  color: var(--text);
  font-family: "Prime Text", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

body::before,
body::after {
  position: fixed;
  inset: -10vh -8vw;
  z-index: 0;
  content: "";
  pointer-events: none;
}

body::before {
  background: url("assets/halloween-world-continuation-v1.png") center / cover no-repeat;
  filter: blur(82px) saturate(0.72) brightness(calc(0.36 * var(--scroll-dim)));
  opacity: 0.34;
  transform: scale(1.2);
}

body::after {
  background:
    radial-gradient(circle at 56% 5%, rgba(139, 191, 232, 0.28), transparent 29%),
    radial-gradient(circle at 8% 43%, rgba(245, 128, 32, 0.2), transparent 22%),
    radial-gradient(circle at 91% 70%, rgba(235, 109, 24, 0.17), transparent 25%),
    linear-gradient(104deg, transparent 46%, rgba(207, 221, 230, 0.042) 48.7%, rgba(207, 221, 230, 0.01) 50%, transparent 52%) 7% 18% / 310px 126px no-repeat,
    linear-gradient(71deg, transparent 46%, rgba(5, 8, 12, 0.22) 49%, rgba(196, 211, 220, 0.022) 50%, transparent 53%) 84% 34% / 190px 310px no-repeat,
    linear-gradient(119deg, transparent 44%, rgba(211, 223, 231, 0.026) 48.5%, transparent 53%) 43% 72% / 430px 155px no-repeat,
    linear-gradient(180deg, rgba(5, 13, 22, 0.08), rgba(3, 8, 14, 0.66));
}

body > * {
  position: relative;
  z-index: 1;
}

main {
  position: relative;
  isolation: isolate;
}

.world-continuation {
  position: absolute;
  top: calc(max(800px, 108svh) - 310px);
  right: 0;
  bottom: -280px;
  left: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.7) 100px, #000 220px);
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.7) 100px, #000 220px);
}

.world-continuation::before,
.world-continuation::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.world-continuation::before {
  inset: -110px;
  background: url("assets/halloween-world-continuation-v1.png") center top / cover no-repeat;
  filter: blur(36px) saturate(0.62) brightness(calc(0.59 * var(--scroll-dim)));
  transform: scale(1.12);
  translate: 0 var(--world-parallax);
  will-change: translate, filter;
}

.world-continuation::after {
  inset: 0;
  background:
    linear-gradient(107deg, transparent 45%, rgba(218, 230, 238, 0.075) 48.4%, rgba(7, 11, 16, 0.18) 49.2%, rgba(215, 227, 235, 0.018) 50.1%, transparent 53%) 5% 8% / 285px 136px no-repeat,
    linear-gradient(73deg, transparent 44%, rgba(4, 8, 12, 0.3) 48.7%, rgba(212, 226, 235, 0.052) 49.6%, transparent 53%) 83% 13% / 240px 390px no-repeat,
    linear-gradient(122deg, transparent 46%, rgba(207, 221, 231, 0.056) 48.8%, rgba(2, 6, 10, 0.27) 50%, transparent 53%) 37% 35% / 520px 170px no-repeat,
    linear-gradient(64deg, transparent 45%, rgba(218, 230, 238, 0.04) 48.7%, transparent 52%) 14% 59% / 360px 240px no-repeat,
    linear-gradient(99deg, transparent 46%, rgba(2, 6, 9, 0.32) 48.9%, rgba(210, 224, 233, 0.035) 50%, transparent 53%) 72% 74% / 450px 120px no-repeat,
    linear-gradient(82deg, transparent 45%, rgba(209, 223, 232, 0.045) 48.8%, transparent 52%) 93% 88% / 180px 330px no-repeat,
    radial-gradient(circle at 6% 24%, rgba(241, 125, 36, 0.08), transparent 24%),
    radial-gradient(circle at 91% 57%, rgba(95, 159, 207, 0.08), transparent 31%),
    radial-gradient(ellipse at 26% 48%, rgba(220, 229, 234, 0.028), transparent 13%),
    radial-gradient(ellipse at 68% 31%, rgba(0, 0, 0, 0.24), transparent 17%),
    linear-gradient(180deg, rgba(5, 13, 22, 0.02), rgba(3, 9, 15, 0.2) 44%, rgba(2, 7, 12, 0.66) 100%);
  box-shadow: inset 0 0 190px 44px rgba(0, 0, 0, 0.34);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange-bright);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 9px 13px;
  transform: translateY(-160%);
  border-radius: 3px;
  background: var(--orange-bright);
  color: #160b03;
  font-weight: 850;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: grid;
  width: min(1280px, calc(100% - 48px));
  height: 92px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-inline: auto;
}

.site-header::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 100vw;
  height: 1px;
  content: "";
  transform: translateX(50%);
  background: rgba(196, 215, 231, 0.2);
  pointer-events: none;
}

.wordmark {
  justify-self: start;
  color: #f3f7fa;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.4em;
  line-height: 1;
  text-transform: uppercase;
}

.site-navigation {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 4px;
}

.site-navigation a {
  position: relative;
  display: inline-flex;
  height: 100%;
  align-items: center;
  padding: 0 18px;
  color: #b9c6d0;
  font-size: 0.98rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 150ms ease;
}

.site-navigation a::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 3px;
  content: "";
  transform: scaleX(0);
  background: var(--orange);
  box-shadow: 0 0 10px rgba(245, 154, 50, 0.5);
  transition: transform 170ms ease;
}

.site-navigation a:hover,
.site-navigation a.is-active {
  color: white;
}

.site-navigation a:hover::after,
.site-navigation a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.launcher-hero {
  position: relative;
  min-height: max(800px, 108svh);
  overflow: hidden;
  isolation: isolate;
  background: #050b12;
}

.launcher-hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 6;
  height: 32%;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(6, 15, 25, 0.24) 54%, rgba(5, 13, 22, 0.64) 100%);
}

.launcher-backdrop {
  position: absolute;
  inset: 0;
  z-index: -5;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  translate: 0 var(--hero-parallax);
  will-change: translate, transform;
  animation: backdrop-drift 18s ease-in-out infinite alternate;
}

@keyframes backdrop-drift {
  from { transform: scale(1.015); }
  to { transform: scale(1.045) translate3d(-0.2%, -0.25%, 0); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    /* dims the lower half of the moon so the white wordmark reads without a shadow */
    radial-gradient(ellipse 32% 26% at 50% 31%, rgba(3, 8, 14, 0.66) 0%, rgba(3, 8, 14, 0.52) 45%, rgba(3, 8, 14, 0.22) 74%, transparent 100%),
    linear-gradient(180deg, rgba(3, 7, 11, 0.78) 0%, rgba(3, 7, 11, 0.42) 9%, transparent 19%, transparent 76%, rgba(4, 11, 18, 0.34) 92%, rgba(5, 13, 22, 0.62) 100%);
}

.screen-filter {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(112deg, transparent 45%, rgba(219, 233, 242, 0.07) 48.6%, rgba(3, 7, 11, 0.19) 49.5%, transparent 53%) 8% 16% / 340px 140px no-repeat,
    linear-gradient(74deg, transparent 45%, rgba(219, 233, 242, 0.05) 48.7%, transparent 52%) 76% 62% / 220px 350px no-repeat,
    linear-gradient(123deg, transparent 44%, rgba(4, 8, 12, 0.28) 48.5%, rgba(214, 227, 236, 0.03) 49.6%, transparent 53%) 45% 86% / 480px 130px no-repeat;
  box-shadow: inset 0 0 130px 26px rgba(0, 0, 0, 0.52);
  mix-blend-mode: screen;
  animation: screen-shift 9s steps(2, end) infinite;
}

.screen-filter::before,
.screen-filter::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.screen-filter::before {
  inset: 0;
  opacity: 0.14;
  background:
    radial-gradient(circle at 13% 22%, white 0 0.5px, transparent 1px),
    radial-gradient(circle at 72% 34%, white 0 0.5px, transparent 1px),
    radial-gradient(circle at 44% 76%, white 0 0.5px, transparent 1px),
    radial-gradient(circle at 89% 64%, white 0 0.5px, transparent 1px);
  background-size: 61px 53px, 79px 67px, 47px 83px, 71px 59px;
}

.screen-filter::after {
  top: -20%;
  bottom: -20%;
  left: 50%;
  width: 1px;
  transform: rotate(13deg);
  background: rgba(214, 229, 239, 0.14);
  box-shadow: 46px 0 rgba(214, 229, 239, 0.045), -219px 0 rgba(214, 229, 239, 0.035);
}

@keyframes screen-shift {
  0%, 100% { transform: translate(0); opacity: 0.3; }
  45% { transform: translate(0.4px, -0.3px); opacity: 0.35; }
  46% { transform: translate(-0.3px, 0.4px); opacity: 0.28; }
}

.lightning-flash {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 13%, rgba(255, 255, 255, 0.95), rgba(178, 213, 255, 0.52) 14%, transparent 42%),
    rgba(153, 196, 242, 0.2);
  mix-blend-mode: screen;
  animation: lightning 10.5s infinite;
}

@keyframes lightning {
  0%, 72%, 73.5%, 75.2%, 100% { opacity: 0; }
  72.25% { opacity: 0.62; }
  72.5% { opacity: 0.08; }
  72.85% { opacity: 0.38; }
  74.4% { opacity: 0.15; }
}

.pumpkin-light-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  translate: 0 var(--hero-parallax);
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: filter, opacity, transform;
  animation: backdrop-drift 18s ease-in-out infinite alternate;
}

.pumpkin-light-bloom {
  opacity: 0.18;
  filter:
    blur(18px)
    saturate(1.42)
    brightness(1.04)
    drop-shadow(0 0 13px rgba(255, 132, 39, 0.32))
    drop-shadow(0 0 34px rgba(238, 92, 13, 0.16));
  animation:
    backdrop-drift 18s ease-in-out infinite alternate,
    pumpkin-bloom 3.4s ease-in-out infinite;
}

.pumpkin-light-core {
  z-index: 3;
  opacity: 0.24;
  filter:
    blur(0.8px)
    saturate(1.18)
    brightness(1.02)
    drop-shadow(0 0 4px rgba(255, 220, 123, 0.38))
    drop-shadow(0 0 13px rgba(255, 137, 36, 0.28));
  animation:
    backdrop-drift 18s ease-in-out infinite alternate,
    pumpkin-core 2.15s steps(8, end) infinite;
}

@keyframes pumpkin-bloom {
  0%, 100% { opacity: 0.12; filter: blur(20px) saturate(1.32) brightness(0.98) drop-shadow(0 0 12px rgba(255, 132, 39, 0.22)) drop-shadow(0 0 30px rgba(238, 92, 13, 0.11)); }
  36% { opacity: 0.28; filter: blur(17px) saturate(1.48) brightness(1.12) drop-shadow(0 0 17px rgba(255, 149, 47, 0.38)) drop-shadow(0 0 40px rgba(238, 92, 13, 0.2)); }
  58% { opacity: 0.19; filter: blur(19px) saturate(1.4) brightness(1.04) drop-shadow(0 0 14px rgba(255, 132, 31, 0.3)) drop-shadow(0 0 34px rgba(238, 92, 13, 0.15)); }
  76% { opacity: 0.32; filter: blur(16px) saturate(1.52) brightness(1.16) drop-shadow(0 0 19px rgba(255, 164, 61, 0.42)) drop-shadow(0 0 44px rgba(238, 92, 13, 0.22)); }
}

@keyframes pumpkin-core {
  0%, 100% { opacity: 0.18; filter: blur(1px) saturate(1.12) brightness(0.98) drop-shadow(0 0 4px rgba(255, 220, 123, 0.25)) drop-shadow(0 0 11px rgba(255, 137, 36, 0.2)); }
  21% { opacity: 0.34; filter: blur(0.7px) saturate(1.25) brightness(1.12) drop-shadow(0 0 5px rgba(255, 231, 148, 0.48)) drop-shadow(0 0 15px rgba(255, 149, 43, 0.36)); }
  29% { opacity: 0.23; }
  63% { opacity: 0.4; filter: blur(0.6px) saturate(1.3) brightness(1.16) drop-shadow(0 0 6px rgba(255, 236, 161, 0.54)) drop-shadow(0 0 17px rgba(255, 154, 48, 0.4)); }
  71% { opacity: 0.26; }
}

.particle-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.ember {
  position: absolute;
  bottom: var(--y);
  left: var(--x);
  width: var(--size);
  height: var(--height);
  border-radius: 50%;
  background: var(--ember-color);
  box-shadow: 0 0 var(--glow) var(--ember-color), 0 0 var(--glow-wide) rgba(255, 119, 31, 0.22);
  filter: blur(var(--blur)) saturate(1.12);
  opacity: 0;
  mix-blend-mode: screen;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  animation: ember-rise var(--duration) linear var(--delay) infinite;
}

.ember-far {
  mix-blend-mode: lighten;
}

.ember-near {
  box-shadow: 0 0 var(--glow) var(--ember-color), 0 0 var(--glow-wide) rgba(255, 106, 22, 0.3);
}

.ember-streak {
  border-radius: 60% 60% 45% 45%;
}

.ember-streak::after {
  position: absolute;
  top: 72%;
  left: 50%;
  width: 52%;
  height: 230%;
  content: "";
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ember-color), transparent 82%);
  opacity: 0.28;
  filter: blur(0.7px);
}

@keyframes ember-rise {
  0% { transform: translate3d(0, 24px, 0) rotate(var(--rotation)) scale(0.42); opacity: 0; }
  9% { opacity: var(--opacity); }
  48% { transform: translate3d(var(--drift-mid), var(--rise-mid), 0) rotate(var(--rotation-mid)) scale(0.92); opacity: var(--mid-opacity); }
  77% { opacity: var(--opacity); }
  100% { transform: translate3d(var(--drift), var(--rise-end), 0) rotate(var(--rotation-end)) scale(0.18); opacity: 0; }
}

.bat-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.bat {
  position: absolute;
  display: block;
  width: 42px;
  height: 22px;
  opacity: 0;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.7));
  will-change: transform, opacity;
}

.bat-body {
  position: absolute;
  top: 7px;
  left: 18px;
  z-index: 2;
  width: 7px;
  height: 13px;
  border-radius: 52% 52% 65% 65%;
  background: #020407;
  box-shadow: inset 0 0 3px rgba(100, 141, 176, 0.3);
}

.bat-body::before,
.bat-body::after {
  position: absolute;
  top: -3px;
  width: 4px;
  height: 5px;
  content: "";
  background: #020407;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.bat-body::before { left: 0; }
.bat-body::after { right: 0; }

.bat-wing {
  position: absolute;
  top: 3px;
  width: 22px;
  height: 17px;
  background: #020407;
  will-change: transform;
}

.bat-wing-left {
  left: 0;
  clip-path: polygon(100% 34%, 74% 5%, 65% 34%, 28% 0, 40% 43%, 0 31%, 34% 100%, 68% 68%, 100% 82%);
  transform-origin: right center;
  animation: bat-flap-left 0.48s ease-in-out infinite alternate;
}

.bat-wing-right {
  right: 0;
  clip-path: polygon(0 34%, 26% 5%, 35% 34%, 72% 0, 60% 43%, 100% 31%, 66% 100%, 32% 68%, 0 82%);
  transform-origin: left center;
  animation: bat-flap-right 0.48s ease-in-out infinite alternate;
}

@keyframes bat-flap-left {
  from { transform: rotate(-9deg) scaleY(1); }
  to { transform: rotate(16deg) scaleY(0.42); }
}

@keyframes bat-flap-right {
  from { transform: rotate(9deg) scaleY(1); }
  to { transform: rotate(-16deg) scaleY(0.42); }
}

.bat-one {
  top: 18%;
  left: -6%;
  animation: bat-flight-one 16s ease-in-out 1s infinite;
}

.bat-two {
  top: 30%;
  left: -8%;
  scale: 0.78;
  animation: bat-flight-two 20s ease-in-out 7s infinite;
}

.bat-three {
  top: 13%;
  right: -7%;
  scale: 0.86;
  animation: bat-flight-three 23s ease-in-out 11s infinite;
}

.bat-four {
  top: 24%;
  left: -7%;
  scale: 0.66;
  animation: bat-flight-two 26s ease-in-out 15s infinite;
}

@keyframes bat-flight-one {
  0% { transform: translate3d(0, 24px, 0) rotate(-7deg) scale(0.8); opacity: 0; }
  10%, 84% { opacity: 0.72; }
  38% { transform: translate3d(44vw, -16px, 0) rotate(5deg) scale(0.92); }
  68% { transform: translate3d(82vw, 25px, 0) rotate(-4deg) scale(1); }
  100% { transform: translate3d(112vw, -18px, 0) rotate(6deg) scale(0.84); opacity: 0; }
}

@keyframes bat-flight-two {
  0% { transform: translate3d(0, -8px, 0) rotate(4deg) scale(0.76); opacity: 0; }
  12%, 80% { opacity: 0.5; }
  48% { transform: translate3d(60vw, 31px, 0) rotate(-7deg) scale(0.92); }
  100% { transform: translate3d(116vw, -38px, 0) rotate(4deg) scale(0.72); opacity: 0; }
}

@keyframes bat-flight-three {
  0% { transform: translate3d(0, 15px, 0) rotate(-3deg) scaleX(-1) scale(0.74); opacity: 0; }
  12%, 82% { opacity: 0.56; }
  50% { transform: translate3d(-58vw, 42px, 0) rotate(8deg) scaleX(-1) scale(0.88); }
  100% { transform: translate3d(-112vw, -18px, 0) rotate(-5deg) scaleX(-1) scale(0.78); opacity: 0; }
}

.hero-copy {
  position: absolute;
  top: 20%;
  left: 50%;
  z-index: 7;
  width: min(1080px, calc(100% - 48px));
  transform: translateX(-50%);
  text-align: center;
}

.section-label {
  margin: 0 0 13px;
  color: var(--orange-bright);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.3em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-family: "Quadrat Grotesk", "Archivo Black", "Prime Display", Impact, sans-serif;
  font-size: clamp(5.23rem, 7.25vw, 7.74rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 0.94;
  white-space: nowrap;
  text-transform: lowercase;
  text-shadow: none;
}

.hero-intro {
  width: fit-content;
  max-width: min(860px, calc(100% - 24px));
  margin: 72px auto 0;
  padding: 0;
  color: #f2ede4;
  font-family: "Prime Text", Arial, sans-serif;
  font-size: clamp(0.95rem, 1.17vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.012em;
  line-height: 1.5;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.85), 0 4px 14px rgba(0, 0, 0, 0.9);
}

.hero-intro span {
  display: block;
}

.hero-intro strong {
  color: #ffb23f;
  font-weight: inherit;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.85), 0 4px 14px rgba(0, 0, 0, 0.9), 0 0 16px rgba(244, 116, 28, 0.35);
}

.launcher-button {
  position: relative;
  display: grid;
  cursor: pointer;
  font-family: inherit;
  width: min(270px, 100%);
  min-height: 74px;
  place-items: center;
  margin: 28px auto 0;
  overflow: hidden;
  border: 1.5px solid rgba(243, 128, 26, 0.95);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(243, 120, 20, 0.22), transparent 60%),
    linear-gradient(180deg, #232c3a 0%, #121923 55%, #0b1017 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 0 18px rgba(243, 120, 20, 0.45),
    0 0 40px rgba(243, 120, 20, 0.18),
    0 14px 30px rgba(0, 0, 0, 0.55),
    inset 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -10px 20px rgba(243, 120, 20, 0.12);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 110ms ease;
}

.launcher-button::before {
  display: none;
}

.launcher-button::after {
  display: none;
}

.launcher-button strong {
  position: relative;
  z-index: 1;
  color: #f2891f;
  font-family: "Prime Halloween", "Prime Display", Impact, sans-serif;
  font-size: 2.43rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.9), 0 0 14px rgba(243, 120, 20, 0.35);
  transition: color 180ms ease, text-shadow 180ms ease;
}

.launcher-button:hover {
  transform: translateY(-2px);
  border-color: #ffb144;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(243, 120, 20, 0.34), transparent 62%),
    linear-gradient(180deg, #2a3443 0%, #161e2a 55%, #0d121a 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 0 26px rgba(255, 151, 40, 0.6),
    0 0 60px rgba(231, 96, 9, 0.25),
    0 16px 34px rgba(0, 0, 0, 0.6),
    inset 0 1px rgba(255, 255, 255, 0.1),
    inset 0 -12px 22px rgba(243, 120, 20, 0.16);
}

.launcher-button:hover strong {
  color: #ffa53a;
  text-shadow:
    0 0 5px rgba(255, 241, 180, 0.98),
    0 0 14px rgba(255, 176, 50, 0.95),
    0 0 28px rgba(241, 96, 15, 0.72);
  animation: candle-word-glow 900ms ease-in-out infinite alternate;
}

.launcher-button:active {
  transform: translateY(2px);
  box-shadow: 0 0 12px rgba(243, 120, 20, 0.35), inset 0 3px 9px rgba(0, 0, 0, 0.6);
}

@keyframes candle-word-glow {
  from { filter: brightness(0.96); }
  to { filter: brightness(1.16); }
}

@keyframes play-button-glow {
  from { box-shadow: 0 3px 0 rgba(76, 20, 4, 0.9), 0 20px 38px rgba(0, 0, 0, 0.56), 0 0 20px rgba(245, 132, 35, 0.34), 0 0 48px rgba(231, 89, 18, 0.15), inset 0 1px rgba(255, 248, 220, 0.48), inset 0 -20px 32px rgba(101, 19, 4, 0.27); }
  to { box-shadow: 0 3px 0 rgba(76, 20, 4, 0.9), 0 20px 38px rgba(0, 0, 0, 0.56), 0 0 30px rgba(255, 151, 50, 0.5), 0 0 68px rgba(231, 89, 18, 0.24), inset 0 1px rgba(255, 248, 220, 0.54), inset 0 -22px 35px rgba(119, 24, 5, 0.34); }
}

@keyframes pumpkin-melt {
  from { background-position: 12% 8%, 86% 92%, 50% 100%, center; }
  to { background-position: 30% 22%, 67% 71%, 58% 82%, center; }
}

.news-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 5 / 3.2;
  border: 1px solid rgba(184, 207, 224, 0.2);
  border-radius: 9px;
  background: #09101a;
  box-shadow: 0 17px 32px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 154, 50, 0.72);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.54), 0 0 22px rgba(245, 132, 35, 0.09);
}

.news-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 240ms ease;
}

.news-card:hover > img {
  transform: scale(1.04);
  filter: brightness(1.06);
}

.card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 28%, rgba(3, 7, 12, 0.1) 46%, rgba(3, 7, 12, 0.95) 100%);
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 5px;
  background: var(--orange);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.32);
  color: #211004;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.card-copy {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.card-copy time,
.card-copy > span {
  color: var(--orange-bright);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.card-copy strong {
  margin-top: 4px;
  overflow: hidden;
  font-size: 1.28rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-section {
  --news-lift: 180px;
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: 100%;
  margin-top: calc(-1 * var(--news-lift));
  margin-right: 0;
  margin-left: 0;
  padding-block: 0 150px;
  overflow-x: clip;
}

.news-section::before {
  position: absolute;
  top: 90px;
  left: 50%;
  z-index: -1;
  width: 160vw;
  height: 440px;
  content: "";
  transform: translateX(-50%);
  background:
    linear-gradient(112deg, transparent 45%, rgba(213, 225, 233, 0.065) 48.6%, rgba(3, 7, 11, 0.22) 49.4%, transparent 52.5%) 8% 6% / 290px 150px no-repeat,
    linear-gradient(69deg, transparent 45%, rgba(5, 9, 13, 0.28) 48.5%, rgba(210, 223, 232, 0.036) 49.5%, transparent 53%) 91% 18% / 230px 340px no-repeat,
    linear-gradient(123deg, transparent 45%, rgba(211, 224, 233, 0.052) 48.8%, transparent 52%) 31% 61% / 410px 120px no-repeat,
    linear-gradient(81deg, transparent 44%, rgba(4, 8, 12, 0.31) 48.7%, rgba(214, 226, 234, 0.026) 49.7%, transparent 53%) 67% 77% / 270px 290px no-repeat,
    radial-gradient(ellipse at 12% 40%, rgba(234, 117, 31, 0.09), transparent 31%),
    radial-gradient(ellipse at 78% 38%, rgba(98, 160, 205, 0.09), transparent 38%),
    rgba(4, 11, 18, 0.1);
  -webkit-backdrop-filter: blur(28px) saturate(0.72);
  backdrop-filter: blur(28px) saturate(0.72);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 73%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 73%, transparent 100%);
  pointer-events: none;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.section-heading h2,
.game-copy h2,
.links-section h2 {
  margin: 0;
  font-family: "Prime Text", Arial, sans-serif;
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-transform: uppercase;
}

.news-section .section-heading h2 {
  font-family: "Prime Text", Arial, sans-serif;
  font-size: clamp(2rem, 2.9vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.news-controls {
  display: flex;
  gap: 7px;
}

.news-controls button {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #08101a;
  color: #a8b5bf;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.news-controls button:hover {
  transform: scale(1.08);
  border-color: rgba(245, 154, 50, 0.68);
  background: #1e1510;
  color: var(--orange-bright);
}

.news-grid {
  display: grid;
  width: min(1350px, calc(100vw - 96px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-inline: auto;
}

.news-section .section-heading {
  width: calc(100vw - 96px);
  margin-inline: auto;
}

/* Desktop shows one clean row of three tiles; the fourth only appears in the
   2-up tablet grid and the horizontal mobile strip. */
@media (min-width: 981px) {
  .news-grid > .news-card:nth-child(n + 4) {
    display: none;
  }
}

.news-card-logo > img {
  filter: saturate(0.7) brightness(0.8);
}

.news-card-season {
  background:
    radial-gradient(circle at 12% 10%, rgba(77, 127, 171, 0.22), transparent 10rem),
    linear-gradient(135deg, #0d1b2a, #080d14);
}

.season-number {
  position: absolute;
  top: -22px;
  right: 18px;
  color: rgba(247, 166, 77, 0.13);
  font-family: "Prime Display", Impact, sans-serif;
  font-size: 11rem;
  line-height: 1;
}

.game-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
  padding-block: 80px 130px;
}

.game-art {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(179, 201, 217, 0.22);
  border-radius: 6px;
  background: #060b11;
  box-shadow:
    0 35px 66px rgba(0, 0, 0, 0.55),
    22px 0 46px rgba(118, 126, 134, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.04);
}

.game-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 50%, rgba(18, 25, 33, 0.14) 74%, rgba(57, 64, 70, 0.16) 100%),
    linear-gradient(108deg, transparent 45%, rgba(223, 231, 236, 0.05) 48.8%, rgba(3, 6, 9, 0.2) 49.7%, transparent 53%) 13% 22% / 270px 130px no-repeat,
    linear-gradient(72deg, transparent 45%, rgba(213, 225, 233, 0.032) 48.8%, transparent 52%) 81% 76% / 180px 290px no-repeat;
  box-shadow: inset -35px 0 50px rgba(111, 118, 125, 0.08);
}

.game-art img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.game-copy > p:not(.section-label) {
  max-width: 560px;
  margin: 22px 0 0;
  color: #c3cfd8;
  font-size: 1.2rem;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--orange-bright);
  font-size: 0.95rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link span {
  font-size: 1.25rem;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.links-section {
  position: relative;
  isolation: isolate;
  padding-block: 26px 130px;
}

.links-section::before {
  display: none;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.destination-card {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(44, 72, 97, 0.11), transparent 52%), var(--panel);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.destination-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  transform: translateY(102%);
  background: linear-gradient(180deg, transparent 12%, rgba(239, 133, 35, 0.04) 54%, rgba(239, 133, 35, 0.19) 100%);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.destination-card::after {
  position: absolute;
  right: 28px;
  bottom: 0;
  left: 28px;
  height: 3px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(245, 154, 50, 0.48);
  transition: transform 300ms ease;
}

.destination-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 154, 50, 0.54);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.055);
}

.destination-card:hover::before {
  transform: translateY(0);
}

.destination-card:hover::after {
  transform: scaleX(1);
}

.tournament-art {
  position: absolute;
  top: 18px;
  right: 18px;
  left: auto;
  z-index: 1;
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.42));
  transition: transform 220ms ease, filter 220ms ease;
}

.destination-card:hover .tournament-art {
  transform: translateY(-3px) scale(1.035);
  filter: drop-shadow(0 13px 17px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 12px rgba(250, 153, 43, 0.16));
}

.destination-wide {
  grid-column: span 2;
}

.destination-accent {
  background:
    radial-gradient(circle at 100% 0, rgba(245, 145, 48, 0.12), transparent 14rem),
    linear-gradient(145deg, rgba(44, 72, 97, 0.11), transparent 52%),
    var(--panel);
}

.destination-number,
.destination-text,
.destination-open {
  position: relative;
  z-index: 1;
}

.destination-number {
  align-self: flex-end;
  color: rgba(177, 198, 214, 0.25);
  font-family: "Prime Display", Impact, sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.destination-card:hover .destination-number {
  transform: translateY(2px);
  color: rgba(255, 185, 93, 0.58);
}

.destination-text {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.destination-text small,
.destination-open {
  align-self: flex-end;
  margin-top: 14px;
  color: var(--orange-bright);
  font-size: 0.86rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.destination-text strong {
  margin: 0 0 10px;
  font-family: "Prime Text", Arial, sans-serif;
  font-size: clamp(1.9rem, 2.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.destination-text > span {
  max-width: 340px;
  padding-right: 64px;
  color: #b7c4ce;
  font-size: 1.08rem;
  line-height: 1.45;
}

.destination-open {
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: rgba(203, 215, 224, 0.55);
  transition: color 180ms ease, transform 180ms ease;
}

.destination-card:hover .destination-open {
  transform: translateX(4px);
  color: var(--orange-bright);
}

.site-footer {
  margin-top: -140px;
  padding: 204px 0 28px;
  border-top: 0;
  background:
    radial-gradient(circle at 17% 24%, rgba(232, 119, 33, 0.055), transparent 25rem),
    radial-gradient(circle at 82% 30%, rgba(78, 139, 186, 0.07), transparent 28rem),
    linear-gradient(180deg, transparent 0, rgba(3, 9, 15, 0.22) 24%, rgba(3, 8, 14, 0.7) 58%, rgba(3, 8, 14, 0.94) 100%);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 54px;
  align-items: start;
  padding-bottom: 42px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.footer-brand span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1;
}

.footer-brand b {
  font-family: "Prime Text", Arial, sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.footer-brand small {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links,
.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 22px;
}

.footer-links a,
.social-links a,
.social-links span {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
  border-bottom: 1px solid rgba(174, 201, 222, 0.1);
  color: #a6b4be;
  font-size: 0.98rem;
  font-weight: 700;
  transition: color 150ms ease, padding-left 180ms ease;
}

.footer-links a::after,
.social-links a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  transform: translateX(-102%);
  background: var(--orange);
  transition: transform 240ms ease;
}

.footer-links a:hover,
.social-links a:hover {
  padding-left: 5px;
  color: var(--orange-bright);
}

.footer-links a:hover::after,
.social-links a:hover::after {
  transform: translateX(0);
}

.social-links span {
  color: rgba(161, 178, 190, 0.38);
  cursor: not-allowed;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: rgba(163, 181, 194, 0.45);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  :root {
    --gutter: 20px;
    --shell: min(100% - 40px, 900px);
  }

  html {
    scroll-padding-top: 76px;
  }

  .news-section {
    margin-left: 0;
  }

  /* Sticky, solid header with a full-screen menu sheet */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    height: 64px;
    padding-inline: var(--gutter);
    grid-template-columns: 1fr auto;
    border-bottom: 1px solid rgba(196, 215, 231, 0.14);
    background: rgba(4, 9, 15, 0.96);
  }

  .site-header::after {
    display: none;
  }

  .wordmark {
    font-size: 0.82rem;
    letter-spacing: 0.3em;
  }

  .menu-toggle {
    display: inline-flex;
    min-width: 88px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(243, 128, 26, 0.75);
    border-radius: 8px;
    background: rgba(7, 13, 20, 0.9);
    color: var(--orange-bright);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 820;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .site-navigation {
    position: fixed;
    z-index: 39;
    display: none;
    inset: 64px 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: rgba(3, 8, 14, 0.97);
  }

  .site-navigation.is-open {
    display: flex;
  }

  .site-navigation a {
    display: flex;
    height: auto;
    min-height: 60px;
    align-items: center;
    padding: 0 6px;
    border-bottom: 1px solid rgba(180, 208, 229, 0.12);
    font-size: 1.15rem;
    letter-spacing: 0.06em;
  }

  .site-navigation a::after {
    display: none;
  }

  .site-navigation a:last-child {
    color: var(--orange-bright);
  }

  .launcher-hero {
    min-height: max(640px, calc(100svh - 64px));
  }

  .world-continuation {
    top: calc(max(640px, 100svh - 64px) - 310px);
  }

  .hero-copy h1 {
    white-space: normal;
    text-wrap: balance;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-section {
    grid-template-columns: 1fr;
  }

  .game-copy {
    max-width: 650px;
  }

  .destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .destination-wide {
    grid-column: span 2;
  }

  .destination-card {
    min-height: 180px;
    padding: 22px;
  }

  .tournament-art {
    width: 64px;
    height: 64px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: max(18px, env(safe-area-inset-left), env(safe-area-inset-right));
    --shell: calc(100% - 2 * var(--gutter));
  }

  h1, h2, h3, p {
    overflow-wrap: anywhere;
  }

  /* ---- Hero: laid out in flow, centred, Play inside the first screen ---- */
  .launcher-hero {
    display: flex;
    min-height: calc(100svh - 64px);
    flex-direction: column;
    justify-content: center;
    padding: 28px var(--gutter) 150px;
  }

  .launcher-backdrop,
  .pumpkin-light-art {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(2, 6, 10, 0.66) 0%, rgba(2, 6, 10, 0.06) 21%, rgba(2, 6, 10, 0.2) 47%, rgba(4, 11, 18, 0.56) 78%, rgba(5, 13, 22, 0.68) 100%),
      linear-gradient(90deg, rgba(2, 6, 10, 0.5), transparent 66%, rgba(2, 6, 10, 0.42));
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    transform: none;
  }

  .hero-copy h1 {
    font-size: clamp(3.3rem, 16.5vw, 4.6rem);
    letter-spacing: -0.01em;
    line-height: 0.9;
  }

  .hero-intro {
    max-width: 34ch;
    margin: 22px auto 0;
    color: #d8dfe6;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .hero-intro span {
    display: inline;
  }

  .hero-intro span::after {
    content: " ";
  }

  .hero-intro span:last-child {
    display: block;
    margin-top: 10px;
    color: #ffffff;
    font-size: 1rem;
  }

  .launcher-button {
    width: min(280px, 100%);
    min-height: 64px;
    margin-top: 24px;
  }

  .launcher-button strong {
    font-size: 2rem;
  }

  .bat-three,
  .bat-four,
  .pumpkin-light-bloom {
    display: none;
  }

  /* ---- News: swipe strip with a peek of the next tile ---- */
  .news-section {
    --news-lift: 96px;
    margin-left: 0;
    padding-block: 0 64px;
  }

  .news-section .section-heading {
    width: var(--shell);
    margin-bottom: 18px;
  }

  .news-section .section-heading h2 {
    font-size: 1.6rem;
  }

  .news-controls {
    display: none;
  }

  .news-grid {
    display: grid;
    width: 100%;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 320px);
    grid-template-columns: none;
    gap: 14px;
    margin: 0;
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .news-grid::-webkit-scrollbar {
    display: none;
  }

  .news-card {
    scroll-snap-align: start;
  }

  .card-copy strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 1.05rem;
    line-height: 1.25;
    white-space: normal;
  }

  /* ---- Section titles ---- */
  .section-heading h2,
  .game-copy h2,
  .links-section h2 {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
  }

  /* ---- Built by names you remember ---- */
  .game-section {
    gap: 26px;
    padding-block: 40px 56px;
  }

  .game-art,
  .game-art img {
    height: 180px;
    min-height: 0;
  }

  .game-art img {
    padding: 12px;
    object-fit: contain;
  }

  .game-copy p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* ---- Explore: compact rows instead of tall boxes ---- */
  .links-section {
    padding-bottom: 64px;
  }

  .destination-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .destination-wide {
    grid-column: auto;
  }

  .destination-card {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 14px;
    padding: 16px 18px;
  }

  .destination-text {
    margin-top: 0;
  }

  .destination-text strong {
    margin: 0 0 3px;
    font-size: 1.2rem;
  }

  .destination-text > span {
    max-width: none;
    padding-right: 0;
    font-size: 0.86rem;
    line-height: 1.4;
  }

  .destination-open {
    position: static;
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    margin-top: 0;
    font-size: 0.74rem;
  }

  .tournament-art {
    display: none;
  }

  .destination-card.is-disabled {
    filter: grayscale(1) brightness(0.72);
  }

  /* ---- Footer ---- */
  .site-footer {
    padding-top: 170px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-links,
  .social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
  }

  .footer-links a,
  .social-links a {
    display: flex;
    min-height: 46px;
    align-items: center;
  }

  .social-links span {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .bat-layer,
  .particle-layer,
  .lightning-flash {
    display: none;
  }
}


/* ---- Waitlist form (lives inside the Play modal) ---------------------- */












.notify-form .field {
  margin-bottom: 14px;
}

.notify-form label {
  display: block;
  margin-bottom: 6px;
  color: #93a3ae;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.notify-form input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(4, 9, 15, 0.8);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.notify-form input:focus {
  border-color: rgba(243, 128, 26, 0.8);
  box-shadow: 0 0 0 3px rgba(243, 120, 20, 0.16);
  outline: none;
}

.notify-form .cf-turnstile {
  margin: 16px 0 6px;
}

.wl-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 15px 20px;
  border: 1.5px solid rgba(243, 128, 26, 0.95);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(243, 120, 20, 0.22), transparent 60%),
    linear-gradient(180deg, #232c3a 0%, #121923 55%, #0b1017 100%);
  box-shadow: 0 0 16px rgba(243, 120, 20, 0.35), 0 12px 26px rgba(0, 0, 0, 0.5);
  color: #f2891f;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 110ms ease;
}

.wl-btn:hover {
  border-color: #ffb144;
  box-shadow: 0 0 26px rgba(255, 151, 40, 0.55), 0 14px 30px rgba(0, 0, 0, 0.55);
  transform: translateY(-2px);
}

.wl-btn:disabled {
  cursor: default;
  opacity: 0.6;
  transform: none;
}

.wl-btn .btn-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wl-btn b {
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.wl-btn small {
  color: #93a3ae;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.wl-btn svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wl-message {
  margin-top: 12px;
  font-size: 0.94rem;
  line-height: 1.45;
}

.wl-message.is-ok { color: #6fdc9a; }
.wl-message.is-err { color: #ff8f7a; }

.wl-fine {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 16px 0 0;
  color: #7f8f9b;
  font-size: 0.82rem;
  line-height: 1.4;
}

.wl-fine svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

/* ---- Play modal ------------------------------------------------------- */
.pt-modal {
  position: fixed;
  z-index: 90;
  display: grid;
  inset: 0;
  padding: 24px;
  overflow-y: auto;
  place-items: safe center;
}

.pt-modal[hidden] {
  display: none;
}

.pt-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 11, 0.78);
  backdrop-filter: blur(4px);
  animation: pt-modal-fade 200ms ease;
}

.pt-modal-card {
  position: relative;
  width: min(520px, 100%);
  padding: 34px 34px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 32, 46, 0.98), rgba(7, 13, 21, 0.98));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(243, 120, 20, 0.12);
  animation: pt-modal-rise 240ms cubic-bezier(0.2, 0.8, 0.3, 1);
}

.pt-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(4, 9, 15, 0.7);
  color: #93a3ae;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  transition: color 150ms ease, border-color 150ms ease;
}

.pt-modal-close:hover {
  border-color: rgba(243, 128, 26, 0.7);
  color: #f2891f;
}

.pt-modal-card h2 {
  margin: 12px 0 6px;
  font-family: "Prime Text", Arial, sans-serif;
  font-size: 2.15rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

/* The line under the popup title: same weight as the title, in the accent colour. */
.pt-modal-sub {
  margin: 0 0 14px;
  color: var(--orange-bright);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.pt-modal-lead {
  margin: 0 0 24px;
  color: #d5dde5;
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.6;
}

.pt-modal-lead strong {
  color: var(--orange-bright);
  font-weight: 800;
}

@keyframes pt-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pt-modal-rise {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}


/* A destination that is not open yet: reads as inactive, greys out on hover. */
.destination-card.is-disabled {
  /* No cursor change (owner call 2026-09-06): the card just does not react. */
  cursor: default;
}

.destination-card.is-disabled:hover {
  border-color: var(--line);
  transform: none;
  filter: grayscale(1) brightness(0.7);
}

.destination-card.is-disabled:hover .destination-open,
.destination-card.is-disabled .destination-open {
  color: #7d8993;
}

/* ---- Touch devices: drop the effects a phone GPU pays for, and hover states ---- */
@media (hover: none) and (pointer: coarse) {
  body::before,
  .world-continuation,
  .lightning-flash {
    display: none;
  }

  .launcher-backdrop,
  .pumpkin-light-art {
    animation: none;
  }

  .pumpkin-light-core {
    filter: none;
    will-change: auto;
  }

  .news-section::before {
    background-color: rgba(4, 11, 18, 0.35);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .news-card:hover,
  .destination-card:hover,
  .launcher-button:hover,
  .wl-btn:hover {
    transform: none;
  }

  .launcher-button:hover strong {
    animation: none;
  }

  .destination-card:hover::before {
    transform: translateY(102%);
  }

  .destination-card.is-disabled,
  .destination-card.is-disabled:hover {
    filter: grayscale(1) brightness(0.72);
  }
}

/* ---- Phone: the Play popup becomes a bottom sheet (must stay after the base modal rules) ---- */
@media (max-width: 700px) {
  .pt-modal {
    padding: 0;
    align-items: end;
  }

  .pt-modal-card {
    width: 100%;
    max-height: 92svh;
    padding: 26px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 18px 18px 0 0;
  }

  .pt-modal-card h2 {
    font-size: 1.5rem;
  }

  .pt-modal-lead {
    margin-bottom: 20px;
    font-size: 0.94rem;
  }

  .notify-form input {
    min-height: 48px;
    font-size: 16px;
  }

  .wl-btn {
    min-height: 58px;
  }
}

@media (max-width: 380px) {
  .cf-turnstile {
    transform: scale(0.9);
    transform-origin: left center;
  }
}

/* ---- Ratings card art (2026-09-05): the leaderboard render behind scratched glass.
   The scratches are a transparent texture (assets/scratches.webp, drawn by hand in
   Python: hairlines, long streaks, nicks and dust) laid over the picture with a screen
   blend. The card already clips (overflow: hidden) and its text sits at z-index 1, so
   every layer here stays underneath the words. ---- */
.destination-ratings {
  background: #070d15;
}

.ratings-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 0;
  transform: scale(1.12);
  transform-origin: 50% 0;
  filter: saturate(0.92) contrast(1.06);
  pointer-events: none;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ratings-screen {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    /* the shade the card text reads against */
    linear-gradient(180deg, rgba(6, 12, 20, 0.08), rgba(6, 12, 20, 0.42) 58%, rgba(6, 12, 20, 0.92) 100%),
    linear-gradient(90deg, rgba(6, 12, 20, 0.7), rgba(6, 12, 20, 0.18) 45%, transparent 70%);
}

.ratings-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  background: url("assets/scratches.webp") center / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.21;
}

/* The card's words sit dead centre so the left of the picture stays visible
   (owner call 2026-09-06). Only this card: the others keep the bottom-left stack.
   The Open marker leaves the flow, or it would drag the block off centre. */
.destination-ratings {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.destination-ratings .destination-text {
  align-items: center;
  margin: 0;
}

.destination-ratings .destination-text > span {
  /* Two lines at desktop width: the copy is written to break there. */
  max-width: 40ch;
  padding-right: 0;
  text-wrap: balance;
}

.destination-ratings .destination-open {
  position: absolute;
  right: 28px;
  bottom: 22px;
  margin-top: 0;
}

@media (hover: hover) and (pointer: fine) {
  .destination-ratings:hover .ratings-art {
    transform: scale(1.18);
  }
}

@media (max-width: 700px) {
  .ratings-art {
    opacity: 0.8;
  }

  .ratings-screen::after {
    opacity: 0.16;
  }

  /* The phone row is one compact line: keep the shared left-aligned layout. */
  .destination-ratings {
    align-items: stretch;
    text-align: left;
  }

  .destination-ratings .destination-text {
    align-items: flex-start;
  }

  .destination-ratings .destination-open {
    position: static;
  }
}

/* ---- Waitlist popup stages (2026-09-06): form, confirm-your-email, already on the list ---- */
.wl-stage[hidden],
.wl-btn[hidden],
.wl-note[hidden] {
  /* the buttons set display: flex, which would otherwise beat the hidden attribute */
  display: none !important;
}

.wl-sent-email {
  color: #ffffff;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.wl-steps {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.wl-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: #d5dde5;
  font-size: 0.98rem;
  line-height: 1.45;
}

.wl-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.wl-steps li > span {
  display: inline-flex;
  width: 26px;
  height: 26px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 128, 26, 0.75);
  border-radius: 8px;
  color: var(--orange-bright);
  font-size: 0.8rem;
  font-weight: 900;
}

.wl-steps li > div {
  flex: 1;
  min-width: 0;
}

.wl-steps b {
  color: #ffffff;
}

.wl-note {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 176, 50, 0.35);
  border-radius: 10px;
  background: rgba(243, 120, 20, 0.08);
  color: #ffd39a;
  font-size: 0.92rem;
  line-height: 1.45;
}

.wl-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wl-actions .wl-btn {
  margin-top: 0;
  text-decoration: none;
}

.wl-btn-secondary {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(4, 9, 15, 0.6);
  color: #e6edf3;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease;
}

.wl-btn-secondary:hover {
  border-color: rgba(243, 128, 26, 0.7);
  color: var(--orange-bright);
}

.wl-btn-secondary:disabled {
  cursor: default;
  opacity: 0.55;
}

.wl-link {
  padding: 0;
  border: 0;
  background: none;
  color: #9fb0bf;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wl-link:hover {
  color: var(--orange-bright);
}

@media (max-width: 700px) {
  .pt-modal-card h2 {
    font-size: 1.7rem;
  }

  .pt-modal-lead {
    font-size: 1rem;
  }
}
