/* ==========================================================
   追追漫画 zhuizhui.net.cn · 单页官网样式
   主题：清新亮绿 · 移动端优先
   ========================================================== */

:root {
  --brand: #00A35C;
  --brand-strong: #00884E;
  --brand-soft: #E6F7EE;
  --brand-mist: #F2FBF6;
  --mint: #BBEBD3;
  --ink: #142B20;
  --ink-2: #4A6256;
  --ink-3: #7C9288;
  --line: #E0ECE4;
  --amber: #FFA726;
  --amber-soft: #FFF4E0;
  --white: #FFFFFF;
  --shadow: 0 14px 40px rgba(0, 128, 78, 0.12);
  --radius: 18px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

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

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: 10px;
}

.eyebrow i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
  margin-right: 8px;
  vertical-align: 1px;
}

h2 { font-size: 30px; font-weight: 800; line-height: 1.3; }

.sec-sub { color: var(--ink-3); margin-top: 8px; font-size: 15px; }

.section { padding: 72px 0; }

.section-tint { background: var(--brand-mist); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary { background: var(--brand); color: var(--white); }

.btn-primary:hover { background: var(--brand-strong); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 163, 92, 0.32); }

.btn-ghost { background: var(--white); border-color: var(--line); color: var(--ink); }

.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-soft); }

.btn-download { background: var(--white); color: var(--brand-strong); font-size: 17px; padding: 16px 36px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18); }

.btn-download:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(20, 43, 32, 0.06); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: relative;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }

.logo-icon { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }

.logo-text { font-size: 19px; font-weight: 800; line-height: 1.1; display: flex; flex-direction: column; }

.logo-text em { font-style: normal; font-size: 9px; font-weight: 600; letter-spacing: 0.22em; color: var(--ink-3); }

.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s; }

.nav-links a:hover { color: var(--brand-strong); }

.nav-links .nav-btn {
  background: var(--brand);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
}

.nav-links .nav-btn:hover { background: var(--brand-strong); color: var(--white); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }

.burger span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .3s, opacity .3s; }

.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }

.burger.open span:nth-child(2) { opacity: 0; }

.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 首屏 Hero ---------- */
.hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(640px 420px at 88% -10%, rgba(187, 235, 211, 0.55), transparent 70%),
    radial-gradient(520px 360px at -10% 110%, rgba(230, 247, 238, 0.9), transparent 70%);
  overflow: hidden;
}

.hero-inner { display: grid; grid-template-columns: 1fr; gap: 44px; }

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }

.hero h1 { font-size: 38px; font-weight: 900; line-height: 1.22; letter-spacing: 0.01em; }

.hero h1 span { color: var(--brand); }

.hero-desc { margin-top: 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.85; max-width: 540px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 34px; margin-top: 40px; }

.hero-stats li { display: flex; flex-direction: column; }

.hero-stats strong { font-size: 26px; font-weight: 800; color: var(--brand-strong); }

.hero-stats span { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

.hero-visual { display: flex; justify-content: center; }

.hero-shot { position: relative; width: 100%; max-width: 330px; }

.hero-shot img { width: 100%; border-radius: 26px; box-shadow: var(--shadow); border: 8px solid var(--white); }

.chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(187, 235, 211, 0.9);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-strong);
  box-shadow: 0 8px 20px rgba(0, 128, 78, 0.14);
}

.chip-a { top: 22px; left: -14px; }

.chip-b { bottom: 30px; right: -12px; }

/* ---------- 今日精选 ---------- */
.picks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.comic-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: transform .3s;
}

.comic-card:hover { transform: translateY(-6px); }

.comic-cover { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 26px rgba(20, 43, 32, 0.12); }

.comic-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }

.comic-card:hover .comic-cover img { transform: scale(1.05); }

.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
  backdrop-filter: blur(4px);
}

.comic-info { display: flex; flex-direction: column; padding: 0 4px; }

.comic-info strong { font-size: 15px; font-weight: 700; }

.comic-info small { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

/* ---------- 漫画分类 ---------- */
.cats-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  cursor: pointer;
  text-align: left;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.cat-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-4px); }

.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cat-icon svg { width: 27px; height: 27px; }

.cat-card strong { font-size: 17px; font-weight: 800; }

.cat-card p { font-size: 14px; color: var(--ink-3); line-height: 1.65; }

/* ---------- 本周人气榜 ---------- */
.rank-wrap { display: grid; grid-template-columns: 1fr; gap: 44px; }

.rank-list { list-style: none; }

.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  border-radius: 12px;
  transition: background .25s;
}

.rank-item:hover { background: var(--brand-mist); }

.rank-no { font-size: 22px; font-weight: 800; color: var(--brand-strong); width: 42px; flex: none; font-style: normal; }

.rank-thumb { width: 46px; height: 62px; border-radius: 8px; overflow: hidden; flex: none; }

.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }

.rank-name { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.rank-name strong { font-size: 15.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rank-name .tag { position: static; width: fit-content; }

.rank-hot { margin-left: auto; font-size: 15px; font-weight: 800; color: var(--amber); flex: none; text-align: right; }

.rank-hot em { font-style: normal; font-size: 11px; color: var(--ink-3); font-weight: 500; }

.rank-visual { display: flex; justify-content: center; align-items: flex-start; }

.rank-shot { position: relative; width: 100%; max-width: 330px; }

.rank-shot img { width: 100%; border-radius: 26px; box-shadow: var(--shadow); border: 8px solid var(--white); }

/* ---------- 更新动态 ---------- */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  cursor: pointer;
  text-align: left;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.news-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-4px); }

.news-date { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-3); }

.news-date strong { font-size: 15px; font-weight: 800; color: var(--brand-strong); }

.news-card h3 { font-size: 18px; font-weight: 800; margin: 14px 0 8px; }

.news-card p { font-size: 14px; color: var(--ink-3); line-height: 1.7; }

/* ---------- 追漫体验 ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
  padding: 40px 0;
}

.feature-row-rev .feature-shot { order: 2; }

.feature-shot { width: 100%; max-width: 340px; margin: 0 auto; }

.feature-shot img { width: 100%; border-radius: 24px; box-shadow: var(--shadow); border: 8px solid var(--white); }

.feature-copy { display: flex; flex-direction: column; align-items: flex-start; }

.feature-copy h3 { font-size: 26px; font-weight: 800; line-height: 1.3; }

.feature-copy > p:not(.eyebrow) { color: var(--ink-2); margin-top: 14px; line-height: 1.85; max-width: 520px; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 22px 0 28px; }

.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }

.feature-list svg { width: 20px; height: 20px; color: var(--brand-strong); flex: none; }

/* ---------- 关于追追漫画 ---------- */
.about-wrap { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }

.about-wrap h2 { font-size: 32px; line-height: 1.35; margin-bottom: 22px; }

.about-text { color: var(--ink-2); line-height: 1.9; max-width: 680px; }

.about-text + .about-text { margin-top: 14px; }

.about-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  max-width: 640px;
  margin-top: 40px;
}

.about-bullets li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  text-align: left;
}

.about-ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.about-ico svg { width: 24px; height: 24px; }

.about-bullets li strong { font-size: 15.5px; font-weight: 800; }

.about-bullets li small { font-size: 13px; color: var(--ink-3); }

/* ---------- 下载引导 ---------- */
.cta { padding: 40px 0 72px; }

.cta-band {
  background: linear-gradient(120deg, #00A35C, #009A6E);
  border-radius: 26px;
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 22px 50px rgba(0, 163, 92, 0.3);
}

.cta-band .eyebrow { color: rgba(255, 255, 255, 0.85); }

.cta-band h2 { font-size: 30px; }

.cta-copy p:last-child { color: rgba(255, 255, 255, 0.9); margin-top: 10px; max-width: 520px; }

/* ---------- 页脚 ---------- */
.footer { background: #0E2419; color: #A9C7B6; padding: 56px 0 0; }

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .logo-text { color: var(--white); font-size: 20px; }

.footer-brand p { margin-top: 12px; font-size: 14px; color: #7FA38F; }

.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; }

.footer-links a { font-size: 14.5px; color: #A9C7B6; transition: color .2s; }

.footer-links a:hover { color: var(--white); }

.footer-contact { font-size: 14px; }

.footer-contact p { font-size: 12.5px; color: #7FA38F; letter-spacing: 0.12em; }

.footer-contact a { color: #D6EADD; }

.footer-contact a:hover { color: var(--white); }

.footer-bottom { padding: 20px 0; text-align: center; font-size: 13px; color: #7FA38F; }

/* ---------- 轻提示 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(20, 43, 32, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 200;
  max-width: calc(100vw - 40px);
  text-align: center;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 平板 & 桌面 ---------- */
@media (min-width: 560px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .section { padding: 88px 0; }
  h2 { font-size: 36px; }
  .hero { padding: 88px 0 96px; }
  .hero h1 { font-size: 52px; }
  .picks-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .about-bullets { grid-template-columns: repeat(3, 1fr); }
  .cta-band { flex-direction: row; justify-content: space-between; text-align: left; padding: 52px 56px; }
  .cta-copy p:last-child { margin-top: 12px; }
}

@media (min-width: 992px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
  .hero-shot { max-width: 400px; }
  .rank-wrap { grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
  .rank-shot { max-width: 360px; }
  .feature-row { grid-template-columns: 380px 1fr; gap: 64px; padding: 48px 0; }
  .feature-row-rev .feature-shot { order: 0; }
  .feature-row-rev { grid-template-columns: 1fr 380px; }
  .feature-row-rev .feature-copy { order: 1; }
  .feature-shot { max-width: none; }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

/* ---------- 移动端导航 ---------- */
@media (max-width: 900px) {
  .burger { display: block; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(20, 43, 32, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s, opacity .3s;
  }
  .nav-links.open { max-height: 460px; opacity: 1; }
  .nav-links a { display: block; padding: 16px 20px; font-size: 16px; border-top: 1px solid rgba(224, 236, 228, 0.6); }
  .nav-links .nav-btn { margin: 14px 20px 20px; text-align: center; border-radius: 999px; }
}

/* ---------- 可访问性 & 动效偏好 ---------- */
:focus-visible { outline: 3px solid rgba(0, 163, 92, 0.45); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
