/* Reset & base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft Yahei", Roboto, "Noto Sans SC", sans-serif;
  background: radial-gradient(800px 400px at 10% 10%, rgba(14,165,233,0.03), transparent),
              radial-gradient(600px 300px at 90% 90%, rgba(99,102,241,0.02), transparent),
              #0a0f1c;
  color: #e6eef8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  padding-bottom: 48px;
}

/* Links */
a { color: #ffffff; text-decoration: none; }

/* Layout */
.container { max-width: 980px; margin: 0 auto; padding: 0 20px; }
header {
  background: rgba(2,6,23,0.6);
  backdrop-filter: blur(6px);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.02);
}
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:12px; max-width:980px; margin:0 auto; padding:0 20px; }
.brand { display:flex; align-items:center; gap:12px; }
.logo {
  width:52px; height:52px; border-radius:12px;
  display:flex; align-items:center; justify-content:center; font-weight:700;
  background: linear-gradient(135deg,#0ea5e9,#7c3aed); color:#021124; box-shadow: 0 8px 30px rgba(14,165,233,0.12);
}
header h1 { font-size:18px; color:#e6eef8; }
header .sub { color:#94a3b8; font-size:13px; margin-top:4px; }

/* Navigation */
.nav-inline { display:inline-flex; gap:14px; align-items:center; margin-bottom:6px; }
.nav-link { color:#cfe8ff; font-weight:700; padding:8px 12px; border-radius:10px; background:rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.04); }

/* Hero */
.hero { padding: 56px 0; text-align:center; }
.hero-title { font-size:34px; font-weight:700; margin-bottom:12px; color:#ffffff; line-height:1.06; }
.hero-lead { color:#94a3b8; max-width:760px; margin:0 auto 18px; font-size:16px; }
.hero-cta { display:inline-flex; gap:12px; margin-top:12px; flex-wrap:wrap; justify-content:center; }
.cta-row { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; align-items:center; margin:14px auto 0; width:100%; text-align:center; }

/* Banner */
.banner-cover { position:relative; border-radius:12px; overflow:hidden; border:1px solid rgba(255,255,255,0.04); min-height:560px; background: linear-gradient(180deg, rgba(2,6,23,0.15), rgba(2,6,23,0.55)), url('2.jpg') center/cover no-repeat; }

/* Buttons */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 18px; border-radius:12px; font-weight:700; text-decoration:none; cursor:pointer;
}
.btn-primary { background: linear-gradient(90deg,#0ea5e9,#7c3aed); color:#021124; box-shadow: 0 10px 30px rgba(14,165,233,0.12); }
.btn-ghost { background: rgba(255,255,255,0.02); color:#cfe8ff; border:1px solid rgba(255,255,255,0.03); }
.btn-sm { padding:8px 12px; border-radius:10px; font-size:14px; }

/* Sections & Cards */
.section { padding:34px 0; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  padding: 26px; border-radius:14px; box-shadow: 0 12px 40px rgba(2,6,23,0.6);
  max-width:860px; margin: 0 auto; text-align:left;
}
.card h2 { color:#0ea5e9; font-size:22px; margin-bottom:8px; }
.card p { color:#94a3b8; font-size:15px; margin-bottom:10px; }

.features { display:flex; gap:12px; flex-wrap:wrap; margin-top:14px; }
.feature { flex:1; min-width:180px; background:rgba(255,255,255,0.02); padding:12px; border-radius:10px; border:1px solid rgba(255,255,255,0.04); }
.feature h4 { margin-bottom:6px; color:#ffffff; font-size:15px; }
.feature p { color:#a8b7c9; font-size:13px; }
.feature-link { display:block; }

/* Download block */
.download-block { display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin-top:14px; }
.dl-item { background: rgba(255,255,255,0.02); padding:12px 14px; border-radius:10px; display:flex; gap:12px; align-items:center; min-width:220px; border:1px solid rgba(255,255,255,0.04); }
.dl-item .meta { color:#94a3b8; font-size:13px; }
.dl-badge { min-width:46px; height:46px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-weight:700; color:#021124; }
.dl-badge-win { background:linear-gradient(135deg,#0ea5e9,#7c3aed); }
.dl-badge-apk { background:linear-gradient(135deg,#34d399,#06b6d4); }

/* Details/Q&A */
.summary-item { margin-top:12px; background:rgba(255,255,255,0.02); padding:12px; border-radius:10px; }
.summary-item > summary { font-weight:700; cursor:pointer; }
.muted { color:#9fb6cc; }
.ol-steps { margin-top:8px; padding-left:18px; color:#9fb6cc; }

/* News grid & lists */
.news-grid, .list-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:12px; }
/* 让网格中的卡片占满列宽，避免被 .card 的 max-width 居中限制 */
.news-grid .card, .list-grid .card { max-width:100%; margin:0; }
.news-grid .feature-link, .list-grid .feature-link { width:100%; }
.list-plain { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
/* Pagination */
.pagination { display:flex; gap:8px; justify-content:flex-start; margin-top:16px; flex-wrap:wrap; }
.page-btn { background: rgba(255,255,255,0.02); color:#cfe8ff; border:1px solid rgba(255,255,255,0.04); padding:8px 12px; border-radius:10px; font-weight:700; cursor:pointer; }
.page-btn.active { background: linear-gradient(90deg,#0ea5e9,#7c3aed); color:#021124; border-color: transparent; }
.page-btn[disabled] { opacity:0.5; cursor:not-allowed; }
/* Tags */
.tag-list { display:flex; gap:8px; flex-wrap:wrap; margin-top:8px; }
.tag { display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px; background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.04); color:#cfe8ff; font-size:13px; font-weight:700; }
.tag:hover { background: rgba(255,255,255,0.06); }

/* Gallery */
.gallery-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap:12px; margin-top:14px; }
.gallery-item { position:relative; border-radius:12px; overflow:hidden; background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.04); }
.gallery-item svg { display:block; width:100%; height:140px; }
.gallery-caption { position:absolute; left:10px; bottom:10px; color:#dbe7ff; font-size:12px; background: rgba(2,6,23,0.6); padding:4px 8px; border-radius:8px; border:1px solid rgba(255,255,255,0.06); }

/* Footer */
footer { text-align:center; margin-top:36px; color:#94a3b8; font-size:13px; padding-top:18px; border-top:1px solid rgba(255,255,255,0.02); }
.friend-links { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; align-items:center; margin-bottom:10px; }
.friend-label { color:#cfe8ff; font-weight:700; }

/* Article page */
.article-header { padding: 30px 0 10px; }
/* Page title & description (list/category pages) */
.page-title { font-size:28px; font-weight:800; color:#ffffff; margin-bottom:8px; line-height:1.08; text-align:center; }
.page-desc { color:#9fb6cc; font-size:15px; text-align:center; margin-top:4px; }
.article-title { font-size:28px; font-weight:800; color:#ffffff; margin-bottom:10px; line-height:1.08; text-align:center; }
.article-meta { color:#7aa3c4; font-size:13px; display:flex; gap:14px; align-items:center; }
/* add visible article description style */
.article-desc { color:#9fb6cc; font-size:15px; text-align:center; margin-top:4px; }
.article-content { margin-top: 8px; }
.article-content p { margin: 12px 0; color:#a8b7c9; font-size:15px; }
.article-content h3 { margin: 16px 0 8px; color:#0ea5e9; font-size:18px; }
.article-content ul { margin: 10px 0 12px 18px; }
.article-content li { margin: 6px 0; }
.article-content code { background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 6px; }
.article-actions { margin-top: 16px; display:flex; gap:12px; align-items:center; }

/* Article two-column layout */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; }
.sidebar { position: sticky; top: 88px; height: fit-content; }
.sidebar .card { max-width: 100%; margin: 0; }

/* Responsive */
@media (max-width:720px) {
  .hero-title { font-size:24px; }
  .card { padding:18px; }
  .features { flex-direction:column; }
  .list-grid, .news-grid { grid-template-columns:1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .breadcrumb { margin:8px 0; font-size:12px; }
}

/* Utilities */
.ml-auto { margin-left: auto; }
.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.mt-sm { margin-top: 14px; }
.title-strong { font-weight: 800; color: #fff; }
.disabled { opacity: 0.5; pointer-events: none; }
/* Breadcrumb */
.breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:#9fb6cc; font-size:13px; margin:12px 0 8px; }
.breadcrumb a { color:#cfe8ff; }
.breadcrumb .current { color:#ffffff; font-weight:700; }
.breadcrumb .sep::before { content:'›'; opacity:0.6; }
/* Page-specific: remove header background on article page */
.no-header-bg header { background: transparent !important; }