:root {
  --primary: #4a9df0;
  --primary-deep: #2d7bd8;
  --grad-main: linear-gradient(135deg, var(--primary), var(--primary-deep));
  --dark: #182b44;
  --border: #e2ecf8;
  --bg: #f3f8fe;
  --card: #ffffff;
  --text: #24364e;
  --text-2: #52637b;
  --radius: 16px;
  --shadow: 0 6px 18px rgba(45, 123, 216, .10);
  --shadow-hover: 0 14px 30px rgba(45, 123, 216, .18);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* 顶部导航 */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .93);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.logo { font-size: 24px; font-weight: 800; color: var(--dark); white-space: nowrap; transition: color .2s; }
.logo:hover { color: var(--primary); }

.nav-links { margin-left: auto; display: flex; gap: 20px; }

.nav-links a {
  font-size: 14px;
  color: var(--text-2);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary); border-bottom-color: var(--primary); }

.nav-btn { font-size: 13px; font-weight: 600; padding: 4px 15px; }

/* Hero 首屏 */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 128px 24px 76px;
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-text { flex: 1; }

.hero h1 {
  font-size: 44px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--dark);
}

.ver {
  font-style: normal;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-deep);
  background: rgba(74, 157, 240, .12);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 14px;
  margin-left: 10px;
  vertical-align: middle;
  white-space: nowrap;
}

.hero-text p {
  margin: 18px 0 30px;
  font-size: 15px;
  color: var(--text-2);
  max-width: 560px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-img { flex: 0 0 300px; }

.hero-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

/* 通用按钮 */
.btn,
.nav-btn {
  color: #fff;
  background: var(--grad-main);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
}

.btn:hover,
.nav-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn-ghost {
  background: #fff;
  color: var(--primary-deep);
  border: 1px solid var(--primary);
  box-shadow: none;
}

.btn-ghost:hover { box-shadow: var(--shadow-hover); }

/* 通用区块 */
.section { max-width: 1180px; margin: 0 auto; padding: 76px 24px; }

.sec-head h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 42px;
}

.sec-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-deep));
}

/* 游戏截图 */
.screens-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.screens-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* 平台介绍 */
.intro-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow);
}

.intro-box p { font-size: 15px; color: var(--text-2); margin-bottom: 14px; }
.intro-box p:last-child { margin-bottom: 0; }
.intro-box p:first-child { font-size: 16px; color: var(--text); }

/* 核心优势 */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3 { font-size: 18px; color: var(--dark); margin-bottom: 10px; }

.card h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-main);
  margin-right: 10px;
  vertical-align: middle;
}

.card p { font-size: 14px; color: var(--text-2); }

/* 用户评价 */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-main);
}

.review-meta { display: flex; flex-direction: column; line-height: 1.4; }

.review-name { font-size: 15px; font-weight: 700; color: var(--dark); }

.stars { font-size: 13px; color: #f7b731; letter-spacing: 2px; }

.review-card p { font-size: 14px; color: var(--text-2); }

/* 卡片通用动效 */
.card,
.review-card,
.screens-grid img { transition: transform .25s, box-shadow .25s; }

.card:hover,
.review-card:hover,
.screens-grid img:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

/* 版本更新 */
.update-box { padding: 30px 36px; }

.update-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }

.update-ver {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  background: var(--grad-main);
  border-radius: 999px;
  padding: 4px 18px;
  white-space: nowrap;
}

.update-date { font-size: 14px; color: var(--text-2); }

.update-list li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 14px;
  color: var(--text-2);
}

.update-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: 700;
  color: var(--primary);
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .25s;
}

.faq-item:hover { box-shadow: var(--shadow); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
  font-family: inherit;
}

.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .3s;
}

.faq-icon::before { left: 2px; right: 2px; top: 8px; height: 2px; }
.faq-icon::after { top: 2px; bottom: 2px; left: 8px; width: 2px; }

.faq-item.open .faq-icon::after { transform: scaleY(0); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }

.faq-a p { padding: 0 22px 18px; font-size: 14px; color: var(--text-2); }

.faq-item.open .faq-a { max-height: 320px; }

/* 下载区域 */
.download {
  padding: 84px 24px;
  background: linear-gradient(160deg, var(--dark) 0%, #20355a 55%, #2d4468 100%);
}

.download-inner { max-width: 760px; margin: 0 auto; text-align: center; }

.download h1 { font-size: 38px; font-weight: 800; color: #fff; }

.download .ver { color: #a6d0ff; background: rgba(166, 208, 255, .12); border-color: rgba(166, 208, 255, .28); }

.download-meta {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin: 18px 0 30px;
  font-size: 14px;
  color: #c4d6ec;
  white-space: nowrap;
}

.download-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn-lg { padding: 15px 34px; font-size: 16px; }

.download-tip { margin-top: 22px; font-size: 13px; color: #9db6d4; }

/* 页脚 */
.footer {
  text-align: center;
  padding: 26px 24px;
  font-size: 13px;
  color: var(--text-2);
  background: var(--card);
  border-top: 1px solid var(--border);
}

.footer a { color: var(--primary-deep); }

/* 返回顶部 */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  z-index: 99;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #fff;
  background: var(--grad-main);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
}

.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.back-top:hover { transform: translateY(-3px); }

/* 平板 */
@media (max-width: 1024px) {
  .hero { gap: 36px; }
  .hero h1 { font-size: 36px; }
  .hero-img { flex-basis: 260px; }
  .screens-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid,
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 手机 */
@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .logo { display: flex; align-items: center; min-height: 44px; }
  .nav-btn { margin-left: auto; padding: 4px 16px; min-height: 32px; display: inline-flex; align-items: center; }

  .hero { flex-direction: column; padding: 96px 20px 48px; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; }
  .hero-img { flex: 0 0 auto; width: 100%; max-width: 340px; }

  .section { padding: 56px 20px; }
  .sec-head h2 { font-size: 25px; margin-bottom: 32px; }

  .screens-grid,
  .features-grid,
  .reviews-grid { grid-template-columns: 1fr; }

  .intro-box,
  .update-box { padding: 24px; }

  .update-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  .download { padding: 64px 20px; }
  .download h1 { font-size: 30px; }
  .download-meta { gap: 12px; font-size: 12px; }
  .download-btns { flex-direction: column; width: 100%; }
  .download-btns .btn { width: 100%; }

  .back-top { right: 16px; bottom: 20px; }
}
