:root {
  --ink: #08090b;
  --ink-soft: #0e1014;
  --panel: #121419;
  --panel-2: #191b22;
  --cream: #f4e7c5;
  --cream-dim: #d8cfb8;
  --muted: #a9a292;
  --line: rgba(244, 231, 197, 0.14);
  --line-strong: rgba(244, 231, 197, 0.28);
  --red: #e63946;
  --red-dark: #a61f2b;
  --teal: #2ec4b6;
  --gold: #ffd166;
  --radius: 10px;
  --wrap: 1240px;
  --font: "Segoe UI", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(230, 57, 70, 0.12), transparent 65%),
    radial-gradient(900px 480px at 8% 6%, rgba(46, 196, 182, 0.08), transparent 60%),
    var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--red);
  color: var(--cream);
}

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

a {
  color: var(--cream);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #fff3d4;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--cream-dim);
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 800;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 11, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(8, 9, 11, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-tag {
  margin-top: 4px;
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.site-nav a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--cream-dim);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--cream);
  background: rgba(244, 231, 197, 0.06);
}

.site-nav .nav-random {
  margin-left: 6px;
  border: 1px solid rgba(46, 196, 182, 0.5);
  color: var(--teal);
}

.site-nav .nav-random:hover {
  background: rgba(46, 196, 182, 0.12);
  color: #a8fff5;
}

.nav-toggle {
  display: none;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 0%, transparent 72%);
  opacity: 0.35;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-kicker span {
  width: 22px;
  height: 2px;
  background: var(--teal);
}

.hero h1 {
  margin-bottom: 22px;
}

.hero h1 em {
  color: var(--red);
  font-style: normal;
  -webkit-text-stroke: 1px rgba(244, 231, 197, 0.18);
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 28px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--cream-dim);
}

.hero-actions,
.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn-primary:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--cream);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-block {
  width: 100%;
}

.stat-row {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  margin: 42px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.stat-row div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-row dt {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.stat-row dd {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-art {
  position: relative;
}

.hero-frame {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(244, 231, 197, 0.08), transparent 40%), var(--panel);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  border-radius: 14px;
  background: repeating-linear-gradient(135deg, rgba(230, 57, 70, 0.7) 0 12px, transparent 12px 24px);
  mask: linear-gradient(#000 0 0) top / 100% 5px no-repeat, linear-gradient(#000 0 0) bottom / 100% 5px no-repeat;
  pointer-events: none;
}

.hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
}

.hero-stamp {
  position: absolute;
  right: 26px;
  top: 26px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 0.95;
  text-align: center;
  transform: rotate(8deg);
}

.hero-stamp span {
  color: var(--red);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

/* Sections */

.section {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.section-tight {
  padding-top: clamp(36px, 5vw, 64px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-head > p {
  max-width: 440px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-head .eyebrow {
  margin-bottom: 10px;
}

.section-lede {
  max-width: 620px;
  color: var(--muted);
}

.section-more {
  margin: 34px 0 0;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.feature-list article {
  position: relative;
  padding: 26px 28px;
  background: var(--panel);
}

.feature-num {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.feature-list h3 {
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--cream);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--panel-2);
  color: var(--cream);
}

.card-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink-soft);
}

.card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.game-card:hover .card-art {
  transform: scale(1.045);
}

.card-play {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 4px;
  background: rgba(8, 9, 11, 0.84);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.play-dot {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid var(--red);
}

.game-card:hover .card-play {
  opacity: 1;
  transform: translateY(0);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 20px 22px;
}

.card-body .eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.card-tagline {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.game-card-feature .card-title {
  font-size: 1.6rem;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.faq-list details {
  background: var(--panel);
}

.faq-list summary {
  position: relative;
  padding: 20px 52px 20px 22px;
  color: var(--cream);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 800;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  max-width: 820px;
}

/* Page hero and breadcrumb */

.page-hero {
  padding: clamp(40px, 6vw, 76px) 0 clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 14px;
}

.page-lede {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--teal);
}

.breadcrumb span[aria-current] {
  color: var(--cream);
}

.catalog-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.catalog-summary span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-summary b {
  color: var(--gold);
}

.genre-group {
  margin-bottom: 48px;
}

.genre-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.genre-head h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.genre-head span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Game page */

.game-hero {
  padding: clamp(28px, 4vw, 52px) 0 clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.game-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--ink-soft);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

.stage-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(8, 9, 11, 0.15), rgba(8, 9, 11, 0.72));
}

.stage-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--font);
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.play-tri {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid var(--red);
  filter: drop-shadow(0 2px 8px rgba(230, 57, 70, 0.6));
}

.stage-play:hover .play-tri {
  border-left-color: var(--gold);
}

.stage-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.stage-meta a {
  color: var(--teal);
  text-decoration: none;
  pointer-events: auto;
}

.stage-meta a:hover {
  color: #b5fff8;
}

.stage-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(46, 196, 182, 0.8);
}

.stage.is-playing {
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6);
}

.stage-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--ink);
}

.noscript-play {
  position: absolute;
  inset: auto 16px 16px;
  margin: 0;
  padding: 12px;
  border-radius: 6px;
  background: var(--ink);
}

.game-summary {
  padding-top: 4px;
}

.game-summary h1 {
  margin-bottom: 10px;
}

.game-tagline {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
}

.game-intro {
  color: var(--muted);
  font-size: 0.98rem;
}

.game-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.game-chips span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--cream-dim);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-actions {
  margin-bottom: 12px;
}

.game-save-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.content-main section {
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.content-main section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.content-main h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.content-main p {
  max-width: 760px;
}

.step-list {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.step-list li::before {
  content: counter(step, decimal-leading-zero);
  flex: 0 0 auto;
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding-top: 3px;
}

.step-list span {
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.control-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.control-table th,
.control-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.control-table th {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--panel);
}

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

.control-table td:first-child {
  width: 38%;
  white-space: nowrap;
}

.control-table kbd {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 3px;
  border-radius: 4px;
  background: var(--panel-2);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.control-table td:last-child {
  color: var(--muted);
}

.tip-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tip-list li {
  position: relative;
  padding: 13px 16px 13px 42px;
  border-left: 2px solid var(--teal);
  background: rgba(46, 196, 182, 0.05);
  color: var(--cream-dim);
  font-size: 0.94rem;
}

.tip-list li::before {
  content: ">";
  position: absolute;
  left: 18px;
  color: var(--teal);
  font-family: var(--mono);
  font-weight: 800;
}

.content-aside {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 96px;
}

.aside-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.aside-card h2 {
  margin-bottom: 16px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-list {
  display: grid;
  gap: 0;
  margin: 0 0 18px;
}

.fact-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
}

.fact-list div:last-child {
  border-bottom: 0;
}

.fact-list dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 0;
  color: var(--cream);
  text-align: right;
}

.aside-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

/* Prose pages */

.prose {
  max-width: 840px;
}

.prose h2 {
  margin-top: 42px;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  max-width: 760px;
  color: var(--cream-dim);
}

.text-link {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: #b5fff8;
  text-decoration: underline;
}

.muted {
  color: var(--muted);
  font-size: 0.84rem;
}

/* 404 */

.not-found {
  min-height: 58vh;
  display: grid;
  align-items: center;
  padding: 80px 0;
}

.not-found h1 {
  max-width: 800px;
}

/* Footer */

.site-footer {
  margin-top: clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: var(--ink-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(150px, 0.5fr));
  gap: 40px;
  padding: 48px 0 36px;
}

.footer-brand p {
  max-width: 380px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.footer-links h2 {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--cream-dim);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Responsive */

@media (max-width: 1020px) {
  .hero-grid,
  .game-hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 680px;
  }

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

  .content-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 32px));
  }

  .header-inner {
    min-height: 66px;
  }

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

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--ink-soft);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
    font-size: 0.78rem;
  }

  .site-nav .nav-random {
    margin-left: 0;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-stamp {
    width: 62px;
    height: 62px;
    right: 20px;
    top: 20px;
    font-size: 1.05rem;
  }

  .stat-row {
    gap: 20px;
  }

  .stat-row dt {
    font-size: 1.2rem;
  }

  .section-head {
    display: block;
  }

  .section-head > p {
    margin-top: 12px;
  }

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

  .card-play {
    opacity: 1;
    transform: none;
  }

  .game-hero-grid {
    gap: 24px;
  }

  .stage {
    height: 62vh;
    height: min(72svh, 620px);
    min-height: 320px;
    aspect-ratio: auto;
    border-radius: 8px;
  }

  .stage-art {
    object-position: center;
  }

  .stage-play {
    flex-direction: column;
    gap: 10px;
    padding-top: 34px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  }

  .stage-meta {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .content-aside {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .control-table td:first-child {
    width: 45%;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 1.15rem;
  }

  .brand-tag {
    font-size: 0.56rem;
  }

  .brand svg {
    width: 34px;
    height: 34px;
  }

  .hero-actions .btn,
  .game-actions .btn {
    width: 100%;
  }

  .catalog-summary {
    gap: 8px;
  }

  .catalog-summary span {
    font-size: 0.58rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
