/* ============================================================
   美美社 MeimeiShe · 设计系统
   视觉概念：可爱西瓜 × 大气渐变 × 现代卡片
   主色（珊瑚粉） + 强调（葡萄紫） + 热点（蜜糖金）
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --brand: #ff4d6d;
  --brand-deep: #e62e58;
  --brand-soft: #ffe9ee;
  --grape: #8b5cf6;
  --grape-soft: #f1ebff;
  --sun: #ffb400;
  --sun-soft: #fff3d6;
  --melon: #ff8a5c;
  --leaf: #2fbf71;
  --leaf-soft: #e6f9ef;

  --ink: #17182b;
  --ink-soft: #5d5e78;
  --ink-faint: #9a9bb0;

  --paper: #fff7f4;
  --card: #ffffff;
  --line: #ffe4de;
  --line-soft: #fff0ec;

  --grad-hero: linear-gradient(128deg, #ff4d6d 0%, #ff7d6b 42%, #b06bff 100%);
  --grad-brand: linear-gradient(120deg, #ff4d6d, #8b5cf6);
  --grad-sun: linear-gradient(120deg, #ffb400, #ff7a3d);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 8px 22px rgba(255, 77, 109, 0.08);
  --shadow-md: 0 14px 34px rgba(120, 60, 120, 0.12);
  --shadow-lg: 0 24px 60px rgba(70, 30, 90, 0.18);

  --container: 1180px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui,
    -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- 2. Reset & 基础 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

:focus-visible {
  outline: 3px solid var(--grape);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(var(--container), 100% - 40px);
  margin-inline: auto;
}

section { scroll-margin-top: 90px; }

/* ---------- 3. 排版 ---------- */
h1, h2, h3, h4 {
  line-height: 1.25;
  margin: 0;
  letter-spacing: 0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 16px;
}

.eyebrow--grape { color: var(--grape); background: var(--grape-soft); }
.eyebrow--sun { color: #c07a00; background: var(--sun-soft); }

.section {
  padding: 88px 0;
}

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

.section-title {
  font-size: clamp(26px, 4.2vw, 40px);
  font-weight: 800;
}

.section-title .grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-sub {
  color: var(--ink-soft);
  margin-top: 10px;
  font-size: 16px;
  max-width: 560px;
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  border: 0;
  border-radius: 999px;
  padding: 14px 30px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
  will-change: transform;
}

.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-sun {
  background: var(--grad-sun);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
}

.btn-soft {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn .arrow { transition: transform 0.22s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 247, 244, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img { width: 42px; height: 42px; }

.brand .brand-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover { color: var(--brand); background: var(--brand-soft); }

.nav-link[aria-current="page"] {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--shadow-sm);
}

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

/* ---------- 6. 首页 Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  border-radius: 0 0 46px 46px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 320px at 88% 12%, rgba(255, 255, 255, 0.22), transparent 60%),
    radial-gradient(520px 300px at 6% 90%, rgba(255, 255, 255, 0.14), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  padding: 84px 0 96px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(38px, 6.4vw, 62px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.hero-title .wink { display: inline-block; animation: wink 2.6s ease-in-out infinite; }

.hero-desc {
  margin-top: 18px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 520px;
}

.hero-search {
  margin-top: 26px;
  display: flex;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  max-width: 540px;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 18px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
}

.hero-search input::placeholder { color: var(--ink-faint); }

.hero-search button {
  border: 0;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  transition: opacity 0.2s ease;
}

.hero-search button:hover { opacity: 0.92; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
  max-width: 540px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.hero-stat b {
  display: block;
  font-size: 26px;
  font-weight: 900;
}

.hero-stat span { font-size: 13px; color: rgba(255, 255, 255, 0.88); }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-art .wm { width: min(340px, 88%); filter: drop-shadow(0 30px 40px rgba(70, 20, 60, 0.35)); }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  animation: bob 4s ease-in-out infinite;
}

.float-chip.top { top: 6%; left: 0; }
.float-chip.bottom { bottom: 8%; right: 0; animation-delay: 1.4s; }
.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); }

/* ---------- 7. 热榜卡片 ---------- */
.rank-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.rank-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.rank-no {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  color: var(--ink-faint);
  background: var(--paper);
  border-radius: 14px;
}

.rank-card:nth-child(1) .rank-no,
.rank-card.top1 .rank-no { background: var(--grad-sun); color: #fff; }
.rank-card:nth-child(2) .rank-no { background: linear-gradient(120deg, #c9ccd6, #8f94a6); color: #fff; }
.rank-card:nth-child(3) .rank-no { background: linear-gradient(120deg, #e8a17a, #c97b4e); color: #fff; }

.rank-body { flex: 1; min-width: 0; }

.rank-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rank-title a:hover { color: var(--brand); }

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.badge--hot { background: var(--sun-soft); color: #b06400; }
.badge--new { background: var(--leaf-soft); color: #14934f; }
.badge--top { background: var(--brand-soft); color: var(--brand-deep); }

.rank-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-faint);
  flex-wrap: wrap;
}

.heat-track {
  height: 6px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
  margin-top: 9px;
  max-width: 420px;
}

.heat-bar {
  height: 100%;
  border-radius: 999px;
  background: var(--grad-brand);
  transform-origin: left;
  animation: grow 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.rank-heat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  color: var(--brand);
}

/* ---------- 8. 视频卡片 ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.video-card {
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.video-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: var(--grape-soft);
}

.video-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }

.video-card:hover .video-cover img { transform: scale(1.06); }

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-size: 20px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.video-card:hover .play-btn { opacity: 1; transform: scale(1); }

.duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(20, 20, 35, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.video-info { padding: 14px 16px 18px; }

.video-title {
  font-size: 15px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-faint);
  flex-wrap: wrap;
}

.video-meta .views { color: var(--brand); font-weight: 700; }

/* ---------- 9. 分类卡片 ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cat-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  position: relative;
  overflow: hidden;
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat-card:hover::after { opacity: 1; }

.cat-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: var(--brand-soft);
  border-radius: 16px;
  margin-bottom: 12px;
}

.cat-card:nth-child(2) .cat-icon { background: var(--grape-soft); }
.cat-card:nth-child(3) .cat-icon { background: var(--sun-soft); }
.cat-card:nth-child(4) .cat-icon { background: var(--leaf-soft); }
.cat-card:nth-child(5) .cat-icon { background: var(--brand-soft); }
.cat-card:nth-child(6) .cat-icon { background: var(--grape-soft); }
.cat-card:nth-child(7) .cat-icon { background: var(--sun-soft); }
.cat-card:nth-child(8) .cat-icon { background: var(--leaf-soft); }

.cat-name { font-size: 17px; font-weight: 800; }
.cat-count { font-size: 13px; color: var(--ink-faint); margin-top: 4px; }

/* ---------- 10. 筛选 Chips ---------- */
.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.chip {
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.chip:hover { border-color: var(--brand); color: var(--brand); }

.chip.is-active {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* ---------- 11. 数字 & 统计 ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.stat-num sup { font-size: 0.55em; font-weight: 800; }

.stat-label { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }

/* ---------- 12. 热搜词云 ---------- */
.topic-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topic {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.topic .no { color: var(--ink-faint); font-size: 12px; font-weight: 800; }
.topic:nth-child(-n+3) { border-color: var(--brand); }
.topic:nth-child(-n+3) .no { color: var(--brand); }

/* ---------- 13. 内页 Hero ---------- */
.page-hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  border-radius: 0 0 40px 40px;
  padding: 66px 0 78px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 300px at 90% 10%, rgba(255, 255, 255, 0.2), transparent 60%);
  pointer-events: none;
}

.page-hero h1 { font-size: clamp(34px, 5.4vw, 54px); font-weight: 900; }
.page-hero p { color: rgba(255, 255, 255, 0.92); max-width: 620px; margin-top: 14px; font-size: 16px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 18px;
  flex-wrap: wrap;
}

.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .sep { opacity: 0.55; }

/* ---------- 14. 热榜页面板 ---------- */
.panel {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  position: relative;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  animation: pulse 1.8s ease-out infinite;
}

.rank-list { display: grid; gap: 12px; }

/* 左右布局 */
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }

.side-sticky { position: sticky; top: 94px; display: grid; gap: 20px; }

/* ---------- 15. 下载页 ---------- */
.download-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.phone {
  position: relative;
  width: min(280px, 78%);
  aspect-ratio: 9 / 17.6;
  border-radius: 42px;
  background: linear-gradient(160deg, #2a2b45, #17182b);
  border: 3px solid #34364f;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  margin-inline: auto;
}

.phone-screen {
  height: 100%;
  border-radius: 30px;
  background: var(--grad-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.phone-screen img { width: 96px; }
.phone-screen b { font-size: 22px; font-weight: 900; }
.phone-screen span { font-size: 13px; opacity: 0.9; }

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 24px;
  background: #2a2b45;
  border-radius: 0 0 16px 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 25px;
  border-radius: 16px;
  background: var(--brand-soft);
  margin-bottom: 14px;
}

.feature-card:nth-child(2) .feature-icon { background: var(--grape-soft); }
.feature-card:nth-child(3) .feature-icon { background: var(--sun-soft); }
.feature-card:nth-child(4) .feature-icon { background: var(--leaf-soft); }
.feature-card:nth-child(5) .feature-icon { background: var(--grape-soft); }
.feature-card:nth-child(6) .feature-icon { background: var(--sun-soft); }

.feature-card h3 { font-size: 16px; font-weight: 800; }
.feature-card p { font-size: 13.5px; color: var(--ink-soft); margin: 8px 0 0; }

.dl-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.dl-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 240px at 92% 8%, rgba(139, 92, 246, 0.5), transparent 60%),
    radial-gradient(380px 220px at 4% 96%, rgba(255, 77, 109, 0.4), transparent 60%);
  pointer-events: none;
}

.dl-box > * { position: relative; }

.dl-qr {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  display: grid;
  place-items: center;
  gap: 8px;
  align-self: center;
}

.dl-qr img { width: 148px; height: 148px; }
.dl-qr span { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.review-stars { color: var(--sun); letter-spacing: 2px; font-size: 15px; }
.review-text { font-size: 14px; color: var(--ink-soft); margin: 12px 0; }
.review-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  font-size: 15px;
}

/* ---------- 16. FAQ ---------- */
.faq-list { display: grid; gap: 12px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  padding: 18px 22px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-ans { padding: 0 22px 20px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- 17. 栏目矩阵 ---------- */
.col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.col-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.col-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.col-card .cat-icon { margin-bottom: 14px; }
.col-card h3 { font-size: 18px; font-weight: 800; }
.col-card p { font-size: 14px; color: var(--ink-soft); margin: 10px 0 0; }

.timeline { display: grid; gap: 0; }

.tl-item {
  position: relative;
  padding: 0 0 30px 34px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: -4px;
  width: 2px;
  background: var(--line);
}

.tl-item:last-child::before { display: none; }

.tl-item::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
}

.tl-year { font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: 0.08em; }
.tl-title { font-size: 17px; font-weight: 800; margin-top: 4px; }
.tl-desc { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }

/* ---------- 18. CTA 横幅 ---------- */
.cta-banner {
  position: relative;
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 56px 48px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 260px at 50% -20%, rgba(255, 255, 255, 0.25), transparent 60%);
}

.cta-banner h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; }
.cta-banner p { color: rgba(255, 255, 255, 0.92); max-width: 520px; margin: 12px auto 26px; }

/* ---------- 19. 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: #b9bad0;
  margin-top: 90px;
  padding: 64px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-desc { font-size: 14px; margin-top: 14px; max-width: 300px; }

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--brand); }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }

.social-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 17px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-btn:hover { background: var(--brand); transform: translateY(-3px); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 13px;
  color: #7d7e97;
}

/* ---------- 20. 弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(18, 18, 34, 0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal-box {
  width: min(880px, 100%);
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal.is-open .modal-box { transform: none; }

.modal-video {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(420px 260px at 30% 30%, rgba(255, 77, 109, 0.55), transparent 60%),
    radial-gradient(380px 240px at 75% 70%, rgba(139, 92, 246, 0.55), transparent 60%),
    var(--ink);
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
}

.modal-video .big-play {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.7);
  font-size: 28px;
  animation: pulse 2.2s ease-out infinite;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 17px;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
  z-index: 3;
}

.modal-close:hover { transform: rotate(90deg); }

.modal-body { padding: 24px 26px 28px; }
.modal-body h3 { font-size: 20px; font-weight: 800; }
.modal-body p { color: var(--ink-soft); font-size: 14.5px; margin: 10px 0 0; }

.modal-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- 21. 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 150;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-size: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.3s ease;
}

.back-top.is-show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-3px); }

/* ---------- 22. 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- 23. 其他小组件 ---------- */
.page-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--ink-soft);
}

.page-meta-bar b { color: var(--ink); }

.video-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  align-items: center;
}

.about-art {
  position: relative;
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  display: grid;
  place-items: center;
  min-height: 340px;
  overflow: hidden;
}

.about-art img { width: min(220px, 72%); filter: drop-shadow(0 24px 32px rgba(70, 20, 60, 0.35)); }

.quote {
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  margin-top: 20px;
}

/* ---------- 24. 响应式 ---------- */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .video-row { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .side-sticky { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .nav-menu {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    padding: 18px 20px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.26s ease;
  }

  .nav-menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: 13px 16px; }
  .nav-cta { margin: 8px 0 0; }

  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 72px; }
  .hero-art { order: -1; }
  .hero-art .wm { width: min(210px, 64%); }
  .float-chip { display: none; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }

  .section { padding: 64px 0; }
  .video-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .video-row { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .download-hero { grid-template-columns: 1fr; }
  .dl-box { grid-template-columns: 1fr; text-align: center; }
  .review-grid { grid-template-columns: 1fr; }
  .col-grid { grid-template-columns: 1fr; }
  .about-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cta-banner { padding: 44px 24px; }
  .rank-card { padding: 14px 16px; gap: 12px; }
  .rank-no { width: 38px; height: 38px; font-size: 16px; border-radius: 12px; }
  .hero-search { flex-direction: column; background: transparent; box-shadow: none; gap: 10px; padding: 0; }
  .hero-search input { background: #fff; border-radius: 999px; box-shadow: var(--shadow-md); padding: 14px 20px; }
  .hero-search button { padding: 13px 20px; }
}

/* ---------- 25. 动效 & 兜底 ---------- */
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes wink {
  0%, 82%, 100% { transform: scale(1) rotate(0deg); }
  86% { transform: scale(1.25) rotate(10deg); }
  92% { transform: scale(1) rotate(-4deg); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.45); }
  100% { box-shadow: 0 0 0 18px rgba(255, 77, 109, 0); }
}

@keyframes grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* 无 JS / 无障碍兜底 */
.js-off .reveal, .no-js .reveal { opacity: 1; transform: none; }

html.no-js .nav-menu { position: static; transform: none; opacity: 1; visibility: visible; flex-direction: row; }
html.no-js .nav-toggle { display: none; }

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