/* ==========================================================================
   51吃瓜网站 - 全站共享样式表
   风格：深色霓虹 + 娱乐爆料氛围
   ========================================================================== */

/* ---------- 1. 变量与基础 ---------- */
:root {
  --bg: #0b0912;
  --bg-soft: #110e1d;
  --surface: #1a1630;
  --surface-2: #221c3d;
  --surface-3: #2b2450;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f2fb;
  --text-dim: #a9a3c4;
  --primary: #ff2d78;
  --primary-dark: #e01863;
  --secondary: #ff8a3d;
  --accent: #7c5cff;
  --cyan: #2ee6c5;
  --grad-primary: linear-gradient(135deg, #ff2d78 0%, #ff8a3d 100%);
  --grad-accent: linear-gradient(135deg, #7c5cff 0%, #ff2d78 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 45, 120, 0.14), rgba(124, 92, 255, 0.14));
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.28);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
  --shadow-glow: 0 18px 46px rgba(255, 45, 120, 0.28);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --nav-h: 74px;
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', system-ui, sans-serif;
}

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

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

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

body.no-scroll { overflow: hidden; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(700px 420px at 12% -6%, rgba(255, 45, 120, 0.16), transparent 62%),
    radial-gradient(620px 400px at 92% 4%, rgba(124, 92, 255, 0.16), transparent 60%),
    radial-gradient(700px 500px at 50% 108%, rgba(46, 230, 197, 0.08), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

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

::selection { background: var(--primary); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0d0b16; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--accent)); border-radius: 10px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

/* ---------- 2. 通用文字/标题 ---------- */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.08rem; }

p { color: var(--text-dim); }
strong { color: var(--text); font-weight: 700; }

.text-grad {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.text-accent { color: var(--accent); }

/* ---------- 3. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  transition: transform .28s cubic-bezier(.2,.8,.3,1), box-shadow .28s, background .28s, color .28s, border-color .28s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 52px rgba(255, 45, 120, 0.42); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--primary); color: #fff; transform: translateY(-3px); background: rgba(255, 45, 120, 0.12); }
.btn-accent { background: var(--grad-accent); color: #fff; box-shadow: 0 14px 36px rgba(124, 92, 255, 0.35); }
.btn-accent:hover { transform: translateY(-3px); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 16px 38px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- 4. 头部与导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(11, 9, 18, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(11, 9, 18, 0.94);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
}
.header-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad-primary);
  color: #fff;
  font-weight: 900;
  font-size: 1.16rem;
  letter-spacing: -0.04em;
  box-shadow: 0 10px 24px rgba(255, 45, 120, 0.38);
  transition: transform .35s;
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-weight: 800; font-size: 1.08rem; letter-spacing: 0.01em; }
.brand-text small { font-size: 0.68rem; font-weight: 500; color: var(--text-dim); letter-spacing: 0.16em; }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color .25s, background .25s;
  position: relative;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-link.is-active { color: #fff; background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--border-strong); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.04);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
#hero { position: relative; padding: 78px 0 96px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  font-size: 0.83rem;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.hero-badge b { color: var(--cyan); font-weight: 700; }
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(255, 45, 120, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 45, 120, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(255, 45, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 45, 120, 0); }
}
.hero-title { margin-bottom: 20px; }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--text-dim); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 560px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.stat-num { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 900; line-height: 1.1; }
.stat-label { font-size: 0.85rem; color: var(--text-dim); }

.hero-visual { position: relative; }
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.hero-card img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.3,1); }
.hero-card:hover img { transform: scale(1.05); }
.hero-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(11, 9, 18, 0.95) 68%);
}
.hero-card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--grad-primary);
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.hero-card-body h3 { font-size: 1.08rem; margin-bottom: 6px; }
.hero-card-body p { font-size: 0.85rem; color: var(--text-dim); }

.float-card {
  position: absolute;
  right: -14px;
  bottom: 34px;
  background: rgba(26, 22, 48, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .fc-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-accent); font-size: 1.05rem; }
.float-card .fc-label { font-size: 0.72rem; color: var(--text-dim); letter-spacing: .08em; }
.float-card .fc-value { font-size: 0.98rem; font-weight: 800; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 6. 滚动快讯条 ---------- */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0;
}
.ticker-label {
  flex-shrink: 0;
  padding: 13px 20px;
  background: var(--grad-primary);
  font-weight: 800;
  font-size: 0.86rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticker-track { flex: 1; overflow: hidden; }
.ticker-move { display: flex; gap: 48px; white-space: nowrap; animation: tickerMove 26s linear infinite; padding-left: 24px; }
.ticker-item { font-size: 0.9rem; color: var(--text-dim); display: inline-flex; align-items: center; gap: 10px; }
.ticker-item span { color: var(--primary); font-weight: 700; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 7. 通用区块 ---------- */
.section { padding: 88px 0; position: relative; }
.section-alt { background: rgba(255, 255, 255, 0.018); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.02rem; }

/* ---------- 8. 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .35s cubic-bezier(.2,.8,.3,1), border-color .35s, box-shadow .35s;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.8,.3,1);
}
.card:hover { transform: translateY(-8px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  margin-bottom: 20px;
  transition: transform .4s;
}
.card:hover .card-icon { transform: scale(1.08) rotate(-6deg); }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.94rem; margin-bottom: 16px; }
.card-list li {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-primary);
}
.card-num {
  position: absolute;
  right: 18px; top: 12px;
  font-size: 3.4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.035);
  line-height: 1;
}

/* ---------- 9. 服务/流程 ---------- */
.service-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.service {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--border);
  transition: background .3s, border-color .3s, transform .3s;
}
.service:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--border-strong); transform: translateX(6px); }
.service-idx {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 900;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.98rem;
}
.service h3 { font-size: 1.06rem; margin-bottom: 6px; }
.service p { font-size: 0.9rem; margin: 0; }

/* ---------- 10. 新闻列表 / 文章卡片 ---------- */
.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }

.post-list { display: grid; gap: 22px; }
.post-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.post-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.post-thumb { position: relative; overflow: hidden; height: 100%; min-height: 168px; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.3,1); }
.post-card:hover .post-thumb img { transform: scale(1.08); }
.post-tag {
  position: absolute;
  left: 12px; top: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(11, 9, 18, 0.78);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--border-strong);
}
.post-body { padding: 22px 24px 22px 0; display: flex; flex-direction: column; justify-content: center; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--text-dim); margin-bottom: 10px; }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-dim); opacity: .6; }
.post-card h3 { font-size: 1.16rem; margin-bottom: 10px; transition: color .25s; }
.post-card:hover h3 { color: var(--primary); }
.post-card p { font-size: 0.92rem; margin-bottom: 14px; }
.post-more { font-size: 0.86rem; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.post-more::after { content: '→'; transition: transform .3s; }
.post-card:hover .post-more::after { transform: translateX(4px); }

/* 侧栏 */
.sidebar { display: grid; gap: 24px; position: sticky; top: calc(var(--nav-h) + 20px); }
.widget {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.widget h3 { font-size: 1.02rem; margin-bottom: 18px; display: flex; align-items: center; gap: 9px; }
.widget h3::before { content: ''; width: 4px; height: 16px; border-radius: 4px; background: var(--grad-primary); }
.rank-list li {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border);
  align-items: flex-start;
  transition: padding-left .25s;
}
.rank-list li:last-child { border-bottom: none; }
.rank-list li:hover { padding-left: 5px; }
.rank-num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}
.rank-list li:nth-child(1) .rank-num,
.rank-list li:nth-child(2) .rank-num,
.rank-list li:nth-child(3) .rank-num { background: var(--grad-primary); color: #fff; }
.rank-list a { font-size: 0.9rem; line-height: 1.55; transition: color .25s; }
.rank-list a:hover { color: var(--primary); }
.rank-meta { display: block; font-size: 0.74rem; color: var(--text-dim); margin-top: 3px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all .25s;
}
.tag:hover { background: var(--grad-primary); color: #fff; border-color: transparent; transform: translateY(-2px); }

.sidebar-cta {
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--grad-accent);
  text-align: center;
  box-shadow: var(--shadow);
}
.sidebar-cta h3 { font-size: 1.1rem; margin-bottom: 8px; }
.sidebar-cta p { font-size: 0.87rem; color: rgba(255,255,255,.85); margin-bottom: 18px; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.page-link {
  min-width: 42px; height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all .25s;
}
.page-link:hover { border-color: var(--primary); color: #fff; }
.page-link.is-current { background: var(--grad-primary); color: #fff; border-color: transparent; }

/* ---------- 11. 内页页头 / 面包屑 ---------- */
.page-hero {
  padding: 64px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.018);
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { max-width: 680px; margin: 0 auto; font-size: 1.02rem; }
.breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 0.84rem; color: var(--text-dim); margin-bottom: 20px; }
.breadcrumb a { transition: color .25s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: .5; }

/* ---------- 12. 文章详情 ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.article { background: linear-gradient(180deg, var(--surface), var(--bg-soft)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.article-head h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 0.85rem; color: var(--text-dim); padding-bottom: 22px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; border: 1px solid var(--border); }
.article-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-body h2 { font-size: 1.4rem; margin: 34px 0 14px; }
.article-body h3 { font-size: 1.14rem; margin: 24px 0 10px; }
.article-body p { margin-bottom: 16px; font-size: 1rem; }
.article-body ul, .article-body ol { margin: 0 0 18px 0; }
.article-body ul li, .article-body ol li { color: var(--text-dim); padding-left: 26px; position: relative; margin-bottom: 9px; }
.article-body ul li::before { content: ''; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; border-radius: 2px; background: var(--grad-primary); transform: rotate(45deg); }
.article-body ol { counter-reset: item; }
.article-body ol li { counter-increment: item; }
.article-body ol li::before {
  content: counter(item);
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
}
.article-body blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 45, 120, 0.07);
  font-size: 0.98rem;
  color: var(--text);
  font-style: normal;
}
.article-body strong { color: var(--primary); }
.article-note {
  margin: 28px 0 0;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  font-size: 0.9rem;
  color: var(--text-dim);
}
.article-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border); }
.article-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 40px; }
.article-nav a {
  padding: 18px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: all .3s;
}
.article-nav a:hover { border-color: var(--primary); transform: translateY(-4px); }
.article-nav .an-label { font-size: 0.76rem; color: var(--text-dim); display: block; margin-bottom: 6px; }
.article-nav .an-title { font-size: 0.95rem; font-weight: 700; }

/* ---------- 13. FAQ 折叠 ---------- */
.faq-list { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.026);
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.is-open { border-color: rgba(255, 45, 120, 0.5); background: rgba(255, 45, 120, 0.05); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  transition: color .25s;
}
.faq-q:hover { color: var(--primary); }
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1rem;
  font-weight: 800;
  transition: transform .35s, background .3s;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--grad-primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.2,.8,.3,1); }
.faq-a-inner { padding: 0 24px 22px; font-size: 0.94rem; color: var(--text-dim); }

/* ---------- 14. CTA ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 64px 44px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 45, 120, 0.16), rgba(124, 92, 255, 0.18));
  border: 1px solid var(--border-strong);
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 120, 0.35), transparent 68%);
  top: -180px; right: -120px;
  animation: floaty 7s ease-in-out infinite;
}
.cta-band::after {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 230, 197, 0.22), transparent 68%);
  bottom: -150px; left: -100px;
  animation: floaty 8.5s ease-in-out infinite reverse;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 620px; margin: 0 auto 30px; font-size: 1.02rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-mini { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin-top: 30px; font-size: 0.85rem; color: var(--text-dim); }
.cta-mini span { display: inline-flex; align-items: center; gap: 8px; }
.cta-mini span::before { content: '✓'; color: var(--cyan); font-weight: 900; }

/* ---------- 15. 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 700; }
.field label .req { color: var(--primary); }
.field input, .field textarea, .field select {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: border-color .25s, box-shadow .25s, background .25s;
  outline: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(169, 163, 196, 0.6); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--primary);
  background: rgba(255, 45, 120, 0.06);
  box-shadow: 0 0 0 4px rgba(255, 45, 120, 0.13);
}
.field select option { background: var(--surface); color: var(--text); }
.form-note { font-size: 0.8rem; color: var(--text-dim); margin-top: 14px; }
.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(46, 230, 197, 0.1);
  border: 1px solid rgba(46, 230, 197, 0.35);
  color: var(--cyan);
  font-size: 0.9rem;
}
.form-success.is-show { display: block; animation: fadeUp .5s ease both; }

/* 联系方式卡片 */
.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: all .3s;
}
.contact-card:hover { border-color: var(--border-strong); transform: translateY(-5px); background: rgba(255,255,255,.05); }
.contact-card .cc-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border-strong); font-size: 1.12rem; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p { font-size: 0.88rem; margin: 0; }

/* ---------- 16. 时间线 / 数据 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--primary), var(--accent), transparent); }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px; top: 5px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 5px rgba(255, 45, 120, 0.13);
}
.timeline-year { font-size: 0.8rem; font-weight: 800; color: var(--primary); letter-spacing: .1em; }
.timeline-item h3 { font-size: 1.06rem; margin: 5px 0 6px; }
.timeline-item p { font-size: 0.92rem; margin: 0; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.metric {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: transform .3s, border-color .3s;
}
.metric:hover { transform: translateY(-6px); border-color: var(--primary); }
.metric .m-num { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; line-height: 1.1; }
.metric .m-label { font-size: 0.86rem; color: var(--text-dim); margin-top: 4px; }

/* ---------- 17. 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
thead th {
  background: rgba(255, 45, 120, 0.09);
  text-align: left;
  padding: 15px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}
tbody td { padding: 15px 18px; font-size: 0.9rem; color: var(--text-dim); border-top: 1px solid var(--border); }
tbody tr:hover td { background: rgba(255, 255, 255, 0.03); color: var(--text); }

/* ---------- 18. 页脚 ---------- */
.site-footer { border-top: 1px solid var(--border); background: rgba(255, 255, 255, 0.016); padding: 64px 0 28px; margin-top: 40px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 0.89rem; max-width: 320px; }
.footer-col h3 { font-size: 0.95rem; margin-bottom: 18px; letter-spacing: .03em; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.89rem; color: var(--text-dim); transition: color .25s, padding-left .25s; display: inline-block; }
.footer-col ul a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact li { font-size: 0.89rem; color: var(--text-dim); margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li b { color: var(--text); font-weight: 700; }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; color: var(--text-dim); }
.footer-bottom a:hover { color: var(--primary); }

/* ---------- 19. 动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.2,.8,.3,1), transform .75s cubic-bezier(.2,.8,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .09s; }
.reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .27s; }
.reveal-d4 { transition-delay: .36s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.animate-fade-up { animation: fadeUp .9s cubic-bezier(.2,.8,.3,1) both; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .24s; }
.delay-3 { animation-delay: .36s; }
.delay-4 { animation-delay: .48s; }

/* 回到顶部 */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-primary);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all .35s;
  z-index: 150;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }

/* 搜索框 */
.search-box { display: flex; gap: 10px; flex-wrap: wrap; }
.search-box input { flex: 1; min-width: 200px; }
.empty-tip { display: none; padding: 40px 20px; text-align: center; color: var(--text-dim); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty-tip.is-show { display: block; }

/* 卡片内配图 */
.card img { width: 100%; border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 18px; }

/* 间距工具类 */
.mt-lg { margin-top: 52px; }

/* ---------- 20. 响应式 ---------- */
@media (max-width: 1080px) {
  .layout-2col, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .main-nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: rgba(13, 11, 22, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 26px;
    transform: translateY(-140%);
    transition: transform .45s cubic-bezier(.2,.8,.3,1);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav-link { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 1rem; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-visual { order: -1; }
  .float-card { right: 8px; bottom: 12px; }
  .section { padding: 66px 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --nav-h: 66px; }
  .brand-text { font-size: 0.98rem; }
  .brand-text small { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .service-row { grid-template-columns: minmax(0, 1fr); }
  .post-card { grid-template-columns: minmax(0, 1fr); }
  .post-thumb { min-height: 190px; }
  .post-body { padding: 0 22px 22px; }
  .article { padding: 26px 20px; }
  .article-nav { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-band { padding: 48px 22px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
  .stat-num { font-size: 1.25rem; }
  .ticker-label { padding: 12px 14px; font-size: 0.78rem; }
  .to-top { right: 14px; bottom: 16px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
