:root {
  --font-display: 'Pixelify Sans', system-ui, sans-serif;
  --font-body:
    'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  --bg: #06111f;
  --bg-deep: #020712;
  --panel: #0f2440;
  --panel-strong: #142f52;
  --panel-soft: rgba(16, 43, 72, 0.76);
  --ink: #ffffff;
  --ink-strong: #ffffff;
  --ink-muted: #e9f7ff;
  --line: #79e8ff;
  --line-soft: rgba(121, 232, 255, 0.28);
  --gold: #ffd85f;
  --gold-deep: #c67b16;
  --green: #65ff94;
  --purple: #c777ff;
  --danger: #ff6577;
  --orange: #ff9948;
  --shadow: rgba(0, 0, 0, 0.58);
  --radius-xs: 0.55rem;
  --radius-sm: 0.85rem;
  --radius-md: 1.15rem;
  --radius-lg: 1.6rem;
  --radius-xl: 2rem;
  --container: 72rem;
  --header-height: 5.25rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--gold) var(--bg-deep);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 20rem;
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(121, 232, 255, 0.16),
      transparent 25rem
    ),
    radial-gradient(
      circle at 84% 12%,
      rgba(199, 119, 255, 0.14),
      transparent 27rem
    ),
    linear-gradient(180deg, #07182b 0%, var(--bg) 42%, #030814 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 0.9rem;
}

::-webkit-scrollbar-track {
  background: #020814;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--orange));
  border: 0.2rem solid #020814;
  border-radius: 99rem;
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 0.2rem solid var(--gold);
  outline-offset: 0.22rem;
}

::selection {
  background: var(--gold);
  color: #10131c;
}

.container {
  width: min(100% - 1.25rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  transform: translateY(-140%);
  padding: 0.8rem 1rem;
  border: 0.125rem solid var(--gold);
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  color: var(--ink-strong);
  text-decoration: none;
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  background: rgba(4, 12, 23, 0.72);
  border-bottom: 0.0625rem solid rgba(121, 232, 255, 0.18);
  backdrop-filter: blur(1rem);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(3, 9, 18, 0.9);
  border-bottom-color: rgba(255, 216, 95, 0.28);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.28);
}

.site-header__rail {
  position: absolute;
  inset: auto 0 0;
  height: 0.1875rem;
  overflow: hidden;
  background: rgba(121, 232, 255, 0.15);
}

.site-header__rail::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line),
    var(--gold),
    transparent
  );
  animation: rail-scan 5s linear infinite;
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 10.5rem;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0.8rem 1rem rgba(0, 0, 0, 0.45));
}

.brand::after {
  content: '';
  position: absolute;
  right: -0.2rem;
  bottom: 0.45rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--green);
  box-shadow: 0 0 1rem var(--green);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  gap: 0.28rem;
  min-width: 3.4rem;
  min-height: 3.4rem;
  padding: 0.5rem;
  border: 0.125rem solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: linear-gradient(
    180deg,
    rgba(18, 47, 82, 0.96),
    rgba(6, 18, 33, 0.96)
  );
  color: var(--ink);
  box-shadow: inset 0 -0.25rem 0 rgba(0, 0, 0, 0.28);
}

.nav-toggle__bar {
  width: 1.35rem;
  height: 0.18rem;
  border-radius: 99rem;
  background: var(--gold);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle__label {
  font-family: var(--font-display);
  font-size: 0.76rem;
  line-height: 1;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:first-child {
  transform: translateY(0.31rem) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(2) {
  transform: translateY(-0.13rem) rotate(-45deg);
}

.nav {
  position: fixed;
  inset: var(--header-height) 0 auto;
  display: grid;
  gap: 1rem;
  padding: 1rem 1rem 1.25rem;
  background: linear-gradient(
    180deg,
    rgba(7, 20, 37, 0.98),
    rgba(5, 14, 27, 0.98)
  );
  border-bottom: 0.125rem solid rgba(121, 232, 255, 0.2);
  box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.45);
  transform: translateY(-120%);
  transition: transform 220ms ease;
}

.nav.is-open {
  transform: translateY(0);
}

.nav__list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.8rem 1rem;
  border: 0.0625rem solid rgba(121, 232, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(15, 36, 64, 0.65);
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 1rem;
  text-decoration: none;
  overflow: hidden;
}

.nav__link::before,
.nav__link::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.nav__link::before {
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(121, 232, 255, 0.15),
    transparent
  );
  transform: translateX(-110%);
  transition: transform 360ms ease;
}

.nav__link::after {
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 0.18rem;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 0.45rem,
    transparent 0.45rem 0.72rem
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav__link:hover::before,
.nav__link:focus-visible::before {
  transform: translateX(110%);
}

.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__link.is-active {
  border-color: rgba(255, 216, 95, 0.55);
  background: linear-gradient(
    180deg,
    rgba(27, 56, 92, 0.94),
    rgba(18, 37, 65, 0.92)
  );
}

.nav__cta {
  justify-content: center;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  min-height: 3.35rem;
  padding: 0.85rem 1.15rem;
  border: 0.125rem solid rgba(255, 216, 95, 0.72);
  border-radius: var(--radius-sm);
  color: var(--ink-strong);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 -0.25rem 0 rgba(0, 0, 0, 0.28),
    0 1rem 1.8rem rgba(0, 0, 0, 0.25);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transform: translateX(-110%);
  transition: transform 480ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-0.12rem);
  box-shadow:
    inset 0 -0.18rem 0 rgba(0, 0, 0, 0.3),
    0 1.2rem 2.4rem rgba(0, 0, 0, 0.34);
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(110%);
}

.btn--primary {
  background: linear-gradient(180deg, #ffdd66, #f1a12c 58%, #c56d18);
  color: #17130c;
}

.btn--ghost {
  background: linear-gradient(
    180deg,
    rgba(22, 50, 84, 0.9),
    rgba(10, 27, 49, 0.92)
  );
  border-color: rgba(121, 232, 255, 0.45);
}

.btn--play {
  background: linear-gradient(
    180deg,
    rgba(28, 96, 84, 0.96),
    rgba(12, 54, 58, 0.96)
  );
  border-color: rgba(101, 255, 148, 0.72);
}

.btn--small {
  min-height: 2.8rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.92rem;
}

.btn__icon {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 -0.12rem 0 rgba(0, 0, 0, 0.22);
}

.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.8rem, 8vw, 6.5rem);
  overflow: hidden;
}

.section::before,
.section::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.section::before {
  width: 16rem;
  height: 16rem;
  border: 0.125rem solid rgba(121, 232, 255, 0.14);
  border-radius: 36% 64% 54% 46%;
  top: 1.5rem;
  left: max(-9rem, -8vw);
  transform: rotate(12deg);
}

.section::after {
  width: 11rem;
  height: 11rem;
  right: -5rem;
  bottom: 2rem;
  background: radial-gradient(
    circle,
    rgba(255, 216, 95, 0.14),
    transparent 65%
  );
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.section--tight {
  padding-block: 3.2rem;
}

.section--deep {
  background: linear-gradient(
    180deg,
    rgba(3, 10, 19, 0.55),
    rgba(8, 23, 40, 0.72)
  );
}

.section__head {
  display: grid;
  gap: 0.85rem;
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border: 0.0625rem solid rgba(121, 232, 255, 0.35);
  border-radius: 99rem;
  background: rgba(10, 31, 55, 0.72);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  background: currentColor;
  box-shadow: 0 0 1rem currentColor;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink-strong);
  line-height: 1.08;
}

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 10vw, 4.85rem);
  max-width: 12ch;
  margin-bottom: 1rem;
  text-shadow:
    0 0.25rem 0 rgba(0, 0, 0, 0.22),
    0 0 1.6rem rgba(121, 232, 255, 0.2);
}

h2 {
  font-size: clamp(2rem, 7vw, 3.65rem);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: clamp(1.22rem, 4.4vw, 1.7rem);
  margin-bottom: 0.55rem;
}

p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.lead {
  color: var(--ink-strong);
  font-size: clamp(1.05rem, 4vw, 1.26rem);
  line-height: 1.7;
}

.hero {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: end;
  padding-block: 6rem 2.2rem;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -3;
  margin: 0;
}

.hero__background img,
.frame-bg img,
.panel-bg img,
.mosaic-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__background::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 7, 18, 0.92),
      rgba(5, 15, 31, 0.74) 46%,
      rgba(5, 15, 31, 0.48)
    ),
    linear-gradient(0deg, rgba(6, 17, 31, 1), transparent 40%);
}

.hero__content {
  display: grid;
  gap: 1.6rem;
}

.hero__copy {
  max-width: 44rem;
}

.hero__actions,
.section-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.hero__price-note {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 0.0625rem solid rgba(255, 216, 95, 0.36);
  border-radius: var(--radius-sm);
  background: rgba(3, 11, 22, 0.62);
  color: var(--ink-strong);
  font-weight: 700;
}

.hero__price-note::before {
  content: '$';
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--gold);
  color: #17130c;
  font-family: var(--font-display);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 38rem;
}

.stat-card {
  position: relative;
  padding: 0.9rem;
  border: 0.0625rem solid rgba(121, 232, 255, 0.24);
  border-radius: var(--radius-md);
  background: rgba(8, 25, 45, 0.78);
  box-shadow: inset 0 -0.25rem 0 rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: -1rem;
  width: 4rem;
  height: 4rem;
  background: radial-gradient(
    circle,
    rgba(101, 255, 148, 0.22),
    transparent 70%
  );
}

.stat-card strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
}

.stat-card span {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
}

.hero__hud {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 0.0625rem solid rgba(121, 232, 255, 0.25);
  border-radius: var(--radius-lg);
  background: rgba(5, 17, 32, 0.82);
  backdrop-filter: blur(0.75rem);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.42);
}

.resource-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.resource-pill {
  min-height: 3rem;
  padding: 0.58rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xs);
  background: linear-gradient(
    180deg,
    rgba(24, 56, 91, 0.84),
    rgba(12, 31, 55, 0.9)
  );
  text-align: center;
}

.resource-pill b {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
}

.resource-pill span {
  display: block;
  color: var(--ink-strong);
  font-size: 0.76rem;
}

.mini-map {
  position: relative;
  min-height: 10rem;
  border: 0.125rem solid rgba(121, 232, 255, 0.3);
  border-radius: var(--radius-md);
  background:
    linear-gradient(90deg, rgba(121, 232, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(121, 232, 255, 0.08) 1px, transparent 1px),
    rgba(4, 13, 26, 0.9);
  background-size: 1.1rem 1.1rem;
  overflow: hidden;
}

.mini-map span {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  box-shadow: 0 0 1rem currentColor;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.mini-map span:nth-child(1) {
  left: 18%;
  top: 26%;
  color: var(--green);
  background: var(--green);
}
.mini-map span:nth-child(2) {
  left: 54%;
  top: 42%;
  color: var(--gold);
  background: var(--gold);
  animation-delay: 0.35s;
}
.mini-map span:nth-child(3) {
  left: 72%;
  top: 64%;
  color: var(--danger);
  background: var(--danger);
  animation-delay: 0.7s;
}
.mini-map span:nth-child(4) {
  left: 34%;
  top: 70%;
  color: var(--line);
  background: var(--line);
  animation-delay: 1.05s;
}

.loop-grid {
  display: grid;
  gap: 1rem;
}

.loop-card {
  position: relative;
  padding: 1.1rem;
  border: 0.0625rem solid rgba(121, 232, 255, 0.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(16, 42, 72, 0.8),
    rgba(8, 23, 42, 0.9)
  );
  box-shadow:
    inset 0 -0.3rem 0 rgba(0, 0, 0, 0.18),
    0 1.1rem 2.3rem rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.loop-card::before {
  content: attr(data-step);
  position: absolute;
  right: 1rem;
  top: 0.6rem;
  color: rgba(255, 216, 95, 0.2);
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.loop-card h3 {
  padding-right: 3rem;
}

.loop-card img {
  width: 100%;
  height: max-content;
  object-fit: contain;
  border: 0.125rem solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.showcase-split {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.pixel-frame {
  max-height: max-content;

  position: relative;
  padding: 0.55rem;
  border: 0.125rem solid rgba(121, 232, 255, 0.35);
  border-radius: var(--radius-xl);
  background: linear-gradient(
    180deg,
    rgba(255, 216, 95, 0.18),
    rgba(121, 232, 255, 0.12)
  );
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.4);
}

.pixel-frame::before,
.pixel-frame::after {
  content: '';
  position: absolute;
  width: 2.1rem;
  height: 2.1rem;
  border: 0.28rem solid var(--gold);
  pointer-events: none;
}

.pixel-frame::before {
  top: -0.15rem;
  left: -0.15rem;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0.8rem 0 0 0;
}

.pixel-frame::after {
  right: -0.15rem;
  bottom: -0.15rem;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 0.8rem 0;
}

.pixel-frame img {
  width: 100%;
  max-height: 600px;

  border-radius: calc(var(--radius-xl) - 0.45rem);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.8rem;
  border: 0.0625rem solid rgba(121, 232, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(13, 36, 64, 0.72);
}

.feature-list li::before {
  content: '✦';
  color: var(--gold);
  font-family: var(--font-display);
}

.map-stage {
  display: grid;
  gap: 1.1rem;
}

.map-card {
  position: relative;
  min-height: 24rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 0.125rem solid rgba(121, 232, 255, 0.24);
  border-radius: var(--radius-xl);
  box-shadow: 0 1.6rem 3.2rem rgba(0, 0, 0, 0.42);
}

.frame-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}

.frame-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(4, 12, 23, 0.96), transparent 58%),
    linear-gradient(90deg, rgba(4, 12, 23, 0.72), transparent 55%);
}

.map-card__content {
  padding: clamp(1.1rem, 5vw, 2rem);
  max-width: 40rem;
}

.arrow-path {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.arrow-path li {
  display: inline-grid;
  place-items: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  border-radius: 0.55rem;
  background: var(--green);
  color: #06111f;
  font-family: var(--font-display);
  box-shadow: 0 0.7rem 1.2rem rgba(101, 255, 148, 0.22);
  animation: arrow-bounce 2s ease-in-out infinite;
}

.arrow-path li:nth-child(2) {
  animation-delay: 0.16s;
}
.arrow-path li:nth-child(3) {
  animation-delay: 0.32s;
}
.arrow-path li:nth-child(4) {
  animation-delay: 0.48s;
}
.arrow-path li:nth-child(5) {
  animation-delay: 0.64s;
}

.faction-grid {
  display: grid;
  gap: 1rem;
}

.faction-card {
  position: relative;
  overflow: hidden;
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(17, 42, 72, 0.78),
    rgba(7, 20, 38, 0.94)
  );
  box-shadow: 0 1rem 2.1rem rgba(0, 0, 0, 0.24);
}

.faction-card img {
  width: 100%;
  max-height: 20rem;
  object-fit: cover;
}

.faction-card__body {
  padding: 1.05rem;
}

.faction-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.58rem;
  border: 0.0625rem solid rgba(121, 232, 255, 0.24);
  border-radius: 99rem;
  background: rgba(6, 19, 35, 0.8);
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 0.82rem;
}

.city-grid {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.city-orbit {
  position: relative;
}

.city-orbit .pixel-frame {
  transform: rotate(-1deg);
}

.orbit-card {
  position: relative;
  margin-top: -1rem;
  padding: 1rem;
  border: 0.0625rem solid rgba(255, 216, 95, 0.38);
  border-radius: var(--radius-lg);
  background: rgba(9, 28, 50, 0.92);
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.34);
}

.orbit-card h3 {
  color: var(--gold);
}

.upgrade-track {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
}

.upgrade-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  background: rgba(15, 42, 73, 0.76);
  border: 0.0625rem solid rgba(121, 232, 255, 0.18);
}

.upgrade-item b {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #17130c;
  font-family: var(--font-display);
}

.spell-strip {
  display: grid;
  gap: 0.8rem;
  align-items: center;
}

.spell-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.spell-card {
  position: relative;
  min-height: 9rem;
  padding: 0.9rem;
  border: 0.0625rem solid rgba(121, 232, 255, 0.22);
  border-radius: var(--radius-md);
  background: linear-gradient(
    180deg,
    rgba(25, 60, 95, 0.76),
    rgba(8, 25, 44, 0.92)
  );
  overflow: hidden;
}

.spell-card::after {
  content: '';
  position: absolute;
  right: -1.4rem;
  bottom: -1.4rem;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 1.2rem;
  background: currentColor;
  opacity: 0.14;
  transform: rotate(20deg);
}

.spell-card--ice {
  color: var(--line);
}
.spell-card--fear {
  color: var(--purple);
}
.spell-card--shield {
  color: var(--gold);
}
.spell-card--growth {
  color: var(--green);
}

.spell-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink-strong);
  font-family: var(--font-display);
}

.gallery-shell {
  position: relative;
  display: grid;
  gap: 1.6rem;
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.gallery-filter {
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border: 0.0625rem solid rgba(121, 232, 255, 0.25);
  border-radius: 99rem;
  background: rgba(12, 35, 63, 0.8);
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 0.9rem;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.gallery-filter:hover,
.gallery-filter:focus-visible {
  border-color: rgba(255, 216, 95, 0.5);
  background: rgba(255, 216, 95, 0.1);
}

.gallery-filter.is-active {
  border-color: rgba(255, 216, 95, 0.65);
  background: rgba(255, 216, 95, 0.16);
  color: var(--gold);
}

.gallery-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

.gallery-card {
  position: relative;
  margin: 0;
  border: 0.0625rem solid rgba(121, 232, 255, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(8, 24, 43, 0.9);
  overflow: hidden;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.gallery-card:hover {
  border-color: rgba(255, 216, 95, 0.45);
  box-shadow:
    0 1.4rem 3rem rgba(0, 0, 0, 0.45),
    0 0 2.5rem rgba(255, 216, 95, 0.1);
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.gallery-trigger img {
  display: block;
  width: 100%;
  max-height: 30rem;
  object-fit: cover;
  transition: transform 380ms ease;
}

.gallery-trigger:hover img,
.gallery-trigger:focus-visible img {
  transform: scale(1.04);
}

.gallery-trigger__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 17, 31, 0.5);
  color: var(--gold);
  font-size: 2.4rem;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.gallery-trigger:hover .gallery-trigger__zoom,
.gallery-trigger:focus-visible .gallery-trigger__zoom {
  opacity: 1;
}

.gallery-card figcaption {
  padding: 0.65rem 0.9rem 0.8rem;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 18, 0.93);
  backdrop-filter: blur(0.4rem);
  cursor: pointer;
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 82rem);
  max-height: calc(100svh - 1.5rem);
  border: 0.125rem solid rgba(255, 216, 95, 0.3);
  border-radius: var(--radius-xl);
  background: rgba(5, 14, 27, 0.98);
  box-shadow:
    0 2rem 5rem rgba(0, 0, 0, 0.85),
    0 0 3rem rgba(255, 216, 95, 0.06);
  overflow: hidden;
}

.lightbox__media {
  width: 100%;
  overflow: hidden;
}

.lightbox__media img {
  display: block;
  width: 100%;
  max-height: calc(100svh - 8.5rem);
  object-fit: contain;
}

.lightbox__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem 0.9rem;
}

.lightbox__caption {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 600;
  font-size: 0.95rem;
}

.lightbox__count {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.lightbox__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0.0625rem solid rgba(255, 216, 95, 0.45);
  border-radius: 50%;
  background: rgba(5, 14, 27, 0.92);
  color: var(--ink-strong);
  font-size: 1.1rem;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(255, 216, 95, 0.18);
  border-color: var(--gold);
}

.lightbox__nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0.0625rem solid rgba(121, 232, 255, 0.3);
  border-radius: 50%;
  background: rgba(5, 14, 27, 0.88);
  color: var(--ink-strong);
  font-size: 1.5rem;
  line-height: 1;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  background: rgba(121, 232, 255, 0.18);
  border-color: var(--line);
}

.lightbox__nav--prev {
  left: 0.5rem;
}

.lightbox__nav--next {
  right: 0.5rem;
}

.wizard-sent {
  display: grid;
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.cta-panel {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 5vw, 2rem);
  border: 0.125rem solid rgba(255, 216, 95, 0.35);
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    rgba(16, 53, 79, 0.92),
    rgba(45, 21, 69, 0.86)
  );
  overflow: hidden;
  box-shadow: 0 1.6rem 3.2rem rgba(0, 0, 0, 0.42);
}

.cta-panel::before {
  content: '';
  position: absolute;
  inset: -6rem auto auto -6rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(101, 255, 148, 0.2),
    transparent 70%
  );
}

.cta-panel__content,
.cta-panel__side {
  position: relative;
  z-index: 1;
}

.cta-panel__side {
  display: grid;
  gap: 0.8rem;
  align-content: center;
  border-radius: var(--radius-lg);
}

.price-ticket {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(3, 10, 19, 0.46);
}

.price-ticket strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.studio-grid {
  display: grid;
  gap: 1.2rem;
}

.studio-card {
  padding: 1.1rem;
  border: 0.0625rem solid rgba(121, 232, 255, 0.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(19, 48, 82, 0.86),
    rgba(8, 24, 43, 0.92)
  );
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);
}

.studio-card h3 {
  color: var(--gold);
}

.mosaic {
  position: relative;
  min-height: 22rem;
  border-radius: var(--radius-xl);
}

.mosaic__tile {
  position: absolute;
  overflow: hidden;
  border: 0.125rem solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 1.1rem 2.2rem rgba(0, 0, 0, 0.38);
}

.mosaic__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic__tile--one {
  inset: 0 13% 31% 0;
}

.mosaic__tile--two {
  inset: 38% 0 0 26%;
}

.mosaic__tile--three {
  inset: 11% 0 47% 58%;
}

.contact-zone {
  display: grid;
  gap: 1.2rem;
  align-items: start;
}

.contact-card,
.wizard-card {
  border: 0.0625rem solid rgba(121, 232, 255, 0.24);
  border-radius: var(--radius-xl);
  background: rgba(7, 22, 41, 0.86);
  box-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, 0.36);
}

.contact-card {
  padding: 1.15rem;
}

.contact-card__image {
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.contact-card__image img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}

.contact-lines {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.contact-line {
  display: grid;
  gap: 0.1rem;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  background: rgba(13, 37, 65, 0.72);
}

.contact-line span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.86rem;
}

.contact-line a,
.contact-line strong {
  color: var(--ink-strong);
  font-style: normal;
  text-decoration: none;
}

.wizard-card {
  padding: 1rem;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.wizard-progress span {
  height: 0.45rem;
  border-radius: 99rem;
  background: rgba(121, 232, 255, 0.2);
}

.wizard-progress span.is-active {
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: grid;
  gap: 1rem;
}

.option-grid {
  display: grid;
  gap: 0.65rem;
}

.option-card {
  min-height: 4.4rem;
  padding: 0.8rem 0.9rem;
  border: 0.0625rem solid rgba(121, 232, 255, 0.24);
  border-radius: var(--radius-md);
  background: rgba(13, 38, 67, 0.76);
  color: var(--ink-strong);
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.option-card:hover,
.option-card:focus-visible,
.option-card.is-selected {
  transform: translateY(-0.1rem);
  border-color: rgba(255, 216, 95, 0.62);
  background: rgba(255, 216, 95, 0.12);
}

.option-card strong {
  display: block;
  font-family: var(--font-display);
}

.option-card span {
  display: block;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.6rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field.is-hidden,
.honeypot {
  display: none;
}

.form-field label {
  color: var(--ink-strong);
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 0.0625rem solid rgba(121, 232, 255, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(3, 11, 22, 0.82);
  color: var(--ink-strong);
  min-height: 3.25rem;
  padding: 0.82rem 0.9rem;
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field-help {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.form-status {
  min-height: 1.6rem;
  color: var(--gold);
  font-weight: 700;
}

.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: 6rem 3rem;
  overflow: hidden;
  border-bottom: 0.0625rem solid rgba(121, 232, 255, 0.15);
}

.page-hero .frame-bg {
  z-index: -2;
}

.page-hero .frame-bg::after {
  background:
    linear-gradient(
      90deg,
      rgba(3, 9, 18, 0.96),
      rgba(3, 9, 18, 0.72) 55%,
      rgba(3, 9, 18, 0.35)
    ),
    linear-gradient(0deg, rgba(6, 17, 31, 1), transparent 44%);
}

.page-hero__content {
  max-width: 46rem;
}

.content-grid {
  display: grid;
  gap: 1rem;
}

.info-card {
  padding: 1rem;
  border: 0.0625rem solid rgba(121, 232, 255, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(8, 24, 43, 0.82);
}

.timeline {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 1rem 1rem 1rem 3.3rem;
  border: 0.0625rem solid rgba(121, 232, 255, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(8, 24, 43, 0.78);
}

.timeline li::before {
  content: attr(data-step);
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: var(--gold);
  color: #17130c;
  font-family: var(--font-display);
}

.legal-wrap {
  max-width: 54rem;
  padding-block: 4rem;
}

.legal-wrap h1 {
  max-width: 16ch;
}

.legal-wrap h2 {
  margin-top: 2rem;
  font-size: clamp(1.5rem, 5vw, 2.3rem);
}

.legal-wrap a {
  color: var(--gold);
  font-weight: 700;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: 3rem 1.3rem;
  background: linear-gradient(180deg, rgba(3, 10, 19, 0.64), rgba(2, 7, 14, 1));
  border-top: 0.0625rem solid rgba(121, 232, 255, 0.16);
}

.footer-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.68;
}

.footer-orbit span {
  position: absolute;
  border: 0.0625rem solid rgba(121, 232, 255, 0.18);
  border-radius: 50%;
}

.footer-orbit span:nth-child(1) {
  width: 16rem;
  height: 16rem;
  left: -7rem;
  top: 2rem;
}
.footer-orbit span:nth-child(2) {
  width: 22rem;
  height: 22rem;
  right: -10rem;
  bottom: -8rem;
}
.footer-orbit span:nth-child(3) {
  width: 10rem;
  height: 10rem;
  right: 18%;
  top: 15%;
}

.site-footer__grid,
.site-footer__bottom {
  position: relative;
  z-index: 1;
}

.site-footer__grid {
  display: grid;
  gap: 1.6rem;
}

.footer-brand p {
  max-width: 33rem;
}

.brand--footer {
  width: 9.5rem;
  margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  font-style: normal;
}

.footer-links h2,
.footer-contact h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: var(--gold);
}

.footer-links a,
.footer-contact a,
.back-to-top {
  color: var(--ink-strong);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover,
.back-to-top:hover {
  color: var(--gold);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 0.0625rem solid rgba(121, 232, 255, 0.16);
}

.site-footer__bottom p {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  z-index: 150;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 0.125rem solid rgba(255, 216, 95, 0.46);
  border-radius: var(--radius-lg);
  background: rgba(4, 13, 26, 0.96);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.48);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__content p {
  margin-bottom: 0;
}

.cookie-banner__content strong {
  color: var(--gold);
  font-family: var(--font-display);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1.2rem);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

@keyframes rail-scan {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(260%);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.22);
    opacity: 1;
  }
}

@keyframes arrow-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.28rem);
  }
}

@media (min-width: 560px) {
  .hero__stats,
  .spell-board,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .form-field--full {
    grid-column: 1 / -1;
  }

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

@media (min-width: 760px) {
  .container {
    width: min(100% - 2rem, var(--container));
  }

  .hero__content,
  .showcase-split,
  .city-grid,
  .spell-strip,
  .studio-grid,
  .contact-zone,
  .cta-panel,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .map-stage {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .map-stage .info-card {
    align-self: stretch;
  }

  .site-footer__grid {
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cookie-banner {
    left: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    width: min(100% - 2.5rem, 44rem);
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 980px) {
  :root {
    --header-height: 5.75rem;
  }

  .brand {
    width: 12rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .nav__link {
    min-height: 2.8rem;
    padding: 0.68rem 0.85rem;
    border-color: transparent;
    background: transparent;
    font-size: 0.95rem;
  }

  .nav__link.is-active {
    background: rgba(121, 232, 255, 0.08);
  }

  .hero {
    align-items: center;
    padding-block: 7rem 4rem;
  }

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

  .gallery-card--wide {
    grid-column: span 2;
  }

  .lightbox__nav {
    width: 3.25rem;
    height: 3.25rem;
  }
}

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