@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Oxanium";
  src: url("../fonts/oxanium-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #050907;
  --night-soft: #08110e;
  --forest: #0c1913;
  --forest-2: #11231a;
  --surface: #0d1713;
  --surface-high: #14231b;
  --paper: #f3f1e8;
  --muted: #aab7ad;
  --muted-2: #76877b;
  --acid: #c8ff3d;
  --acid-soft: #a7e842;
  --ember: #ff7848;
  --cyan: #5de6e6;
  --violet: #b96cff;
  --line: rgba(214, 232, 217, 0.14);
  --line-strong: rgba(214, 232, 217, 0.26);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
  --max: 1240px;
  --header: 82px;
  --display: "Oxanium", "Arial Narrow", sans-serif;
  --body: "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--acid) var(--night);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--night);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--acid);
  color: #061008;
}

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

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

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  padding: 11px 16px;
  border-radius: 4px;
  background: var(--acid);
  color: #07100d;
  font-weight: 800;
  text-decoration: none;
}

/* Header */

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

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(5, 9, 7, 0.86);
  backdrop-filter: blur(18px);
  transition: opacity 180ms ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  border-color: var(--line);
}

.site-header.is-scrolled::before,
body.nav-open .site-header::before {
  opacity: 1;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(200, 255, 61, 0.48);
  background: linear-gradient(145deg, rgba(200, 255, 61, 0.16), rgba(200, 255, 61, 0.025));
  color: var(--acid);
  clip-path: polygon(16% 0, 84% 0, 100% 16%, 100% 84%, 84% 100%, 16% 100%, 0 84%, 0 16%);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(200, 255, 61, 0.13);
  clip-path: inherit;
}

.brand__mark svg {
  width: 31px;
  height: 31px;
  overflow: visible;
  fill: currentColor;
}

.brand__mark .brand__mark-cut {
  fill: #0b1611;
}

.brand__mark .brand__mark-legs {
  fill: none;
  stroke: var(--ember);
  stroke-width: 6;
  stroke-linecap: round;
}

.brand__word {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.brand__word span {
  color: var(--acid);
}

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

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  color: #c5d0c8;
  font-family: var(--display);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav > a:not(.nav-play)::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 6px;
  left: 13px;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:not(.nav-play):hover {
  color: var(--paper);
}

.site-nav > a:not(.nav-play):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .nav-play {
  gap: 8px;
  margin-left: 12px;
  padding-inline: 18px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: #08110b;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  box-shadow: 0 0 30px rgba(200, 255, 61, 0.13);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-nav .nav-play:hover {
  background: #ddff82;
  box-shadow: 0 0 36px rgba(200, 255, 61, 0.28);
  transform: translateY(-1px);
}

.site-nav .nav-play svg {
  width: 17px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.legal-play {
  color: var(--acid);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-play:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Shared type and controls */

.section {
  position: relative;
  padding: 128px 24px;
  scroll-margin-top: 76px;
}

.section__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--acid);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-grid;
  width: 31px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(200, 255, 61, 0.38);
  color: var(--acid);
  font-size: 0.66rem;
  letter-spacing: 0;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
}

h1,
h2 {
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5.8vw, 5.5rem);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.96;
  text-transform: uppercase;
}

h2 em {
  color: var(--acid);
  font-style: normal;
}

.section-heading {
  margin-bottom: 72px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 64px;
  align-items: end;
}

.section-heading__lead,
.section-heading--center > p:last-child {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading--center {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 54px;
  padding: 13px 22px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(5, 9, 7, 0.14);
  clip-path: inherit;
  pointer-events: none;
}

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

.button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button svg path:only-child[d^="m9"],
.button svg path:last-child[d^="m10"] {
  fill: currentColor;
  stroke: none;
}

.button small {
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0;
}

.button--primary {
  border-color: var(--acid);
  background: var(--acid);
  color: #07100d;
  box-shadow: 0 16px 50px rgba(158, 213, 36, 0.2);
}

.button--primary:hover {
  background: #dcff80;
  box-shadow: 0 18px 58px rgba(158, 213, 36, 0.32);
}

.button--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--paper);
  backdrop-filter: blur(10px);
}

.button--ghost::before,
.button--light::before {
  border-color: rgba(255, 255, 255, 0.045);
}

.button--ghost:hover {
  border-color: rgba(200, 255, 61, 0.5);
  background: rgba(200, 255, 61, 0.08);
}

.button--light {
  border-color: var(--paper);
  background: var(--paper);
  color: #0a120f;
}

.button--light:hover {
  background: var(--acid);
  border-color: var(--acid);
}

.button--large {
  min-height: 62px;
  padding-inline: 28px;
  font-size: 0.9rem;
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  padding: calc(var(--header) + 60px) 24px 82px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 75% 38%, rgba(255, 111, 54, 0.1), transparent 33%),
    radial-gradient(circle at 22% 52%, rgba(116, 201, 42, 0.06), transparent 35%),
    linear-gradient(110deg, #050907 0%, #07110d 55%, #0a110e 100%);
}

.header-sentinel {
  position: absolute;
  top: 17px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.36;
  background-image: url("../images/bitants-trailer-poster-v2.webp");
  background-position: 84% 45%;
  background-size: min(61vw, 920px) auto;
  background-repeat: no-repeat;
  filter: blur(52px) saturate(0.85);
  transform: scale(1.1);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 9, 7, 0.99) 0%, rgba(5, 9, 7, 0.92) 34%, rgba(5, 9, 7, 0.5) 67%, rgba(5, 9, 7, 0.78) 100%),
    linear-gradient(0deg, var(--night) 0%, transparent 20%);
}

.hero__hex {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.09;
  background-image:
    linear-gradient(30deg, #c8ff3d 12%, transparent 12.5%, transparent 87%, #c8ff3d 87.5%, #c8ff3d),
    linear-gradient(150deg, #c8ff3d 12%, transparent 12.5%, transparent 87%, #c8ff3d 87.5%, #c8ff3d),
    linear-gradient(30deg, #c8ff3d 12%, transparent 12.5%, transparent 87%, #c8ff3d 87.5%, #c8ff3d),
    linear-gradient(150deg, #c8ff3d 12%, transparent 12.5%, transparent 87%, #c8ff3d 87.5%, #c8ff3d),
    linear-gradient(60deg, rgba(200, 255, 61, 0.55) 25%, transparent 25.5%, transparent 75%, rgba(200, 255, 61, 0.55) 75%);
  background-position: 0 0, 0 0, 30px 53px, 30px 53px, 0 0;
  background-size: 60px 106px;
  mask-image: linear-gradient(90deg, black, transparent 56%);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.hero__glow--green {
  top: 30%;
  left: -360px;
  background: rgba(145, 211, 52, 0.13);
}

.hero__glow--ember {
  right: -350px;
  bottom: -290px;
  background: rgba(255, 105, 53, 0.15);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.72fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero__content {
  z-index: 2;
  width: 100%;
  max-width: 730px;
  min-width: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  padding: 8px 13px;
  border: 1px solid rgba(200, 255, 61, 0.32);
  background: rgba(200, 255, 61, 0.06);
  color: var(--acid);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.status-badge > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(200, 255, 61, 0.1), 0 0 18px var(--acid);
  animation: status-pulse 2.2s ease-out infinite;
}

@keyframes status-pulse {
  50% { box-shadow: 0 0 0 9px rgba(200, 255, 61, 0), 0 0 22px var(--acid); }
}

.hero__wordmark {
  margin: 0 0 18px;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(4.6rem, 10vw, 8.7rem);
  font-weight: 800;
  letter-spacing: -0.095em;
  line-height: 0.76;
  text-shadow: 0 0 52px rgba(255, 255, 255, 0.08);
}

.hero__wordmark span {
  color: var(--acid);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.15rem, 4.4vw, 4.35rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-transform: uppercase;
}

.hero h1 em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-weight: 550;
}

.hero__lead {
  max-width: 620px;
  margin: 25px 0 0;
  color: #bdc8c0;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero__proof {
  display: flex;
  gap: 24px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  list-style: none;
  text-transform: uppercase;
}

.hero__proof li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero__proof svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--acid);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 450px);
  min-width: 0;
}

.hero-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(236, 244, 238, 0.28);
  background: #0a0d0a;
  color: var(--paper);
  cursor: pointer;
  aspect-ratio: 9 / 13.5;
  box-shadow: 0 45px 110px rgba(0, 0, 0, 0.62), 0 0 0 9px rgba(255, 255, 255, 0.025);
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.hero-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  clip-path: inherit;
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 7, 0.38), transparent 26%, transparent 54%, rgba(5, 8, 7, 0.8));
  pointer-events: none;
}

.hero-card:hover {
  border-color: rgba(200, 255, 61, 0.62);
  box-shadow: 0 50px 125px rgba(0, 0, 0, 0.68), 0 0 50px rgba(200, 255, 61, 0.09);
  transform: translateY(-7px) rotate(0.35deg);
}

.hero-card__frame {
  position: absolute;
  inset: 0;
}

.hero-card__frame img,
.hero-card__frame video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card__frame video {
  z-index: 1;
}

.hero-card__top,
.hero-card__bottom {
  position: absolute;
  z-index: 4;
  right: 25px;
  left: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-card__top {
  top: 26px;
  justify-content: flex-start;
  gap: 9px;
}

.hero-card__top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4e3d;
  box-shadow: 0 0 13px #ff4e3d;
}

.hero-card__bottom {
  bottom: 25px;
}

.hero-card__bottom span:last-child {
  color: var(--acid);
}

.hero-card__play {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(5, 9, 7, 0.32);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-card:hover .hero-card__play {
  border-color: var(--acid);
  background: var(--acid);
  color: #07100d;
  transform: translate(-50%, -50%) scale(1.07);
}

.hero-card__play svg {
  width: 34px;
  fill: currentColor;
}

.hero-stat {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 128px;
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  background: rgba(6, 12, 9, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.hero-stat strong {
  color: var(--acid);
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
}

.hero-stat span {
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-stat--left {
  bottom: 16%;
  left: -44px;
}

.hero-stat--right {
  top: 18%;
  right: -42px;
}

.scroll-cue {
  position: absolute;
  right: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(50%);
}

.scroll-cue i {
  position: relative;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 1px;
  background: var(--acid);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  from { transform: translateX(-12px); }
  to { transform: translateX(44px); }
}

/* Game loop */

.game-loop {
  position: relative;
  z-index: 4;
  padding: 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #07100c;
}

.game-loop__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: stretch;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.game-loop__inner > p {
  display: flex;
  align-items: center;
  margin: 0;
  border-right: 1px solid var(--line);
  color: var(--acid);
  font-family: var(--display);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.game-loop ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-loop li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 84px;
  padding: 16px 18px;
  color: #d5ded7;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.game-loop li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--muted-2);
  border-right: 1px solid var(--muted-2);
  transform: translateY(-50%) rotate(45deg);
}

.game-loop li span {
  color: var(--muted-2);
  font-size: 0.65rem;
}

/* Gameplay */

.gameplay {
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 35%, rgba(200, 255, 61, 0.035), transparent 32%),
    var(--night);
}

.gameplay::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -80px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(200, 255, 61, 0.06);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(200, 255, 61, 0.015), 0 0 0 130px rgba(200, 255, 61, 0.01);
}

.gameplay-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: stretch;
}

.gameplay-screen {
  position: relative;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line-strong);
  background: #08110f;
  box-shadow: var(--shadow);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.gameplay-screen::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(200, 255, 61, 0.45), transparent 28%, transparent 70%, rgba(93, 230, 230, 0.25));
  clip-path: inherit;
}

.gameplay-screen__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 7px 10px 10px;
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gameplay-screen__chrome > div {
  display: flex;
  gap: 5px;
}

.gameplay-screen__chrome i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-2);
}

.gameplay-screen__chrome i:first-child {
  background: var(--ember);
}

.gameplay-screen__chrome i:nth-child(2) {
  background: #f1c94c;
}

.gameplay-screen__chrome i:nth-child(3) {
  background: var(--acid-soft);
}

.gameplay-screen__chrome b {
  color: var(--acid);
  font-weight: 700;
}

.gameplay-screen > img {
  width: 100%;
  border: 1px solid rgba(93, 230, 230, 0.17);
  background: #061016;
  aspect-ratio: 1.44 / 1;
  object-fit: cover;
  object-position: center top;
}

.gameplay-screen__label {
  position: absolute;
  bottom: 30px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(200, 255, 61, 0.35);
  background: rgba(5, 12, 14, 0.84);
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.gameplay-screen__label span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}

.world-switch {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.world-card {
  position: relative;
  min-width: 0;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(18, 37, 28, 0.86), rgba(8, 16, 12, 0.94));
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.world-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(200, 255, 61, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(200, 255, 61, 0.025), 0 0 0 56px rgba(200, 255, 61, 0.015);
}

.world-card--underground {
  background: linear-gradient(145deg, rgba(12, 40, 40, 0.75), rgba(8, 16, 16, 0.95));
}

.world-card--underground::after {
  border-color: rgba(93, 230, 230, 0.1);
  box-shadow: 0 0 0 28px rgba(93, 230, 230, 0.025), 0 0 0 56px rgba(93, 230, 230, 0.015);
}

.world-card__number {
  position: absolute;
  top: 24px;
  right: 27px;
  color: rgba(255, 255, 255, 0.1);
  font-family: var(--display);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
}

.world-card__label {
  margin: 0 0 12px;
  color: var(--acid);
  font-family: var(--display);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.world-card--underground .world-card__label {
  color: var(--cyan);
}

.world-card h3 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.world-card > p:not(.world-card__label) {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.world-card ul {
  display: flex;
  gap: 7px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  list-style: none;
}

.world-card li {
  padding: 5px 8px;
  border: 1px solid var(--line);
  color: #9dad9f;
  font-size: 0.65rem;
  font-weight: 650;
  text-transform: uppercase;
}

/* Trailer */

.trailer {
  min-height: 980px;
  padding-block: 145px;
  overflow: hidden;
  background: #0b0b09;
}

.trailer__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #090b09 0%, rgba(9, 11, 9, 0.96) 28%, rgba(9, 11, 9, 0.62) 60%, #090b09 100%),
    linear-gradient(0deg, #090b09 0%, transparent 20%, transparent 80%, #090b09 100%),
    url("../images/bitants-world-defend.webp") center 52% / cover no-repeat;
  filter: saturate(0.82);
  transform: scale(1.03);
}

.trailer__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255, 255, 255, 0.025) 4px);
  mix-blend-mode: screen;
}

.trailer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(360px, 0.76fr) minmax(240px, 0.52fr);
  gap: 32px;
  align-items: center;
}

.trailer__copy {
  position: relative;
  z-index: 4;
  max-width: 430px;
}

.trailer__copy h2 {
  font-size: clamp(3.2rem, 6.6vw, 6.1rem);
}

.trailer__copy > p:not(.eyebrow) {
  margin: 28px 0 30px;
  color: #c0c9c2;
  font-size: 1rem;
}

.trailer__copy > small {
  display: block;
  margin-top: 15px;
  color: #89958c;
  font-size: 0.72rem;
}

.trailer-poster {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: #090b09;
  cursor: pointer;
  aspect-ratio: 9 / 14;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.64);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  transition: transform 260ms ease, border-color 260ms ease;
}

.trailer-poster::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  clip-path: inherit;
}

.trailer-poster:hover {
  border-color: var(--acid);
  transform: translateY(-7px);
}

.trailer-poster > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.trailer-poster:hover > img {
  transform: scale(1.035);
}

.trailer-poster__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 7, 5, 0.88));
}

.trailer-poster__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(6, 9, 7, 0.27);
  color: white;
  backdrop-filter: blur(7px);
  transform: translate(-50%, -50%);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.trailer-poster:hover .trailer-poster__play {
  background: var(--acid);
  color: #07100d;
  transform: translate(-50%, -50%) scale(1.07);
}

.trailer-poster__play svg {
  width: 34px;
  fill: currentColor;
}

.trailer-poster__caption {
  position: absolute;
  right: 26px;
  bottom: 25px;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: white;
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trailer-poster__caption i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4e3d;
  box-shadow: 0 0 12px #ff4e3d;
}

.trailer-stills {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.trailer-stills figure {
  position: relative;
  height: 190px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #090b09;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.trailer-stills figure:nth-child(2) {
  transform: translateX(24px);
}

.trailer-stills img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.86) brightness(0.76);
  transition: transform 400ms ease, filter 400ms ease;
}

.trailer-stills figure:hover img {
  filter: saturate(1) brightness(0.92);
  transform: scale(1.04);
}

.trailer-stills figcaption {
  position: absolute;
  bottom: 13px;
  left: 15px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Strategy */

.strategy {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(93, 230, 230, 0.06), transparent 32%),
    var(--night-soft);
}

.strategy::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(200, 255, 61, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 61, 0.4) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.caste-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.caste-card {
  position: relative;
  min-height: 360px;
  padding: 32px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(20, 35, 27, 0.8), rgba(7, 13, 10, 0.86));
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: border-color 220ms ease, transform 220ms ease, background-color 220ms ease;
}

.caste-card::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(200, 255, 61, 0.08);
  filter: blur(60px);
  transform: translateX(-50%);
  transition: opacity 220ms ease;
}

.caste-card:nth-child(2)::before {
  background: rgba(255, 120, 72, 0.1);
}

.caste-card:nth-child(3)::before {
  background: rgba(93, 230, 230, 0.1);
}

.caste-card:nth-child(4)::before {
  background: rgba(185, 108, 255, 0.1);
}

.caste-card:hover {
  border-color: rgba(200, 255, 61, 0.38);
  background: linear-gradient(160deg, rgba(26, 48, 36, 0.86), rgba(8, 16, 12, 0.9));
  transform: translateY(-7px);
}

.caste-card__icon {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 60px;
  place-items: center;
  border: 1px solid rgba(200, 255, 61, 0.35);
  background: rgba(200, 255, 61, 0.06);
  color: var(--acid);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.caste-card:nth-child(2) .caste-card__icon {
  border-color: rgba(255, 120, 72, 0.42);
  background: rgba(255, 120, 72, 0.07);
  color: var(--ember);
}

.caste-card:nth-child(3) .caste-card__icon {
  border-color: rgba(93, 230, 230, 0.4);
  background: rgba(93, 230, 230, 0.07);
  color: var(--cyan);
}

.caste-card:nth-child(4) .caste-card__icon {
  border-color: rgba(185, 108, 255, 0.4);
  background: rgba(185, 108, 255, 0.07);
  color: var(--violet);
}

.caste-card__icon svg {
  width: 43px;
  height: 43px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.caste-card__index {
  position: absolute;
  top: 27px;
  right: 27px;
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 700;
}

.caste-card h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.caste-card p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* Beta */

.beta {
  padding-block: 140px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 30%, rgba(200, 255, 61, 0.13), transparent 30%),
    linear-gradient(110deg, #101b10, #172917 52%, #102017);
}

.beta::before {
  content: "";
  position: absolute;
  top: -240px;
  right: 8%;
  width: 610px;
  height: 610px;
  border: 1px solid rgba(200, 255, 61, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(200, 255, 61, 0.025), 0 0 0 145px rgba(200, 255, 61, 0.015);
}

.beta__noise {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.beta__inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 90px;
  align-items: center;
}

.beta__copy {
  max-width: 670px;
}

.beta__copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 26px 0 32px;
  color: #bec9bd;
  font-size: 1.06rem;
}

.beta__copy > small {
  display: block;
  margin-top: 13px;
  color: #809283;
  font-size: 0.7rem;
}

.beta__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(200, 255, 61, 0.23);
  background: rgba(5, 12, 8, 0.38);
  backdrop-filter: blur(14px);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.beta__stats div {
  display: flex;
  min-height: 180px;
  padding: 28px 20px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.beta__stats div:not(:last-child) {
  border-right: 1px solid rgba(200, 255, 61, 0.14);
}

.beta__stats strong {
  color: var(--acid);
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
}

.beta__stats span {
  margin-top: 13px;
  color: #a7b6a8;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Contact */

.contact {
  background: #070b09;
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(420px, 1fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}

.contact__copy h2 {
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.contact__copy > p:not(.eyebrow) {
  margin: 25px 0;
  color: var(--muted);
}

.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--acid);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.contact__mail:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact__mail svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form {
  position: relative;
  padding: 38px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(20, 35, 27, 0.72), rgba(9, 15, 12, 0.82));
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.contact-form::before,
.contact-form::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.contact-form::before {
  top: -1px;
  right: -1px;
  border-top: 1px solid var(--acid);
  border-right: 1px solid var(--acid);
}

.contact-form::after {
  bottom: -1px;
  left: -1px;
  border-bottom: 1px solid var(--acid);
  border-left: 1px solid var(--acid);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field--trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field label {
  color: #c6d1c8;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(213, 231, 216, 0.17);
  border-radius: 0;
  outline: none;
  background: rgba(5, 9, 7, 0.62);
  color: var(--paper);
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.field input {
  min-height: 51px;
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #607067;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--acid);
  background: rgba(7, 14, 10, 0.82);
  box-shadow: 0 0 0 3px rgba(200, 255, 61, 0.08);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(255, 120, 72, 0.08);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.form-status {
  min-height: 1.5em;
  margin-top: 15px;
}

.form-status.is-success {
  color: var(--acid);
}

.form-status.is-error {
  color: #ff9273;
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.62;
}

/* Footer */

.site-footer {
  padding: 64px 24px 28px;
  border-top: 1px solid var(--line);
  background: #040705;
}

.site-footer__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 50px;
}

.site-footer__top > p {
  margin: 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.footer-play {
  justify-self: end;
  color: var(--acid);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-play:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.72rem;
}

.site-footer__bottom nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.site-footer__bottom a,
.site-footer__bottom button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.site-footer__bottom a:hover,
.site-footer__bottom button:hover {
  color: var(--paper);
}

/* Video dialog */

.video-dialog {
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: visible;
  border: 1px solid var(--line-strong);
  background: #070b09;
  color: var(--paper);
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.78);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.video-dialog::backdrop {
  background: rgba(1, 3, 2, 0.86);
  backdrop-filter: blur(14px);
}

.video-dialog__chrome {
  position: relative;
  padding: 16px;
}

.video-dialog__close {
  position: absolute;
  z-index: 5;
  top: 24px;
  right: 24px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(5, 9, 7, 0.75);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 160ms ease, color 160ms ease;
}

.video-dialog__close:hover {
  background: var(--acid);
  color: #07100d;
}

.video-dialog__close svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.video-dialog__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(260px, 0.72fr);
  min-height: 640px;
  align-items: stretch;
}

.video-dialog__player {
  width: 100%;
  height: min(76vh, 700px);
  background: black;
  object-fit: contain;
}

.video-dialog__copy {
  display: flex;
  padding: 74px 50px 50px;
  justify-content: center;
  flex-direction: column;
  background:
    radial-gradient(circle at 0 35%, rgba(200, 255, 61, 0.09), transparent 30%),
    #0b120e;
}

.video-dialog__copy h2 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}

.video-dialog__copy > p:not(.eyebrow) {
  margin: 22px 0 30px;
  color: var(--muted);
}

/* Legal and 404 */

.legal-main {
  min-height: 100vh;
  padding: 150px max(24px, calc((100vw - 780px) / 2)) 90px;
  background:
    radial-gradient(circle at 90% 10%, rgba(200, 255, 61, 0.08), transparent 28%),
    var(--night);
}

.legal-main h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-transform: uppercase;
}

.legal-main h2 {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
}

.legal-main section {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-main a:not(.button) {
  color: var(--acid);
}

.error-main {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.error-main > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 26px;
}

/* Responsive */

@media (max-width: 1120px) {
  .site-nav a {
    padding-inline: 9px;
  }

  .site-nav .nav-play {
    margin-left: 6px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.65fr);
    gap: 54px;
  }

  .hero-stat--left {
    left: -22px;
  }

  .hero-stat--right {
    right: -22px;
  }

  .trailer__inner {
    grid-template-columns: minmax(280px, 0.75fr) minmax(340px, 0.8fr);
  }

  .trailer-stills {
    display: none;
  }

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

  .caste-card {
    min-height: 330px;
  }
}

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

  .site-header__inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 0;
    z-index: 110;
    display: flex;
    padding: 34px 24px max(34px, env(safe-area-inset-bottom));
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    background:
      radial-gradient(circle at 100% 0%, rgba(200, 255, 61, 0.1), transparent 28%),
      rgba(5, 9, 7, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav::before {
    content: "MENU / BITANTS";
    margin-bottom: 20px;
    color: var(--muted-2);
    font-family: var(--display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.17em;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 62px;
    padding-inline: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .site-nav > a:not(.nav-play)::after {
    display: none;
  }

  .site-nav .nav-play {
    margin: 28px 0 0;
    justify-content: center;
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header) + 65px);
    padding-bottom: 80px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero__content {
    max-width: 760px;
  }

  .hero__visual {
    width: min(88%, 470px);
  }

  .scroll-cue {
    display: none;
  }

  .game-loop__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .game-loop__inner > p {
    min-height: 52px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .game-loop li {
    min-height: 70px;
    padding-inline: 8px;
    font-size: 0.7rem;
  }

  .section {
    padding-block: 100px;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-heading__lead {
    max-width: 650px;
  }

  .gameplay-showcase {
    grid-template-columns: 1fr;
  }

  .world-switch {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .trailer {
    min-height: 0;
  }

  .trailer__inner {
    grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 0.8fr);
  }

  .beta__inner {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .contact__copy {
    max-width: 650px;
  }
}

@media (max-width: 680px) {
  .site-header__inner {
    width: calc(100% - 28px);
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__word {
    font-size: 1.2rem;
  }

  .hero {
    padding-inline: 18px;
    padding-top: calc(var(--header) + 44px);
  }

  .hero::before {
    display: none;
  }

  .status-badge {
    margin-bottom: 24px;
  }

  .hero__wordmark {
    font-size: clamp(4.1rem, 24vw, 6.5rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

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

  .hero__actions .button {
    width: 100%;
  }

  .hero__proof {
    gap: 12px 20px;
    flex-wrap: wrap;
  }

  .hero__visual {
    width: min(88%, 400px);
  }

  .hero-stat {
    min-width: 112px;
    padding: 9px 12px;
  }

  .hero-stat--left {
    bottom: 12%;
    left: -23px;
  }

  .hero-stat--right {
    top: 14%;
    right: -23px;
  }

  .game-loop {
    padding-inline: 18px;
  }

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

  .game-loop li:nth-child(2)::after {
    display: none;
  }

  .game-loop li:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 82px 18px;
  }

  .section-heading {
    margin-bottom: 50px;
  }

  h2 {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
  }

  .gameplay-screen {
    padding: 7px;
  }

  .gameplay-screen__chrome {
    min-height: 34px;
  }

  .gameplay-screen__chrome span {
    display: none;
  }

  .gameplay-screen__label {
    bottom: 20px;
    left: 18px;
  }

  .world-switch {
    grid-template-columns: 1fr;
  }

  .world-card {
    padding: 28px;
  }

  .trailer {
    padding-block: 90px;
  }

  .trailer__backdrop {
    opacity: 0.62;
    background-position: center;
  }

  .trailer__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .trailer__copy {
    max-width: 560px;
  }

  .trailer-poster {
    width: min(92%, 430px);
    margin: 0 auto;
  }

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

  .caste-card {
    min-height: 300px;
  }

  .caste-card__icon {
    margin-bottom: 46px;
  }

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

  .beta__stats div {
    min-height: 112px;
  }

  .beta__stats div:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(200, 255, 61, 0.14);
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 27px 22px;
  }

  .form-row {
    align-items: stretch;
    flex-direction: column;
  }

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

  .site-footer {
    padding-inline: 18px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: start;
  }

  .site-footer__top > p {
    text-align: left;
  }

  .footer-play {
    justify-self: start;
  }

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

  .site-footer__bottom nav {
    gap: 15px;
    flex-wrap: wrap;
  }

  .video-dialog {
    width: calc(100vw - 18px);
    max-height: calc(100dvh - 18px);
  }

  .video-dialog__chrome {
    padding: 8px;
  }

  .video-dialog__layout {
    display: block;
    min-height: 0;
  }

  .video-dialog__player {
    height: calc(100dvh - 34px);
    max-height: 760px;
  }

  .video-dialog__copy {
    display: none;
  }

  .video-dialog__close {
    top: 18px;
    right: 18px;
  }

  .legal-main {
    padding-inline: 20px;
  }
}

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

  .hero__proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero__visual {
    width: 90%;
  }

  .hero-card__play,
  .trailer-poster__play {
    width: 70px;
    height: 70px;
  }

  .hero-stat strong {
    font-size: 1.1rem;
  }

  .hero-stat span {
    font-size: 0.55rem;
  }

  .world-card ul {
    display: none;
  }
}

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

  .hero-card__frame video {
    display: none;
  }
}
