/* ============================================================
   禁漫天堂 官网 v3 — 深墨绿琥珀金复古杂志风
   配色：深墨绿 #1a2a2a / 墨绿卡 #1f3030 / 苔藓绿 #4ade80 / 琥珀金 #d4a853
   ============================================================ */

:root {
  --bg: #1a2a2a;
  --bg-soft: #243838;
  --card: #1f3030;
  --line: #3a5050;
  --text: #f0f5f0;
  --text-soft: #8aa09a;
  --moss: #4ade80;
  --gold: #d4a853;
  --gradient: linear-gradient(135deg, #4ade80, #d4a853);
  --radius: 12px;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 42, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
}
.brand-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
}
.brand-name em { font-style: normal; color: var(--gold); }
.brand-tag {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-soft);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-soft); }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  background: var(--gradient);
  color: #1a2a2a;
  border-radius: 999px;
  transition: opacity 0.2s ease;
}
.nav-cta:hover { opacity: 0.9; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

/* ========== Hero ========== */
.hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(74, 222, 128, 0.12), transparent 60%),
    radial-gradient(600px 300px at 20% 100%, rgba(212, 168, 83, 0.1), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--moss);
}
.hero-sub {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  background: var(--gradient);
  color: #1a2a2a;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  display: inline-block;
  font-size: 15px;
  padding: 14px 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
}
.hero-meta {
  font-size: 13px;
  color: var(--text-soft);
}
.hero-meta b { color: var(--text); font-weight: 600; }

.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: 320px;
  border-radius: 8px;
  border: 1px solid var(--gold);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

/* 三数字统计 */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat-cell { text-align: left; }
.stat-num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 8px;
}

/* ========== 通用 Section ========== */
.section { padding: 72px 0; }
.section-head { margin-bottom: 40px; }
.section-head h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.section-head p { color: var(--text-soft); max-width: 640px; }

/* ========== 今日精选 3 卡 ========== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.featured-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.featured-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}
.featured-body { padding: 20px; }
.featured-body h3 { font-size: 17px; margin-bottom: 6px; }
.featured-body p { font-size: 14px; color: var(--text-soft); }

/* ========== 六种阅读气质 6 格 ========== */
.traits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.trait-cell {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trait-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 12px;
}
.trait-cell h3 { font-size: 18px; margin-bottom: 8px; }
.trait-cell p { font-size: 14px; color: var(--text-soft); }

/* ========== 引语区 ========== */
.quote-section {
  padding: 64px 0;
  text-align: center;
}
.quote-text {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto 16px;
}
.quote-text em { font-style: normal; color: var(--moss); }
.quote-author {
  font-size: 14px;
  color: var(--text-soft);
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after {
  content: "+";
  font-size: 22px;
  color: var(--gold);
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--text-soft);
  font-size: 14px;
  padding: 0 22px;
}
.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 22px 18px;
}

/* ========== 关于软件左右两栏 ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 16px;
}
.about-text p {
  color: var(--text-soft);
  margin-bottom: 16px;
}
.about-list li {
  padding: 8px 0;
  color: var(--text-soft);
  font-size: 14px;
  border-bottom: 1px dashed var(--line);
}
.about-list li b { color: var(--text); font-weight: 600; }

/* ========== 深色 CTA ========== */
.download-cta {
  background: var(--bg-soft);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 56px 32px;
  text-align: center;
}
.download-cta h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}
.download-cta p { margin-bottom: 28px; color: var(--text-soft); }
.download-meta {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 16px;
}
.download-meta b { color: var(--text); font-weight: 600; }

/* ========== Footer ========== */
.site-footer {
  padding: 40px 0 48px;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.site-footer .brand { justify-content: center; margin-bottom: 10px; }
.site-footer .brand img { width: 30px; height: 30px; }
.site-footer .brand-name { font-size: 18px; }

/* ========== 响应式 ========== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .stats-row { grid-template-columns: 1fr; gap: 20px; }
  .featured-grid { grid-template-columns: 1fr; }
  .traits-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    gap: 16px;
  }
}
