/* ============================================================
   糖心Vlog · 共享设计系统
   风格：现代编辑杂志风 × 视频平台活力
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  /* 品牌色 */
  --brand: #FF4D6D;
  --brand-2: #FF7A45;
  --brand-dark: #E63950;
  --brand-light: #FFE4EA;
  --brand-soft: #FFD6DE;

  /* 文字色 */
  --ink: #1A1A2E;
  --ink-2: #4A4A6A;
  --ink-3: #8A8AA0;
  --ink-4: #B5B5C8;

  /* 背景 */
  --cream: #FFFBF5;
  --paper: #FFFFFF;
  --paper-2: #FFF7EF;

  /* 强调色 */
  --accent: #FFB84D;
  --violet: #6C5CE7;
  --mint: #2EC4B6;

  /* 边框与阴影 */
  --border: #F0E6DA;
  --border-strong: #E5D5C0;
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow: 0 8px 30px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.12);
  --shadow-brand: 0 12px 30px rgba(255, 77, 109, 0.28);

  /* 圆角 */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* 间距 */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* 字体 */
  --font-display: 'Fraunces', 'Noto Serif SC', Georgia, serif;
  --font-body: 'Noto Sans SC', system-ui, -apple-system, sans-serif;

  /* 容器 */
  --container: 1240px;

  /* 过渡 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
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; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- 排版 ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}
h1 { font-weight: 700; font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--ink-2); }
.lead { font-size: 1.15rem; color: var(--ink-2); line-height: 1.7; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.text-gradient {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--s-9) 0; }
.section-sm { padding: var(--s-8) 0; }
.section-head { max-width: 720px; margin-bottom: var(--s-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { justify-content: center; }

/* ---------- 导航栏 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.35s var(--ease);
  padding: 18px 0;
}
.nav.scrolled {
  background: rgba(255, 251, 245, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: var(--shadow-brand);
  flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  transition: all 0.25s var(--ease);
}
.nav-links a:hover { color: var(--brand); background: var(--brand-light); }
.nav-links a.active { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* 汉堡菜单按钮 */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  transition: all 0.28s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 77, 109, 0.4);
}
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  padding: 12px 20px;
}
.btn-ghost:hover { color: var(--brand); background: var(--brand-light); }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.hero-blob.b1 {
  width: 520px; height: 520px;
  background: var(--brand-soft);
  top: -120px; right: -100px;
}
.hero-blob.b2 {
  width: 420px; height: 420px;
  background: #FFE9C9;
  bottom: -150px; left: -80px;
  opacity: 0.6;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .highlight {
  position: relative;
  display: inline-block;
}
.hero h1 .highlight::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px; bottom: 4px;
  height: 14px;
  background: var(--brand-soft);
  z-index: -1;
  border-radius: 4px;
}
.hero-sub {
  font-size: 1.18rem;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.hero-stat .num span { color: var(--brand); }
.hero-stat .label {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-top: 6px;
}

/* Hero 视觉卡片 */
.hero-visual {
  position: relative;
}
.phone-mock {
  position: relative;
  width: 300px;
  margin: 0 auto;
  border-radius: 36px;
  background: #1A1A2E;
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.phone-screen {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--brand-soft), #FFE9C9);
  aspect-ratio: 9/16;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
}
.phone-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(26,26,46,0.25); }
.phone-bar .time { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.phone-video {
  flex: 1;
  margin: 4px 12px 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  position: relative;
  overflow: hidden;
}
.phone-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,184,77,0.4), transparent 50%);
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.play-btn svg { width: 24px; height: 24px; color: var(--brand); margin-left: 3px; }
.phone-info { padding: 0 14px 14px; }
.phone-info .user { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.phone-info .avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,var(--accent),var(--brand)); }
.phone-info .name { font-size: 11px; font-weight: 600; color: var(--ink); }
.phone-info .desc { font-size: 10px; color: var(--ink-2); }
.phone-actions { display: flex; gap: 14px; margin-top: 10px; }
.phone-actions span { display: flex; align-items: center; gap: 3px; font-size: 10px; color: var(--ink-2); }
.phone-actions svg { width: 13px; height: 13px; }
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.float-card .ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: #fff;
}
.float-card.fc1 { top: 30px; left: -40px; animation: floaty 4s ease-in-out infinite; }
.float-card.fc1 .ic { background: var(--mint); }
.float-card.fc2 { bottom: 60px; right: -44px; animation: floaty 4s ease-in-out infinite 1.5s; }
.float-card.fc2 .ic { background: var(--violet); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--brand-soft);
}

/* ---------- 视频网格 ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--paper);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-soft), #FFE9C9);
}
.video-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.35), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(255,122,69,0.25), transparent 55%);
}
.video-thumb .thumb-grad { position: absolute; inset: 0; }
.thumb-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: all 0.35s var(--ease);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: grid; place-items: center;
  z-index: 2;
}
.thumb-play svg { width: 20px; height: 20px; color: var(--brand); margin-left: 2px; }
.video-card:hover .thumb-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.thumb-duration {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(26,26,46,0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
}
.thumb-tag {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(255,255,255,0.92);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  z-index: 2;
}
.video-body { padding: 16px 18px 20px; }
.video-title {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--ink-3);
}
.video-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }

/* ---------- 功能特性 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.feature {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-soft); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 10px; }
.feature p { font-size: 0.92rem; line-height: 1.65; }

/* ---------- 数据统计 ---------- */
.stats-band {
  background: linear-gradient(135deg, #1A1A2E 0%, #2A2A45 100%);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,77,109,0.25), transparent 60%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-item .stat-num span { color: var(--brand); }
.stat-item .stat-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-top: 10px;
}

/* ---------- 创作者卡片 ---------- */
.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.creator-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
}
.creator-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.creator-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}
.creator-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.creator-card .role { font-size: 0.82rem; color: var(--brand); font-weight: 500; margin-bottom: 8px; }
.creator-card .followers { font-size: 0.82rem; color: var(--ink-3); }

/* ---------- 平台徽章 ---------- */
.platforms {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.platform-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.3s var(--ease);
}
.platform-badge:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.platform-badge .ic {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

/* ---------- 下载卡片 ---------- */
.download-card {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--brand-soft), transparent 60%);
}
.download-features { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.download-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.download-feature .check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.download-feature .check svg { width: 14px; height: 14px; }
.download-feature p { font-size: 0.95rem; }

/* 二维码区块 */
.qr-block {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--paper-2);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px dashed var(--border-strong);
}
.qr-box {
  width: 130px; height: 130px;
  border-radius: var(--r);
  background: #fff;
  padding: 12px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
}
.qr-grid {
  width: 100%; height: 100%;
  background-image:
    linear-gradient(90deg, var(--ink) 50%, transparent 0),
    linear-gradient(0deg, var(--ink) 50%, transparent 0);
  background-size: 14px 14px;
  position: relative;
}
.qr-grid::before, .qr-grid::after, .qr-grid .corner {
  content: '';
  position: absolute;
  width: 38px; height: 38px;
  border: 8px solid var(--ink);
}
.qr-grid::before { top: 0; left: 0; }
.qr-grid::after { top: 0; right: 0; }
.qr-grid .corner { bottom: 0; left: 0; }

/* ---------- 表单 ---------- */
.form-card {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r);
  background: var(--cream);
  color: var(--ink);
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
}
.form-input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-light);
}
.form-input::placeholder { color: var(--ink-4); }
.form-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.form-row a { color: var(--brand); font-size: 0.88rem; font-weight: 500; }
.form-row a:hover { text-decoration: underline; }
.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  color: var(--ink-3);
  font-size: 0.85rem;
}
.form-divider::before, .form-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border-strong);
}
.social-btn {
  width: 100%;
  padding: 13px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r);
  background: var(--paper);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s var(--ease);
}
.social-btn:hover { border-color: var(--brand); background: var(--brand-light); }
.social-btn .ic { width: 20px; height: 20px; }

/* ---------- 分类标签 ---------- */
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.chip {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---------- 播放页面布局 ---------- */
.watch-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.watch-main { min-width: 0; }
.player-wrap {
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #1A1A2E, #2A2A45);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.player-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,77,109,0.3), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(108,92,231,0.3), transparent 50%);
}
.player-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.player-center .big-play {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: grid; place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transition: all 0.3s var(--ease);
}
.player-center .big-play:hover { transform: scale(1.1); }
.player-center .big-play svg { width: 32px; height: 32px; color: var(--brand); margin-left: 4px; }
.player-center .play-label { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.player-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
}
.player-progress {
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  margin-bottom: 12px;
  position: relative;
}
.player-progress .filled {
  height: 100%;
  width: 32%;
  background: var(--brand);
  border-radius: 2px;
}
.player-progress .knob {
  position: absolute;
  top: 50%; left: 32%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
}
.player-controls { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 0.85rem; }
.player-controls svg { width: 20px; height: 20px; cursor: pointer; opacity: 0.85; }
.player-controls svg:hover { opacity: 1; }

.watch-title { margin: 24px 0 12px; font-size: 1.6rem; }
.watch-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.watch-meta-left { display: flex; align-items: center; gap: 14px; }
.watch-author { display: flex; align-items: center; gap: 12px; }
.watch-author .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,var(--brand),var(--accent)); display: grid; place-items: center; color: #fff; font-weight: 600; }
.watch-author .name { font-weight: 600; color: var(--ink); }
.watch-author .sub { font-size: 0.82rem; color: var(--ink-3); }
.watch-actions { display: flex; gap: 10px; }
.icon-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.25s var(--ease);
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn svg { width: 18px; height: 18px; }
.watch-desc {
  background: var(--paper);
  border-radius: var(--r);
  padding: 20px 24px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.7;
}
.watch-desc .tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.watch-desc .tag-row a { color: var(--violet); font-size: 0.85rem; font-weight: 500; }
.watch-desc .tag-row a:hover { text-decoration: underline; }

/* 相关推荐侧栏 */
.watch-side h3 { font-size: 1.05rem; margin-bottom: 18px; }
.related-list { display: flex; flex-direction: column; gap: 16px; }
.related-item {
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.related-item:hover { transform: translateX(4px); }
.related-thumb {
  width: 130px;
  aspect-ratio: 16/10;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-soft), #FFE9C9);
  position: relative;
  overflow: hidden;
}
.related-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 55%);
}
.related-thumb .dur {
  position: absolute; bottom: 5px; right: 5px;
  background: rgba(26,26,46,0.78); color: #fff;
  font-size: 0.65rem; padding: 2px 6px; border-radius: 4px;
}
.related-info { min-width: 0; }
.related-info .rt {
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
  line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 6px;
}
.related-info .rm { font-size: 0.78rem; color: var(--ink-3); }

/* ---------- 社区/动态卡片 ---------- */
.post-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.35s var(--ease);
}
.post-card:hover { box-shadow: var(--shadow); }
.post-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.post-head .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; flex-shrink: 0; }
.post-head .name { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.post-head .meta { font-size: 0.78rem; color: var(--ink-3); }
.post-body { padding: 20px 22px; }
.post-body p { margin-bottom: 16px; line-height: 1.7; }
.post-media {
  border-radius: var(--r);
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--brand-soft), #FFE9C9);
  position: relative;
  overflow: hidden;
  margin: 0 22px 16px;
}
.post-media::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), transparent 55%),
              radial-gradient(circle at 70% 70%, rgba(255,122,69,0.3), transparent 55%);
}
.post-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  color: var(--ink-3);
  font-size: 0.85rem;
}
.post-foot button { display: flex; align-items: center; gap: 7px; color: var(--ink-3); font-size: 0.85rem; transition: color 0.25s var(--ease); }
.post-foot button:hover { color: var(--brand); }
.post-foot button svg { width: 18px; height: 18px; }
.post-foot .spacer { flex: 1; }

/* 话题卡 */
.topic-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.topic-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-soft); }
.topic-card .hash {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand);
}
.topic-card h4 { font-size: 1.05rem; }
.topic-card .topic-stats { display: flex; gap: 16px; font-size: 0.82rem; color: var(--ink-3); margin-top: 6px; }

/* ---------- 步骤/教程 ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.35s var(--ease);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-card .step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-light);
  line-height: 1;
  margin-bottom: 12px;
}
.step-card h4 { margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; }

/* ---------- CTA 区块 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border-radius: var(--r-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -40%; left: -5%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 60%);
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -40%; right: -5%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,184,77,0.3), transparent 60%);
}
.cta-band h2 { color: #fff; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,0.9); position: relative; z-index: 1; max-width: 540px; margin: 16px auto 32px; }
.cta-band .hero-actions { justify-content: center; position: relative; z-index: 1; margin-bottom: 0; }
.cta-band .btn-secondary { background: #fff; }
.cta-band .btn-ghost { color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* ---------- 页脚 ---------- */
.footer {
  background: #1A1A2E;
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.8);
  transition: all 0.25s var(--ease);
}
.footer-social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-social a svg { width: 18px; height: 18px; }
.footer-col h5 { color: #fff; font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.05em; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 0.88rem; padding: 6px 0; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--ink-3); transition: color 0.25s var(--ease); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--ink-4); }

/* ---------- 页面头部（非首页） ---------- */
.page-hero {
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-bg { opacity: 0.6; }
.page-hero-inner { position: relative; z-index: 1; max-width: 720px; }

/* ---------- 滚动揭示动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .phone-mock { width: 260px; }
  .watch-layout { grid-template-columns: 1fr; }
  .watch-side { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 24px 24px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px 18px; font-size: 1rem; border-radius: var(--r); }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: var(--s-8) 0; }
  .hero { padding: 130px 0 70px; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 1.6rem; }
  .stats-band { padding: 40px 24px; }
  .cta-band { padding: 44px 24px; }
  .form-card { padding: 32px 24px; }
  .download-card { padding: 28px 22px; }
  .qr-block { flex-direction: column; text-align: center; }
  .footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .watch-meta { flex-direction: column; align-items: flex-start; }
  .related-thumb { width: 110px; }
  .float-card { display: none; }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
