/* ============================================================
   禁漫天堂 (1jmcomic3.cn) · 深夜漫画咖啡：炭黑 + 琥珀金
   ============================================================ */
:root {
  --bg: #14100d;
  --surface: #1f1814;
  --surface-2: #2a211b;
  --line: rgba(255,255,255,.08);
  --txt: #f5ece1;
  --muted: #a89a8a;
  --gold: #f5a623;
  --gold-deep: #d98a12;
  --gold-soft: rgba(245,166,35,.12);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(245,166,35,.18);
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--txt); line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; border: none; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.btn:active { transform: scale(.97); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #1a1206; box-shadow: var(--shadow); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(245,166,35,.4); }
.btn-line { background: transparent; color: var(--txt); border: 1.5px solid var(--line); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-light { background: #fff; color: var(--gold-deep); }
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* 导航 */
.nav { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); background: rgba(20,16,13,.82); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.brand-text em { font-style: normal; color: var(--gold); font-weight: 700; margin-left: 6px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 15px; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--gold); }
.nav-download { padding: 9px 20px; font-size: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--txt); border-radius: 2px; }

/* Hero */
.hero { background: radial-gradient(900px 500px at 78% -10%, var(--gold-soft), transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding: 70px 24px 50px; }
.tag { display: inline-block; font-size: 13px; color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(245,166,35,.35); padding: 5px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: 56px; line-height: 1.08; font-weight: 900; letter-spacing: -1px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 460px; }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta span { font-size: 13.5px; color: var(--muted); border: 1px solid var(--line); padding: 5px 14px; border-radius: 999px; }
.hero-visual { display: flex; justify-content: center; }
.phone-glow { width: 300px; padding: 14px; border-radius: 32px; background: var(--gold-soft); box-shadow: 0 30px 80px rgba(245,166,35,.25); }
.phone-glow img { border-radius: 22px; }

/* 滚动条 */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; background: var(--surface); }
.marquee-track { display: flex; gap: 26px; white-space: nowrap; width: max-content; animation: scroll 22s linear infinite; }
.marquee-track span { color: var(--muted); font-size: 14px; }
.marquee-track i { color: var(--gold); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* 数据 */
.stats { padding: 40px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-align: center; padding: 26px 10px; }
.stat b { display: block; font-size: 26px; color: var(--gold); }
.stat span { color: var(--muted); font-size: 13px; }

/* Section */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 2px; font-size: 13px; margin-bottom: 12px; }
.sec-title { font-size: 34px; font-weight: 900; margin-bottom: 16px; line-height: 1.2; }
.sec-title em { font-style: normal; color: var(--gold); }
.sec-desc { color: var(--muted); max-width: 320px; }

/* 两栏：标题 + 编号列表 */
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.num-list { display: grid; gap: 14px; }
.num-item { display: flex; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; transition: border-color .2s, transform .2s; }
.num-item:hover { border-color: var(--gold); transform: translateX(4px); }
.num-item b { font-size: 22px; color: var(--gold); font-weight: 900; line-height: 1; }
.num-item h3 { font-size: 17px; margin-bottom: 4px; }
.num-item p { color: var(--muted); font-size: 14px; }

/* 热门作品 */
.works-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.work { text-align: center; }
.wc { height: 150px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 900; color: #1a1206; margin-bottom: 12px; }
.wc1 { background: linear-gradient(135deg,#f5a623,#e07b1a); }
.wc2 { background: linear-gradient(135deg,#ffcf70,#f5a623); }
.wc3 { background: linear-gradient(135deg,#e07b1a,#b85a0e); }
.wc4 { background: linear-gradient(135deg,#ffd98a,#f09a1a); }
.work h4 { font-size: 15px; }
.work span { color: var(--muted); font-size: 12.5px; }

/* 预览 */
.preview-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.pv { margin: 0; }
.pv img { width: 100%; border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.5); transition: transform .2s; }
.pv:hover img { transform: translateY(-6px); }
.pv figcaption { text-align: center; margin-top: 12px; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 18px 30px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 22px; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 0 18px; color: var(--muted); }

/* CTA */
.cta { text-align: center; padding: 80px 0; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); color: #1a1206; }
.cta h2 { font-size: 32px; font-weight: 900; }
.cta h2 em { font-style: normal; }
.cta p { margin: 12px 0 28px; opacity: .85; }

/* 页脚 */
.footer { background: #0c0907; padding: 36px 0; }
.foot-inner { text-align: center; color: var(--muted); font-size: 14px; }
.foot-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; color: var(--txt); font-weight: 600; }
.copy { margin-top: 10px; font-size: 12.5px; opacity: .7; }

/* 悬浮下载 */
.float-download { position: fixed; right: 18px; bottom: 22px; z-index: 99; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #1a1206; padding: 14px 26px; border-radius: 999px; font-weight: 700; box-shadow: 0 12px 30px rgba(245,166,35,.4); display: none; }

/* 响应式 */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 24px 30px; }
  .hero h1 { font-size: 38px; }
  .phone-glow { width: 240px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .works-grid { grid-template-columns: repeat(2,1fr); }
  .preview-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .25s; }
  .nav-links.open { max-height: 300px; }
  .nav-links a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .burger { display: flex; }
  .nav-download { display: none; }
  .preview-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .sec-title { font-size: 26px; }
  .float-download { display: inline-flex; }
}
