@font-face {
  font-family: "VG5000";
  src: url("fonts/vg5000.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Uncut Sans";
  src: url("fonts/uncut-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Uncut Sans";
  src: url("fonts/uncut-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Uncut Sans";
  src: url("fonts/uncut-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #111215;
  --text: #ecebe7;
  --muted: #9a9ca3;
  --line: #24262c;
  --orange: #ff9b3d;
  --gold: #f4c542;
  --focus: #5ac8fa;
  --font: "Uncut Sans", system-ui, sans-serif;
  --display: "VG5000", "Uncut Sans", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.125rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

html { overflow-x: clip; }
main { overflow-x: clip; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.button:focus-visible { outline-offset: 4px; }

h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }

.topbar {
  position: relative;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: .6rem 3rem;
  background: #1a1b20;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .9375rem;
  text-align: center;
}

.topbar p { margin: 0; }
.topbar a { color: var(--orange); }

.topbar button {
  position: absolute;
  right: .75rem;
  top: 50%;
  translate: 0 -50%;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.topbar button:hover { color: var(--text); background: rgb(255 255 255 / .06); }

.topbar[hidden] { display: none; }

.top {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  text-decoration: none;
}

.brand { display: flex; align-items: center; gap: .75rem; }

.tag {
  padding: .3rem .45rem .2rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font: 400 .8125rem/1 var(--display);
  text-decoration: none;
}

.tag:hover { color: var(--text); border-color: var(--muted); }

.top nav { display: flex; gap: 2rem; font-weight: 500; font-size: 1rem; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--text); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
}

.hero-text { display: grid; justify-items: center; }

.hero::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  top: -6rem;
  height: 52rem;
  left: 50%;
  width: 100vw;
  translate: -50% 0;
  background:
    radial-gradient(ellipse 34% 40% at 50% 34%, rgb(17 18 21 / .82), rgb(17 18 21 / .35) 70%, transparent),
    url("img/wall.webp") center top / cover;
  opacity: .42;
  filter: saturate(.8) blur(1.5px);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 20%, transparent 80%);
}

.hero-mark {
  width: 220px;
  height: 220px;
  margin-bottom: .25rem;
}


h1 {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(3rem, 5.4vw, 4.9rem);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -.015em;
}

h1 .hl {
  color: var(--orange);
  text-shadow: 0 .06em 0 #7a3f0a;
}

.hero-text > p:first-of-type { margin: 0 0 2rem; color: var(--muted); font-size: 1.3125rem; line-height: 1.55; }

.button {
  display: inline-block;
  padding: .9rem 1.5rem .8rem;
  border-radius: 4px;
  background: var(--orange);
  color: #1a1206;
  font: 400 1.25rem/1 var(--display);
  text-decoration: none;
  box-shadow: inset 0 -4px 0 #c86a14, 0 4px 0 #7a3f0a;
  transition: transform .06s, box-shadow .06s;
}

.button:hover { background: #ffab5c; }

.button:active {
  transform: translateY(4px);
  box-shadow: inset 0 -2px 0 #c86a14, 0 0 0 #7a3f0a;
}

.small { margin: 1rem 0 0; color: var(--muted); font-size: .9375rem; }

.hero-shot {
  width: min(100%, 1100px);
  margin: 4.5rem 0 0;
  border-radius: 12px;
  -webkit-mask-image: linear-gradient(#000 55%, transparent 96%);
  mask-image: linear-gradient(#000 55%, transparent 96%);
  filter: drop-shadow(0 40px 70px rgb(0 0 0 / .65));
  transform: perspective(2400px) rotateX(14deg);
  transform-origin: 50% 0;
}

.lost {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    repeating-linear-gradient(0deg, rgb(255 255 255 / .03) 0 1px, transparent 1px 4px),
    radial-gradient(ellipse 60% 50% at 50% 45%, rgb(255 155 61 / .08), transparent 70%),
    var(--bg);
}

.lost .top { width: 100%; }

.lost-main {
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0;
  padding: 2rem 1.5rem 6rem;
  text-align: center;
}

.lost-main h1 { margin-bottom: 1rem; }
.lost-main > p:not(.eyebrow) { margin: 0 0 2rem; color: var(--muted); font-size: 1.1875rem; max-width: 32ch; }

@media (max-width: 860px) {
  .hero { padding-top: 1.5rem; }
  .hero-shot { width: 112%; margin: 3rem 0 0; transform: none; }
}

.shelf {
  background: #1a1b20;
  border-block: 1px solid var(--line);
  padding: 5.5rem 0 2.25rem;
  overflow: hidden;
}

.shelf-track {
  display: flex;
  width: max-content;
  animation: slide 90s linear infinite;
}

.shelf-row {
  display: flex;
  align-items: flex-end;
  gap: 3rem;
  padding-right: 3rem;
}

.console { position: relative; display: block; }

.console img {
  height: 112px;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 0 .5px rgb(255 255 255 / .35)) drop-shadow(0 10px 18px rgb(0 0 0 / .5));
  transition: transform .2s ease;
}

.console.hand img { height: 84px; }

.console:hover img { transform: translateY(-6px); }

.console::after {
  content: attr(data-name) "\A" attr(data-emu);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 1rem);
  padding: .45rem .7rem .35rem;
  border-radius: 4px;
  background: var(--text);
  color: var(--bg);
  font: 400 .9375rem/1.35 var(--display);
  white-space: pre;
  text-align: center;
  box-shadow: 0 3px 0 rgb(0 0 0 / .35);
  opacity: 0;
  translate: -50% 6px;
  transition: opacity .15s, translate .15s;
  pointer-events: none;
}

.shelf-link {
  max-width: 1240px;
  margin: 2.25rem auto 0;
  padding: 0 1.5rem;
  font-size: .9375rem;
}

.shelf-link a { color: var(--muted); }
.shelf-link a:hover { color: var(--text); }

.console:hover::after { opacity: 1; translate: -50% 0; }

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

h2 {
  margin: 0 0 .75rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -.01em;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 4rem;
  max-width: 1240px;
  margin: 0 auto;
}

.row p { margin: 0; color: var(--muted); font-size: 1.1875rem; line-height: 1.6; max-width: 32ch; }

.row.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.row.flip .shot { order: 2; }

.shot {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 10;
}

.shot::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 8% 6%;
  z-index: -1;
  background: var(--src) center / cover;
  filter: blur(60px) saturate(1.6);
  opacity: .32;
}

.shot picture { display: contents; }

.shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.framed {
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgb(0 0 0 / .45);
}

.looks {
  max-width: 1240px;
  margin: 0 auto;
}

.looks-head p { margin: 0; color: var(--muted); font-size: 1.1875rem; line-height: 1.6; max-width: 40ch; }

.looks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  margin-top: 2.5rem;
}

.switcher { margin: 0; }

.stage {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 24px 48px rgb(0 0 0 / .45);
}

.stage img {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  transition: opacity .35s ease;
}

.stage img.is-on { opacity: 1; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.tabs button {
  padding: .5rem .8rem .4rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: 400 .9375rem/1 var(--display);
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}

.tabs button:hover { color: var(--text); border-color: var(--muted); }

.tabs button[aria-pressed="true"] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.switcher figcaption { margin-top: .75rem; color: var(--muted); font-size: .9375rem; }

.cheevos {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 4rem;
  max-width: 1240px;
  margin: 0 auto;
}


.badges img {
  position: absolute;
  z-index: -1;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  image-rendering: pixelated;
  opacity: .16;
  filter: saturate(.7);
}

.badges img:nth-child(1) { left: 2%; top: 14%; rotate: -8deg; }
.badges img:nth-child(2) { left: 30%; top: 8%; rotate: 6deg; width: 34px; height: 34px; }
.badges img:nth-child(3) { left: 8%; bottom: 10%; rotate: 10deg; width: 54px; height: 54px; }
.badges img:nth-child(4) { left: 34%; bottom: 16%; rotate: -5deg; width: 38px; height: 38px; }
.badges img:nth-child(5) { left: 22%; top: 48%; rotate: 4deg; width: 30px; height: 30px; opacity: .1; }

.play {
  display: grid;
  justify-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8rem 1.5rem 7rem;
  text-align: center;
}

.play-head h2 { font-size: clamp(2.5rem, 4.6vw, 3.75rem); }
.play-head p { margin: 0 auto; color: var(--muted); font-size: 1.25rem; line-height: 1.6; max-width: 46ch; }

.play-shot { width: min(100%, 1000px); margin-top: 3.5rem; }

.cores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  max-width: 920px;
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
}

.cores li {
  padding: .45rem .7rem .35rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #16171b;
  color: var(--muted);
  font: 400 .9375rem/1 var(--display);
  transition: color .15s, border-color .15s;
}

.cores li:hover { color: var(--orange); border-color: #5a3a1c; }

.cores .more { padding: 0; border-color: #5a3a1c; }
.cores .more a { display: block; padding: .45rem .7rem .35rem; color: var(--orange); text-decoration: none; }

.cores-note { margin: 1.25rem 0 0; color: #6b6e75; font-size: .9375rem; }

.feature {
  position: relative;
  isolation: isolate;
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--line);
}

.decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

.decor.crt {
  background: repeating-linear-gradient(90deg, rgb(255 60 60 / .09) 0 2px, rgb(60 255 120 / .09) 2px 4px, rgb(70 120 255 / .09) 4px 6px, transparent 6px 8px);
  -webkit-mask-image: radial-gradient(ellipse 30% 45% at 18% 22%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 30% 45% at 18% 22%, #000, transparent 70%);
}

.decor.minis img {
  position: absolute;
  width: 120px;
  border-radius: 6px;
  opacity: .14;
  image-rendering: pixelated;
  filter: saturate(.7);
}

.decor.minis img:nth-child(1) { right: 22%; top: 12%; rotate: 6deg; }
.decor.minis img:nth-child(2) { right: 6%; bottom: 12%; rotate: -5deg; width: 96px; }

.decor.handheld img {
  position: absolute;
  left: 0;
  bottom: -2rem;
  width: 260px;
  opacity: .07;
  rotate: -12deg;
  filter: grayscale(.4);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font: 400 1rem/1 var(--display);
}

.feature .eyebrow { margin: 0 0 1rem; color: var(--gold); font: 400 1rem/1 var(--display); max-width: none; }

.cheevos-text > p:last-child { margin: 0; color: var(--muted); font-size: 1.1875rem; line-height: 1.6; max-width: 32ch; }
.cheevos-text a { color: var(--text); }

.facts {
  max-width: 1240px;
  margin: 0 auto;
  padding: 6rem 1.5rem 0;
}

.facts ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 1.15rem 0;
  line-height: 1.5;
  border-top: 1px solid var(--line);
}

.download {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 9rem 1.5rem 7rem;
  text-align: center;
}

.download > div { display: grid; justify-items: center; }
.download div > p:first-of-type { max-width: 44ch; }
.download code { white-space: nowrap; }

.download::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 4rem 0 2rem;
  z-index: -1;
  background: repeating-linear-gradient(0deg, rgb(255 255 255 / .035) 0 1px, transparent 1px 4px);
  -webkit-mask-image: radial-gradient(ellipse 50% 70% at 50% 45%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 50% 70% at 50% 45%, #000, transparent 75%);
}

.download h2 { font-size: clamp(2.75rem, 5.4vw, 4.75rem); line-height: 1; }
.download div > p:first-of-type { margin: 0 0 2rem; color: var(--muted); }
.download .small { margin-top: .6rem; }

code {
  font: .85em ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--text);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  width: min(100% - 3rem, 1192px);
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

.others a { margin-right: .9rem; }

footer p { margin: 0; }

.byline {
  flex-basis: 100%;
  margin-top: 1.25rem !important;
  color: #5c5f66;
  font-size: .8125rem;
}

.byline a { color: inherit; margin-left: 0; }
.byline a:hover { color: var(--text); }
footer p a { margin-left: .9rem; }

@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature { padding-block: 4rem; }
  .play { padding-block: 5rem 4rem; }
  .decor.handheld img { width: 180px; }
  .row.flip .shot { order: 0; }
  .facts ul { grid-template-columns: 1fr; }
  .row.flip { grid-template-columns: 1fr; }
  .looks-grid { grid-template-columns: 1fr; }
  .cheevos { grid-template-columns: 1fr; gap: 2.5rem; }
  .download { padding-top: 6rem; }
  .download code { font-size: .8rem; }
  .download-mark { width: 140px; height: 140px; }
  .hero-mark { width: 150px; height: 150px; }
  .console img { height: 80px; }
  .console.hand img { height: 60px; }
}

@media (max-width: 600px) {
  .decor.badges, .decor.minis { display: none; }
  .shot:has(picture) { aspect-ratio: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .shelf-track { animation: none; }
}
