@font-face {
  font-family: "Marcellus";
  src: url("fonts/Marcellus-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f7f4ff;
  --muted: #b9b7ca;
  --night: #060917;
  --night-soft: #0c1229;
  --panel: rgba(15, 22, 48, 0.76);
  --panel-solid: #111936;
  --line: rgba(207, 216, 255, 0.16);
  --gold: #ffd889;
  --gold-strong: #ffbe4b;
  --cyan: #79e9ff;
  --coral: #ff9da7;
  --violet: #9b8cff;
  --success: #91f2c4;
  --danger: #ffaaa8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --content: 1180px;
  --header-height: 76px;
  --font-display: "Marcellus", "Palatino Linotype", Palatino, serif;
  --font-ui: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(94, 73, 201, 0.18), transparent 30rem),
    radial-gradient(circle at 90% 38%, rgba(57, 187, 219, 0.12), transparent 34rem),
    var(--night);
  font-family: var(--font-ui);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.62) 0 1px, transparent 1.5px),
    radial-gradient(circle at 65% 25%, rgba(121, 233, 255, 0.54) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 70%, rgba(255, 216, 137, 0.62) 0 1px, transparent 1.5px);
  background-size: 110px 110px, 150px 150px, 190px 190px;
}

[data-scroll-depth] {
  --scroll-y: 0px;
  transform: translate3d(0, var(--scroll-y), 0);
  will-change: transform;
}

.hero-media[data-scroll-depth],
.universe-hero-media[data-scroll-depth] {
  inset: -6% 0;
  height: 112%;
}

.story-stage-media[data-scroll-depth] {
  inset: -8%;
  width: 116%;
  height: 116%;
}

.atlas-card picture[data-scroll-depth],
.future-world picture[data-scroll-depth] {
  inset: -5%;
  width: 110%;
  height: 110%;
}

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

a {
  color: inherit;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: #07101f;
  background: var(--cyan);
  border-radius: 999px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.shell {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.legal-header {
  background: rgba(6, 9, 23, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(22px) saturate(130%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  letter-spacing: 0.08em;
  font-weight: 900;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 216, 137, 0.5);
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff8dd 0 8%, var(--gold) 9% 18%, transparent 20%),
    conic-gradient(from 45deg, transparent 0 21%, rgba(255, 216, 137, 0.7) 22% 28%, transparent 29% 46%, rgba(121, 233, 255, 0.65) 47% 53%, transparent 54% 71%, rgba(255, 216, 137, 0.7) 72% 78%, transparent 79%);
  box-shadow: 0 0 22px rgba(255, 205, 100, 0.28);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 150ms ease, background 150ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.nav-cta {
  color: #15101c;
  background: linear-gradient(135deg, var(--gold), #fff1c7);
}

.nav-cta:hover {
  color: #15101c;
  background: linear-gradient(135deg, #ffe3a4, #fff7e0);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 150ms ease, opacity 150ms ease;
}

.menu-button[aria-expanded="true"] span {
  opacity: 0;
}

.menu-button[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  animation: hero-drift 14s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 5, 17, 0.92) 0%, rgba(3, 5, 17, 0.65) 39%, rgba(3, 5, 17, 0.12) 72%),
    linear-gradient(0deg, var(--night) 0%, transparent 28%, rgba(3, 5, 17, 0.14) 100%);
}

.hero-content {
  max-width: 680px;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 12vh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.display {
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.88;
  text-wrap: balance;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.38);
}

.display em {
  color: var(--gold);
  font-style: normal;
}

.hero-copy {
  max-width: 590px;
  margin: 28px 0 0;
  color: #d8d7e5;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  text-wrap: balance;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #19121f;
  background: linear-gradient(135deg, var(--gold-strong), #fff0c2);
  box-shadow: 0 12px 34px rgba(255, 190, 75, 0.22);
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(7, 11, 25, 0.48);
  backdrop-filter: blur(12px);
}

.button-small {
  min-height: 44px;
  padding: 9px 17px;
  font-size: 0.9rem;
}

.store-status {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 3px;
  min-height: 52px;
  padding: 8px 18px;
  align-content: center;
  justify-items: start;
  border: 1px solid rgba(121, 233, 255, 0.2);
  border-radius: 999px;
  background: rgba(6, 10, 27, 0.58);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 0 24px rgba(121, 233, 255, 0.06);
  backdrop-filter: blur(16px);
}

.store-status span {
  color: var(--cyan);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-transform: uppercase;
}

.store-status strong {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-tight {
  padding: 82px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.section-title {
  max-width: 15ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.feature-card,
.world-card,
.legal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(19, 28, 61, 0.9), rgba(9, 14, 33, 0.84));
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 300px;
  padding: 30px;
}

.feature-gold { --glow: rgba(255, 197, 83, 0.2); }
.feature-cyan { --glow: rgba(121, 233, 255, 0.2); }
.feature-coral { --glow: rgba(255, 142, 180, 0.2); }

.feature-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--glow, rgba(121, 233, 255, 0.18));
  filter: blur(24px);
}

.feature-number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(255, 216, 137, 0.26);
  border-radius: 50%;
  background: rgba(255, 216, 137, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-card h3,
.world-card h3 {
  margin: 58px 0 10px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.feature-card p,
.world-card p {
  margin: 0;
  color: var(--muted);
}

.showcase {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #071020;
  box-shadow: var(--shadow);
}

.showcase img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.showcase-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  border-top: 1px solid var(--line);
}

.showcase-caption strong {
  font-size: 1.05rem;
}

.showcase-caption span {
  color: var(--muted);
  font-size: 0.92rem;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
}

.world-card {
  min-height: 330px;
  padding: 24px;
  scroll-snap-align: start;
}

.world-moon { --orb-a: #b5efff; --orb-b: #5269d9; }
.world-cloud { --orb-a: #91fff1; --orb-b: #2c8cb5; }
.world-ember { --orb-a: #ffd27d; --orb-b: #bd4b43; }
.world-rain { --orb-a: #bcf7ff; --orb-b: #7865ce; }
.world-eclipse { --orb-a: #ffb5de; --orb-b: #512c82; }

.world-orb {
  width: 94px;
  height: 94px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 32%, rgba(255, 255, 255, 0.85) 0 3%, transparent 4%),
    radial-gradient(circle at 50% 55%, var(--orb-a) 0, var(--orb-b) 48%, #0b1028 72%);
  box-shadow: 0 0 44px color-mix(in srgb, var(--orb-a), transparent 60%);
}

.world-card h3 {
  margin-top: 52px;
}

/* Cinematic universe experience */
.universe-preview {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 208, 112, 0.08), transparent 36rem),
    linear-gradient(180deg, transparent, rgba(17, 25, 54, 0.34), transparent);
}

.atlas-card {
  position: relative;
  min-height: 580px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 216, 137, 0.23);
  border-radius: 38px;
  background: #050918;
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.52), 0 0 80px rgba(88, 103, 224, 0.1);
  isolation: isolate;
}

.atlas-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(4, 7, 19, 0.94) 0%, rgba(4, 7, 19, 0.2) 44%, transparent 72%);
}

.atlas-card picture,
.atlas-card picture img {
  width: 100%;
  height: 100%;
}

.atlas-card picture {
  position: absolute;
  inset: 0;
}

.atlas-card img {
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}

.atlas-card:hover img {
  transform: scale(1.025);
}

.atlas-overlay {
  position: absolute;
  right: 38px;
  bottom: 38px;
  left: 38px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.atlas-overlay h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.atlas-overlay p {
  max-width: 560px;
  margin: 14px 0 0;
  color: #d2d1df;
}

.atlas-overlay .status-pill {
  margin-bottom: 13px;
}

.atlas-overlay .button {
  flex: 0 0 auto;
}

.universe-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(13, 20, 44, 0.76);
}

.universe-stats div {
  display: grid;
  gap: 2px;
  padding: 24px 28px;
}

.universe-stats div + div {
  border-left: 1px solid var(--line);
}

.universe-stats strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
}

.universe-stats span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.world-showcase img {
  aspect-ratio: 3 / 2;
}

.future-world-section {
  padding-top: 72px;
}

.future-world {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  border: 1px solid rgba(255, 171, 182, 0.22);
  border-radius: 38px;
  background: #080817;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), 0 0 90px rgba(196, 96, 192, 0.09);
  isolation: isolate;
}

.future-world picture,
.future-world picture img {
  width: 100%;
  height: 100%;
}

.future-world picture {
  position: absolute;
  inset: 0;
}

.future-world img {
  object-fit: cover;
  object-position: 62% 50%;
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}

.future-world:hover img {
  transform: scale(1.03);
}

.future-world::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 5, 16, 0.97) 0%, rgba(4, 5, 16, 0.78) 34%, rgba(4, 5, 16, 0.12) 65%, rgba(4, 5, 16, 0.05));
}

.future-world-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 630px;
  width: min(50%, 610px);
  padding: 62px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.future-world-copy h2 {
  max-width: 9ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-wrap: balance;
}

.future-world-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 24px 0 0;
  color: #d0cedd;
  font-size: 1.04rem;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 8px 13px;
  color: #ffd5df;
  border: 1px solid rgba(255, 177, 197, 0.24);
  border-radius: 999px;
  background: rgba(91, 31, 83, 0.32);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.signal-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff9fc8;
  box-shadow: 0 0 0 5px rgba(255, 159, 200, 0.12), 0 0 18px #ff9fc8;
  animation: signal-pulse 1.8s ease-in-out infinite;
}

.newsletter-section {
  padding-top: 56px;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 70px;
  align-items: center;
  padding: 62px;
  border: 1px solid rgba(121, 233, 255, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 10%, rgba(155, 140, 255, 0.19), transparent 24rem),
    radial-gradient(circle at 90% 90%, rgba(121, 233, 255, 0.12), transparent 28rem),
    linear-gradient(135deg, rgba(20, 26, 62, 0.98), rgba(8, 14, 33, 0.97));
  box-shadow: var(--shadow);
}

.newsletter-copy h2 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.91;
}

.newsletter-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--muted);
}

.newsletter-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.newsletter-benefits li {
  padding: 7px 11px;
  color: #dffaff;
  border: 1px solid rgba(121, 233, 255, 0.18);
  border-radius: 999px;
  background: rgba(121, 233, 255, 0.06);
  font-size: 0.75rem;
  font-weight: 800;
}

.newsletter-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(4, 7, 19, 0.5);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

.newsletter-form > label:first-child {
  display: block;
  margin-bottom: 9px;
  color: #f3f0fb;
  font-size: 0.82rem;
  font-weight: 850;
}

.newsletter-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.newsletter-input-row input {
  min-width: 0;
  min-height: 54px;
  padding: 13px 17px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  outline: 0;
}

.newsletter-input-row input::placeholder {
  color: #8d8ba0;
}

.newsletter-input-row input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(121, 233, 255, 0.1);
}

.consent-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  color: #b7b5c7;
  font-size: 0.78rem;
  line-height: 1.5;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--gold-strong);
}

.consent-check a {
  color: var(--cyan);
  text-underline-offset: 2px;
}

.form-note,
.form-status {
  margin: 14px 0 0;
  color: #8f8da1;
  font-size: 0.74rem;
}

.form-status:not(:empty) {
  padding: 10px 12px;
  color: #dffbf0;
  border: 1px solid rgba(145, 242, 196, 0.22);
  border-radius: 10px;
  background: rgba(145, 242, 196, 0.08);
}

/* Dedicated universe page */
.universe-hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}

.universe-hero-media,
.universe-hero-media img,
.universe-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.universe-hero-media {
  z-index: -2;
}

.universe-hero-media img {
  object-fit: cover;
  object-position: center;
  animation: hero-drift 16s ease-in-out infinite alternate;
}

.universe-hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 5, 16, 0.92) 0%, rgba(3, 5, 16, 0.48) 43%, rgba(3, 5, 16, 0.05) 74%),
    linear-gradient(0deg, var(--night) 0%, rgba(3, 5, 16, 0.06) 35%, rgba(3, 5, 16, 0.2) 100%);
}

.universe-hero-content {
  padding-top: calc(var(--header-height) + 90px);
  padding-bottom: 54px;
}

.universe-hero-content h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 10vw, 8.7rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.82;
  text-wrap: balance;
}

.universe-hero-content h1 em {
  color: var(--gold);
  font-style: normal;
}

.universe-hero-content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 28px 0 0;
  color: #dedcea;
  font-size: 1.1rem;
}

.universe-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-bottom: 34px;
}

.universe-hero-stats span {
  padding: 8px 22px;
  color: rgba(255, 255, 255, 0.68);
  border-left: 1px solid rgba(255, 255, 255, 0.19);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.universe-hero-stats span:first-child {
  padding-left: 0;
  border-left: 0;
}

.universe-hero-stats strong {
  margin-right: 5px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.universe-lore {
  background: linear-gradient(180deg, transparent, rgba(16, 23, 54, 0.42), transparent);
}

.lore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.lore-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(20, 29, 62, 0.88), rgba(9, 14, 33, 0.8));
}

.lore-grid article > span,
.realm-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lore-grid h3 {
  margin: 52px 0 10px;
  font-size: 1.4rem;
}

.lore-grid p {
  margin: 0;
  color: var(--muted);
}

.realm-section {
  padding-top: 74px;
}

.realm-list {
  display: grid;
  gap: 26px;
}

.realm-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(140deg, rgba(17, 25, 54, 0.95), rgba(8, 13, 31, 0.95));
  box-shadow: var(--shadow);
}

.realm-chapter:nth-child(even) .realm-art {
  order: 2;
}

.realm-art {
  position: relative;
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  background: #080d20;
}

.realm-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 62%, rgba(9, 14, 33, 0.7));
}

.realm-chapter:nth-child(even) .realm-art::after {
  background: linear-gradient(-90deg, transparent 62%, rgba(9, 14, 33, 0.7));
}

.realm-art img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.18);
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}

.realm-chapter:hover .realm-art img {
  transform: scale(1.22);
}

.realm-moon-chapter .realm-art img { object-position: 2% 16%; }
.realm-cloud-chapter .realm-art img { object-position: 4% 88%; }
.realm-ember-chapter .realm-art img { object-position: 76% 12%; }
.realm-rain-chapter .realm-art img { object-position: 66% 91%; }
.realm-eclipse-chapter .realm-art img { object-position: 100% 52%; }

.realm-copy {
  display: flex;
  padding: 42px;
  flex-direction: column;
  justify-content: center;
}

.realm-copy h3 {
  margin: 5px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.realm-quote {
  margin: 16px 0 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-style: italic;
}

.realm-copy > p:not(.realm-kicker):not(.realm-quote) {
  margin: 20px 0 0;
  color: var(--muted);
}

.realm-copy dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 30px 0 0;
}

.realm-copy dl div {
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.realm-copy dt {
  color: #817f93;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.realm-copy dd {
  margin: 4px 0 0;
  color: #e5e2ef;
  font-size: 0.83rem;
  font-weight: 750;
}

.progress-panel {
  padding: 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 216, 137, 0.2);
  border-radius: 30px;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 207, 110, 0.13), transparent 28rem),
    linear-gradient(135deg, rgba(33, 25, 57, 0.94), rgba(9, 15, 35, 0.96));
  box-shadow: var(--shadow);
}

.progress-panel h2 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.progress-panel > div > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
}

.level-constellation {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.level-constellation::before {
  content: "";
  position: absolute;
  top: 21px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--coral), var(--violet));
  box-shadow: 0 0 18px rgba(255, 216, 137, 0.45);
}

.level-constellation li {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  color: #d4d1df;
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}

.level-constellation span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-inline: auto;
  place-items: center;
  color: #17111c;
  border: 4px solid rgba(9, 15, 35, 0.95);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 24px rgba(255, 216, 137, 0.25);
  font-size: 0.64rem;
}

.level-constellation .trial-node span {
  color: #07151a;
  background: var(--cyan);
}

.star-garden-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  align-items: center;
}

.star-garden-layout > div > p:not(.eyebrow) {
  color: var(--muted);
}

.garden-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.garden-list li {
  position: relative;
  padding: 11px 14px 11px 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.garden-list li::before {
  content: "✦";
  position: absolute;
  top: 10px;
  left: 15px;
  color: var(--gold);
}

.star-garden-layout figure {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.star-garden-layout figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  transform: scale(1.28);
}

@keyframes signal-pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.08); }
}

.promise-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 54px;
  border: 1px solid rgba(255, 216, 137, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 202, 96, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(33, 25, 57, 0.94), rgba(9, 15, 35, 0.94));
  box-shadow: var(--shadow);
}

.promise-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.promise-band p {
  margin: 16px 0 0;
  color: var(--muted);
}

.promise-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promise-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  color: #e9e7f2;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.promise-list li::before {
  content: "✓";
  display: inline-grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #07151a;
  border-radius: 50%;
  background: var(--success);
  font-size: 0.76rem;
  font-weight: 1000;
}

.cta-section {
  padding: 70px 0 130px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 86px 28px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(6, 9, 23, 0.22), rgba(6, 9, 23, 0.86)),
    url("hero.webp") center 54% / cover;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  max-width: 12ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.94;
  text-wrap: balance;
}

.cta-panel p {
  max-width: 620px;
  margin: 20px auto 0;
  color: #d3d2df;
  font-size: 1.04rem;
}

.cta-panel .button-row {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 5, 14, 0.62);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.65fr);
  gap: 48px;
  padding: 66px 0 48px;
}

.footer-copy {
  max-width: 360px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-group h2 {
  margin: 0 0 14px;
  color: #f1eff8;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 30px;
  color: #858396;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legal and support pages */
.legal-main {
  min-height: 70vh;
  padding-top: calc(var(--header-height) + 70px);
  padding-bottom: 110px;
}

.legal-hero {
  max-width: 900px;
  margin-bottom: 56px;
}

.legal-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.legal-hero p {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 11px;
  color: var(--gold);
  border: 1px solid rgba(255, 216, 137, 0.22);
  border-radius: 999px;
  background: rgba(255, 216, 137, 0.07);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 58px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(14, 20, 43, 0.68);
}

.legal-toc strong {
  display: block;
  margin-bottom: 10px;
  color: #f2f0f9;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.84rem;
}

.legal-toc a:hover {
  color: var(--gold);
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: 0 0 44px;
}

.legal-content section + section {
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 1.1rem;
}

.legal-content p,
.legal-content li {
  color: #c4c2d0;
}

.legal-content a {
  color: var(--cyan);
  text-underline-offset: 3px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.35rem;
}

.legal-content li + li {
  margin-top: 8px;
}

.notice {
  padding: 18px 20px;
  color: #d9d6e7;
  border: 1px solid rgba(121, 233, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(74, 179, 207, 0.07);
}

.notice strong {
  color: var(--cyan);
}

.notice-warning {
  border-color: rgba(255, 216, 137, 0.28);
  background: rgba(255, 216, 137, 0.07);
}

.notice-warning strong {
  color: var(--gold);
}

.data-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.82rem;
}

.data-table td {
  color: var(--muted);
  font-size: 0.86rem;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.detail-card h3 {
  margin-top: 0;
}

.detail-card p:last-child {
  margin-bottom: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.required-value {
  display: inline-block;
  padding: 2px 7px;
  color: #16101a;
  border-radius: 5px;
  background: var(--gold);
  font-weight: 850;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.faq-list summary {
  min-height: 54px;
  padding: 16px 48px 16px 18px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
}

/* Immersive story journey */
.story-odyssey {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 210, 116, 0.08), transparent 32rem),
    linear-gradient(180deg, rgba(7, 10, 28, 0), rgba(18, 14, 42, 0.7) 42%, rgba(6, 9, 23, 0));
}

.story-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.52fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 54px;
}

.story-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.story-heading .section-title {
  max-width: 18ch;
}

.section-title em {
  color: var(--gold);
  font-style: normal;
  text-shadow: 0 0 34px rgba(255, 216, 137, 0.18);
}

.story-heading > p:last-child {
  margin: 0;
  color: #c7c4d5;
  font-size: 1.08rem;
}

.story-stage {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border: 1px solid rgba(255, 216, 137, 0.2);
  border-radius: 38px;
  background: #050716;
  box-shadow: 0 50px 130px rgba(0, 0, 0, 0.55), 0 0 80px rgba(111, 88, 223, 0.1);
  isolation: isolate;
}

.story-stage-media,
.story-stage-media img,
.story-stage-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-stage-media {
  z-index: -2;
}

.story-stage-media img {
  object-fit: cover;
  object-position: 50% 58%;
  transition: transform 1.5s cubic-bezier(.2,.7,.2,1);
}

.story-stage:hover .story-stage-media img {
  transform: scale(1.018);
}

.story-stage-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 5, 17, 0.94) 0%, rgba(4, 5, 17, 0.7) 40%, transparent 72%),
    linear-gradient(0deg, rgba(4, 5, 17, 0.92) 0%, transparent 52%);
}

.story-stage-copy {
  display: flex;
  min-height: 760px;
  width: min(54%, 650px);
  padding: 64px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.story-stage-copy > * {
  opacity: 0;
  transform: translateY(26px);
  animation: story-copy-arrive 0.9s cubic-bezier(.2,.7,.2,1) forwards;
  animation-play-state: paused;
}

.story-stage.is-visible .story-stage-copy > * {
  animation-play-state: running;
}

.story-stage-copy > *:nth-child(2) { animation-delay: 120ms; }
.story-stage-copy > *:nth-child(3) { animation-delay: 240ms; }
.story-stage-copy > *:nth-child(4) { animation-delay: 360ms; }

.story-stage-copy > span,
.story-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-stage-copy h3 {
  max-width: 10ch;
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.86;
}

.story-stage-copy > p {
  max-width: 530px;
  margin: 24px 0 0;
  color: #e1deeb;
  font-size: 1.04rem;
}

.story-stage-copy blockquote {
  max-width: 530px;
  margin: 25px 0 0;
  padding: 16px 0 0 22px;
  color: #fff0c5;
  border-left: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: 1.13rem;
}

.story-chapters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.story-chapter {
  display: grid;
  min-height: 290px;
  padding: 32px;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 100%, rgba(115, 93, 223, 0.18), transparent 18rem),
    linear-gradient(145deg, rgba(18, 26, 58, 0.95), rgba(8, 12, 30, 0.96));
  box-shadow: var(--shadow);
}

.story-chapter > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(255, 216, 137, 0.28);
  border-radius: 50%;
  background: rgba(255, 216, 137, 0.06);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 0 25px rgba(255, 216, 137, 0.08);
}

.story-chapter h3 {
  margin: 5px 0 13px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.story-chapter p:last-child {
  margin: 0;
  color: var(--muted);
}

.story-chapter strong {
  color: var(--ink);
}

.story-chapter-final {
  border-color: rgba(255, 216, 137, 0.24);
  background:
    radial-gradient(circle at 100% 100%, rgba(255, 197, 83, 0.13), transparent 20rem),
    linear-gradient(145deg, rgba(29, 23, 53, 0.97), rgba(9, 12, 29, 0.97));
}

.story-mystery {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 48px;
  border: 1px solid rgba(121, 233, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 50%, rgba(121, 233, 255, 0.1), transparent 28rem),
    rgba(8, 13, 31, 0.9);
}

.story-mystery h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.story-mystery p:not(.eyebrow) {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
}

.story-mystery .button {
  flex: 0 0 auto;
}

@keyframes hero-drift {
  from { transform: scale(1.01); }
  to { transform: scale(1.055); }
}

@keyframes story-copy-arrive {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    right: 20px;
    left: 20px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-list {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(6, 9, 23, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
  }

  .nav-link {
    justify-content: center;
  }

  .section-head,
  .promise-band {
    grid-template-columns: 1fr;
  }

  .story-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .story-heading .eyebrow {
    margin-bottom: 0;
  }

  .story-stage-copy {
    width: 72%;
    padding: 46px;
  }

  .story-chapters {
    grid-template-columns: 1fr;
  }

  .story-mystery {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card:last-child {
    grid-column: 1 / -1;
  }

  .atlas-overlay {
    align-items: start;
    flex-direction: column;
    gap: 22px;
  }

  .future-world-copy {
    width: 68%;
    padding: 46px;
  }

  .newsletter-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .newsletter-copy h2 {
    max-width: 13ch;
  }

  .lore-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lore-grid article:last-child {
    grid-column: 1 / -1;
  }

  .realm-chapter {
    grid-template-columns: 1fr;
  }

  .realm-chapter:nth-child(even) .realm-art {
    order: initial;
  }

  .realm-art {
    min-height: 440px;
  }

  .realm-art::after,
  .realm-chapter:nth-child(even) .realm-art::after {
    background: linear-gradient(0deg, rgba(9, 14, 33, 0.72), transparent 38%);
  }

  .star-garden-layout {
    grid-template-columns: 1fr;
  }

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

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

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-toc {
    position: static;
    columns: 2;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand {
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .hero {
    min-height: 840px;
  }

  .hero-media img {
    object-position: 66% 50%;
  }

  .hero::before {
    background:
      linear-gradient(0deg, var(--night) 0%, rgba(3, 5, 17, 0.68) 58%, rgba(3, 5, 17, 0.28) 100%),
      linear-gradient(90deg, rgba(3, 5, 17, 0.76), transparent 88%);
  }

  .hero-content {
    padding-bottom: 82px;
  }

  .display {
    font-size: clamp(3.65rem, 18vw, 5.2rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .store-status {
    width: 100%;
    min-height: 58px;
    justify-items: center;
    text-align: center;
  }

  .section {
    padding: 82px 0;
  }

  .section-head {
    gap: 22px;
    margin-bottom: 34px;
  }

  .story-heading {
    margin-bottom: 34px;
  }

  .story-stage {
    min-height: 740px;
    border-radius: 24px;
  }

  .story-stage-media img {
    object-position: 50% 50%;
  }

  .story-stage-shade {
    background: linear-gradient(0deg, rgba(4, 5, 17, 0.97) 0%, rgba(4, 5, 17, 0.54) 52%, rgba(4, 5, 17, 0.08) 100%);
  }

  .story-stage-copy {
    min-height: 740px;
    width: 100%;
    padding: 26px;
  }

  .story-stage-copy h3 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .story-chapter {
    min-height: 0;
    padding: 24px;
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .story-chapter > span {
    width: 44px;
    height: 44px;
  }

  .story-mystery {
    gap: 28px;
    padding: 30px;
  }

  .story-mystery .button {
    width: 100%;
  }

  .feature-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:last-child {
    grid-column: auto;
  }

  .feature-card {
    min-height: 260px;
  }

  .atlas-card {
    min-height: 620px;
    border-radius: 24px;
  }

  .atlas-card img {
    object-position: 51% 50%;
  }

  .atlas-overlay {
    right: 22px;
    bottom: 24px;
    left: 22px;
  }

  .atlas-overlay .button {
    width: 100%;
  }

  .universe-stats {
    grid-template-columns: 1fr 1fr;
  }

  .universe-stats div {
    padding: 20px;
  }

  .universe-stats div:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .universe-stats div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .future-world {
    min-height: 760px;
    border-radius: 24px;
  }

  .future-world img {
    object-position: 72% 36%;
  }

  .future-world::after {
    background: linear-gradient(0deg, rgba(4, 5, 16, 0.98) 0%, rgba(4, 5, 16, 0.84) 45%, rgba(4, 5, 16, 0.08) 79%);
  }

  .future-world-copy {
    min-height: 760px;
    width: 100%;
    padding: 30px 24px;
    justify-content: flex-end;
  }

  .future-world-copy h2 {
    max-width: 10ch;
    font-size: clamp(3.5rem, 17vw, 5.2rem);
  }

  .newsletter-panel {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .newsletter-form {
    padding: 20px;
  }

  .newsletter-input-row {
    grid-template-columns: 1fr;
  }

  .universe-hero {
    min-height: 880px;
  }

  .universe-hero-media img {
    object-position: 54% 50%;
  }

  .universe-hero-shade {
    background:
      linear-gradient(0deg, var(--night) 0%, rgba(3, 5, 16, 0.78) 50%, rgba(3, 5, 16, 0.2) 100%),
      linear-gradient(90deg, rgba(3, 5, 16, 0.55), transparent 90%);
  }

  .universe-hero-content {
    padding-bottom: 38px;
  }

  .universe-hero-content h1 {
    font-size: clamp(3.7rem, 18vw, 5.5rem);
  }

  .universe-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .universe-hero-stats span,
  .universe-hero-stats span:first-child {
    padding: 8px 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.19);
  }

  .lore-grid {
    grid-template-columns: 1fr;
  }

  .lore-grid article:last-child {
    grid-column: auto;
  }

  .realm-art {
    min-height: 340px;
  }

  .realm-copy {
    padding: 30px 24px;
  }

  .realm-copy dl {
    grid-template-columns: 1fr 1fr;
  }

  .progress-panel {
    padding: 34px 22px;
  }

  .level-constellation {
    grid-template-columns: 1fr 1fr;
  }

  .level-constellation::before {
    display: none;
  }

  .level-constellation li {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
  }

  .star-garden-layout {
    gap: 36px;
  }

  .star-garden-layout figure {
    min-height: 410px;
    border-radius: 22px;
  }

  .showcase-caption {
    display: grid;
    gap: 5px;
  }

  .showcase img {
    aspect-ratio: 1.15 / 1;
  }

  .promise-band {
    padding: 34px 22px;
  }

  .cta-panel {
    padding: 64px 20px;
  }

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

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

  .footer-bottom {
    display: grid;
  }

  .legal-main {
    padding-top: calc(var(--header-height) + 48px);
  }

  .legal-toc {
    columns: 1;
  }

  .data-table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-scroll-depth] {
    transform: none !important;
  }

  .story-stage-copy > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  :root { color-scheme: light; }
  body { color: #111; background: #fff; }
  body::before, .site-header, .site-footer, .legal-toc { display: none; }
  .legal-main { padding: 0; }
  .legal-layout { display: block; }
  .legal-content p, .legal-content li { color: #222; }
  .legal-content a { color: #111; }
}
