/* 基础重置与主题 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: #0f1115;
  color: #e6e6e6;
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}
a { color: #7ee0a3; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* 导航 */
nav {
  position: sticky; top: 0; background: rgba(15,17,21,.92);
  border-bottom: 1px solid #262a33; z-index: 10;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.brand { font-weight: 700; color: #fff; }
.nav-links a { color: #9aa0a6; margin-left: 24px; }
.nav-links a.active, .nav-links a:hover { color: #7ee0a3; }

/* 首页 hero */
.hero { padding: 72px 0 40px; }
.hero h1 { font-size: 44px; color: #fff; }
.tagline { color: #7ee0a3; font-size: 20px; margin: 8px 0 32px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.fact {
  background: #171a21; border: 1px solid #262a33; border-radius: 10px;
  padding: 16px; font-size: 14px; color: #c8ccd2;
}
.fact strong { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.cta a {
  display: inline-block; padding: 10px 22px; border-radius: 8px;
  background: #7ee0a3; color: #0f1115; font-weight: 600; margin-right: 12px;
}
.cta a.secondary { background: #1c2027; color: #e6e6e6; border: 1px solid #333845; }
.page-head .cta { margin-bottom: 16px; }
.detail-cta { margin-bottom: 28px; }

/* 关于区：照片左，文字右 */
.about { display: flex; gap: 36px; padding: 40px 0 64px; }
.photo {
  flex: 0 0 240px; height: 300px; border-radius: 12px;
  border: 1px dashed #3a4150; background: #171a21;
  display: flex; align-items: center; justify-content: center;
  color: #6b7280; font-size: 13px; text-align: center; padding: 12px;
}
.about-text h2 { color: #fff; margin-bottom: 16px; }
.about-text p { color: #c8ccd2; margin-bottom: 14px; font-size: 15px; }
.contact-line { color: #9aa0a6; font-size: 14px; }
.contact-line a { color: #7ee0a3; }

/* 区块标题 */
.section-title {
  font-size: 24px; color: #fff; margin: 40px 0 20px;
  padding-left: 12px; border-left: 4px solid #7ee0a3;
}

/* 卡片网格 */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; padding-bottom: 40px; }
.card {
  background: #171a21; border: 1px solid #262a33; border-radius: 12px;
  padding: 20px; display: flex; flex-direction: column;
}
.card h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.card .hook { color: #9aa0a6; font-size: 14px; flex: 1; margin-bottom: 12px; }
.card .meta { color: #6b7280; font-size: 12px; }
.card a.card-link { color: #7ee0a3; font-size: 14px; }
.card img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }
.concept-map { width: 100%; max-width: 520px; border-radius: 10px; border: 1px solid #262a33; display: block; }
a.card { text-decoration: none; }
a.card:hover { text-decoration: none; border-color: #7ee0a3; }
.soon { opacity: .55; }
.badge {
  display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 99px;
  background: #243b30; color: #7ee0a3; margin-bottom: 10px; width: fit-content;
}

/* 详情页 */
.page-head { padding: 56px 0 24px; }
.page-head h1 { font-size: 34px; color: #fff; }
.page-meta { color: #9aa0a6; font-size: 14px; margin-top: 10px; }
.summary {
  border-left: 4px solid #7ee0a3; background: #171a21;
  padding: 16px 20px; border-radius: 0 10px 10px 0; color: #d6dadf;
  margin-bottom: 32px;
}
.detail-section { margin-bottom: 36px; }
.detail-section h2 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.detail-section h3 { color: #7ee0a3; font-size: 16px; margin: 20px 0 10px; }
.detail-section p, .detail-section li { color: #c8ccd2; font-size: 15px; }
.detail-section ul { padding-left: 20px; }
.detail-section li { margin-bottom: 8px; }
.detail-section h3 { color: #fff; font-size: 15px; margin: 18px 0 8px; }
.detail-section pre {
  background: #0f1115; border: 1px solid #262a33; border-radius: 8px;
  padding: 14px 16px; overflow-x: auto; margin-bottom: 8px;
}
.detail-section pre code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px; color: #c8ccd2; line-height: 1.6;
}
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot {
  height: 160px; border-radius: 10px; overflow: hidden; position: relative;
  background: #171a21; color: #6b7280; font-size: 12px;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.shot img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.shot span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 5px 8px; background: rgba(15,17,21,.8); color: #e6e6e6; font-size: 12px; text-align: center;
}
.shot.tall { height: 280px; }
.shot.tall img { object-fit: contain; }
.shot.gameplay { grid-column: 1 / -1; height: auto; margin-bottom: 24px; }
.shot.gameplay img { position: static; width: 100%; height: auto; }
.archive { background: #171a21; border: 1px solid #262a33; border-radius: 12px; padding: 20px; margin-bottom: 36px; }
.archive h2 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.archive ul { padding-left: 20px; }
.archive li { margin-bottom: 8px; color: #c8ccd2; }

/* 页脚 */
footer { border-top: 1px solid #262a33; padding: 24px 0; color: #6b7280; font-size: 13px; margin-top: 40px; }

/* 游戏履历页 */
.verify-line { margin: 0 0 32px; color: #9aa0a6; font-size: 14px; }
.platform { background: #171a21; border: 1px solid #262a33; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.platform h2 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px; color: #fff; background: #0f1115;
  border: 1px solid #fff; border-radius: 99px; padding: 4px 12px; font-weight: 400;
}
.chip.hl { color: #0f1115; background: #7ee0a3; border-color: transparent; font-weight: 700; }
.chip b { color: inherit; font-weight: inherit; }

/* 分析文档页 */
.analysis { background: #171a21; border: 1px solid #262a33; border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.analysis summary {
  cursor: pointer; padding: 16px 20px; color: #fff; font-size: 16px; font-weight: 600;
  list-style: none; user-select: none;
}
.analysis summary::-webkit-details-marker { display: none; }
.analysis summary::before { content: "▸"; color: #7ee0a3; margin-right: 10px; display: inline-block; }
.analysis[open] summary::before { content: "▾"; }
.analysis .body { padding: 0 20px 20px; color: #c8ccd2; font-size: 15px; line-height: 1.9; }
.analysis .body p { margin-bottom: 14px; }
.analysis .body h3 { color: #fff; font-size: 15px; margin: 18px 0 8px; }
.analysis .body ul, .analysis .body ol { padding-left: 22px; margin: 0 0 14px; }
.analysis .body li { margin-bottom: 8px; }
.summary ul { margin: 10px 0 0; padding-left: 20px; }
.summary li { margin-bottom: 8px; color: #d6dadf; }
.download { margin-top: 24px; }

/* 全文分析页 */
.article { color: #c8ccd2; font-size: 15px; line-height: 1.9; }
.article h2 { color: #fff; font-size: 20px; margin: 28px 0 12px; }
.article p { margin-bottom: 14px; }
.article strong { color: #7ee0a3; font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.shots.two { grid-template-columns: repeat(2, 1fr); }

/* 手机端 */
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr; }
  .about { flex-direction: column; }
  .photo { flex: none; width: 100%; height: 220px; }
  .shots { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}