/* ==========================================================================
   Lumen / 流光 — dusk courtyard
   Ink blue-black, lantern gold, paper cream. System fonts only.
   ========================================================================== */

:root {
  --ink: #080d13;
  --ink-2: #0b121a;
  --ink-3: #101a24;
  --panel: #0e1721;
  --panel-2: #121f2b;
  --paper: #f1e7d5;
  --paper-dim: #c9beac;
  --muted: #a59b8a;
  --faint: #8b8172;
  --gold: #e7b76a;
  --gold-bright: #f4d396;
  --gold-deep: #a97735;
  --blue: #8fb0ce;
  --line: rgba(231, 183, 106, 0.14);
  --line-strong: rgba(231, 183, 106, 0.3);
  --line-cool: rgba(164, 190, 210, 0.13);
  --glow: rgba(231, 183, 106, 0.22);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4.6vw, 56px);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background:
    radial-gradient(ellipse 80% 52% at 78% -8%, rgba(231, 183, 106, 0.085), transparent 62%),
    radial-gradient(ellipse 60% 48% at 4% 18%, rgba(89, 122, 152, 0.075), transparent 64%),
    linear-gradient(180deg, #0a1119 0%, var(--ink) 42%, #070b10 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(231, 183, 106, 0.32);
  color: #fff8ec;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
}

svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--gold-bright);
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 19, 0.76);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
}

.header-inner {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-height: 44px;
  padding-block: 4px;
  white-space: nowrap;
}

.brand__mark {
  font-family: var(--serif);
  font-size: 1.42rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.brand__sub {
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  transform: translateY(-1px);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper-dim);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold-bright);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line-cool);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.018);
}

.lang-switch button {
  min-width: 46px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.25s var(--ease);
}

.lang-switch button:hover {
  color: var(--paper);
}

.lang-switch button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--gold);
}

.lang-switch button:active {
  transform: translateY(1px);
}

/* --------------------------------------------------------------------------
   Shared type, buttons, links
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.24em;
  line-height: 1.5;
  text-transform: uppercase;
}

html[lang="zh-Hans"] .eyebrow {
  letter-spacing: 0.2em;
}

.eyebrow__line {
  display: inline-block;
  width: 34px;
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold-deep));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    background 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.button--primary {
  color: #1a1207;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 46%),
    linear-gradient(135deg, var(--gold-bright), var(--gold) 52%, #d6a056);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 12px 34px -18px rgba(231, 183, 106, 0.65);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.24) inset,
    0 18px 44px -18px rgba(231, 183, 106, 0.75);
}

.button--primary:active {
  transform: translateY(0);
}

.icon-arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease-out);
}

.button:hover .icon-arrow,
.text-link:hover .icon-arrow {
  transform: translateX(3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--paper-dim);
  font-size: 0.82rem;
  font-weight: 550;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(231, 183, 106, 0.28);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.text-link:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.fact-dot {
  margin: 0 0.5em;
  color: var(--faint);
  font-size: 0.9em;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  min-height: calc(100vh - 74px);
  min-height: calc(100svh - 74px);
  padding-top: clamp(52px, 7vw, 94px);
  padding-bottom: clamp(64px, 9vw, 120px);
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero__title {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 7.2vw, 6.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--paper);
  text-wrap: balance;
}

html[lang="zh-Hans"] .hero__title {
  letter-spacing: -0.015em;
  line-height: 1.12;
}

.hero__title span,
.hero__title em {
  display: block;
}

.hero__title em {
  margin-top: 0.08em;
  color: var(--gold-bright);
  font-style: normal;
}

.hero__lede {
  max-width: 34em;
  min-height: 4.9em;
  margin-top: 30px;
  color: var(--paper-dim);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.85;
}

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

.hero__note {
  margin-top: 24px;
  color: var(--faint);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__art {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: #0a1119;
  box-shadow:
    0 40px 110px -50px rgba(0, 0, 0, 0.9),
    0 0 80px -40px rgba(231, 183, 106, 0.25);
}

.hero__art::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  background: radial-gradient(circle at 58% 52%, rgba(231, 183, 106, 0.12), transparent 48%);
  pointer-events: none;
}

.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  box-shadow: inset 0 0 80px rgba(5, 9, 14, 0.5);
  pointer-events: none;
}

.courtyard {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.hero__art-caption {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 2;
  color: rgba(241, 231, 213, 0.55);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.courtyard__lantern {
  transform-origin: 176px 0;
  animation: lantern-sway 9s var(--ease-soft) infinite;
}

.courtyard__lantern--right {
  transform-origin: 438px 0;
  animation-duration: 11s;
  animation-delay: -3s;
}

.mote {
  animation: mote-float 8s ease-in-out infinite;
}

.mote--2 {
  animation-delay: -1.8s;
}

.mote--3 {
  animation-delay: -3.4s;
}

.mote--4 {
  animation-delay: -5.1s;
}

.mote--5 {
  animation-delay: -6.6s;
}

@keyframes lantern-sway {
  0%,
  100% {
    transform: rotate(-0.7deg);
  }
  50% {
    transform: rotate(0.8deg);
  }
}

@keyframes mote-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.25;
  }
  50% {
    transform: translate3d(8px, -14px, 0);
    opacity: 0.7;
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.section-head__copy {
  max-width: 620px;
}

.section-head h2,
.values__intro h2,
.field-note h2 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-lede {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.96rem;
}

.catalog-count {
  flex: 0 0 auto;
  padding-bottom: 7px;
  color: var(--faint);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.catalog-grid {
  margin-top: clamp(34px, 4.4vw, 56px);
}

/* Game card */

.game-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20, 32, 44, 0.82), rgba(10, 16, 23, 0.92));
  box-shadow: 0 30px 80px -60px rgba(0, 0, 0, 0.9);
  transition:
    transform 0.55s var(--ease-out),
    border-color 0.4s var(--ease),
    box-shadow 0.55s var(--ease);
}

.game-card:hover,
.game-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow:
    0 40px 100px -55px rgba(0, 0, 0, 0.95),
    0 0 60px -38px rgba(231, 183, 106, 0.28);
}

.game-card__cover {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: #0b121a;
  border-right: 1px solid var(--line);
}

.game-card__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 13, 19, 0.05), transparent 50%, rgba(8, 13, 19, 0.4)),
    radial-gradient(circle at 50% 40%, transparent 30%, rgba(8, 13, 19, 0.35));
  pointer-events: none;
}

.cover-art {
  width: 100%;
  height: 100%;
  min-height: 420px;
  transition: transform 1.1s var(--ease-out);
}

.game-card:hover .cover-art,
.game-card:focus-within .cover-art {
  transform: scale(1.035);
}

.game-card__number {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(241, 231, 213, 0.3);
  letter-spacing: 0.02em;
}

.game-card__body {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
}

.game-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.game-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px rgba(231, 183, 106, 0.8);
}

.game-card__time {
  color: var(--faint);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-card__title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.game-card__title a {
  transition: color 0.25s var(--ease);
}

.game-card__title a:hover {
  color: var(--gold-bright);
}

.game-card__subtitle {
  margin-top: 10px;
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-card__blurb {
  min-height: 5.4em;
  margin-top: 24px;
  color: var(--paper-dim);
  font-size: 0.96rem;
  line-height: 1.8;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag-list li {
  padding: 6px 12px;
  border: 1px solid var(--line-cool);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.game-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: auto;
  padding-top: 30px;
}

.game-card__facts {
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.button--card {
  min-height: 46px;
  padding: 0 18px;
  color: var(--gold-bright);
  border-color: var(--line-strong);
  background: rgba(231, 183, 106, 0.055);
}

.button--card:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

/* --------------------------------------------------------------------------
   Values
   -------------------------------------------------------------------------- */

.values {
  border-top: 1px solid var(--line);
}

.values__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: end;
  gap: clamp(28px, 5vw, 74px);
}

.values__intro h2 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
}

.values__intro > p:last-child {
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.value {
  min-height: 200px;
  padding: 26px clamp(18px, 2.4vw, 32px) 10px 0;
  border-right: 1px solid var(--line-cool);
}

.value:last-child {
  border-right: 0;
}

.value:not(:first-child) {
  padding-left: clamp(18px, 2.4vw, 32px);
}

.value__num {
  display: block;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.value h3 {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
}

.value p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Field note
   -------------------------------------------------------------------------- */

.field-note-section {
  padding-top: 0;
}

.field-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(28px, 4.4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 3px;
  background:
    radial-gradient(circle at 0% 50%, rgba(231, 183, 106, 0.07), transparent 34%),
    linear-gradient(115deg, rgba(22, 35, 47, 0.78), rgba(9, 15, 21, 0.82));
}

.field-note__mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
}

.field-note__mark svg {
  width: 38px;
  height: 38px;
}

.field-note h2 {
  margin-top: 12px;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
}

.field-note__copy p:last-child {
  max-width: 60ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.field-note__link {
  align-self: end;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: clamp(70px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background: rgba(6, 10, 15, 0.42);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 54px;
  padding-top: 46px;
  padding-bottom: 38px;
}

.footer-brand p {
  max-width: 36ch;
  margin-top: 12px;
  color: var(--faint);
  font-size: 0.78rem;
}

.brand--footer .brand__mark {
  font-size: 1.15rem;
}

.brand--footer .brand__sub {
  font-size: 0.54rem;
}

.footer-nav {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover {
  color: var(--gold-bright);
}

.footer-note {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--line-cool);
  color: var(--faint);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   Interior pages
   -------------------------------------------------------------------------- */

.page-hero {
  padding-top: clamp(64px, 8vw, 108px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.page-title {
  max-width: 900px;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

html[lang="zh-Hans"] .page-title {
  max-width: 1000px;
  font-size: clamp(2.15rem, 9.8vw, 4.4rem);
  letter-spacing: -0.012em;
  line-height: 1.16;
}

.page-title__seg {
  display: inline;
}

html[lang="en"] .page-title__seg + .page-title__seg {
  margin-left: 0.24em;
}

html[lang="zh-Hans"] .page-title__seg {
  white-space: nowrap;
}

.page-lede {
  max-width: 720px;
  margin-top: 28px;
  color: var(--paper-dim);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.8;
}

.page-updated {
  margin-top: 24px;
  color: var(--faint);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 310px);
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.prose {
  max-width: 740px;
}

.prose > p {
  margin-bottom: 1.35em;
  color: var(--paper-dim);
  font-size: 1rem;
  line-height: 1.9;
}

.prose > p:first-child {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.58rem);
  line-height: 1.65;
}

.prose a {
  color: var(--gold-bright);
  border-bottom: 1px solid var(--line-strong);
}

.about-rules {
  margin-top: clamp(44px, 6vw, 70px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.about-rules h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 400;
}

.about-rules__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 30px;
}

.rule {
  padding-top: 18px;
  border-top: 1px solid var(--line-cool);
}

.rule__num {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

.rule h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
}

.rule p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.75;
}

.page-aside {
  position: sticky;
  top: 106px;
}

.aside-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: linear-gradient(160deg, rgba(20, 32, 44, 0.8), rgba(9, 15, 21, 0.72));
}

.aside-card__label {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.aside-card > p:nth-child(2) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.aside-card .text-link {
  margin-top: 18px;
  font-size: 0.76rem;
}

.privacy-layout {
  display: block;
  padding-bottom: clamp(60px, 8vw, 100px);
}

.privacy-prose {
  max-width: 820px;
}

.prose-section {
  padding: 30px 0 34px;
  border-top: 1px solid var(--line);
}

.prose-section h2 {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 400;
  line-height: 1.3;
}

.prose-section__num {
  flex: 0 0 auto;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.prose-section p {
  max-width: 74ch;
  margin-top: 16px;
  color: var(--paper-dim);
  font-size: 0.94rem;
  line-height: 1.9;
}

.privacy-back {
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.notfound {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 74px);
  min-height: calc(100svh - 74px);
  padding-top: 60px;
  padding-bottom: 80px;
  text-align: center;
}

.notfound__art {
  width: min(200px, 50vw);
  margin-bottom: 26px;
  opacity: 0.86;
}

.notfound__art svg {
  width: 100%;
  height: auto;
}

.notfound .eyebrow {
  justify-content: center;
}

.notfound__title {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(2.55rem, 6.5vw, 5.4rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

html[lang="zh-Hans"] .notfound__title {
  letter-spacing: -0.012em;
  line-height: 1.16;
}

.notfound__body {
  max-width: 520px;
  margin-top: 22px;
  color: var(--paper-dim);
  font-size: 0.98rem;
  line-height: 1.85;
}

.notfound__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 34px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
    gap: 44px;
  }

  .hero__title {
    font-size: clamp(3rem, 7.4vw, 5.4rem);
  }

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

  .value:nth-child(2) {
    border-right: 0;
  }

  .value:nth-child(n + 3) {
    border-top: 1px solid var(--line-cool);
  }

  .value:nth-child(3) {
    padding-left: 0;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 48px;
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: 58px;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero__art {
    width: min(100%, 560px);
    margin: 6px auto 0;
  }

  .hero__lede {
    min-height: 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .catalog-count {
    padding-bottom: 0;
  }

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

  .game-card__cover {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    aspect-ratio: 16 / 10;
  }

  .cover-art {
    min-height: 0;
    height: 100%;
  }

  .game-card__blurb {
    min-height: 0;
  }

  .values__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .field-note {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .field-note__link {
    grid-column: 2;
    justify-self: start;
    align-self: start;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-aside {
    position: static;
  }

  .about-rules__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-note {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 20px;
  }

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

  .brand {
    gap: 7px;
  }

  .brand__mark {
    font-size: 1.24rem;
  }

  .brand__sub {
    font-size: 0.52rem;
    letter-spacing: 0.2em;
  }

  .header-nav {
    gap: 12px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 0.76rem;
  }

  .lang-switch button {
    min-width: 40px;
    min-height: 44px;
    padding: 0 9px;
    font-size: 0.66rem;
  }

  .hero__title {
    font-size: clamp(2.85rem, 12vw, 4.6rem);
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero__note {
    letter-spacing: 0.1em;
    line-height: 1.8;
  }

  .game-card__body {
    padding: 26px 22px 28px;
  }

  .game-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .button--card {
    width: 100%;
  }

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

  .value,
  .value:not(:first-child) {
    padding: 24px 0;
    border-right: 0;
    border-top: 1px solid var(--line-cool);
  }

  .value__num {
    display: inline;
    margin-right: 10px;
  }

  .value h3 {
    display: inline;
    margin-top: 0;
  }

  .value p {
    margin-top: 14px;
  }

  .field-note {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .field-note__link {
    grid-column: 1;
  }

  .field-note__mark {
    width: 58px;
    height: 58px;
  }

  .field-note__mark svg {
    width: 28px;
    height: 28px;
  }

  .footer-inner {
    gap: 20px;
  }

  .prose-section h2 {
    gap: 12px;
  }
}

@media (max-width: 430px) {
  .header-inner .brand__sub {
    display: none;
  }

  .header-nav,
  .nav {
    gap: 8px;
  }

  .nav a {
    font-size: 0.72rem;
  }

  .lang-switch button {
    min-width: 36px;
    padding: 0 7px;
  }
}

@media (hover: none) {
  .game-card:hover {
    transform: none;
  }

  .game-card:hover .cover-art {
    transform: none;
  }

  .button--primary:hover {
    transform: none;
  }
}

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

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

  .courtyard__lantern {
    animation: none;
  }

  .mote {
    animation: none;
  }
}
