/* =========================================================
   韩漫网站 - 全局样式表
   配色：夜幕紫 + 樱花粉渐变，面向年轻漫画读者
   ========================================================= */
:root {
  --primary: #8b5cf6;
  --primary-dark: #6d28d9;
  --accent: #ec4899;
  --accent-light: #f9a8d4;
  --gold: #fbbf24;
  --bg: #0c0a1d;
  --bg-soft: #141129;
  --bg-card: #1a1736;
  --bg-card-hover: #221d47;
  --border: rgba(139, 92, 246, 0.18);
  --text: #eceaf6;
  --muted: #a29ec4;
  --gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-soft: linear-gradient(135deg, rgba(139,92,246,.16) 0%, rgba(236,72,153,.16) 100%);
  --shadow: 0 20px 50px rgba(4, 2, 18, 0.55);
  --radius: 16px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s ease; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
.container { width: min(1200px, 92%); margin: 0 auto; }

::selection { background: rgba(139, 92, 246, .45); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), var(--accent)); border-radius: 8px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; border: none;
  font-size: 15px; font-weight: 600; letter-spacing: .5px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 10px 26px rgba(139, 92, 246, .38);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(236, 72, 153, .45); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid rgba(236, 234, 246, .28);
}
.btn-outline:hover { border-color: var(--accent-light); color: var(--accent-light); transform: translateY(-3px); }
.btn-lg { padding: 16px 42px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 1000;
  background: rgba(12, 10, 29, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(12, 10, 29, .92);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.nav-container {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; letter-spacing: 1px; }
.logo-icon {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--gradient); display: grid; place-items: center;
  font-size: 20px; box-shadow: 0 6px 18px rgba(236, 72, 153, .4);
}
.logo-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-menu a { position: relative; font-size: 15px; font-weight: 500; color: var(--muted); padding: 6px 2px; }
.nav-menu a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gradient); border-radius: 2px; transition: width .3s ease;
}
.nav-menu a:hover, .nav-menu a.active { color: #fff; }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 74px) 0 90px;
  background:
    radial-gradient(680px 420px at 88% -10%, rgba(236, 72, 153, .22), transparent 62%),
    radial-gradient(720px 520px at -8% 18%, rgba(139, 92, 246, .26), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 35%, transparent 78%);
  pointer-events: none;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--accent-light); background: rgba(236, 72, 153, .12);
  border: 1px solid rgba(236, 72, 153, .35);
  animation: fadeInDown .8s ease both;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero-title {
  margin: 22px 0 18px; font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 900; line-height: 1.28; letter-spacing: 1px;
  animation: fadeInUp .8s .1s ease both;
}
.hero-title .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { max-width: 560px; color: var(--muted); font-size: 16px; animation: fadeInUp .8s .2s ease both; }
.hero-search {
  margin-top: 30px; display: flex; max-width: 520px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px; backdrop-filter: blur(8px);
  animation: fadeInUp .8s .3s ease both;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.hero-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); }
.hero-search input {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  color: #fff; font-size: 15px; padding: 10px 18px;
}
.hero-search input::placeholder { color: var(--muted); }
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 16px; animation: fadeInUp .8s .4s ease both; }
.hero-stats { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 38px; animation: fadeInUp .8s .5s ease both; }
.hero-stats .stat b { display: block; font-size: 26px; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .stat span { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; height: 480px; animation: fadeInLeft .9s .25s ease both; }
.hero-card {
  position: absolute; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .1);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card .tag {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #fff; background: rgba(236, 72, 153, .85);
  backdrop-filter: blur(4px);
}
.hero-card .cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(6, 4, 18, .92));
  font-size: 14px; font-weight: 700;
}
.hero-card.c1 { width: 46%; height: 62%; top: 4%; left: 0; z-index: 2; animation: floatY 6s ease-in-out infinite; }
.hero-card.c2 { width: 44%; height: 56%; top: 0; right: 4%; z-index: 1; animation: floatY 7s .8s ease-in-out infinite; }
.hero-card.c3 { width: 52%; height: 46%; bottom: 0; left: 26%; z-index: 3; animation: floatY 8s .4s ease-in-out infinite; }
.hero-glow {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, .4), transparent 68%);
  top: 30%; left: 22%; filter: blur(10px); z-index: 0; pointer-events: none;
  animation: pulseGlow 5s ease-in-out infinite;
}

/* ---------- 区块通用 ---------- */
.section { padding: 92px 0; position: relative; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--accent-light); background: var(--gradient-soft);
  border: 1px solid var(--border); margin-bottom: 16px;
}
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: 1px; }
.section-title .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-desc { margin-top: 14px; color: var(--muted); font-size: 15.5px; }

/* ---------- 核心特性 ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 26px; text-align: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.feature-card:hover { transform: translateY(-10px); border-color: rgba(236, 72, 153, .45); box-shadow: var(--shadow); }
.feature-icon {
  width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 20px;
  background: var(--gradient-soft); border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 30px;
  transition: transform .35s ease, background .35s ease;
}
.feature-card:hover .feature-icon { transform: scale(1.12) rotate(-6deg); background: var(--gradient); }
.feature-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* ---------- 服务介绍 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service-item {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  transition: transform .35s ease, border-color .35s ease;
}
.service-item:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, .5); }
.service-num {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: var(--gradient); color: #fff; font-size: 20px; font-weight: 900;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(139, 92, 246, .35);
}
.service-item h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.service-item p { font-size: 14px; color: var(--muted); }

/* ---------- 漫画卡片 ---------- */
.comics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.comics-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.comic-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.comic-card:hover { transform: translateY(-8px); border-color: rgba(236, 72, 153, .5); 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 .5s ease; }
.comic-card:hover .comic-cover img { transform: scale(1.08); }
.comic-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(236, 72, 153, .9);
}
.comic-badge.hot { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.comic-badge.end { background: rgba(16, 185, 129, .9); }
.comic-mask {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(12, 10, 29, .55); opacity: 0; transition: opacity .35s ease;
}
.comic-card:hover .comic-mask { opacity: 1; }
.comic-mask span {
  padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff;
  background: var(--gradient); transform: translateY(8px); transition: transform .35s ease;
}
.comic-card:hover .comic-mask span { transform: translateY(0); }
.comic-info { padding: 16px 16px 18px; }
.comic-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.comic-title a:hover { color: var(--accent-light); }
.comic-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); }
.comic-meta .cat { color: var(--accent-light); }
.rating { color: var(--gold); font-weight: 700; }

/* ---------- 分类 ---------- */
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-chip {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.cat-chip:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, .55); background: var(--bg-card-hover); }
.cat-emoji { font-size: 28px; }
.cat-chip h3 { font-size: 16px; font-weight: 800; }
.cat-chip p { font-size: 12.5px; color: var(--muted); }

/* ---------- 最新更新列表 ---------- */
.updates-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.update-item {
  display: flex; align-items: center; gap: 18px; padding: 18px 26px;
  border-bottom: 1px solid var(--border); transition: background .3s ease;
}
.update-item:last-child { border-bottom: none; }
.update-item:hover { background: rgba(139, 92, 246, .08); }
.update-cover { flex: none; width: 58px; height: 74px; border-radius: 10px; overflow: hidden; }
.update-cover img { width: 100%; height: 100%; object-fit: cover; }
.update-main { flex: 1; min-width: 0; }
.update-main h3 { font-size: 15.5px; font-weight: 800; }
.update-main p { font-size: 13px; color: var(--muted); }
.update-chapter {
  flex: none; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--accent-light); background: rgba(236, 72, 153, .12); border: 1px solid rgba(236, 72, 153, .3);
}
.update-time { flex: none; width: 86px; text-align: right; font-size: 13px; color: var(--muted); }

/* ---------- 常见问题 ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 16px; overflow: hidden;
  transition: border-color .3s ease;
}
.faq-item.open { border-color: rgba(139, 92, 246, .55); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none; color: var(--text);
  padding: 22px 26px; font-size: 16px; font-weight: 700; text-align: left;
}
.faq-q .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gradient-soft); border: 1px solid var(--border); display: grid; place-items: center; font-size: 18px; transition: transform .3s ease, background .3s ease; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--gradient); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a-inner { padding: 0 26px 24px; color: var(--muted); font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 28px; padding: 76px 30px;
  background:
    radial-gradient(480px 260px at 20% 0%, rgba(255, 255, 255, .18), transparent 60%),
    var(--gradient);
  box-shadow: 0 30px 70px rgba(139, 92, 246, .35);
}
.cta-box h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; color: #fff; }
.cta-box p { margin: 16px auto 32px; max-width: 620px; color: rgba(255, 255, 255, .88); font-size: 16px; }
.cta-box .btn-outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.cta-box .btn-light { background: #fff; color: var(--primary-dark); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.cta-box .btn-light:hover { transform: translateY(-3px); }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #080615; border-top: 1px solid var(--border); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: var(--muted); max-width: 340px; }
.footer-col h3 { font-size: 16px; font-weight: 800; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gradient); border-radius: 2px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 14px; color: var(--muted); }
.footer-col ul a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13.5px; color: var(--muted);
}

/* ---------- 内页横幅 ---------- */
.page-banner {
  position: relative; padding: calc(var(--header-h) + 76px) 0 70px; text-align: center;
  background:
    radial-gradient(560px 320px at 80% 0%, rgba(236, 72, 153, .2), transparent 60%),
    radial-gradient(560px 320px at 10% 20%, rgba(139, 92, 246, .24), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.page-banner h1 { position: relative; font-size: clamp(28px, 4vw, 44px); font-weight: 900; }
.page-banner p { position: relative; margin: 14px auto 0; max-width: 640px; color: var(--muted); }
.breadcrumb { position: relative; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.breadcrumb a { color: var(--accent-light); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 筛选与分页 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 44px; }
.filter-btn {
  padding: 9px 24px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--bg-card); color: var(--muted); border: 1px solid var(--border);
  transition: all .3s ease;
}
.filter-btn:hover { color: #fff; border-color: var(--primary); }
.filter-btn.active { background: var(--gradient); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(139, 92, 246, .35); }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 52px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px;
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--muted);
  transition: all .3s ease;
}
.pagination a:hover { color: #fff; border-color: var(--primary); transform: translateY(-2px); }
.pagination .current { background: var(--gradient); color: #fff; border-color: transparent; }

/* ---------- 资讯卡片 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.news-card:hover { transform: translateY(-8px); border-color: rgba(139, 92, 246, .5); box-shadow: var(--shadow); }
.news-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-thumb img { transform: scale(1.07); }
.news-date {
  position: absolute; left: 14px; bottom: 14px; padding: 5px 14px; border-radius: 10px;
  background: rgba(12, 10, 29, .8); backdrop-filter: blur(6px);
  font-size: 12.5px; font-weight: 700; color: var(--accent-light);
}
.news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 17px; font-weight: 800; line-height: 1.5; margin-bottom: 10px; }
.news-body h3 a:hover { color: var(--accent-light); }
.news-body p { font-size: 14px; color: var(--muted); flex: 1; }
.news-more { margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--accent-light); }
.news-more:hover { letter-spacing: 1px; }

/* ---------- 文章详情 ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 330px; gap: 40px; align-items: start; }
.article-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 20px; padding-bottom: 22px; margin-bottom: 26px;
  border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--muted);
}
.article-meta .tag { color: var(--accent-light); }
.article-body h2 { font-size: 24px; font-weight: 900; margin: 34px 0 14px; }
.article-body h3 { font-size: 19px; font-weight: 800; margin: 26px 0 12px; color: var(--accent-light); }
.article-body p { margin-bottom: 16px; color: #cfcbe4; font-size: 15.5px; }
.article-body img { border-radius: 14px; margin: 24px 0; }
.article-body blockquote {
  margin: 24px 0; padding: 20px 24px; border-left: 4px solid var(--accent);
  background: var(--gradient-soft); border-radius: 0 14px 14px 0; color: var(--text); font-size: 15px;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border); }
.article-tags a {
  padding: 6px 16px; border-radius: 999px; font-size: 13px;
  background: var(--gradient-soft); border: 1px solid var(--border); color: var(--muted);
}
.article-tags a:hover { color: #fff; border-color: var(--primary); }
.side-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 26px; }
.side-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.side-card h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--gradient); }
.side-news li { display: flex; gap: 12px; margin-bottom: 14px; }
.side-news img { flex: none; width: 74px; height: 56px; border-radius: 10px; object-fit: cover; }
.side-news a { font-size: 13.5px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-news a:hover { color: var(--accent-light); }
.side-rank li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 14px; }
.side-rank .no {
  flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  font-size: 13px; font-weight: 900; background: var(--bg-soft); color: var(--muted);
}
.side-rank li:nth-child(1) .no, .side-rank li:nth-child(2) .no, .side-rank li:nth-child(3) .no { background: var(--gradient); color: #fff; }
.side-rank a:hover { color: var(--accent-light); }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid .about-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.about-grid h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; margin-bottom: 18px; }
.about-grid p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-item {
  text-align: center; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 16px;
  transition: transform .3s ease, border-color .3s ease;
}
.stat-item:hover { transform: translateY(-6px); border-color: rgba(236, 72, 153, .45); }
.stat-item b { display: block; font-size: 34px; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-item span { font-size: 14px; color: var(--muted); }
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary), var(--accent)); border-radius: 2px; }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -32px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gradient); box-shadow: 0 0 0 5px rgba(139, 92, 246, .18);
}
.timeline-item h3 { font-size: 18px; font-weight: 800; }
.timeline-item .year-tag { display: inline-block; margin-bottom: 6px; font-size: 13px; font-weight: 800; color: var(--accent-light); letter-spacing: 1px; }
.timeline-item p { font-size: 14px; color: var(--muted); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { text-align: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 24px; transition: transform .3s ease, border-color .3s ease; }
.value-card:hover { transform: translateY(-8px); border-color: rgba(139, 92, 246, .5); }
.value-card .emoji { font-size: 38px; margin-bottom: 14px; }
.value-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--muted); }

/* ---------- 联系我们 ---------- */
.contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: 36px; align-items: start; }
.contact-info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.contact-info-card h2 { font-size: 20px; font-weight: 900; margin-bottom: 22px; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-line:last-child { border-bottom: none; }
.contact-line .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--gradient-soft); border: 1px solid var(--border); display: grid; place-items: center; font-size: 20px; }
.contact-line h3 { font-size: 15px; font-weight: 800; }
.contact-line p { font-size: 14px; color: var(--muted); }
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.contact-form h2 { font-size: 20px; font-weight: 900; margin-bottom: 6px; }
.contact-form > p { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.form-group label i { color: var(--accent); font-style: normal; }
.form-control {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border);
  color: #fff; font-size: 14.5px; outline: none;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(139, 92, 246, .16); }
.form-control::placeholder { color: var(--muted); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 900;
  width: 48px; height: 48px; border-radius: 14px; border: none;
  background: var(--gradient); color: #fff; font-size: 20px;
  box-shadow: 0 12px 28px rgba(139, 92, 246, .4);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all .35s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }

/* ---------- 滚动渐入动画 ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes pulseGlow { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid, .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .comics-grid, .comics-grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .detail-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 66px 0; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 8, 24, .98); border-bottom: 1px solid var(--border);
    padding: 10px 4% 20px; transform: translateY(-130%); opacity: 0;
    transition: transform .35s ease, opacity .35s ease; pointer-events: none;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 14px 8px; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav-menu a::after { display: none; }
  .nav-cta .btn { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { height: 400px; max-width: 480px; margin: 0 auto; width: 100%; }
  .services-grid, .about-grid { grid-template-columns: 1fr; }
  .about-grid .about-img { order: -1; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .article-wrap { padding: 28px 22px; }
  .hero-stats { gap: 26px; }
}
@media (max-width: 520px) {
  .comics-grid, .comics-grid.cols-6 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .features-grid, .cats-grid, .news-grid, .stats-row, .footer-grid { grid-template-columns: 1fr; }
  .update-time { display: none; }
  .hero-search { flex-direction: column; border-radius: 20px; gap: 8px; padding: 10px; }
  .hero-search .btn { width: 100%; }
  .cta-box { padding: 54px 20px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

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