:root {
  color-scheme: dark;
  --ink: #f4f2ec;
  --muted: #a9adbd;
  --night: #090b12;
  --panel: #111522;
  --panel-raised: #171c2c;
  --line: #2a3043;
  --lava: #ff5d28;
  --lava-hot: #ffd166;
  --blue: #4e8cff;
  --red: #ee4242;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 93, 40, .09), transparent 27rem),
    var(--night);
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 32px 32px;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--night);
  background: var(--lava-hot);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 36px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(9, 11, 18, .82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  width: max-content;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -.03em;
}

.brand img {
  border-radius: 10px;
}

nav {
  display: flex;
  gap: 30px;
  font-size: .84rem;
  color: var(--muted);
}

nav a {
  transition: color .2s ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.header-action {
  justify-self: end;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.header-action:hover,
.header-action:focus-visible {
  border-color: var(--lava);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  width: min(calc(100% - 36px), var(--max));
  min-height: calc(100vh - 76px);
  padding: 72px 0 86px;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 24px;
  color: #c5c8d4;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.eyebrow span {
  width: 24px;
  height: 2px;
  background: var(--lava);
  box-shadow: 0 0 15px rgba(255, 93, 40, .8);
}

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

h1,
h2 {
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.065em;
}

h1 {
  max-width: 720px;
  margin-bottom: 30px;
  font-size: clamp(4rem, 8vw, 7.5rem);
  text-transform: uppercase;
}

h1 em {
  color: var(--lava);
  font-style: normal;
  text-shadow: 0 0 34px rgba(255, 93, 40, .2);
}

.hero-lede {
  max-width: 600px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

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

.button-primary {
  color: #150a06;
  background: linear-gradient(135deg, var(--lava-hot), var(--lava));
  box-shadow: 0 12px 42px rgba(255, 93, 40, .18);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(17, 21, 34, .72);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #596078;
}

.button-muted {
  color: #8b8f9e;
  border-color: var(--line);
  background: #151926;
  cursor: not-allowed;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 0;
  color: #7f8496;
  font-size: .72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .1em;
  list-style: none;
}

.platform-list li::before {
  margin-right: 8px;
  color: var(--lava);
  content: "■";
  font-size: .5rem;
}

.hero-scene {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 680px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(22, 26, 42, .25), rgba(6, 7, 12, .88)),
    #10131e;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .45);
}

.hero-scene::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 90px rgba(0, 0, 0, .75);
  pointer-events: none;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.ambient-one {
  top: 22%;
  left: 4%;
  width: 52%;
  height: 36%;
  background: rgba(255, 77, 32, .28);
}

.ambient-two {
  right: 0;
  bottom: 10%;
  width: 42%;
  height: 38%;
  background: rgba(34, 76, 157, .22);
}

.voxel-map {
  position: absolute;
  inset: 9% 6% 12%;
  transform: rotateX(58deg) rotateZ(-39deg);
  transform-style: preserve-3d;
}

.voxel {
  position: absolute;
  width: 28%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #252a3b;
  box-shadow:
    inset -18px -18px 0 rgba(0, 0, 0, .2),
    22px 22px 30px rgba(0, 0, 0, .34);
}

.voxel::before {
  position: absolute;
  inset: -14px 0 auto 14px;
  height: 14px;
  content: "";
  background: inherit;
  filter: brightness(1.24);
  transform: skewX(-45deg);
  transform-origin: bottom;
}

.voxel::after {
  position: absolute;
  inset: 0 -14px 0 auto;
  width: 14px;
  content: "";
  background: inherit;
  filter: brightness(.68);
  transform: skewY(-45deg);
  transform-origin: left;
}

.voxel-stone {
  background: linear-gradient(135deg, #343a4e, #202536);
}

.voxel-ore {
  background:
    radial-gradient(circle at 30% 28%, #e9faff 0 5%, transparent 6%),
    radial-gradient(circle at 67% 65%, #a5e8ff 0 8%, transparent 9%),
    linear-gradient(135deg, #344255, #202536);
  box-shadow: 0 0 24px rgba(108, 215, 255, .18);
}

.voxel-lava {
  background:
    linear-gradient(45deg, transparent 38%, rgba(255, 231, 107, .72) 40% 45%, transparent 47%),
    linear-gradient(135deg, #ff9a28, #d52625);
  box-shadow: 0 0 45px rgba(255, 72, 28, .55);
}

.voxel-blue { background: linear-gradient(135deg, #4e8cff, #174a9e); }
.voxel-red { background: linear-gradient(135deg, #f15757, #9f1d29); }
.v1 { top: 7%; left: 8%; }
.v2 { top: 7%; left: 39%; }
.v3 { top: 7%; left: 70%; }
.v4 { top: 35%; left: 8%; }
.v5 { top: 35%; left: 39%; }
.v6 { top: 35%; left: 70%; }
.v7 { top: 63%; left: 8%; }
.v8 { top: 63%; left: 39%; }
.v9 { top: 63%; left: 70%; }
.v10 { top: 91%; left: 8%; }
.v11 { top: 91%; left: 39%; }
.v12 { top: 91%; left: 70%; }

.depth-card {
  position: absolute;
  right: 22px;
  bottom: 24px;
  z-index: 2;
  width: 180px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
  background: rgba(8, 10, 17, .82);
  backdrop-filter: blur(10px);
}

.depth-card span {
  display: block;
  color: var(--muted);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.depth-card strong {
  display: block;
  margin: 4px 0 10px;
  font-size: 1.4rem;
}

.depth-bar {
  height: 3px;
  overflow: hidden;
  background: #292e3f;
}

.depth-bar i {
  display: block;
  width: 72%;
  height: 100%;
  background: var(--lava);
}

.scene-caption {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  color: #bdc0cc;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0e111b;
}

.ticker div {
  display: flex;
  gap: 44px;
  justify-content: center;
  width: max-content;
  min-width: 100%;
  padding: 18px 30px;
  color: #7e8395;
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.ticker i {
  color: var(--lava);
  font-style: normal;
}

.section {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 120px 0;
}

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

h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  text-transform: uppercase;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.5rem;
  letter-spacing: -.035em;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.3fr .85fr .85fr;
  gap: 14px;
}

.feature-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(25, 30, 47, .96), rgba(14, 17, 27, .96));
}

.feature-number {
  margin-bottom: 72px;
  color: var(--lava);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .75rem;
}

.feature-card p:last-of-type {
  max-width: 380px;
  color: var(--muted);
  font-size: .92rem;
}

.mini-map {
  position: absolute;
  right: -28px;
  bottom: -38px;
  display: grid;
  grid-template-columns: repeat(5, 42px);
  gap: 5px;
  opacity: .45;
  transform: rotate(-12deg);
}

.mini-map span {
  aspect-ratio: 1;
  border: 1px solid #3c4359;
  background: #242a3b;
}

.mini-map span:nth-child(3n) { background: #3b4155; }
.mini-map span:nth-child(7) { background: var(--lava); }
.mini-map span:nth-child(9) { background: var(--blue); }

.download {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.section-lede,
.server-copy > p:last-child,
.web-player > div:last-child > p {
  max-width: 580px;
  margin-top: 24px;
  color: var(--muted);
}

.download-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
}

.release-status {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.release-status strong,
.release-status small {
  display: block;
}

.release-status small {
  margin-top: 4px;
  color: var(--muted);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lava-hot);
  box-shadow: 0 0 22px rgba(255, 209, 102, .65);
}

.download-panel .button {
  width: 100%;
}

.server {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: end;
  border-top: 1px solid var(--line);
}

.server-address {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid #394056;
  border-radius: 5px;
  background: linear-gradient(135deg, #151a2a, #10131e);
}

.server-address span,
.server-address strong {
  display: block;
}

.server-address span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.server-address strong {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: clamp(.92rem, 2vw, 1.18rem);
}

.copy-button {
  min-width: 76px;
  min-height: 42px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #202638;
  cursor: pointer;
}

.copy-button:hover,
.copy-button:focus-visible,
.copy-button.is-copied {
  border-color: var(--lava);
}

.web-player {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 72px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.browser-chrome {
  overflow: hidden;
  border: 1px solid #353c52;
  border-radius: 7px;
  background: #121624;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

.browser-top {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid #30364a;
}

.browser-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #50576c;
}

.browser-top span {
  margin-left: 12px;
  color: #777d91;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .65rem;
}

.browser-screen {
  display: grid;
  place-items: center;
  min-height: 340px;
  background:
    radial-gradient(circle, rgba(255, 93, 40, .13), transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,.02), transparent),
    #090b12;
}

.browser-screen strong,
.browser-screen span {
  display: block;
}

.browser-screen strong {
  margin-top: -60px;
  font-size: 1.3rem;
}

.browser-screen span {
  margin-top: -108px;
  color: #777d91;
  font-size: .74rem;
}

.coming-soon {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 10px;
  color: var(--lava-hot);
  border: 1px solid rgba(255, 209, 102, .3);
  border-radius: 3px;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
  width: min(calc(100% - 36px), var(--max));
  min-height: 120px;
  margin: 0 auto;
  color: #777d8e;
  border-top: 1px solid var(--line);
  font-size: .78rem;
}

footer p {
  margin: 0;
}

footer .brand {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--lava-hot);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .download,
  .server,
  .web-player {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-top: 30px;
  }

  .hero-scene {
    width: min(100%, 620px);
    margin: 0 auto;
  }

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

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

  footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 30px 0;
  }
}

@media (max-width: 580px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
  }

  .header-action {
    display: none;
  }

  .hero,
  .section {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 5rem);
  }

  .section {
    padding: 84px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 38px;
  }

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

  .feature-card-wide {
    grid-column: auto;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-scene {
    aspect-ratio: 4 / 5.4;
  }

  .ticker div {
    justify-content: flex-start;
  }

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

  .copy-button {
    width: 100%;
  }

  .browser-screen {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
