@font-face {
  font-family: "Gray Ash Title";
  src: url("media/title.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
}
:root {
  color-scheme: dark;
  --bg: #080e18;
  --surface: #0d1623;
  --text: #f3efe5;
  --muted: #b8c1c9;
  --line: #293642;
  --mint: #70eedc;
  --amber: #ffc66e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.shell { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.topbar { background: #090f19; border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.topbar-inner { height: 68px; display: flex; align-items: center; gap: 42px; }
.topbar nav { display: flex; gap: 28px; color: var(--muted); font-size: .875rem; }
.topbar a:hover, .footer a:hover { color: var(--mint); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .07em; }
.wordmark img { border-radius: 6px; }
.top-link { margin-left: auto; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.top-link span, .footer span[aria-hidden] { color: var(--mint); margin-left: .35em; }
.hero { position: relative; display: grid; min-height: clamp(580px, 51vw, 780px); isolation: isolate; }
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(0deg, var(--bg), transparent 26%),
    url("media/beacon.webp") center 53% / cover;
}
.hero-inner { display: flex; align-items: center; padding-block: 76px 104px; }
.hero-copy { width: max-content; max-width: 100%; }
.hero-copy::before { content: ""; display: block; width: 56px; height: 4px; background: var(--mint); margin-bottom: 24px; }
h1 {
  font-family: "Gray Ash Title", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(3.5rem, 7.4vw, 7.5rem);
  line-height: 1.12;
  letter-spacing: .005em;
}
.tagline { color: var(--amber); font-size: clamp(1.45rem, 3.1vw, 2.62rem); font-weight: 700; line-height: 1.35; margin-top: 22px; }
.genre { margin-top: 16px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 52px;
  padding: 0 21px;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background-color .18s, color .18s, border-color .18s;
}
.primary { background: var(--mint); color: #08121b; }
.primary:hover { background: #a2fff0; }
.secondary { background: #0d1723; color: var(--text); border-color: #465461; }
.secondary:hover { border-color: var(--mint); }
.triangle { width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid var(--mint); }
.section { padding-block: 55px 86px; scroll-margin-top: 20px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-bottom: 26px; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.6rem); line-height: 1.23; }
.section-heading p, article p { color: var(--muted); }
video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #070a10; border: 1px solid var(--line); }
.gameplay { background: var(--surface); border-block: 1px solid var(--line); padding-top: 75px; }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
article img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
article h3 { margin-top: 14px; font-size: 1.18rem; }
article p { margin-top: 5px; font-size: .9rem; }
.play { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 69px; }
.play .button { margin-top: 20px; }
.qr { display: grid; gap: 8px; justify-items: center; flex: none; color: var(--muted); font-size: .8rem; }
.qr img { background: white; padding: 8px; border-radius: 4px; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-block: 25px; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 64px); }
  .hero-art { background-position: 62% center; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 36px); }
  .topbar-inner { gap: 12px; height: 58px; }
  .wordmark { font-size: .86rem; gap: 8px; }
  .wordmark img { width: 27px; height: 27px; }
  .topbar nav { display: none; }
  .hero { min-height: clamp(530px, calc(100svh - 58px), 660px); }
  .hero-art {
    background:
      linear-gradient(0deg, var(--bg) 0%, var(--bg) 29%, #080e18b3 57%, transparent 84%),
      url("media/beacon.webp") 81% top / auto 460px no-repeat;
  }
  .hero-inner { align-items: end; padding-block: 235px 30px; }
  .hero-copy::before { margin-bottom: 13px; }
  h1 { font-size: clamp(2.75rem, 12vw, 4.8rem); }
  .tagline { margin-top: 16px; }
  .genre { margin-top: 12px; font-size: .9rem; }
  .actions { gap: 8px; margin-top: 23px; }
  .button { padding-inline: 12px; font-size: .84rem; min-height: 46px; }
  .section { padding-block: 38px 53px; }
  .section-heading { margin-bottom: 17px; }
  .section-heading p { font-size: .9rem; }
  .game-grid { grid-template-columns: 1fr; gap: 28px; }
  .play { padding-block: 45px; gap: 16px; }
  .qr img { width: 89px; height: 89px; padding: 5px; }
  .qr span { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
