:root {
  --ink: #111820;
  --muted: #5b6675;
  --line: #e6eaf0;
  --accent: #2f5bea;
  --soft: #f5f7fb;
  --white: #fff;
  --dark: #0d131c;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }

a:hover { text-decoration: underline; }

a:focus-visible,
.btn:focus-visible,
.btn-store:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.brand:hover { text-decoration: none; }

.brand .mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.brand .small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #2b3543;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--accent); text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  background:
    radial-gradient(1000px 460px at 80% -10%, rgba(47, 91, 234, 0.35), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(0, 200, 170, 0.18), transparent 55%),
    var(--dark);
  color: #fff;
}

.hero .wrap { padding-top: 88px; padding-bottom: 88px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero .eyebrow { color: #c5d0e0; font-weight: 500; }

.hero h1 {
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 760px;
}

.hero p {
  margin-top: 20px;
  color: #d5deea;
  max-width: 640px;
  font-size: 16px;
}

.hero .actions {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  color: var(--ink);
}

.btn:hover { text-decoration: none; opacity: 0.92; }

.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

section { padding: 72px 0; }

section.tight { padding: 56px 0; }

.section-head { max-width: 720px; margin-bottom: 36px; }

.section-head.compact { margin-bottom: 22px; }

.kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

h1, h2, h3 { font-weight: 700; }

h2 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h3 { font-size: 17px; margin-bottom: 8px; }

p.lead { color: var(--muted); margin-top: 14px; font-size: 16px; }

.grid { display: grid; gap: 20px; }

.grid.three { grid-template-columns: repeat(3, 1fr); }

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  transition: border-color 0.15s ease;
}

.card:hover { border-color: var(--accent); }

.card h3 { font-size: 16px; }

.card p { color: var(--muted); font-size: 15px; margin-top: 8px; }

.card .tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}

.game-teaser {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.teaser-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  flex: 0 0 auto;
  object-fit: cover;
}

.teaser-link { margin-top: 12px; }

.section-link { margin-top: 26px; }

.soft { background: var(--soft); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.factlist { list-style: none; border-top: 1px solid var(--line); }

.factlist li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.factlist li span:first-child { color: var(--muted); flex: 0 0 auto; }

.factlist li span:last-child {
  text-align: right;
  font-weight: 500;
  min-width: 0;
}

.page-head {
  padding: 64px 0 28px;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-size: 34px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.page-head .eyebrow { margin-bottom: 12px; }

.page-head .meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.legal-body.wrap {
  max-width: 820px;
  padding: 44px 24px 80px;
}

.legal-body h2 {
  font-size: 20px;
  margin: 34px 0 10px;
  letter-spacing: -0.01em;
}

.legal-body h2:first-of-type { margin-top: 0; }

.legal-body p,
.legal-body li { color: #232c38; font-size: 15.5px; }

.legal-body p { margin-bottom: 12px; }

.legal-body ul { margin: 8px 0 16px 20px; }

.legal-body li { margin-bottom: 8px; }

.feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.app-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(17, 24, 32, 0.14);
}

.app-icon img {
  width: 92px;
  height: 92px;
  object-fit: cover;
}

.game-title {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 22px;
}

.tagline {
  color: var(--muted);
  font-size: 16px;
  margin-top: 10px;
}

.pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.pill {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #33404f;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

.feature-body p { color: #232c38; font-size: 15.5px; margin-top: 16px; }

.feature-list {
  margin: 14px 0 0 18px;
  color: #232c38;
  font-size: 15px;
}

.feature-list li { margin-bottom: 7px; }

.spec-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.spec {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
  border-top: 1px solid var(--line);
}

.spec td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  vertical-align: top;
}

.spec td:first-child {
  color: var(--muted);
  width: 42%;
  padding-right: 12px;
}

.spec-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: #fff;
  padding: 13px 22px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 600;
  margin-top: 22px;
}

.btn-store:hover { text-decoration: none; opacity: 0.9; }

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.shots figure {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--soft);
}

.shots img { width: 100%; }

.shots figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 12px;
  text-align: center;
}

#contact { scroll-margin-top: 96px; }

.site-footer {
  background: var(--dark);
  color: #c7d0dd;
  padding: 52px 0 34px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand { max-width: 360px; }

.footer-brand .name {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-brand .cn {
  font-size: 13px;
  color: #b7c2d2;
  margin-top: 4px;
}

.footer-brand p {
  font-size: 14px;
  color: #b7c2d2;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-links .col h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b7c2d2;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: #d5deea;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-links a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #c5d0e0;
}

.footer-bottom a { color: #d5deea; }

.footer-bottom a:hover { color: #fff; }

@media (max-width: 900px) {
  .grid.three,
  .grid.two,
  .split,
  .feature { grid-template-columns: 1fr; }

  .split,
  .feature { gap: 28px; }

  .hero h1 { font-size: 32px; }

  .game-title { font-size: 30px; }

  h2 { font-size: 24px; }

  .hero .wrap { padding-top: 60px; padding-bottom: 60px; }

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

  .footer-links { gap: 32px; }
}

@media (max-width: 640px) {
  .nav {
    height: auto;
    padding: 14px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links { gap: 8px 12px; font-size: 13px; }

  section { padding: 52px 0; }

  .factlist li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .factlist li span:last-child { text-align: left; }

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

  .page-head h1 { font-size: 28px; }

  .footer-bottom { flex-direction: column; }
}
