/* 糖心vlog 样式：烘焙主题 · 主色 #ff6fae · 深色背景 */
:root {
  --primary: #ff6fae;
  --primary-light: #ffa3cc;
  --primary-dark: #e04f8f;
  --accent: #ffb84d;
  --bg: #171019;
  --bg-soft: #1e1524;
  --card: #251a2e;
  --card-hover: #2c1f37;
  --line: #3a2a46;
  --text: #f7eef4;
  --muted: #b9a7b8;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 111, 174, 0.4);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(255, 111, 174, 0.55); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-light); }
.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary-light);
}
.btn-outline:hover { background: rgba(255, 111, 174, 0.12); }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 16, 25, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; }
.logo-emoji { font-size: 26px; filter: drop-shadow(0 0 8px rgba(255, 111, 174, 0.6)); }
.logo-text {
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 111, 174, 0.12); }
.main-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.nav-actions { display: flex; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 18% -10%, rgba(255, 111, 174, 0.35), transparent 60%),
    radial-gradient(900px 420px at 85% 10%, rgba(255, 184, 77, 0.22), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  padding: 90px 20px 80px;
  text-align: center;
}
.particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  bottom: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 163, 204, 0.95), rgba(255, 111, 174, 0));
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.9; }
  88% { opacity: 0.55; }
  100% { transform: translateY(-110vh); opacity: 0; }
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 111, 174, 0.16);
  border: 1px solid rgba(255, 111, 174, 0.45);
  color: var(--primary-light);
  font-size: 13.5px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.25;
  background: linear-gradient(120deg, #ffa3cc, #ff6fae 45%, #ffb84d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { margin-top: 14px; color: var(--muted); font-size: 16px; }
.search-box {
  display: flex;
  max-width: 560px;
  margin: 28px auto 0;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 15px 22px;
  font-size: 15px;
  color: #3a2130;
  background: transparent;
}
.search-btn {
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 0 26px;
  font-size: 17px;
  cursor: pointer;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 30px; font-weight: 800; color: var(--primary-light); }
.hero-stat .label { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- 通用区块 ---------- */
.section { padding: 66px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(120deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.section-more { text-align: center; margin-top: 34px; }

/* ---------- 视频卡片 ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.video-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 111, 174, 0.5);
  box-shadow: 0 18px 44px rgba(255, 111, 174, 0.18);
}
.cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.video-card:hover .cover img { transform: scale(1.06); }
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 111, 174, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  padding-left: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.25s;
}
.video-card:hover .play-btn { opacity: 1; }
.dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(10, 6, 12, 0.78);
  padding: 2px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.video-body { padding: 14px 16px 16px; }
.video-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-desc {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.meta-avatar { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--primary); }
.meta-name {
  color: var(--text);
  font-weight: 600;
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.meta-views { margin-left: auto; }
.meta-likes { color: var(--primary-light); }

/* ---------- 创作者 ---------- */
.creator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.creator-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}
.creator-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 111, 174, 0.5);
}
.creator-avatar { position: relative; width: 84px; height: 84px; margin: 0 auto 12px; }
.creator-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: 0 0 18px rgba(255, 111, 174, 0.4);
}
.star-badge {
  position: absolute;
  right: -2px;
  bottom: 2px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #ffd166, var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.creator-card h3 { font-size: 16.5px; margin-bottom: 4px; }
.creator-fans { font-size: 13px; color: var(--primary-light); font-weight: 600; margin-bottom: 8px; }
.creator-intro { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.creator-videos { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.follow-btn {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.follow-btn:hover { background: var(--primary); color: #fff; }

/* ---------- 平台特色 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  transition: transform 0.25s, border-color 0.25s;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 111, 174, 0.5);
}
.feature-icon { font-size: 32px; display: block; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--muted); }

/* ---------- 数据统计带 ---------- */
.stats-band {
  background: linear-gradient(135deg, rgba(255, 111, 174, 0.18), rgba(255, 184, 77, 0.12)), var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .num {
  display: block;
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(120deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-item .label { font-size: 13.5px; color: var(--muted); }

/* ---------- 用户评价 ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.t-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--primary); }
.t-name { font-weight: 700; font-size: 15px; }
.t-stars { margin-left: auto; color: var(--accent); letter-spacing: 2px; font-size: 14px; }
.t-stars .off { color: #5b4c61; }
.testimonial-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 成功故事 ---------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.story-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}
.story-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 111, 174, 0.5);
}
.story-emoji { font-size: 34px; display: block; margin-bottom: 12px; }
.story-card h3 { font-size: 17px; margin-bottom: 10px; color: var(--primary-light); }
.story-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- APP 区 ---------- */
.app-wrap {
  display: flex;
  align-items: center;
  gap: 60px;
}
.app-copy { flex: 1; }
.app-copy h2 {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(120deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.app-sub { margin-top: 10px; color: var(--muted); font-size: 15px; }
.app-points { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.app-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  transition: border-color 0.25s;
}
.app-point:hover { border-color: rgba(255, 111, 174, 0.5); }
.ap-icon { font-size: 26px; flex-shrink: 0; }
.app-point h4 { font-size: 15px; margin-bottom: 3px; }
.app-point p { font-size: 13px; color: var(--muted); }
.phone {
  flex-shrink: 0;
  width: 280px;
  height: 570px;
  border-radius: 46px;
  border: 10px solid #2c2136;
  background: #0e0a13;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 2px #3a2a46;
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #0e0a13;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  position: absolute;
  inset: 10px;
  border-radius: 36px;
  overflow: hidden;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 内页横幅 ---------- */
.page-banner {
  background:
    radial-gradient(900px 380px at 50% -20%, rgba(255, 111, 174, 0.35), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  padding: 64px 20px 44px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 {
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(120deg, #ffa3cc, #ff6fae 45%, #ffb84d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-banner p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- 筛选栏 ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.chip {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--primary); color: var(--text); }
.chip.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 111, 174, 0.4);
}

/* ---------- 关于页 ---------- */
.about-wrap { max-width: 880px; }
.about-intro h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 18px;
  background: linear-gradient(120deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-intro p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}
.about-value {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}
.about-icon { font-size: 32px; display: block; margin-bottom: 10px; }
.about-value h3 { font-size: 16px; margin-bottom: 8px; }
.about-value p { font-size: 13px; color: var(--muted); }
.about-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
  text-align: center;
}
.about-fact { padding: 20px 10px; }
.fact-num {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--primary-light);
}
.fact-label { font-size: 13px; color: var(--muted); }
.about-cta {
  margin-top: 46px;
  background: linear-gradient(135deg, rgba(255, 111, 174, 0.16), rgba(255, 184, 77, 0.1));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
}
.about-cta h2 {
  font-size: 23px;
  font-weight: 800;
  margin-bottom: 10px;
}
.about-cta p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer {
  background: #120c16;
  border-top: 1px solid var(--line);
  padding: 54px 0 26px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 330px; }
.footer-brand p { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 15px; margin-bottom: 12px; }
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .creator-grid { grid-template-columns: repeat(2, 1fr); }
  .app-wrap { flex-direction: column; text-align: left; }
  .app-points { width: 100%; }
}
@media (max-width: 820px) {
  .hero-title { font-size: 32px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 28px; }
  .stat-item .num { font-size: 30px; }
  .phone { width: 240px; height: 490px; }
}
@media (max-width: 480px) {
  .hero { padding: 60px 16px 56px; }
  .hero-title { font-size: 26px; }
  .section-head h2 { font-size: 23px; }
  .creator-grid { grid-template-columns: 1fr; }
  .video-grid { gap: 14px; }
}
