/* =========================================================
   香香漫画 全站样式表  style.css
   配色：莓粉 × 星云紫 × 暖米白
   ========================================================= */

:root {
  --primary: #f23f72;
  --primary-600: #d62058;
  --primary-700: #b01445;
  --primary-100: #ffe3ec;
  --primary-50: #fff3f7;
  --purple: #7558e8;
  --purple-600: #5b3fd1;
  --purple-100: #ece7ff;
  --indigo: #241d4a;
  --indigo-800: #2e2660;
  --ink: #252139;
  --body: #5d5878;
  --muted: #928da8;
  --line: #efebf6;
  --bg: #fdfbfd;
  --cream: #fff7ef;
  --amber: #ffad1f;
  --green: #16b386;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 16px rgba(72, 40, 110, .07);
  --shadow: 0 20px 44px -16px rgba(82, 45, 128, .22);
  --shadow-pink: 0 18px 38px -14px rgba(242, 63, 114, .45);
  --gradient: linear-gradient(135deg, #ff5a8c 0%, #9a63f0 100%);
  --gradient-soft: linear-gradient(135deg, #fff1f6 0%, #f1ecff 100%);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-h: 74px;
}

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

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

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.section--soft { background: var(--gradient-soft); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--indigo); color: rgba(255,255,255,.78); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; font-weight: 900; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  color: var(--primary); background: var(--primary-100);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; }
.section-head--left { text-align: left; margin-left: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow-pink); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 46px -14px rgba(242,63,114,.55); color:#fff; }
.btn-purple { background: var(--purple); color: #fff; box-shadow: 0 16px 34px -14px rgba(117,88,232,.7); }
.btn-purple:hover { background: var(--purple-600); transform: translateY(-3px); color:#fff; }
.btn-outline { border: 2px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.btn-ghost-light { border: 2px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color:#fff; }
.btn-sm { padding: 9px 20px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(60,35,95,.08); border-color: var(--line); }
.nav-inner { height: var(--header-h); display: flex; align-items: center; gap: 26px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 13px; background: var(--gradient);
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-pink);
}
.brand-name { font-size: 1.34rem; font-weight: 900; color: var(--ink); letter-spacing: .02em; }
.brand-name em { font-style: normal; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 9px 16px; border-radius: 999px; font-weight: 500; color: var(--body);
  font-size: .97rem; position: relative;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-50); }
.nav-links a.active { color: var(--primary-600); font-weight: 700; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 3px; background: var(--gradient);
}
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px;
  border-radius: 12px; border: 1px solid var(--line);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 999;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -18px rgba(60,35,95,.25);
  padding: 14px 5% 22px; display: none;
}
.mobile-menu.open { display: block; animation: menuDrop .3s ease; }
.mobile-menu a { display: block; padding: 13px 12px; border-radius: 12px; font-weight: 500; color: var(--ink); }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--primary-50); color: var(--primary); }
@keyframes menuDrop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + 70px); padding-bottom: 90px; position: relative; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(8px); opacity: .55; z-index: 0;
}
.hero::before { width: 460px; height: 460px; background: radial-gradient(circle, #ffd5e3, transparent 68%); top: -140px; right: -120px; }
.hero::after { width: 420px; height: 420px; background: radial-gradient(circle, #ddd3ff, transparent 68%); bottom: -180px; left: -140px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 500;
  color: var(--purple-600); background: #fff; border: 1px solid var(--purple-100);
  padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,179,134,.18); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin-bottom: 20px; letter-spacing: .01em; }
.hero h1 .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 1.12rem; color: var(--body); max-width: 560px; margin-bottom: 30px; }

.hero-search {
  display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 8px 8px 24px; box-shadow: var(--shadow); max-width: 560px; margin-bottom: 26px;
}
.hero-search input { flex: 1; border: none; outline: none; background: transparent; color: var(--ink); min-width: 0; }
.hero-search input::placeholder { color: var(--muted); }
.hero-search .btn { padding: 12px 26px; }

.hot-words { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.hot-words a { padding: 5px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--body); }
.hot-words a:hover { color: var(--primary); border-color: var(--primary-100); background: var(--primary-50); }

.hero-visual { position: relative; min-height: 460px; }
.hero-cover {
  position: absolute; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid #fff; background: #fff;
}
.hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.hero-cover--main { width: 56%; aspect-ratio: 3/4; right: 10%; top: 6%; z-index: 2; animation: floatY 6s ease-in-out infinite; }
.hero-cover--sub1 { width: 40%; aspect-ratio: 3/4; left: 0; top: 24%; z-index: 3; animation: floatY 7s ease-in-out .6s infinite; }
.hero-cover--sub2 { width: 34%; aspect-ratio: 3/4; right: 0; bottom: 0; z-index: 1; animation: floatY 8s ease-in-out 1.1s infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero-float-card {
  position: absolute; z-index: 4; background: #fff; border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 11px; font-size: .85rem;
}
.hero-float-card strong { display: block; color: var(--ink); font-size: 1.02rem; }
.hero-float-card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.hero-float-card--top { left: 6%; top: 0; animation: floatY 5.5s ease-in-out infinite; }
.hero-float-card--bottom { right: 2%; bottom: 10%; animation: floatY 6.5s ease-in-out .8s infinite; }

.hero-stats { display: flex; gap: 38px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .num { font-size: 1.9rem; font-weight: 900; color: var(--ink); }
.hero-stats .num em { font-style: normal; color: var(--primary); }
.hero-stats .label { font-size: .88rem; color: var(--muted); }

/* 普通页面 Hero（子页） */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 64px;
  background: var(--gradient-soft);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,140,.14), transparent 65%); right: -90px; top: -90px;
}
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 16px; position: relative; z-index: 1; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 9px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 14px; position: relative; z-index: 1; }
.page-hero p { max-width: 680px; font-size: 1.06rem; position: relative; z-index: 1; }

/* ---------- 核心特性 ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 30px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-ico {
  width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center;
  background: var(--primary-50); color: var(--primary); margin-bottom: 20px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.feature-card:nth-child(2n) .feature-ico { background: var(--purple-100); color: var(--purple); }
.feature-card:hover .feature-ico { transform: rotate(-7deg) scale(1.06); background: var(--gradient); color: #fff; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feature-card p { font-size: .95rem; }

/* ---------- 分类服务区 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 250px;
  display: flex; align-items: flex-end; box-shadow: var(--shadow-sm);
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover img { transform: scale(1.08); }
.service-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,20,58,.92) 8%, rgba(28,20,58,.38) 55%, rgba(28,20,58,.05) 100%);
}
.service-body { position: relative; z-index: 1; padding: 26px; color: #fff; width: 100%; }
.service-body h3 { color: #fff; font-size: 1.28rem; margin-bottom: 6px; display: flex; align-items: center; gap: 9px; }
.service-body p { font-size: .92rem; color: rgba(255,255,255,.85); margin-bottom: 14px; }
.service-body .more { font-size: .9rem; font-weight: 700; color: #ffd3e1; display: inline-flex; gap: 6px; align-items: center; }
.service-card:hover .more { gap: 11px; color: #fff; }
.service-tag {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  background: rgba(255,255,255,.92); color: var(--primary-600); font-size: .78rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}

/* ---------- 漫画卡片 ---------- */
.comics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.comic-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease; display: block;
}
.comic-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.comic-cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.comic-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.comic-card:hover .comic-cover img { transform: scale(1.07); }
.comic-status {
  position: absolute; top: 12px; left: 12px; font-size: .74rem; font-weight: 700; color: #fff;
  padding: 3px 11px; border-radius: 999px; background: rgba(36,29,74,.82); backdrop-filter: blur(4px);
}
.comic-status.hot { background: var(--primary); }
.comic-status.end { background: var(--green); }
.comic-rate {
  position: absolute; right: 12px; bottom: 12px; background: rgba(20,16,40,.82); color: #ffd664;
  font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.comic-mask {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(36,29,74,.42); opacity: 0; transition: opacity .3s ease;
}
.comic-mask span {
  background: #fff; color: var(--primary-600); font-weight: 700; font-size: .9rem;
  padding: 9px 22px; border-radius: 999px; transform: translateY(10px); transition: transform .3s ease;
}
.comic-card:hover .comic-mask { opacity: 1; }
.comic-card:hover .comic-mask span { transform: none; }
.comic-info { padding: 17px 17px 19px; }
.comic-info h3 { font-size: 1.05rem; margin-bottom: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comic-card:hover .comic-info h3 { color: var(--primary-600); }
.comic-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.comic-meta span {
  font-size: .75rem; padding: 2px 10px; border-radius: 999px;
  background: var(--primary-50); color: var(--primary-600);
}
.comic-meta span.purple { background: var(--purple-100); color: var(--purple-600); }
.comic-info p { font-size: .85rem; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.grid-more { text-align: center; margin-top: 48px; }

/* ---------- 详细内容：阅读流程 + 榜单 ---------- */
.steps-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; position: relative;
}
.step-card .step-num {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--gradient); color: #fff; font-size: 1.3rem; font-weight: 900;
  display: grid; place-items: center; box-shadow: var(--shadow-pink);
}
.step-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step-card p { font-size: .9rem; }
.step-card:not(:last-child)::after {
  content: "→"; position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  color: var(--primary); font-size: 1.4rem; font-weight: 900; z-index: 2;
}

.rank-board {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.rank-board h3 { font-size: 1.2rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.rank-list li { display: flex; align-items: center; gap: 15px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.rank-list li:last-child { border-bottom: none; }
.rank-no {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center;
  font-weight: 900; font-size: .92rem; background: var(--primary-50); color: var(--primary);
}
.rank-list li:nth-child(1) .rank-no { background: linear-gradient(135deg,#ff8a3d,#ff4d6d); color:#fff; }
.rank-list li:nth-child(2) .rank-no { background: linear-gradient(135deg,#8f6bff,#6a53e6); color:#fff; }
.rank-list li:nth-child(3) .rank-no { background: linear-gradient(135deg,#36c6ff,#2a8df0); color:#fff; }
.rank-list img { width: 46px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.rank-info { flex: 1; min-width: 0; }
.rank-info strong { display: block; color: var(--ink); font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-info small { color: var(--muted); font-size: .8rem; }
.rank-hot { font-size: .8rem; font-weight: 700; color: var(--amber); flex-shrink: 0; }

.split-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }

/* ---------- 评价 ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px;
  position: relative;
}
.review-card::before {
  content: "“"; position: absolute; top: 8px; right: 24px; font-size: 4.6rem; line-height: 1;
  color: var(--primary-100); font-family: Georgia, serif;
}
.stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 14px; font-size: .95rem; }
.review-card p { font-size: .95rem; margin-bottom: 22px; }
.reviewer { display: flex; align-items: center; gap: 13px; }
.reviewer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.reviewer strong { display: block; color: var(--ink); font-size: .96rem; }
.reviewer small { color: var(--muted); font-size: .82rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--primary-100); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 21px 24px; font-weight: 700; color: var(--ink); font-size: 1.02rem;
}
.faq-q .q-tag {
  flex-shrink: 0; font-size: .74rem; font-weight: 700; color: var(--primary-600);
  background: var(--primary-100); padding: 3px 11px; border-radius: 999px;
}
.faq-q .q-icon { margin-left: auto; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; transition: transform .3s, background .3s, color .3s; }
.faq-item.open .q-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px 24px; font-size: .95rem; }
.faq-a p + p { padding-top: 0; }

/* ---------- CTA ---------- */
.cta-band {
  border-radius: var(--radius-lg); padding: 70px 56px; text-align: center;
  background: linear-gradient(120deg, #d6205f 0%, #7a4ee6 100%);
  color: #fff; position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08);
}
.cta-band::before { width: 300px; height: 300px; top: -150px; left: -60px; }
.cta-band::after { width: 240px; height: 240px; bottom: -130px; right: -40px; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; position: relative; }
.cta-band p { font-size: 1.08rem; color: rgba(255,255,255,.9); margin-bottom: 32px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-band .btn-white { background: #fff; color: var(--primary-600); font-weight: 800; }
.cta-band .btn-white:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(0,0,0,.35); color: var(--primary-700); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--indigo); color: rgba(255,255,255,.68); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 54px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: .92rem; margin: 18px 0 22px; max-width: 320px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); transition: .3s;
}
.socials a:hover { background: var(--gradient); color: #fff; transform: translateY(-4px); }
.footer-col h4 { color: #fff; font-size: 1.04rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: .93rem; }
.footer-col a:hover { color: #ff93b6; padding-left: 4px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; margin-bottom: 15px; }
.footer-contact svg { flex-shrink: 0; margin-top: 4px; color: #ff93b6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .86rem;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.footer-bottom a:hover { color: #ff93b6; }

/* ---------- 通用内容排版 ---------- */
.prose { color: var(--body); font-size: 1.02rem; }
.prose h2 { font-size: 1.6rem; margin: 38px 0 16px; }
.prose h3 { font-size: 1.22rem; margin: 28px 0 12px; }
.prose p { margin-bottom: 18px; }
.prose blockquote {
  border-left: 4px solid var(--primary); background: var(--primary-50);
  padding: 18px 24px; border-radius: 0 14px 14px 0; margin: 24px 0; color: var(--ink); font-weight: 500;
}
.prose ul.bullets { margin: 0 0 18px; padding-left: 4px; }
.prose ul.bullets li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.prose ul.bullets li::before {
  content: ""; position: absolute; left: 4px; top: 11px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--gradient);
}

.info-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.info-tile .ico { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; background: var(--gradient-soft); display: grid; place-items: center; color: var(--primary); }
.info-tile h3 { font-size: 1.08rem; margin-bottom: 8px; }
.info-tile p { font-size: .92rem; }

/* ---------- products 筛选 ---------- */
.filter-bar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; margin-bottom: 36px; box-shadow: var(--shadow-sm);
}
.filter-row { display: flex; align-items: flex-start; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.filter-row:last-child { border-bottom: none; padding-bottom: 0; }
.filter-row:first-child { padding-top: 0; }
.filter-label { flex-shrink: 0; width: 74px; font-weight: 700; color: var(--ink); font-size: .92rem; padding-top: 4px; }
.filter-opts { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-opts button {
  padding: 6px 16px; border-radius: 999px; font-size: .88rem; color: var(--body);
  border: 1px solid var(--line); background: #fff; transition: .25s;
}
.filter-opts button:hover { border-color: var(--primary); color: var(--primary); }
.filter-opts button.active { background: var(--gradient); color: #fff; border-color: transparent; box-shadow: var(--shadow-pink); }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.list-toolbar .result-count { font-size: .94rem; color: var(--muted); }
.list-toolbar .result-count strong { color: var(--primary-600); }
.sort-opts { display: flex; gap: 8px; }
.sort-opts button { padding: 7px 16px; border-radius: 999px; font-size: .86rem; border: 1px solid var(--line); color: var(--body); }
.sort-opts button.active { background: var(--indigo); color: #fff; border-color: var(--indigo); }

.pagination { display: flex; justify-content: center; gap: 9px; margin-top: 48px; }
.pagination a {
  min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--body);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination a.active { background: var(--gradient); color: #fff; border-color: transparent; }
.pagination a.ellipsis { border-style: dashed; }

/* ---------- 侧栏 ---------- */
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 26px; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 1.12rem; margin-bottom: 18px; display: flex; align-items: center; gap: 9px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a { padding: 6px 15px; border-radius: 999px; background: var(--primary-50); color: var(--primary-600); font-size: .84rem; }
.tag-cloud a:nth-child(3n) { background: var(--purple-100); color: var(--purple-600); }
.tag-cloud a:hover { background: var(--gradient); color: #fff; }
.mini-post { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.mini-post:last-child { border-bottom: none; padding-bottom: 0; }
.mini-post:first-child { padding-top: 0; }
.mini-post img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.mini-post strong { display: block; font-size: .92rem; color: var(--ink); line-height: 1.5; margin-bottom: 6px; }
.mini-post:hover strong { color: var(--primary); }
.mini-post small { color: var(--muted); font-size: .8rem; }

/* ---------- 资讯 ---------- */
.featured-news {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); margin-bottom: 44px;
}
.featured-news img { border-radius: var(--radius); aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.featured-news .fn-tag { display: inline-block; font-size: .78rem; font-weight: 700; color: #fff; background: var(--gradient); padding: 4px 13px; border-radius: 999px; margin-bottom: 14px; }
.featured-news h2 { font-size: 1.55rem; margin-bottom: 12px; }
.featured-news h2 a:hover { color: var(--primary); }
.featured-news p { margin-bottom: 18px; font-size: .97rem; }
.post-meta { display: flex; gap: 16px; color: var(--muted); font-size: .85rem; flex-wrap: wrap; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.news-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .thumb img { transform: scale(1.07); }
.news-card .nc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card h3 { font-size: 1.08rem; margin: 10px 0 10px; line-height: 1.55; }
.news-card:hover h3 { color: var(--primary); }
.news-card p { font-size: .9rem; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .post-meta { margin-top: auto; }
.cat-chip { font-size: .76rem; font-weight: 700; color: var(--purple-600); background: var(--purple-100); padding: 3px 12px; border-radius: 999px; align-self: flex-start; }

/* 资讯详情 */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.article-head { margin-bottom: 28px; }
.article-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 14px 0 16px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 34px; box-shadow: var(--shadow); }
.article-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-body { font-size: 1.04rem; }
.article-body p { margin-bottom: 20px; }
.article-body h2 { font-size: 1.5rem; margin: 36px 0 16px; }
.article-body img { border-radius: var(--radius); margin: 26px 0; }
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 36px 0; }
.article-tags a { padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .86rem; color: var(--body); }
.article-tags a:hover { background: var(--primary-50); border-color: var(--primary-100); color: var(--primary); }
.author-box { display: flex; gap: 18px; align-items: center; background: var(--primary-50); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 40px; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-box strong { display: block; color: var(--ink); font-size: 1.05rem; }
.author-box small { color: var(--muted); }
.author-box p { margin: 6px 0 0; font-size: .9rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.toc-card nav a { display: block; padding: 9px 0 9px 18px; font-size: .9rem; color: var(--body); border-left: 2px solid var(--line); }
.toc-card nav a:hover, .toc-card nav a.active { color: var(--primary); border-left-color: var(--primary); font-weight: 700; }

/* ---------- 关于页 ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about-split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 34px 26px; border: 1px solid var(--line); }
.value-card .ico { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 18px; background: var(--gradient); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-pink); }
.value-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.value-card p { font-size: .92rem; }

.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 38px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(var(--primary), var(--purple)); }
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 6px; width: 19px; height: 19px;
  border-radius: 50%; background: #fff; border: 4px solid var(--primary); box-shadow: 0 0 0 5px var(--primary-100);
}
.tl-item:nth-child(even)::before { border-color: var(--purple); box-shadow: 0 0 0 5px var(--purple-100); }
.tl-year { font-weight: 900; color: var(--primary); font-size: 1.05rem; margin-bottom: 4px; }
.tl-item:nth-child(even) .tl-year { color: var(--purple); }
.tl-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tl-item p { font-size: .95rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; transition: .3s; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 4px solid var(--primary-100); }
.team-card h3 { font-size: 1.08rem; }
.team-card .role { color: var(--primary); font-size: .86rem; font-weight: 700; margin: 4px 0 10px; }
.team-card p { font-size: .86rem; }

.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-band .stat-num { font-size: clamp(1.9rem,3.4vw,2.7rem); font-weight: 900; color: #fff; }
.stats-band .stat-num em { font-style: normal; color: #ffd3e1; }
.stats-band .stat-label { color: rgba(255,255,255,.75); font-size: .92rem; margin-top: 4px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start; }
.contact-card .ico { width: 52px; height: 52px; flex-shrink: 0; border-radius: 15px; background: var(--gradient-soft); color: var(--primary); display: grid; place-items: center; }
.contact-card h3 { font-size: 1.06rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: .93rem; }
.contact-card a:hover { color: var(--primary); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 36px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.45rem; margin-bottom: 8px; }
.form-card > p { margin-bottom: 26px; font-size: .96rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: .92rem; margin-bottom: 8px; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 13px;
  outline: none; background: #fdfcfe; color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-100);
}
.form-note { font-size: .83rem; color: var(--muted); margin: 10px 0 20px; }
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 80px); z-index: 2000;
  background: var(--indigo); color: #fff; padding: 14px 28px; border-radius: 999px;
  font-size: .94rem; box-shadow: var(--shadow); opacity: 0; transition: .4s ease;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.map-placeholder { border-radius: var(--radius-lg); overflow: hidden; position: relative; margin-top: 20px; }
.map-placeholder img { width: 100%; aspect-ratio: 21/7; object-fit: cover; }
.map-placeholder .map-pin {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%,-100%);
  background: var(--primary); color: #fff; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  box-shadow: var(--shadow-pink); white-space: nowrap;
}
.map-placeholder .map-pin::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px; background: var(--primary);
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 1500;
  width: 50px; height: 50px; border-radius: 15px; background: var(--gradient); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-pink);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: .35s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-4px); }

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 0 rgba(22,179,134,.4); } 50% { box-shadow: 0 0 0 7px rgba(22,179,134,0); } }
.hero-badge .dot { animation: pulseDot 2s infinite; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .comics-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .toc-card { display: none; }
}
@media (max-width: 992px) {
  .section { padding: 74px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { min-height: 420px; max-width: 520px; width: 100%; margin: 0 auto; }
  .features-grid, .services-grid, .reviews-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-wrap { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .step-card:not(:last-child)::after { display: none; }
  .split-layout { grid-template-columns: 1fr; }
  .featured-news { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .related-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .info-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 60px 0; }
  .hero { padding-bottom: 60px; }
  .hero-stats { gap: 24px; }
  .features-grid, .services-grid, .reviews-grid, .value-grid, .news-grid, .comics-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .comic-info { padding: 13px; }
  .comic-info p { display: none; }
  .steps-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .cta-band { padding: 50px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-search { flex-wrap: wrap; padding: 12px; border-radius: 22px; }
  .hero-search .btn { width: 100%; }
  .filter-label { width: 100%; padding-top: 0; }
  .hero-float-card { display: none; }
  .featured-news { padding: 18px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .article-body { font-size: .98rem; }
}
@media (max-width: 420px) {
  .features-grid, .services-grid, .reviews-grid, .value-grid, .news-grid, .comics-grid, .team-grid { grid-template-columns: 1fr; }
  .hero-cover--main { width: 62%; }
  .hero-cover--sub1 { width: 44%; }
}

/* 减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
