/* ============================================================
   羞羞小视频 - 热门短剧在线观看平台 全站样式
   设计风格：深色影院风 + 玫红/暖橙渐变 + 玻璃拟态
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --bg: #0d0a15;
  --bg-soft: #130f1e;
  --surface: #1b1626;
  --surface-2: #241d33;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f2fa;
  --muted: #aea4c2;
  --faint: #817894;
  --primary: #ff3d6e;
  --primary-2: #ff8a3d;
  --gold: #ffc24d;
  --violet: #8b5cf6;
  --cyan: #38bdf8;
  --grad: linear-gradient(135deg, #ff3d6e 0%, #ff8a3d 100%);
  --grad-cool: linear-gradient(135deg, #8b5cf6 0%, #ff3d6e 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 12px 40px rgba(255, 61, 110, 0.35);
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  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, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

::selection { background: rgba(255, 61, 110, .35); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #3a314d; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ---------- 布局容器 ---------- */
.container { width: min(var(--container), 92%); margin-inline: auto; }

.section { padding: 88px 0; position: relative; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--bg-soft); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(255, 61, 110, .12);
  border: 1px solid rgba(255, 61, 110, .3);
  color: #ff85a3;
  font-size: 13px; font-weight: 500; letter-spacing: .08em;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }

.section-title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 900; line-height: 1.3; margin: 18px 0 14px;
  letter-spacing: .01em;
}
.section-title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-desc { color: var(--muted); font-size: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(255, 61, 110, .5); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--primary); color: #ff85a3; transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ---------- 顶部公告条 ---------- */
.topbar {
  background: linear-gradient(90deg, rgba(255,61,110,.18), rgba(139,92,246,.18));
  border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 0; text-align: center; }
.topbar strong { color: #ff85a3; font-weight: 700; }

/* ---------- 导航栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 10, 21, .78);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.35); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

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

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > a {
  padding: 9px 16px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  position: relative;
}
.main-nav > a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.main-nav > a.active { color: #fff; }
.main-nav > a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 20px; height: 3px; border-radius: 3px; background: var(--grad);
}
.main-nav .nav-cta {
  margin-left: 8px; padding: 10px 22px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 700;
  box-shadow: 0 8px 24px rgba(255,61,110,.3);
}
.main-nav .nav-cta:hover { color: #fff; background: var(--grad); transform: translateY(-2px); }
.main-nav .nav-cta::after { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero 主视觉 ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.blob.b1 { width: 480px; height: 480px; background: rgba(255, 61, 110, .35); top: -180px; right: -80px; animation: drift 14s ease-in-out infinite; }
.blob.b2 { width: 420px; height: 420px; background: rgba(139, 92, 246, .3); bottom: -200px; left: -120px; animation: drift 18s ease-in-out infinite reverse; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.1); }
}

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hero-text .eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; line-height: 1.18; letter-spacing: .01em; }
.hero h1 span { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin: 22px 0 30px; color: var(--muted); font-size: 17px; max-width: 540px; }

.hero-search {
  display: flex; gap: 8px; padding: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-strong);
  border-radius: 999px; max-width: 540px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.hero-search:focus-within { border-color: rgba(255,61,110,.6); box-shadow: 0 0 0 4px rgba(255,61,110,.12); }
.hero-search input {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  color: var(--text); padding: 10px 18px; font-size: 15px;
}
.hero-search input::placeholder { color: var(--faint); }
.hero-search button { padding: 12px 28px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; font-size: 15px; transition: transform .2s ease, box-shadow .2s ease; }
.hero-search button:hover { transform: scale(1.03); box-shadow: var(--shadow-glow); }

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

.hero-stats { display: flex; gap: 40px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 28px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .stat span { font-size: 13px; color: var(--faint); }

/* Hero 海报拼贴 */
.hero-visual { position: relative; }
.poster-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.poster-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .35s ease, border-color .35s ease;
}
.poster-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .6s ease; }
.poster-card:hover { transform: translateY(-6px); border-color: rgba(255,61,110,.5); }
.poster-card:hover img { transform: scale(1.07); }
.poster-card.tall { grid-row: span 2; }
.poster-card.tall img { aspect-ratio: 3/4.35; height: 100%; }
.poster-meta {
  position: absolute; inset-inline: 0; bottom: 0; padding: 32px 14px 12px;
  background: linear-gradient(transparent, rgba(8,5,14,.92));
}
.poster-meta b { display: block; font-size: 14px; font-weight: 700; }
.poster-meta span { font-size: 12px; color: var(--muted); }

.float-badge {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  background: rgba(27, 22, 38, .85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: 14px; padding: 10px 16px;
  box-shadow: var(--shadow);
  font-size: 13px; font-weight: 700;
  animation: floaty 5s ease-in-out infinite;
}
.float-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #2ee687; box-shadow: 0 0 10px #2ee687; }
.float-badge.fb1 { top: 20px; left: -22px; }
.float-badge.fb2 { bottom: 26px; right: -14px; animation-delay: 1.6s; }
.float-badge small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

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

/* ---------- 核心特性 ---------- */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative; overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.feature-card:hover { transform: translateY(-8px); border-color: rgba(255,61,110,.4); box-shadow: var(--shadow); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(255,61,110,.12);
  border: 1px solid rgba(255,61,110,.25);
}
.feature-icon svg { width: 28px; height: 28px; stroke: #ff85a3; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- 服务/分类卡片 ---------- */
.category-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 230px; display: flex; align-items: flex-end;
  border: 1px solid var(--line);
  transition: transform .35s ease, border-color .35s ease;
}
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,6,16,.05) 30%, rgba(10,6,16,.92)); }
.category-card:hover { transform: translateY(-8px); border-color: rgba(255,61,110,.5); }
.category-card:hover img { transform: scale(1.08); }
.category-body { position: relative; z-index: 1; padding: 24px; }
.category-body h3 { font-size: 21px; font-weight: 900; margin-bottom: 4px; }
.category-body p { color: rgba(255,255,255,.75); font-size: 13.5px; margin-bottom: 12px; }
.tag-pill { display: inline-block; font-size: 12px; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); }

/* ---------- 剧集卡片 ---------- */
.drama-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.drama-card:hover { transform: translateY(-8px); border-color: rgba(255,61,110,.45); box-shadow: var(--shadow); }
.drama-cover { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--surface-2); }
.drama-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.drama-card:hover .drama-cover img { transform: scale(1.06); }
.drama-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,6,16,.75)); opacity: .8; }
.drama-rank {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 900; font-size: 16px; color: #fff;
  background: rgba(0,0,0,.45); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
}
.drama-rank.top1 { background: var(--grad); border-color: transparent; box-shadow: 0 6px 18px rgba(255,61,110,.5); }
.drama-rank.top2 { background: linear-gradient(135deg,#ff8a3d,#ffc24d); border-color: transparent; color: #3a2200; }
.drama-rank.top3 { background: linear-gradient(135deg,#8b5cf6,#38bdf8); border-color: transparent; }
.drama-score {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-size: 13px; font-weight: 900; color: var(--gold);
  background: rgba(0,0,0,.55); padding: 3px 10px; border-radius: 8px;
  backdrop-filter: blur(6px);
}
.drama-ep {
  position: absolute; bottom: 10px; left: 10px; z-index: 2;
  font-size: 12px; color: #fff; background: rgba(0,0,0,.55);
  padding: 3px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}
.play-mask {
  position: absolute; z-index: 2; inset: 0;
  display: grid; place-items: center;
  opacity: 0; transition: opacity .3s ease;
}
.play-mask span {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,61,110,.9); display: grid; place-items: center;
  transform: scale(.8); transition: transform .3s ease;
  box-shadow: 0 0 0 8px rgba(255,61,110,.18);
}
.play-mask svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.drama-card:hover .play-mask { opacity: 1; }
.drama-card:hover .play-mask span { transform: scale(1); }

.drama-info { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.drama-info h3 { font-size: 16px; font-weight: 700; line-height: 1.45; }
.drama-info h3 a:hover { color: #ff85a3; }
.drama-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.drama-meta span {
  font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px;
}
.drama-sub { font-size: 13px; color: var(--faint); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 热播排行榜（列表式） ---------- */
.rank-list { display: flex; flex-direction: column; gap: 18px; }
.rank-item {
  display: grid; grid-template-columns: 56px 96px 1fr auto; gap: 22px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 22px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.rank-item:hover { transform: translateX(6px); border-color: rgba(255,61,110,.45); box-shadow: var(--shadow); }
.rank-num { font-size: 34px; font-weight: 900; text-align: center; line-height: 1; color: #4a3f5e; font-style: italic; }
.rank-item:nth-child(1) .rank-num, .rank-item:nth-child(2) .rank-num, .rank-item:nth-child(3) .rank-num {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rank-thumb { width: 96px; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.rank-body h3 a:hover { color: #ff85a3; }
.rank-body p { color: var(--muted); font-size: 13.5px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rank-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.rank-tags span { font-size: 12px; color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; }
.rank-side { text-align: right; }
.rank-side .score { font-size: 22px; font-weight: 900; color: var(--gold); }
.rank-side .ep { font-size: 12.5px; color: var(--faint); margin: 4px 0 12px; }

/* ---------- 步骤流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px 28px; text-align: center;
  position: relative; transition: transform .3s ease, border-color .3s ease;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(255,61,110,.4); }
.step-no {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 24px; font-weight: 900;
  background: var(--grad); color: #fff; box-shadow: var(--shadow-glow);
}
.step-card h3 { font-size: 19px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 14px; }

/* ---------- 用户评价 ---------- */
.review-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 26px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .3s ease, border-color .3s ease;
}
.review-card:hover { transform: translateY(-6px); border-color: rgba(255,61,110,.35); }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; }
.review-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-strong); }
.reviewer b { display: block; font-size: 14.5px; }
.reviewer span { font-size: 12.5px; color: var(--faint); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .3s ease;
}
.faq-item[open] { border-color: rgba(255,61,110,.45); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-size: 16.5px; font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%; background: rgba(255,61,110,.12); color: #ff85a3;
  display: grid; place-items: center; font-size: 20px; font-weight: 400;
  transition: transform .3s ease, background .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-answer { padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; }
.faq-answer strong { color: #ffd0dd; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--grad-cool);
  padding: 64px 48px; text-align: center;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.1); filter: blur(4px);
}
.cta-band::before { width: 280px; height: 280px; top: -140px; left: -60px; }
.cta-band::after { width: 220px; height: 220px; bottom: -120px; right: -40px; }
.cta-band h2 { position: relative; font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; margin-bottom: 14px; }
.cta-band p { position: relative; color: rgba(255,255,255,.9); margin-bottom: 30px; font-size: 16px; }
.cta-band .btn-white { position: relative; background: #fff; color: #d61f54; padding: 15px 38px; box-shadow: 0 14px 36px rgba(0,0,0,.25); }
.cta-band .btn-white:hover { transform: translateY(-3px); }
.cta-band .btn-outline-white { position: relative; border-color: rgba(255,255,255,.6); color: #fff; }
.cta-band .btn-outline-white:hover { background: rgba(255,255,255,.14); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-top: 64px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-about p { color: var(--muted); font-size: 14px; margin: 16px 0 20px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  display: grid; place-items: center;
}
.footer-social a:hover { border-color: var(--primary); background: rgba(255,61,110,.12); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; fill: var(--muted); }
.footer-social a:hover svg { fill: #ff85a3; }
.footer-col h3 { font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { color: var(--muted); font-size: 14px; }
.footer-col ul a:hover { color: #ff85a3; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.footer-contact svg { width: 17px; height: 17px; stroke: #ff85a3; fill: none; stroke-width: 1.8; flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--faint); font-size: 13px;
}
.footer-bottom a:hover { color: #ff85a3; }

/* ---------- 内页头图 ---------- */
.page-hero { position: relative; padding: 64px 0 56px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .blob.b1 { width: 420px; height: 420px; top: -220px; right: 10%; }
.breadcrumb { position: relative; z-index: 1; font-size: 13.5px; color: var(--faint); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #ff85a3; }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { position: relative; z-index: 1; font-size: clamp(30px, 4vw, 44px); font-weight: 900; margin-bottom: 12px; }
.page-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { position: relative; z-index: 1; color: var(--muted); max-width: 680px; }

/* ---------- 筛选条 ---------- */
.filter-bar {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.filter-row { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.filter-row > label { flex-shrink: 0; font-size: 14px; color: var(--faint); padding-top: 7px; min-width: 56px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 7px 18px; border-radius: 999px; font-size: 13.5px;
  border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.02);
  transition: all .25s ease;
}
.chip:hover { border-color: rgba(255,61,110,.5); color: #ff85a3; }
.chip.active { background: var(--grad); color: #fff; border-color: transparent; font-weight: 700; }
.filter-search { display: flex; gap: 8px; margin-left: auto; }
.filter-search input {
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 18px; color: var(--text); outline: none; min-width: 220px;
  transition: border-color .25s ease;
}
.filter-search input:focus { border-color: rgba(255,61,110,.6); }

.result-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; color: var(--faint); font-size: 13.5px; }
.result-bar b { color: #ff85a3; }

/* 片库页双栏 */
.library-layout { display: grid; grid-template-columns: 1fr 300px; gap: 34px; align-items: start; }

.widget {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; margin-bottom: 24px;
}
.widget h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.widget h3::before { content: ""; width: 4px; height: 16px; border-radius: 4px; background: var(--grad); }
.hot-mini { display: flex; flex-direction: column; gap: 14px; }
.hot-mini a { display: flex; gap: 12px; align-items: center; }
.hot-mini .num { width: 22px; text-align: center; font-weight: 900; color: #4a3f5e; font-style: italic; }
.hot-mini li:nth-child(1) .num, .hot-mini li:nth-child(2) .num, .hot-mini li:nth-child(3) .num { color: var(--primary); }
.hot-mini img { width: 44px; height: 58px; border-radius: 8px; object-fit: cover; }
.hot-mini b { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.4; }
.hot-mini b:hover { color: #ff85a3; }
.hot-mini span { font-size: 12px; color: var(--faint); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { font-size: 13px; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tag-cloud a:hover { border-color: var(--primary); color: #ff85a3; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 10px;
  display: inline-grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.pagination a:hover { border-color: var(--primary); color: #ff85a3; }
.pagination .current { background: var(--grad); color: #fff; border-color: transparent; font-weight: 700; }

/* ---------- 资讯 ---------- */
.news-featured {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px;
  transition: border-color .3s ease, transform .3s ease;
}
.news-featured:hover { border-color: rgba(255,61,110,.4); transform: translateY(-4px); }
.news-featured .nf-img { position: relative; min-height: 320px; }
.news-featured .nf-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nf-body { padding: 38px 34px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.nf-body h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; line-height: 1.4; }
.nf-body h2 a:hover { color: #ff85a3; }
.nf-body p { color: var(--muted); font-size: 14.5px; }

.news-card {
  display: grid; grid-template-columns: 240px 1fr; gap: 22px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; align-items: center;
  transition: transform .3s ease, border-color .3s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(255,61,110,.4); }
.news-card .nc-img { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; }
.news-card .nc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .nc-img img { transform: scale(1.06); }
.news-card h3 { font-size: 18px; font-weight: 700; margin: 4px 0 10px; line-height: 1.5; }
.news-card h3 a:hover { color: #ff85a3; }
.news-card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; gap: 16px; color: var(--faint); font-size: 12.5px; align-items: center; flex-wrap: wrap; }
.news-meta .cat { color: #ff85a3; border: 1px solid rgba(255,61,110,.35); padding: 2px 10px; border-radius: 999px; }

.news-layout { display: grid; grid-template-columns: 1fr 300px; gap: 34px; align-items: start; }

/* ---------- 文章详情 ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 34px; align-items: start; }
.article {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 44px clamp(22px, 4vw, 52px);
}
.article-head { margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.4; margin: 12px 0 16px; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin: 0 0 34px; }
.article-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-body { font-size: 16px; color: #d8d0e6; }
.article-body h2 { font-size: 23px; font-weight: 900; margin: 38px 0 16px; color: #fff; }
.article-body h3 { font-size: 18.5px; font-weight: 700; margin: 28px 0 12px; color: #fff; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; color: #d8d0e6; }
.article-body ul li { list-style: disc; margin-bottom: 8px; }
.article-body ol li { list-style: decimal; margin-bottom: 8px; }
.article-body strong { color: #fff; }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(255,61,110,.07);
  padding: 18px 24px; border-radius: 0 12px 12px 0;
  margin: 24px 0; color: var(--muted); font-style: normal;
}
.article-body figure { margin: 28px 0; }
.article-body figure img { border-radius: 12px; width: 100%; }
.article-body figcaption { text-align: center; font-size: 13px; color: var(--faint); margin-top: 10px; }

.article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-tags a { font-size: 13px; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.article-tags a:hover { border-color: var(--primary); color: #ff85a3; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.related-card { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .3s ease, border-color .3s ease; }
.related-card:hover { transform: translateY(-5px); border-color: rgba(255,61,110,.4); }
.related-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.related-card .rc-body { padding: 14px 16px; }
.related-card h3 { font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.related-card h3 a:hover { color: #ff85a3; }
.related-card time { font-size: 12px; color: var(--faint); }

/* ---------- 关于页 ---------- */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-story img { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-story h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin-bottom: 18px; }
.about-story p { color: var(--muted); margin-bottom: 16px; }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-cell { text-align: center; padding: 34px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stat-cell b { display: block; font-size: clamp(30px, 3.6vw, 42px); font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-cell span { color: var(--muted); font-size: 14px; }

.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--primary), var(--violet)); }
.timeline-item { position: relative; padding-bottom: 38px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -31px; top: 6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg); border: 4px solid var(--primary);
  box-shadow: 0 0 0 5px rgba(255,61,110,.15);
}
.timeline-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.timeline-card time { display: inline-block; font-size: 13px; font-weight: 700; color: #ff85a3; margin-bottom: 6px; }
.timeline-card h3 { font-size: 18px; margin-bottom: 8px; }
.timeline-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- 联系页 ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 24px; text-align: center;
  transition: transform .3s ease, border-color .3s ease;
}
.contact-card:hover { transform: translateY(-6px); border-color: rgba(255,61,110,.4); }
.contact-card .ci {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px;
  background: rgba(255,61,110,.12); border: 1px solid rgba(255,61,110,.25);
  display: grid; place-items: center;
}
.contact-card .ci svg { width: 26px; height: 26px; stroke: #ff85a3; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { font-size: 17px; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: 14px; }

.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
.form-card, .info-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px clamp(22px, 3.5vw, 40px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 700; }
.form-field label i { color: var(--primary); font-style: normal; }
.form-field input, .form-field select, .form-field textarea {
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 16px; color: var(--text); outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form-field select option { background: var(--surface-2); color: var(--text); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: rgba(255,61,110,.6); box-shadow: 0 0 0 4px rgba(255,61,110,.1);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 13px; color: var(--faint); margin-top: 14px; }
.form-success {
  display: none; margin-top: 18px; padding: 14px 18px; border-radius: 12px;
  background: rgba(46, 230, 135, .1); border: 1px solid rgba(46,230,135,.35);
  color: #7df0b2; font-size: 14px;
}
.form-success.show { display: block; animation: fadeUp .5s ease; }

.info-card h3 { font-size: 19px; margin-bottom: 18px; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.info-list li:last-child { border-bottom: none; }
.info-list .ic {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  background: rgba(255,61,110,.1); display: grid; place-items: center;
}
.info-list .ic svg { width: 20px; height: 20px; stroke: #ff85a3; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-list b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.info-list span { font-size: 13.5px; color: var(--muted); }
.hours-table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 14px; }
.hours-table td { padding: 9px 0; color: var(--muted); border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; color: var(--text); font-weight: 700; }
.hours-table tr:last-child td { border-bottom: none; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-glow);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .library-layout, .news-layout, .article-layout { grid-template-columns: 1fr; }
  .library-aside, .news-aside, .article-aside { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .library-aside .widget, .news-aside .widget, .article-aside .widget { margin-bottom: 0; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(15, 11, 24, .98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px 6%;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav > a { padding: 13px 16px; font-size: 16px; }
  .main-nav > a.active::after { display: none; }
  .main-nav .nav-cta { margin: 8px 0 0; text-align: center; }

  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .float-badge.fb1 { left: 0; }
  .float-badge.fb2 { right: 0; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .rank-item { grid-template-columns: 44px 72px 1fr; }
  .rank-thumb { width: 72px; }
  .rank-side { grid-column: 3; display: flex; align-items: center; gap: 12px; text-align: left; margin-top: 6px; }
  .rank-side .ep { margin: 0; }
  .rank-side .btn { margin-left: auto; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured .nf-img { min-height: 220px; }
  .news-card { grid-template-columns: 1fr; }
  .news-card .nc-img { order: -1; }
  .about-story, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .filter-search { margin-left: 0; width: 100%; }
  .filter-search input { flex: 1; min-width: 0; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 64px; }
  .grid-4, .grid-2, .form-grid, .contact-cards, .stat-band { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-stats .stat b { font-size: 23px; }
  .hero-search { flex-direction: column; border-radius: 20px; }
  .hero-search button { width: 100%; }
  .cta-band { padding: 44px 24px; }
  .rank-item { grid-template-columns: 40px 1fr; gap: 14px; padding: 14px; }
  .rank-thumb { display: none; }
  .rank-side { grid-column: 2; }
  .library-aside, .news-aside, .article-aside { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .article { padding: 28px 18px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .topbar .container { flex-direction: column; gap: 2px; }
}

/* ---------- 无障碍：减弱动画 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
