/* =========================================================
   糖心vlog · 样式表（潜水主题 / 主色 #d946ef / 浅色背景）
   ========================================================= */
:root {
  --primary: #d946ef;
  --primary-deep: #a855f7;
  --primary-soft: #fae8fd;
  --bg: #fdf8ff;
  --bg-alt: #f8eefe;
  --card: #ffffff;
  --text: #2d2436;
  --muted: #7a7086;
  --line: #f0e4f7;
  --radius: 20px;
  --shadow: 0 8px 24px rgba(217, 70, 239, 0.10);
  --shadow-hover: 0 14px 34px rgba(217, 70, 239, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(1200px 500px at 90% -80px, rgba(217, 70, 239, 0.07), transparent 60%),
    radial-gradient(900px 420px at -10% 30%, rgba(168, 85, 247, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  transition: all 0.25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 6px 16px rgba(217, 70, 239, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(217, 70, 239, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid #e9d5f0;
}
.btn-ghost:hover { background: var(--primary-soft); border-color: var(--primary); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}
.logo-emoji { font-size: 24px; }
.main-nav { display: flex; gap: 22px; margin-left: 8px; }
.main-nav a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.active { color: var(--primary); font-weight: 700; }
.nav-actions { display: flex; gap: 10px; margin-left: auto; }
.nav-actions .btn { padding: 8px 20px; }
.nav-toggle {
  display: none;
  background: var(--primary-soft);
  color: var(--primary);
  border: none;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  font-size: 18px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #d946ef 0%, #a855f7 55%, #ec4899 100%);
  color: #fff;
  padding: 92px 0 72px;
  border-radius: 0 0 42px 42px;
  text-align: center;
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: bubbleUp linear infinite;
}
@keyframes bubbleUp {
  0%   { transform: translateY(0) scale(0.7); opacity: 0; }
  15%  { opacity: 0.85; }
  100% { transform: translateY(-460px) scale(1.25); opacity: 0; }
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(1.8rem, 4.2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: 1px;
}
.hero-sub {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 16px;
  opacity: 0.94;
}
.search-box {
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: 30px auto 0;
  background: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  box-shadow: 0 10px 30px rgba(88, 28, 135, 0.25);
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text);
  background: transparent;
  min-width: 0;
}
.search-btn {
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  flex-shrink: 0;
}
.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 38px;
}
.hero-stat .num { display: block; font-size: 28px; font-weight: 800; }
.hero-stat .label { font-size: 13px; opacity: 0.88; }

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 38px; }
.section-head h2 { font-size: 27px; font-weight: 800; }
.section-head h2 em { font-style: normal; color: var(--primary); }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.section-more-wrap { text-align: center; margin-top: 32px; }

/* ---------- 视频卡片网格 ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.video-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.video-card:hover .card-cover img { transform: scale(1.06); }
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  opacity: 0.88;
  transition: all 0.25s ease;
}
.video-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
.duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 8px;
}
.card-body { padding: 14px 16px 16px; }
.card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-desc {
  margin-top: 7px;
  font-size: 13px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta { display: flex; align-items: center; gap: 7px; margin-top: 12px; }
.meta-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.meta-name { font-size: 12px; color: var(--text); margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta-views, .meta-likes { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- 明星创作者 ---------- */
.creator-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 768px) { .creator-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .creator-grid { grid-template-columns: repeat(6, 1fr); } }
.creator-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 14px 22px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.creator-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.creator-avatar-wrap { position: relative; display: inline-block; }
.creator-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f3d8fb;
}
.creator-star { position: absolute; right: -6px; top: -4px; font-size: 18px; }
.creator-name { margin-top: 12px; font-size: 15px; font-weight: 700; }
.creator-tag { font-size: 12px; color: var(--muted); margin-top: 3px; }
.creator-fans {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 14px;
  border-radius: 999px;
}

/* ---------- 平台特色 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px;
}
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  background: var(--primary-soft);
  border-radius: 16px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; }
.feature-card p { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- 数据统计区 ---------- */
.stats-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  border-radius: 26px;
  padding: 42px 20px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  color: #fff;
  text-align: center;
  box-shadow: 0 14px 34px rgba(217, 70, 239, 0.35);
}
.stat-item .num { display: block; font-size: 34px; font-weight: 800; }
.stat-item .label { font-size: 13px; opacity: 0.92; }

/* ---------- 用户评价 ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px;
}
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.review-head { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.review-name { font-size: 14px; font-weight: 700; }
.review-stars { margin-left: auto; color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.review-text { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.85; }

/* ---------- 成功故事 ---------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px;
}
@media (min-width: 768px) { .story-grid { grid-template-columns: repeat(3, 1fr); } }
.story-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px;
  border-top: 4px solid var(--primary);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.story-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.story-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 12px;
  border-radius: 999px;
}
.story-card h3 { font-size: 17px; font-weight: 700; margin: 12px 0 8px; }
.story-card p { font-size: 14px; color: var(--muted); }

/* ---------- APP 展示区 ---------- */
.app-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .app-inner { grid-template-columns: 1fr; } }
.app-copy h2 { font-size: 28px; font-weight: 800; }
.app-copy > p { color: var(--muted); margin-top: 12px; max-width: 520px; }
.app-points { margin-top: 26px; }
.app-point { display: flex; gap: 14px; padding: 10px 0; align-items: flex-start; }
.point-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.app-point h3 { font-size: 15px; font-weight: 700; }
.app-point p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.app-visual { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 262px;
  height: 528px;
  background: #2d2436;
  border-radius: 42px;
  box-shadow: 0 24px 50px rgba(45, 36, 54, 0.28);
  animation: floatPhone 5s ease-in-out infinite;
}
@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 24px;
  background: #2d2436;
  border-radius: 14px;
  z-index: 3;
}
.phone-screen {
  position: absolute;
  top: 50px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.footer-brand .logo { font-size: 19px; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: var(--muted); max-width: 300px; }
.footer-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 20px;
}

/* ---------- 内页横幅 ---------- */
.page-banner {
  background: linear-gradient(135deg, #d946ef 0%, #a855f7 55%, #ec4899 100%);
  color: #fff;
  text-align: center;
  padding: 64px 0 58px;
  border-radius: 0 0 42px 42px;
}
.page-banner h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }
.page-banner p { margin-top: 12px; opacity: 0.93; max-width: 620px; margin-left: auto; margin-right: auto; font-size: 15px; }

/* ---------- 精选页筛选栏 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}
.filter-btn {
  border: 1.5px solid #e9d5f0;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.filter-btn:hover { color: var(--primary); border-color: var(--primary); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(217, 70, 239, 0.35);
}

/* ---------- 关于我们页 ---------- */
.about-block { padding: 64px 0; }
.about-lead {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
  line-height: 2;
}
.about-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 46px;
  margin-top: 36px;
}
.about-stat { text-align: center; }
.about-stat .num { display: block; font-size: 30px; font-weight: 800; color: var(--primary); }
.about-stat .label { font-size: 13px; color: var(--muted); }
.timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--primary), var(--primary-deep));
  border-radius: 2px;
}
.timeline-item { position: relative; padding: 0 0 26px 14px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--primary);
}
.timeline-item h3 { font-size: 17px; font-weight: 700; }
.timeline-item .tl-year { font-size: 13px; color: var(--primary); font-weight: 700; }
.timeline-item p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px;
}
@media (min-width: 768px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  text-align: center;
}
.value-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  background: var(--primary-soft);
  border-radius: 16px;
}
.value-card h3 { font-size: 16px; font-weight: 700; }
.value-card p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.about-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  border-radius: 26px;
  padding: 46px 24px;
  box-shadow: 0 14px 34px rgba(217, 70, 239, 0.35);
}
.about-cta h2 { font-size: 25px; font-weight: 800; }
.about-cta p { margin: 10px auto 22px; max-width: 560px; font-size: 14px; opacity: 0.93; }
.about-cta .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 8px 18px rgba(88, 28, 135, 0.25); }

/* ---------- 移动端导航 ---------- */
@media (max-width: 920px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 4px;
    padding: 14px 20px 20px;
    box-shadow: 0 18px 30px rgba(45, 36, 54, 0.12);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 4px; border-bottom: 1px dashed var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn-ghost { display: none; }
}
