:root {
  color-scheme: dark;
  --ink: #f1f5fa;
  --muted: #afbdca;
  --line: #273849;
  --gold: #edd099;
  --night: #0a131e;
  font-family: "Noto Sans TC", "Microsoft JhengHei UI", sans-serif;
  color: var(--ink);
  background: var(--night);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
section[id] { scroll-margin-top: 1.5rem; }
:focus-visible { outline: 3px solid #9fdbef; outline-offset: 5px; }
.skip-link { position: fixed; z-index: 2; left: 1rem; top: 1rem; padding: .75rem 1rem; background: var(--night); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid #ffffff12; background: #0c1723; }
.nav { min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Segoe UI", sans-serif; font-weight: 800; letter-spacing: .09em; }
.brand img { width: 44px; }
.nav nav { display: flex; flex-wrap: wrap; gap: 4px 24px; color: var(--muted); font-size: .9rem; }
.nav nav a, .footer a { padding-block: 8px; }
.nav nav a:hover, .footer a:hover { color: var(--ink); }
.hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 74% 42%, #18344a 0%, #101f2d 41%, #0c1723 72%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; min-height: 448px; align-items: center; }
.hero-copy { padding-block: 64px; z-index: 1; }
.eyebrow, .genre { color: #9dd2e0; font-size: .8rem; font-weight: 700; letter-spacing: .12em; }
.hero h1 { margin-top: 12px; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.18; letter-spacing: -.04em; }
.hero-summary { margin-top: 20px; max-width: 29rem; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.download-button {
  display: inline-flex;
  gap: .6rem;
  align-items: center;
  margin-top: 30px;
  padding: 13px 21px;
  min-height: 52px;
  border: 1px solid #f3dbad;
  border-radius: 9px;
  background: var(--gold);
  color: #15212e;
  font-weight: 800;
}
.download-button:hover { background: #f8dea9; }
.download-mark { font-size: 1.35em; line-height: 1; }
.release-meta { margin-top: 11px; color: var(--muted); font-size: .86rem; }
.release-meta span { margin-inline: .25em; }
.hero-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; isolation: isolate; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.hero-art::before { inset: 1%; border: 1px solid #a7d9f021; }
.hero-art::after { inset: 13%; border: 1px solid #a7d9f031; background: #81c6f409; }
.hero-art img { width: 78%; filter: drop-shadow(0 28px 30px #0007); }
.section { padding-block: 52px; }
.section h2 { margin-bottom: 24px; font-size: clamp(1.55rem, 3.2vw, 2rem); }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.game-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #101d2a; }
.game-art { position: relative; aspect-ratio: 16/8.4; overflow: hidden; isolation: isolate; }
.autd-art { background: radial-gradient(ellipse at 50% 33%, #44455a, #18253b 76%); }
.autd-art img { position: absolute; top: -11%; left: 10%; width: 80%; }
.game-art::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #101d2a); pointer-events: none; }
.rumble-art { background: radial-gradient(ellipse at 69% 48%, #667242, #323d28 50%, #172524 96%); }
.rumble-art .ranger { position: absolute; width: 53%; right: 1%; top: 0; }
.rumble-art .game-logo { position: absolute; width: 52%; left: 4%; top: 24%; z-index: 1; }
.game-body { padding: 1.2rem 1.45rem 1.6rem; }
.game-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.availability { padding: 4px 9px; border-radius: 6px; background: #223c3c; color: #c1e0d5; font-size: .8rem; font-weight: 650; }
.availability.restricted { background: #383025; color: #efcd94; }
.game-body h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: .25rem; }
.game-body .game-subtitle { color: #b6c5d2; font-family: "Segoe UI", sans-serif; font-size: .9rem; margin-top: .24rem; }
.game-body > p:last-child { margin-top: .9rem; color: var(--muted); line-height: 1.8; }
.install-section { border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; padding: 0; margin: 0 0 22px; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-block: 16px; border-top: 1px solid var(--line); }
.steps h3 { font-size: 1.05rem; }
.steps h3::before { content: counter(step) ". "; margin-right: 3px; color: var(--gold); }
.steps p { margin-top: 7px; color: var(--muted); line-height: 1.75; }
.text-link { color: #a9dbea; text-decoration: underline; text-underline-offset: 4px; }
.footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-block: 18px; color: var(--muted); font-size: .86rem; }
@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  .nav { min-height: 62px; }
  .nav nav { gap: 4px 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-copy { padding: 36px 0 12px; }
  .hero-art { justify-self: center; width: min(56%, 230px); margin: 6px 0 25px; }
  .section { padding-block: 33px; }
  .game-grid, .steps { grid-template-columns: 1fr; gap: 15px; }
  .steps li { padding-block: 13px; }
}
@media (max-width: 380px) {
  .nav { gap: 0 14px; }
  .nav nav { font-size: .83rem; }
  .hero h1 { font-size: 2rem; }
}
