:root {
  --bg: #05070c;
  --bg-panel: rgba(6, 10, 17, 0.8);
  --bg-panel-strong: rgba(8, 12, 20, 0.94);
  --line: rgba(170, 180, 192, 0.18);
  --text: #f4ead8;
  --cool: #cfd6df;
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #05070c 0%, #020306 100%);
  color: var(--text);
  font-family: "Chakra Petch", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
  overflow-x: clip;
}

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

code {
  font-family: "SFMono-Regular", "Consolas", monospace;
  font-size: 0.92em;
  color: var(--cool);
}

button {
  font: inherit;
}

.backdrop,
.backdrop__grid,
.backdrop__glow,
.backdrop__noise {
  inset: 0;
  pointer-events: none;
  position: fixed;
}

.backdrop__grid {
  background:
    linear-gradient(rgba(205, 212, 222, 0.28) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(205, 212, 222, 0.28) 1.5px, transparent 1.5px);
  background-size: 3rem 3rem, 3rem 3rem;
  opacity: 0.68;
}

.backdrop__glow {
  background:
    radial-gradient(circle at 24% 22%, rgba(66, 142, 230, 0.14), transparent 18%),
    radial-gradient(circle at 74% 18%, rgba(186, 54, 70, 0.09), transparent 18%),
    radial-gradient(circle at 50% 32%, rgba(112, 122, 140, 0.07), transparent 34%);
}

.backdrop__noise {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 50%, transparent 50%),
    radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, 0.24) 100%);
  background-size: 100% 4px, 100% 100%;
  mix-blend-mode: screen;
  opacity: 0.08;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 10rem));
  margin: 0 auto;
  padding: 4.9rem 0 3rem;
}

.site-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  width: 100vw;
  background: #000;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.site-bar__home,
.site-bar__back {
  position: absolute;
  left: max(1rem, calc((100vw - min(1440px, calc(100% - 10rem))) / 2));
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0 0.2rem;
  color: #f6f7f8;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  white-space: nowrap;
}

.site-bar__home {
  color: rgba(205, 212, 222, 0.42);
  opacity: 0.78;
  pointer-events: none;
}

.site-menu-toggle {
  display: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
  width: min(1440px, calc(100% - 10rem));
  margin: 0 auto;
  padding: 0.78rem 0;
}

.site-nav a,
.site-nav [aria-current="page"],
.site-nav__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #f6f7f8;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.site-nav [aria-current="page"] {
  color: rgba(205, 212, 222, 0.42);
  opacity: 0.78;
  pointer-events: none;
}

.landing-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1.6rem, 3vw, 3.5rem);
  align-items: start;
  margin-top: 0;
}

.landing-sidebar {
  display: grid;
  gap: 1.3rem;
  align-self: start;
}

.page-header {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
  text-align: left;
  margin: 0;
  max-width: 34rem;
  padding-top: 1.1rem;
}

.page-header__eyebrow {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(205, 212, 222, 0.72);
}

.page-header__byline {
  margin: -0.35rem 0 0;
  font-size: 0.96rem;
  line-height: 1.2;
  color: rgba(246, 247, 248, 0.78);
}

.page-header__lede {
  font-size: 1.38rem;
  color: rgba(246, 247, 248, 0.92);
}

h1 {
  margin: 0;
  font-family: "Bungee", "Impact", sans-serif;
  font-size: clamp(4rem, 7vw, 7.6rem);
  line-height: 0.84;
  color: #f6f7f8;
  -webkit-text-stroke: 1px rgba(222, 232, 242, 0.55);
  text-shadow:
    0.03em 0.03em 0 rgba(86, 140, 210, 0.92),
    0.07em 0.07em 0 rgba(8, 17, 31, 0.46),
    0.12em 0.12em 0 rgba(0, 0, 0, 0.68);
}

.page-header__title {
  display: grid;
}

.page-header__title-line {
  position: relative;
  display: block;
}

.page-header__title--glitch .page-header__title-line::before,
.page-header__title--glitch .page-header__title-line::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.page-header__title--glitch .page-header__title-line::before {
  color: rgba(78, 164, 255, 0.88);
  animation: title-glitch-a 4.8s steps(1, end) infinite;
}

.page-header__title--glitch .page-header__title-line::after {
  color: rgba(255, 72, 98, 0.66);
  animation: title-glitch-b 5.6s steps(1, end) infinite;
}

.page-header p {
  margin: 0;
  max-width: 32rem;
  font-size: 1.14rem;
  line-height: 1.72;
  color: rgba(244, 245, 247, 0.82);
}

.page-header__note {
  margin-top: 0.4rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(205, 212, 222, 0.18);
  color: rgba(205, 212, 222, 0.5);
  font-size: 0.98rem;
  line-height: 1.6;
}

.site-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(205, 212, 222, 0.16);
}

.site-footer__note {
  max-width: 58rem;
  margin: 0 auto;
  color: rgba(205, 212, 222, 0.46);
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: center;
}

.site-footer__note .page-header__link {
  color: rgba(205, 212, 222, 0.58);
  text-decoration-color: rgba(205, 212, 222, 0.22);
}

.site-footer__note .page-header__link:hover {
  color: rgba(235, 239, 244, 0.72);
  text-decoration-color: rgba(205, 212, 222, 0.32);
}

.hero-qr {
  position: relative;
  display: grid;
  gap: 0.78rem;
  justify-items: stretch;
  justify-self: stretch;
  width: 100%;
  padding: 0.75rem;
}

.hero-qr__showcase {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  width: 100%;
}

.hero-qr__cover-link {
  display: block;
  flex: 1 1 55%;
  min-width: 0;
}

.hero-qr__cover {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: contain;
  border: 1px solid rgba(168, 174, 182, 0.16);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.hero-qr__frame {
  display: grid;
  flex: 1 1 45%;
  min-width: 0;
  align-self: stretch;
  grid-template-rows: auto auto 1fr auto;
  justify-items: center;
  align-content: start;
  gap: 0.58rem;
  padding: 0.38rem 0.24rem 0.42rem;
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.hero-qr__copy {
  display: grid;
  gap: 0.34rem;
  justify-items: center;
}

.hero-qr__desc {
  color: rgba(244, 245, 247, 0.76);
  font-size: 0.88rem;
  line-height: 1.35;
  max-width: 15rem;
}

.hero-qr__qr-wrap {
  display: block;
  width: min(100%, 15rem);
  aspect-ratio: 1;
  padding: 0.42rem;
  background: #fff;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.hero-qr__image {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.hero-qr__title {
  display: block;
  color: #f6f7f8;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 1.28rem;
  line-height: 1.02;
}

.hero-qr__meta {
  color: rgba(205, 212, 222, 0.72);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  line-height: 1.25;
  margin-top: auto;
}

.hero-qr__expand {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  border: 0;
  background: transparent;
  color: rgba(244, 245, 247, 0.78);
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.hero-qr__expand:hover {
  color: rgba(255, 255, 255, 0.98);
}

.hero-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.hero-qr-modal__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.hero-qr-modal__card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  width: min(92vw, 42rem);
  padding: 1rem;
}

.hero-qr-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  border: 0;
  background: transparent;
  color: #f8fbff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.hero-qr-modal__image {
  width: min(100%, 36rem);
  background: #fff;
  padding: 0.9rem;
}

.hero-qr-modal__caption {
  margin: 0;
  text-align: center;
  color: rgba(244, 245, 247, 0.86);
  font-size: 1rem;
  line-height: 1.55;
}

.page-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.page-header__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.8rem 1.05rem;
  border: 1px solid rgba(120, 171, 245, 0.42);
  background:
    linear-gradient(180deg, rgba(37, 84, 163, 0.62), rgba(9, 16, 29, 0.78));
  color: #f6f7f8;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.page-header__button--secondary {
  min-width: 0;
  background: rgba(8, 12, 20, 0.78);
  cursor: pointer;
}

.page-header__link {
  color: #f6f7f8;
  text-decoration: underline;
  text-decoration-color: rgba(113, 170, 255, 0.72);
  text-underline-offset: 0.18em;
}

.page-header__link:hover {
  text-decoration-color: rgba(171, 210, 255, 0.96);
}

.panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%),
    linear-gradient(180deg, var(--bg-panel-strong), var(--bg-panel));
  box-shadow:
    0 18px 44px var(--shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.4rem), 1fr));
  gap: 0.85rem;
  align-items: start;
  align-self: start;
  padding-top: 0.55rem;
}

.game-grid-shell {
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: start;
  max-width: 48rem;
  margin: 0 auto;
}

.page-header--about {
  max-width: none;
  padding-top: 0.35rem;
  gap: 1rem;
}

.page-header--about p {
  max-width: none;
}

.about-document {
  padding: 1.6rem 1.6rem 1.8rem;
}

.about-callout {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.65rem;
  padding: 1.2rem;
}

.about-callout__top {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(16rem, 0.82fr);
  gap: 1.15rem;
  align-items: start;
}

.about-callout__copy {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.about-callout__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(205, 212, 222, 0.72);
}

.about-callout__title {
  margin: 0;
  font-family: "Bungee", "Impact", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 0.95;
  color: #f6f7f8;
}

.about-callout__text {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.72;
  color: rgba(244, 245, 247, 0.86);
}

.about-callout__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.about-callout__stats span {
  display: grid;
  gap: 0.28rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(205, 212, 222, 0.14);
  background: rgba(9, 13, 22, 0.52);
}

.about-callout__stats strong {
  font-size: 0.72rem;
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(205, 212, 222, 0.74);
}

.about-callout__stats em {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.2;
  color: rgba(244, 245, 247, 0.92);
}

.about-callout__media {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.about-callout__shot,
.about-callout__qr {
  display: grid;
  gap: 0.6rem;
  margin: 0;
}

.about-callout__shot img,
.about-callout__qr img {
  width: 100%;
  border: 1px solid rgba(205, 212, 222, 0.14);
  background: rgba(6, 10, 17, 0.74);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.about-callout__shot img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about-callout__qr {
  position: relative;
}

.about-callout__qr img {
  background: #fff;
  padding: 0.8rem;
  aspect-ratio: 1;
  object-fit: contain;
}

.about-callout__shot figcaption,
.about-callout__qr figcaption {
  margin: 0;
  color: rgba(205, 212, 222, 0.7);
  font-size: 0.92rem;
  line-height: 1.55;
}

.about-callout__expand {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 1;
  border: 0;
  background: transparent;
  color: rgba(244, 245, 247, 0.86);
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.about-callout__expand:hover {
  color: #fff;
}

.about-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.about-qr-modal__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.about-qr-modal__card {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(92vw, 42rem);
  padding: 1rem;
}

.about-qr-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  border: 0;
  background: transparent;
  color: #f8fbff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.about-qr-modal__image {
  width: min(100%, 36rem);
  background: #fff;
  padding: 0.9rem;
}

.about-section {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.about-steps {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.35rem;
}

.about-note {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(205, 212, 222, 0.14);
  background: rgba(9, 13, 22, 0.58);
}

.about-note p {
  margin: 0;
}

.about-section--prompt {
  margin-top: 2.35rem;
}

.about-section h2 {
  margin: 0;
  font-family: "Bungee", "Impact", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 0.95;
  color: #f6f7f8;
}

.about-panel__header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.prompt-block {
  margin: 0;
  white-space: pre-wrap;
  font-family: "SFMono-Regular", "Consolas", monospace;
  font-size: 1rem;
  line-height: 1.62;
  color: rgba(244, 245, 247, 0.9);
}

.prompt-shell {
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(205, 212, 222, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 20%),
    rgba(9, 13, 22, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.about-document p,
.about-document li {
  font-size: 1.18rem;
  line-height: 1.82;
  color: rgba(244, 245, 247, 0.84);
}

.about-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(205, 212, 222, 0.16);
  background: rgba(9, 13, 22, 0.7);
}

.about-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 34rem;
}

.about-table th,
.about-table td {
  padding: 0.82rem 0.95rem;
  border-bottom: 1px solid rgba(205, 212, 222, 0.12);
  text-align: left;
  font-size: 1rem;
  line-height: 1.4;
}

.about-table th {
  color: rgba(244, 245, 247, 0.92);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.about-table tbody tr:last-child td {
  border-bottom: 0;
}

.about-figure {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  justify-items: center;
}

.about-figure__image {
  width: min(100%, 22rem);
  background: #fff;
  padding: 0.9rem;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.about-figure__caption {
  max-width: 38rem;
  margin: 0;
  color: rgba(205, 212, 222, 0.72);
  font-size: 0.98rem;
  line-height: 1.68;
  text-align: left;
}

.about-document .page-header__lede {
  font-size: 1.5rem;
  line-height: 1.64;
}

.game-grid__error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(205, 212, 222, 0.24);
  background: rgba(12, 18, 29, 0.92);
}

.game-card {
  display: grid;
  gap: 0.5rem;
  padding: 0.45rem;
  cursor: pointer;
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(205, 212, 222, 0.34);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.game-card__cover-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(168, 174, 182, 0.16);
  padding: 0.3rem;
  background:
    linear-gradient(180deg, rgba(158, 166, 178, 0.05), rgba(27, 31, 39, 0.1)),
    rgba(0, 0, 0, 0.24);
}

.game-card__cover {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.36);
  transition: opacity 150ms ease;
}

.game-card__preview {
  position: absolute;
  inset: 0.3rem;
  width: calc(100% - 0.6rem);
  height: calc(100% - 0.6rem);
  object-fit: cover;
  background: #000;
  opacity: 0;
  transition: opacity 150ms ease, transform 150ms ease;
  transform: scale(1.02);
}

.game-card__qr {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  width: 1.7rem;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.5));
}

.game-card__meta {
  display: grid;
  gap: 0.12rem;
  padding: 0 0.05rem 0.05rem;
  justify-items: center;
  text-align: center;
}

.game-card__title {
  font-size: 0.92rem;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #f6f7f8;
}

@keyframes title-glitch-a {
  0%, 89%, 100% { transform: translate(0, 0); opacity: 0; }
  90% { transform: translate(-0.022em, 0.01em); opacity: 0.25; }
  91% { transform: translate(0.018em, -0.008em); opacity: 0.18; }
  92% { transform: translate(0, 0); opacity: 0; }
}

@keyframes title-glitch-b {
  0%, 84%, 100% { transform: translate(0, 0); opacity: 0; }
  85% { transform: translate(0.028em, -0.012em); opacity: 0.22; }
  86% { transform: translate(-0.014em, 0.01em); opacity: 0.15; }
  87% { transform: translate(0, 0); opacity: 0; }
}

.scan-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 1rem;
}

.scan-modal[hidden] {
  display: none;
}

.scan-modal__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
}

.scan-modal__card {
  position: relative;
  z-index: 1;
  width: min(92vw, 72rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.1rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.scan-modal--playing .scan-modal__card {
  width: min(94vw, 36rem);
  padding: 1.25rem 1.25rem 1.5rem;
}

.scan-modal__close {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 1;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid rgba(205, 212, 222, 0.26);
  background: rgba(20, 28, 43, 0.82);
  color: #f6f7f8;
  cursor: pointer;
}

.scan-sheet {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(280px, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.scan-sheet__info {
  display: grid;
  gap: 1rem;
}

.scan-sheet__cover {
  width: min(100%, 20rem);
  justify-self: center;
  border: 1px solid rgba(168, 174, 182, 0.16);
  background: rgba(0, 0, 0, 0.24);
}

.scan-sheet__copy {
  display: grid;
  gap: 0.55rem;
  text-align: center;
  justify-items: center;
}

.scan-sheet__actions {
  display: grid;
  gap: 0.7rem;
  width: 100%;
}

.scan-sheet__kicker {
  margin: 0;
  color: rgba(205, 212, 222, 0.72);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.scan-sheet h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.scan-sheet__description {
  margin: 0;
  max-width: 28rem;
  color: rgba(244, 245, 247, 0.88);
  font-size: 1rem;
  line-height: 1.55;
}

.scan-sheet__note {
  margin: 0;
  color: rgba(244, 245, 247, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.82rem;
}

.scan-sheet__qr-wrap {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
}

.scan-sheet__qr {
  width: min(100%, 42rem);
  justify-self: center;
  background: #fff;
}

.scan-sheet__play {
  display: inline-block;
  min-width: min(100%, 18rem);
  padding: 1rem 1.35rem;
  border: 1px solid rgba(177, 214, 255, 0.52);
  background: #2e7cff;
  color: #f8fbff;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color 120ms ease;
}

.scan-sheet__play:hover {
  background: #3b88ff;
}

.scan-sheet__share {
  display: inline-block;
  min-width: min(100%, 18rem);
  padding: 0.95rem 1.35rem;
  border: 1px solid rgba(205, 212, 222, 0.26);
  background: rgba(14, 20, 31, 0.84);
  color: #f8fbff;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
}

.play-sheet {
  display: grid;
  gap: 1.2rem;
  justify-items: center;
  width: 100%;
}

.play-sheet__copy {
  display: grid;
  gap: 0.55rem;
  text-align: center;
}

.play-sheet__copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.phone-frame {
  position: relative;
  width: min(100%, 26rem);
  aspect-ratio: 430 / 932;
  padding: 0.9rem;
  border: 1px solid rgba(205, 212, 222, 0.24);
  border-radius: 2.8rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 12%),
    linear-gradient(180deg, rgba(25, 36, 58, 0.94), rgba(3, 5, 9, 0.98));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-frame__notch {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  width: 34%;
  height: 1.35rem;
  border-radius: 0 0 1rem 1rem;
  background: #010203;
  transform: translateX(-50%);
  z-index: 1;
}

.phone-frame__screen {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 2rem;
  background: #000;
}

@media (hover: hover) and (pointer: fine) {
  .game-card:hover .game-card__cover,
  .game-card:focus-visible .game-card__cover {
    opacity: 0.12;
  }

  .game-card:hover .game-card__preview,
  .game-card:focus-visible .game-card__preview {
    opacity: 1;
    transform: scale(1);
  }

}

@media (max-width: 900px) {
  .page-shell {
    width: 100%;
    margin: 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0;
  }

  .site-bar {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0.5rem 0 0;
    background: transparent;
    box-shadow: none;
  }

  .site-bar__home,
  .site-bar__back {
    position: static;
    transform: none;
    min-height: 2.8rem;
    padding: 0 0.1rem;
    font-size: 0.74rem;
  }

  .site-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    margin: 0;
    padding: 0.78rem;
    border: 1px solid rgba(205, 212, 222, 0.14);
    background: rgba(8, 12, 20, 0.88);
    color: #f6f7f8;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
  }

  .site-menu-toggle span {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    display: none;
    position: static;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    align-items: stretch;
    gap: 0.55rem;
    width: auto;
    flex-basis: 100%;
    margin: 0.6rem -0.75rem 0;
    padding: 0;
    border: 1px solid rgba(205, 212, 222, 0.14);
    background: rgba(8, 12, 20, 0.97);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  }

  .site-bar--open .site-nav {
    display: grid;
  }

  .site-nav > *,
  .site-nav a,
  .site-nav [aria-current="page"],
  .site-nav__action {
    box-sizing: border-box;
    width: 100%;
    justify-content: center;
    min-height: 3.5rem;
    padding: 0.95rem 1rem;
    border: 0;
    border-bottom: 1px solid rgba(205, 212, 222, 0.14);
    background: rgba(8, 12, 20, 0.82);
    white-space: nowrap;
    text-align: center;
  }

  .site-nav > :last-child {
    border-bottom: 0;
  }

  .landing-layout {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    width: 100%;
    margin-top: 0.35rem;
  }

  .landing-layout > *,
  .landing-sidebar,
  .game-grid-shell,
  .hero-qr__showcase,
  .hero-qr__cover-link,
  .hero-qr__frame {
    min-width: 0;
  }

  .landing-sidebar {
    gap: 1rem;
  }

  .about-layout {
    gap: 1.3rem;
  }

  .about-callout {
    gap: 1rem;
  }

  .about-callout__top {
    grid-template-columns: 1fr;
  }

  .about-callout__stats {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 1.6rem;
  }

  .game-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.4rem), 1fr));
  }

  .page-header {
    max-width: none;
    gap: 0.72rem;
    padding-top: 0.45rem;
  }

  .page-header__eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.18em;
  }

  .page-header__title {
    font-size: clamp(3.2rem, 15vw, 4.8rem);
  }

  .page-header p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .page-header__lede {
    font-size: 1.08rem;
    line-height: 1.54;
  }

  .hero-qr {
    max-width: none;
    padding: 0.65rem;
  }

  .hero-qr__showcase {
    gap: 0.65rem;
  }

  .scan-sheet {
    grid-template-columns: 1fr;
  }

  .scan-sheet__cover {
    width: min(100%, 11.5rem);
  }

  .phone-frame {
    width: min(100%, 22rem);
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .hero-qr {
    padding: 0.7rem;
  }

  .game-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.4rem), 1fr));
    gap: 0.72rem;
  }

  .hero-qr__showcase {
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero-qr__cover-link,
  .hero-qr__frame {
    flex: 1 1 auto;
    width: 100%;
  }

  .hero-qr__cover {
    aspect-ratio: 0.74;
  }

  .hero-qr__frame {
    padding: 0.2rem 0.1rem 0.35rem;
  }

  .hero-qr__desc {
    max-width: none;
  }

  .hero-qr__qr-wrap {
    width: min(100%, 11.5rem);
  }

  .page-header__lede {
    font-size: 1.04rem;
  }

  .page-header__actions {
    width: 100%;
  }

  .page-header__button {
    width: 100%;
  }

  .about-panel__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-document {
    padding: 1.15rem;
  }

  .about-section {
    margin-top: 1.6rem;
  }

  .game-card {
    padding: 0.4rem;
  }

  .game-card__qr {
    width: 1.55rem;
    right: 0.55rem;
    bottom: 0.55rem;
  }

  .scan-modal__card {
    width: min(96vw, 72rem);
    padding: 0.9rem;
  }

  .scan-sheet {
    gap: 0.9rem;
  }

  .scan-sheet__copy {
    gap: 0.4rem;
  }

  .scan-sheet__qr {
    width: min(100%, 22rem);
  }

  .scan-modal--playing .scan-modal__card {
    width: min(96vw, 22rem);
    padding: 0.95rem 0.95rem 1.1rem;
  }

  .scan-sheet__play {
    width: 100%;
  }

  .phone-frame {
    width: min(100%, 19rem);
    border-radius: 2.2rem;
    padding: 0.75rem;
  }

  .phone-frame__screen {
    border-radius: 1.6rem;
  }
}

@media (max-width: 460px) {
  .page-shell {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .site-menu-toggle {
    width: 2.8rem;
    height: 2.8rem;
    padding: 0.72rem;
  }

  .site-nav {
    margin-left: -0.65rem;
    margin-right: -0.65rem;
  }

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

@media (min-width: 901px) {
  .home-page .page-shell {
    padding-top: 4.35rem;
    padding-bottom: 3rem;
  }

  .home-page .landing-layout {
    align-items: start;
  }

  .home-page .landing-sidebar {
    position: static;
  }

  .home-page .game-grid-shell {
    overflow: visible;
    padding-right: 0;
    padding-bottom: 0;
  }

  .home-page .site-footer {
    position: static;
    width: auto;
    margin-top: 1.4rem;
    padding: 0.85rem 0 0;
    background: transparent;
    transform: none;
    backdrop-filter: none;
  }
}

@media (max-width: 1180px) and (min-width: 681px) {
  .landing-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .landing-layout > *,
  .landing-sidebar,
  .game-grid-shell,
  .hero-qr__showcase,
  .hero-qr__cover-link,
  .hero-qr__frame {
    min-width: 0;
  }
}
