:root {
  --ink: #020d12;
  --ink-2: #03181f;
  --panel: #062631;
  --panel-light: #0b3541;
  --line: #176070;
  --line-bright: #26c7d7;
  --cyan: #1ed9ed;
  --lime: #8eea16;
  --purple: #bc45f2;
  --amber: #f3bd25;
  --red: #ef4f4b;
  --cream: #f2e4c9;
  --white: #ffffff;
  --muted: #9bb6bd;
  --shell: 1180px;
  --header-height: 78px;
  --radius: 18px;
  --radius-lg: 28px;
  --metal: linear-gradient(180deg, #9ba8a4 0%, #39454a 18%, #697479 50%, #273238 82%, #87938f 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 14px);
}

body {
  margin: 0;
  min-width: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 30% 0, rgba(31, 217, 237, 0.08), transparent 35%),
    var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
}

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

h1,
h2,
h3 {
  line-height: 1.02;
  text-wrap: balance;
}

h1,
h2 {
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 7.4vw, 7rem);
  font-weight: 950;
}

h2 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  font-weight: 950;
}

h3 {
  font-size: 1.4rem;
}

p {
  color: var(--muted);
}

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

.section {
  padding: clamp(82px, 10vw, 138px) 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  transform: translateY(-160%);
  border: 3px solid var(--cyan);
  border-radius: 8px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 900;
  text-decoration: none;
}

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

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

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.lab-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lab-label > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.game-button {
  position: relative;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 4px solid #687477;
  border-radius: 11px;
  box-shadow:
    inset 0 0 0 2px #1d292d,
    inset 0 4px 0 rgba(255, 255, 255, 0.2),
    0 7px 0 #010608,
    0 0 0 2px #0b1114;
  color: var(--white);
  background: linear-gradient(180deg, #7a34ae, #411163);
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 2px 0 #000;
  text-transform: uppercase;
  transition:
    transform 150ms ease,
    filter 150ms ease,
    box-shadow 150ms ease;
}

.game-button:not(:disabled):hover {
  filter: brightness(1.24) saturate(1.15);
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 2px #1d292d,
    inset 0 4px 0 rgba(255, 255, 255, 0.24),
    0 9px 0 #010608,
    0 0 22px rgba(188, 69, 242, 0.35);
}

.game-button:not(:disabled):active {
  transform: translateY(5px);
  box-shadow:
    inset 0 0 0 2px #1d292d,
    inset 0 3px 8px rgba(0, 0, 0, 0.6),
    0 2px 0 #010608;
}

.game-button:disabled {
  border-color: #596064;
  color: #a3a8a9;
  background: linear-gradient(180deg, #485055, #262c2f);
  box-shadow:
    inset 0 0 0 2px #202528,
    0 5px 0 #010608;
  opacity: 0.82;
}

.game-button--green {
  color: #102100;
  background: linear-gradient(180deg, #9dff24 0%, #67bd00 55%, #397600 100%);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38);
}

.game-button--green:not(:disabled):hover {
  box-shadow:
    inset 0 0 0 2px #1d292d,
    inset 0 4px 0 rgba(255, 255, 255, 0.35),
    0 9px 0 #010608,
    0 0 24px rgba(142, 234, 22, 0.42);
}

.game-button--purple {
  background: linear-gradient(180deg, #bd56ec, #5d197d 70%);
}

.game-button--discord {
  flex: 0 0 auto;
  background: linear-gradient(180deg, #8f79ff, #5743c8 70%);
}

.game-button--full {
  width: 100%;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 2px solid #207183;
  background: rgba(2, 13, 18, 0.94);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  width: min(calc(100% - 40px), var(--shell));
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.02;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 12px;
  transition: transform 170ms ease;
}

.brand b {
  display: block;
  color: var(--cyan);
}

.brand:hover img {
  transform: rotate(-4deg) scale(1.05);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav a {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #c9d7da;
  font-size: 0.77rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 150ms ease,
    border-color 150ms ease,
    background-color 150ms ease;
}

.primary-nav a:hover {
  border-color: var(--line);
  color: var(--cyan);
  background: rgba(30, 217, 237, 0.08);
}

.primary-nav .nav-discord {
  margin-left: 7px;
  padding-inline: 13px;
  border: 2px solid #8e7cff;
  color: var(--white);
  background: #4e3ab0;
}

.primary-nav .nav-discord:hover {
  color: var(--white);
  background: #6852d6;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 3px solid #697477;
  border-radius: 8px;
  color: var(--ink);
  background: var(--lime);
  box-shadow: inset 0 0 0 2px #243034;
  font-weight: 950;
  text-transform: uppercase;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 10px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle__icon {
  position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle__icon::before {
  top: -6px;
}

.menu-toggle__icon::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  background: var(--ink-2);
}

.hero__background,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__background {
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(2, 13, 18, 0.05) 0%, rgba(2, 13, 18, 0.12) 35%, rgba(2, 13, 18, 0.92) 67%, rgba(2, 13, 18, 0.98) 100%),
    linear-gradient(0deg, rgba(2, 13, 18, 0.82), transparent 38%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - var(--header-height) - 54px);
  align-items: center;
  justify-content: flex-end;
  padding-block: 64px;
}

.hero__panel {
  width: min(54%, 640px);
  padding: clamp(28px, 4vw, 48px);
  border: 3px solid #647277;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(12, 53, 65, 0.95), rgba(3, 24, 31, 0.97)),
    var(--panel);
  box-shadow:
    inset 0 0 0 2px #10191c,
    inset 0 0 40px rgba(30, 217, 237, 0.08),
    12px 14px 0 rgba(0, 0, 0, 0.42),
    0 0 35px rgba(30, 217, 237, 0.12);
}

.hero h1 {
  max-width: 620px;
  color: var(--white);
  font-size: clamp(3.25rem, 6vw, 6.35rem);
  text-shadow:
    0 5px 0 #000,
    0 0 24px rgba(30, 217, 237, 0.16);
}

.hero__tagline {
  margin-bottom: 15px;
  color: var(--lime);
  font-size: clamp(1.22rem, 2.3vw, 1.75rem);
  font-weight: 900;
  line-height: 1.2;
}

.hero__description {
  margin-bottom: 29px;
  color: #c4d4d7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 29px 0 0;
  padding: 0;
  color: #a9bec3;
  font-size: 0.76rem;
  font-weight: 800;
  list-style: none;
}

.hero__facts span {
  color: var(--lime);
}

.lab-ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-block: 2px solid #538084;
  background: #03181f;
}

.lab-ticker::after {
  position: absolute;
  inset: 5px 0;
  border-block: 1px solid rgba(0, 0, 0, 0.72);
  content: "";
  pointer-events: none;
}

.lab-ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  padding: 0;
  color: var(--white);
  background: #03181f;
  animation: ticker-scroll 27s linear infinite;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-shadow: 0 2px 0 #000;
  text-transform: uppercase;
}

.lab-ticker__group {
  display: flex;
  min-width: 100vw;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  padding: 14px 24px 14px 0;
}

.lab-ticker__group b {
  color: var(--lime);
}

@keyframes ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}

.section-heading {
  margin-bottom: clamp(44px, 6vw, 70px);
}

.section-heading--split {
  display: grid;
  align-items: end;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
}

.section-heading--split h2 {
  margin-bottom: 0;
}

.section-heading--split > p {
  margin-bottom: 5px;
  font-size: 1.02rem;
}

.section-heading--center {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .lab-label {
  justify-content: center;
}

.section-heading--center > p:last-child {
  max-width: 650px;
  margin: 0 auto;
}

.experiment {
  background:
    radial-gradient(circle at 80% 18%, rgba(142, 234, 22, 0.08), transparent 23%),
    linear-gradient(rgba(30, 217, 237, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 217, 237, 0.035) 1px, transparent 1px),
    var(--ink-2);
  background-size: auto, 44px 44px, 44px 44px, auto;
}

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

.lab-card {
  --accent: var(--lime);
  position: relative;
  display: flex;
  min-height: 450px;
  overflow: hidden;
  flex-direction: column;
  padding: 20px 21px 24px;
  border: 4px solid #647176;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0a3340, #041b23);
  box-shadow:
    inset 0 0 0 2px #111a1d,
    0 9px 0 #01080b,
    0 0 0 2px #01080b;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.lab-card::before,
.lab-card::after {
  position: absolute;
  z-index: 2;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9fa7a7;
  box-shadow: inset 0 1px 1px #fff, 0 1px 1px #000;
  content: "";
}

.lab-card::before {
  left: 9px;
}

.lab-card::after {
  right: 9px;
}

.lab-card:hover {
  transform: translateY(-7px);
  box-shadow:
    inset 0 0 0 2px #111a1d,
    0 16px 0 #01080b,
    0 0 28px color-mix(in srgb, var(--accent) 25%, transparent);
}

.lab-card--cyan {
  --accent: var(--cyan);
}

.lab-card--purple {
  --accent: var(--purple);
}

.lab-card--amber {
  --accent: var(--amber);
}

.lab-card__art {
  position: relative;
  display: grid;
  height: 190px;
  margin: -2px -3px 24px;
  place-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  background:
    radial-gradient(circle at center, color-mix(in srgb, var(--accent) 19%, transparent), transparent 58%),
    #03151c;
}

.lab-card__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 9px rgba(0, 0, 0, 0.4));
  transition: transform 220ms ease;
}

.lab-card:hover .lab-card__art img {
  transform: scale(1.04);
}

.lab-card__code {
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.lab-card h3 {
  margin-bottom: 10px;
  color: var(--white);
  text-transform: uppercase;
}

.lab-card > p:last-child {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.trailer {
  border-block: 2px solid var(--line);
  background:
    radial-gradient(circle at 25% 45%, rgba(188, 69, 242, 0.16), transparent 30%),
    #050d16;
}

.trailer__grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(45px, 7vw, 92px);
}

.trailer__copy p:not(.lab-label) {
  max-width: 520px;
}

.quote-panel {
  position: relative;
  max-width: 430px;
  margin-top: 34px;
  padding: 22px 24px;
  border: 2px solid #5f6b6e;
  border-radius: 10px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 8px 8px 0 rgba(188, 69, 242, 0.55);
  transform: rotate(-1deg);
}

.quote-panel::after {
  position: absolute;
  right: 45px;
  bottom: -16px;
  border-width: 16px 0 0 20px;
  border-style: solid;
  border-color: transparent transparent transparent var(--cream);
  content: "";
}

.quote-panel p {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.quote-panel span {
  color: #495357;
  font-size: 0.78rem;
  font-weight: 800;
}

.video-console {
  overflow: hidden;
  border: 5px solid #69767a;
  border-radius: 17px;
  background: var(--panel);
  box-shadow:
    inset 0 0 0 2px #11191c,
    12px 14px 0 #010609,
    0 0 34px rgba(30, 217, 237, 0.14);
}

.video-console__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  border-bottom: 2px solid #101719;
  color: var(--cyan);
  background: var(--metal);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 0 #000;
}

.video-console__top i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.video-console video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-console__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px 16px;
}

.soundtrack-toggle {
  min-height: 44px;
  padding: 9px 14px;
  border: 3px solid #687477;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(180deg, #69318b, #39164d);
  box-shadow: inset 0 0 0 2px #1b2225, 0 4px 0 #000;
  font-weight: 900;
}

.soundtrack-toggle:hover {
  filter: brightness(1.2);
}

.soundtrack-toggle[aria-pressed="true"] {
  color: #102100;
  background: linear-gradient(180deg, #9dff24, #4a9300);
}

.video-console__controls p {
  margin: 0;
  font-size: 0.75rem;
  text-align: right;
}

.screenshots {
  background:
    radial-gradient(circle at 50% 0, rgba(30, 217, 237, 0.1), transparent 30%),
    var(--ink-2);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px 24px;
}

.gallery__item {
  min-width: 0;
  margin: 0;
}

.gallery__item--hero {
  grid-column: auto;
}

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

.gallery__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 4px solid #687477;
  border-radius: var(--radius);
  background: #03151c;
  box-shadow:
    inset 0 0 0 2px #10191c,
    8px 9px 0 #01080b;
}

.gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery__item:hover img {
  transform: scale(1.018);
}

.evidence-tag {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border: 2px solid #5f696c;
  border-radius: 7px;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 3px 3px 0 #000;
  font-size: 0.65rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery figcaption {
  padding: 16px 5px 0;
  color: #a9bec3;
  font-size: 0.88rem;
  font-weight: 700;
}

.latest {
  background:
    linear-gradient(rgba(30, 217, 237, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 217, 237, 0.04) 1px, transparent 1px),
    #04141b;
  background-size: 46px 46px;
}

.download-console {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 5px solid #6e797c;
  border-radius: var(--radius-lg);
  grid-template-columns: 0.75fr 1fr 0.85fr;
  background: linear-gradient(135deg, #0a3440, #031820 60%);
  box-shadow:
    inset 0 0 0 2px #11191c,
    12px 14px 0 #01080b;
}

.download-console__character {
  display: flex;
  min-height: 500px;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(188, 69, 242, 0.3), transparent 40%),
    #03151c;
}

.download-console__character img {
  width: 112%;
  max-width: none;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.45));
}

.download-console__copy {
  align-self: center;
  padding: 45px 38px;
}

.download-console__copy h2 {
  font-size: clamp(2.25rem, 4vw, 3.8rem);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 7px 11px;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  background: #03151c;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-badge i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: status-pulse 1.8s ease-in-out infinite;
}

@keyframes status-pulse {
  50% {
    opacity: 0.45;
  }
}

.version-panel {
  align-self: center;
  margin: 30px 30px 30px 0;
  padding: 25px;
  border: 3px solid #687477;
  border-radius: 15px;
  background: #03151c;
  box-shadow: inset 0 0 0 2px #10191c, 0 7px 0 #01080b;
}

.version-panel__screen {
  margin-bottom: 18px;
  padding: 15px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #061f25;
  box-shadow: inset 0 0 18px rgba(142, 234, 22, 0.08);
}

.version-panel__screen p {
  margin-bottom: 3px;
  color: var(--cyan);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.version-panel__screen strong {
  color: var(--lime);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.version-list {
  margin: 0 0 22px;
}

.version-list > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px dashed #31515a;
}

.version-list dt {
  color: #77949b;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.version-list dd {
  margin: 0;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.version-panel__note {
  margin: 14px 0 0;
  font-size: 0.7rem;
  text-align: center;
}

.packs {
  border-block: 2px solid var(--line);
  background:
    radial-gradient(circle at 88% 15%, rgba(188, 69, 242, 0.15), transparent 25%),
    #07141c;
}

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

.pack-card {
  --pack-accent: var(--lime);
  display: flex;
  min-height: 430px;
  overflow: hidden;
  flex-direction: column;
  border: 4px solid #697579;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0a3441, #041a22);
  box-shadow:
    inset 0 0 0 2px #10191c,
    8px 9px 0 #01080b;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease;
}

.pack-card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 2px #10191c,
    8px 15px 0 #01080b,
    0 0 25px color-mix(in srgb, var(--pack-accent) 22%, transparent);
}

.pack-card:nth-child(5n + 2) {
  --pack-accent: var(--cyan);
}

.pack-card:nth-child(5n + 3) {
  --pack-accent: var(--purple);
}

.pack-card:nth-child(5n + 4) {
  --pack-accent: var(--amber);
}

.pack-card:nth-child(5n + 5) {
  --pack-accent: #ff6a88;
}

.pack-card__art {
  position: relative;
  display: grid;
  height: 175px;
  place-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  background:
    radial-gradient(circle, color-mix(in srgb, var(--pack-accent) 22%, transparent), transparent 58%),
    #03151c;
}

.pack-card__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 9px 8px rgba(0, 0, 0, 0.5));
}

.pack-card__status {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 8px;
  border: 2px solid #59676a;
  border-radius: 999px;
  color: var(--ink);
  background: var(--pack-accent);
  box-shadow: 2px 2px 0 #000;
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pack-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px;
}

.pack-card h3 {
  margin-bottom: 9px;
  color: var(--pack-accent);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.pack-card__body > p {
  margin-bottom: 22px;
  font-size: 0.88rem;
}

.pack-card__meta {
  display: flex;
  gap: 14px;
  margin-top: auto;
  margin-bottom: 20px;
  color: #a8c0c4;
  font-size: 0.7rem;
  font-weight: 900;
}

.pack-card__meta span + span {
  padding-left: 14px;
  border-left: 1px solid #3e626b;
}

.pack-card .game-button {
  min-height: 48px;
  padding: 10px 14px;
}

.noscript-message {
  grid-column: 1 / -1;
  padding: 25px;
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
}

.setup {
  background:
    linear-gradient(rgba(30, 217, 237, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 217, 237, 0.035) 1px, transparent 1px),
    var(--ink-2);
  background-size: 42px 42px;
}

.setup__grid {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(48px, 8vw, 100px);
}

.step-list {
  display: grid;
  gap: 14px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 20px;
  border: 2px solid #174956;
  border-radius: 12px;
  background: rgba(6, 38, 49, 0.68);
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.step-list li:hover {
  border-color: var(--cyan);
  transform: translateX(5px);
}

.step-list__number {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 3px solid #657276;
  border-radius: 9px;
  color: var(--ink);
  background: var(--lime);
  box-shadow: inset 0 0 0 2px #243034, 3px 3px 0 #000;
  font-weight: 950;
}

.step-list h3 {
  margin: 3px 0 5px;
  color: var(--white);
  text-transform: uppercase;
}

.step-list p {
  margin: 0;
  font-size: 0.9rem;
}

.lab-window {
  overflow: hidden;
  border: 5px solid #687477;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow:
    inset 0 0 0 2px #10191c,
    10px 11px 0 #01080b;
}

.lab-window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border-bottom: 2px solid #11191c;
  color: var(--lime);
  background: var(--metal);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-shadow: 0 2px 0 #000;
  text-transform: uppercase;
}

.lab-window__bar b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 2px solid #2b3335;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
}

.lab-window__body {
  padding: clamp(27px, 5vw, 42px);
}

.requirements h2 {
  font-size: clamp(2.1rem, 4vw, 3.35rem);
}

.requirements__warning {
  padding: 13px 15px;
  border-left: 5px solid var(--amber);
  background: rgba(243, 189, 37, 0.09);
  color: #d9c99d;
  font-size: 0.82rem;
  font-weight: 700;
}

.requirements__list {
  margin: 24px 0 0;
}

.requirements__list > div {
  padding: 11px 0;
  border-bottom: 1px dashed #31515a;
}

.requirements__list dt {
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.requirements__list dd {
  margin: 1px 0 0;
  font-size: 0.86rem;
  font-weight: 800;
}

.changelog {
  overflow: hidden;
  border-top: 2px solid var(--line);
  background:
    radial-gradient(circle at 25% 50%, rgba(142, 234, 22, 0.1), transparent 35%),
    #050f15;
}

.changelog__grid {
  display: grid;
  align-items: end;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 90px);
}

.changelog__art {
  align-self: end;
  margin-bottom: calc(clamp(82px, 10vw, 138px) * -1);
}

.changelog__art img {
  max-height: 840px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.48));
}

.timeline {
  display: grid;
  gap: 13px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  align-items: start;
  padding: 20px;
  border: 2px solid #194b57;
  border-radius: 12px;
  grid-template-columns: 90px 1fr;
  background: rgba(6, 38, 49, 0.62);
}

.timeline li.timeline__active {
  border-color: var(--lime);
  box-shadow: inset 5px 0 0 var(--lime);
}

.timeline time,
.timeline li > span {
  color: var(--cyan);
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline h3 {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 1.15rem;
  text-transform: uppercase;
}

.timeline p {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.discord-cta {
  position: relative;
  overflow: hidden;
  padding: 50px 0 0;
  border-block: 2px solid #727d7f;
  background:
    linear-gradient(90deg, rgba(74, 54, 177, 0.92), rgba(107, 36, 141, 0.95)),
    var(--purple);
}

.discord-cta__inner {
  display: grid;
  min-height: 310px;
  align-items: center;
  grid-template-columns: 210px 1fr auto;
  gap: 38px;
}

.discord-cta__inner > img {
  align-self: end;
  max-height: 330px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.45));
}

.discord-cta h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.discord-cta p:not(.lab-label) {
  max-width: 650px;
  margin-bottom: 0;
  color: #ebdafa;
}

.discord-cta .lab-label {
  color: #bdff59;
}

.site-footer {
  padding: 52px 0 25px;
  background: #01070a;
}

.footer__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 34px;
  border-bottom: 1px solid #17333a;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__brand img {
  border-radius: 14px;
}

.footer__brand strong {
  display: block;
  margin-bottom: 2px;
  color: var(--white);
  text-transform: uppercase;
}

.footer__brand p {
  margin: 0;
  font-size: 0.78rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 19px;
}

.footer__links a,
.footer__bottom a {
  color: #a9bec3;
  font-size: 0.79rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

.footer__links a:hover,
.footer__bottom a:hover {
  color: var(--lime);
}

.footer__links .footer-support {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 8px;
  border: 3px solid #667376;
  border-radius: 10px;
  color: var(--cream);
  background: linear-gradient(180deg, #0b3541, #041a22);
  box-shadow:
    inset 0 0 0 2px #10191c,
    0 4px 0 #000,
    0 0 16px rgba(142, 234, 22, 0.09);
  line-height: 1.1;
  text-decoration: none;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.footer__links .footer-support:hover {
  border-color: var(--lime);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 2px #10191c,
    0 6px 0 #000,
    0 0 20px rgba(142, 234, 22, 0.24);
}

.footer-support__icon {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 2px solid #657276;
  border-radius: 8px;
  background: #021117;
  box-shadow: inset 0 0 8px rgba(30, 217, 237, 0.18);
}

.footer-support__icon i {
  position: relative;
  display: block;
  width: 14px;
  height: 20px;
  overflow: visible;
  border: 2px solid #b9c5c5;
  border-radius: 3px 3px 7px 7px;
  background: rgba(30, 217, 237, 0.12);
}

.footer-support__icon i::before {
  position: absolute;
  z-index: 2;
  top: -5px;
  left: 1px;
  width: 8px;
  height: 5px;
  border: 2px solid #b9c5c5;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
  content: "";
}

.footer-support__icon i::after {
  position: absolute;
  right: 1px;
  bottom: 1px;
  left: 1px;
  height: 10px;
  border-radius: 1px 1px 4px 4px;
  background: linear-gradient(180deg, #b7ff3b, #62b900);
  box-shadow: 0 0 9px rgba(142, 234, 22, 0.78);
  content: "";
}

.footer-support strong,
.footer-support small {
  display: block;
}

.footer-support strong {
  color: var(--lime);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-support small {
  margin-top: 3px;
  color: #849ca2;
  font-size: 0.62rem;
  font-weight: 700;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 21px;
}

.footer__bottom p {
  margin: 0;
  font-size: 0.7rem;
}

.back-to-top {
  position: fixed;
  z-index: 90;
  right: clamp(16px, 2.4vw, 32px);
  bottom: clamp(16px, 2.4vw, 30px);
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 4px solid #687477;
  border-radius: 50%;
  color: #102100;
  background: linear-gradient(180deg, #a5ff2e, #62b900);
  box-shadow:
    inset 0 0 0 2px #243034,
    0 5px 0 #010608,
    0 0 18px rgba(142, 234, 22, 0.28);
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  transition:
    transform 150ms ease,
    filter 150ms ease,
    box-shadow 150ms ease;
}

.back-to-top:hover {
  filter: brightness(1.18);
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 2px #243034,
    0 8px 0 #010608,
    0 0 24px rgba(142, 234, 22, 0.42);
}

.back-to-top:active {
  transform: none;
  box-shadow:
    inset 0 0 0 2px #243034,
    0 1px 0 #010608;
}

@media (max-width: 1050px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lab-card {
    min-height: 410px;
  }

  .download-console {
    grid-template-columns: 0.7fr 1fr;
  }

  .download-console__character {
    min-height: 430px;
  }

  .version-panel {
    grid-column: 1 / -1;
    margin: 0 30px 30px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .section-shell,
  .nav-shell {
    width: min(calc(100% - 30px), var(--shell));
  }

  .nav-shell {
    gap: 8px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    border-bottom: 0 solid #677377;
    background: rgba(2, 13, 18, 0.98);
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 220ms ease,
      opacity 150ms ease,
      visibility 150ms ease,
      border-width 220ms ease;
  }

  .primary-nav.is-open {
    max-height: calc(100svh - var(--header-height));
    padding: 12px 15px 18px;
    border-bottom-width: 3px;
    opacity: 1;
    visibility: visible;
  }

  .primary-nav a {
    padding: 12px 14px;
    border-bottom: 1px solid #16353d;
    font-size: 0.9rem;
  }

  .primary-nav .nav-discord {
    margin: 9px 0 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero__background {
    object-position: 37% center;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(2, 13, 18, 0.98) 0%, rgba(2, 13, 18, 0.82) 52%, rgba(2, 13, 18, 0.16) 100%);
  }

  .hero__inner {
    min-height: 830px;
    align-items: flex-end;
    padding-block: 300px 58px;
  }

  .hero__panel {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }

  .section-heading--split,
  .trailer__grid,
  .setup__grid {
    grid-template-columns: 1fr;
  }

  .section-heading--split {
    gap: 20px;
  }

  .trailer__grid {
    gap: 50px;
  }

  .quote-panel {
    max-width: 520px;
  }

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

  .changelog__grid {
    grid-template-columns: 0.68fr 1.32fr;
    gap: 30px;
  }

  .discord-cta__inner {
    grid-template-columns: 150px 1fr;
  }

  .discord-cta .game-button {
    grid-column: 2;
    justify-self: start;
    margin-bottom: 36px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(3.1rem, 16vw, 5.2rem);
  }

  .hero__inner {
    min-height: 790px;
    padding: 275px 0 42px;
  }

  .hero__panel {
    padding: 26px 20px 29px;
    border-radius: 18px;
  }

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

  .hero__facts {
    display: grid;
  }

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

  .gallery__item--hero {
    grid-column: auto;
  }

  .lab-card {
    min-height: 420px;
  }

  .video-console__controls {
    align-items: stretch;
    flex-direction: column;
  }

  .video-console__controls p {
    text-align: left;
  }

  .download-console {
    grid-template-columns: 1fr;
  }

  .download-console__character {
    min-height: 300px;
    max-height: 350px;
    align-items: flex-start;
  }

  .download-console__character img {
    width: min(100%, 390px);
    object-position: top center;
  }

  .download-console__copy {
    padding: 32px 24px;
  }

  .version-panel {
    grid-column: auto;
    margin: 0 20px 24px;
  }

  .version-list > div {
    display: grid;
    gap: 2px;
  }

  .version-list dd {
    text-align: left;
  }

  .step-list li {
    padding-inline: 14px;
  }

  .changelog {
    padding-bottom: 0;
  }

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

  .changelog__content {
    grid-row: 1;
  }

  .changelog__art {
    width: min(100%, 480px);
    margin: 0 auto;
  }

  .timeline li {
    grid-template-columns: 72px 1fr;
    padding: 16px;
  }

  .discord-cta {
    padding-top: 62px;
  }

  .discord-cta__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .discord-cta__inner > img {
    display: none;
  }

  .discord-cta .lab-label {
    justify-content: center;
  }

  .discord-cta .game-button {
    grid-column: auto;
    justify-self: stretch;
    margin-bottom: 48px;
  }

  .footer__grid,
  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 0.75rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .menu-toggle {
    padding-inline: 10px;
    font-size: 0.8rem;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    border-width: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .lab-ticker__track {
    transform: none;
  }
}

@media (forced-colors: active) {
  .game-button,
  .lab-card,
  .video-console,
  .gallery__image,
  .download-console,
  .pack-card,
  .lab-window {
    box-shadow: none;
  }
}
