/* 糖心vlog · 第39套样式（主色 #f59e0b · 浅色背景） */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #f59e0b;
  --primary-deep: #d97706;
  --primary-soft: #fef3c7;
  --bg: #fdfaf3;
  --card: #ffffff;
  --text: #3d2f1f;
  --muted: #8a7a63;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(180, 120, 20, .10);
}
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }

/* ===== 导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 158, 11, .15);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; color: var(--primary-deep); }
.logo-ico {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--primary), #fb923c);
  display: flex; align-items: center; justify-content: center; font-size: 21px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, .4);
}
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-size: 14px; transition: .2s; }
.nav-links a:hover, .nav-links a.active { background: var(--primary-soft); color: var(--primary-deep); font-weight: 600; }
.nav-actions { display: flex; gap: 10px; }
.btn { border: none; cursor: pointer; font-size: 14px; padding: 9px 20px; border-radius: 12px; font-weight: 600; transition: .2s; }
.btn-ghost { background: transparent; border: 1.5px solid var(--primary); color: var(--primary-deep); }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #fb923c); color: #fff;
  box-shadow: 0 6px 16px rgba(245, 158, 11, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(245, 158, 11, .45); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--primary-deep); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 45%, #fb923c 100%);
  border-radius: 0 0 42px 42px; padding: 92px 20px 72px;
}
.particles { position: absolute; inset: 0; pointer-events: none; }
.particle { position: absolute; bottom: -16px; border-radius: 50%; background: rgba(255, 255, 255, .65); animation: rise linear infinite; }
@keyframes rise { to { transform: translateY(-115%); opacity: 0; } }
.hero h1 { position: relative; font-size: clamp(28px, 5vw, 52px); font-weight: 800; letter-spacing: 1px; text-shadow: 0 4px 18px rgba(150, 80, 0, .25); }
.hero .sub { position: relative; margin: 18px auto 0; max-width: 660px; font-size: 16px; opacity: .95; }
.search-box {
  position: relative; margin: 34px auto 0; max-width: 560px; display: flex;
  background: #fff; border-radius: 999px; padding: 6px 6px 6px 22px;
  box-shadow: 0 14px 34px rgba(150, 80, 0, .25);
}
.search-box input { flex: 1; min-width: 0; border: none; outline: none; font-size: 15px; color: var(--text); background: transparent; }
.search-box button { border: none; cursor: pointer; width: 46px; height: 46px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #fb923c); color: #fff; font-size: 18px; }
.hero-stats { position: relative; margin-top: 42px; display: flex; justify-content: center; gap: clamp(28px, 7vw, 90px); flex-wrap: wrap; }
.hero-stats b { display: block; font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; }
.hero-stats span { font-size: 13px; opacity: .88; }

/* ===== 通用 section ===== */
.section { padding: 74px 0 6px; }
.sec-head { text-align: center; margin-bottom: 38px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; display: inline-block; position: relative; }
.sec-head h2::before {
  content: ""; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%);
  width: 46px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--primary), #fb923c);
}
.sec-head p { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* ===== 视频卡片 ===== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }
.video-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .25s; }
.video-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(180, 120, 20, .16); }
.cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.video-card:hover .cover img { transform: scale(1.06); }
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--primary-deep);
  display: flex; align-items: center; justify-content: center; font-size: 19px; padding-left: 3px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25); opacity: 0; transform: scale(.8); transition: .25s;
}
.video-card:hover .play-btn { opacity: 1; transform: scale(1); }
.duration { position: absolute; right: 10px; bottom: 10px; background: rgba(20, 14, 4, .72); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 7px; }
.card-body { padding: 14px 16px 16px; }
.v-title { font-size: 15px; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 45px; }
.v-desc { margin-top: 6px; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v-creator { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.v-avatar { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--primary-soft); }
.v-name { font-weight: 700; max-width: 38%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-meta { margin-left: auto; color: var(--muted); }

/* ===== 创作者 ===== */
.creator-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 22px; }
.creator-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 18px; text-align: center; transition: .25s; }
.creator-card:hover { transform: translateY(-5px); }
.creator-ava { position: relative; width: 78px; margin: 0 auto; }
.creator-ava img { width: 78px; height: 78px; border-radius: 50%; border: 3px solid var(--primary); }
.star-badge {
  position: absolute; right: -2px; bottom: 2px; width: 26px; height: 26px; background: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .15); font-size: 14px;
}
.creator-card h3 { margin-top: 14px; font-size: 16px; }
.creator-card p { margin-top: 6px; font-size: 12.5px; color: var(--muted); min-height: 38px; }
.creator-card .fans { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--primary-deep); background: var(--primary-soft); padding: 4px 12px; border-radius: 999px; font-weight: 700; }

/* ===== 平台特色 ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 22px; transition: .25s; }
.feature:hover { transform: translateY(-5px); }
.feature .f-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.feature h3 { margin-top: 14px; font-size: 15.5px; }
.feature p { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ===== 数据统计 ===== */
.stats-band {
  margin-top: 74px; background: linear-gradient(135deg, #f59e0b, #fb923c); border-radius: 26px;
  padding: 52px 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  text-align: center; color: #fff; box-shadow: 0 18px 40px rgba(245, 158, 11, .35);
}
.stats-band b { display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.stats-band span { font-size: 14px; opacity: .92; }

/* ===== 用户评价 ===== */
.t-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.t-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.t-stars { color: var(--primary); letter-spacing: 2px; font-size: 15px; }
.t-text { margin-top: 10px; font-size: 14px; }
.t-user { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; }
.t-user img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--primary-soft); }

/* ===== 成功故事 ===== */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story-card { position: relative; overflow: hidden; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.story-no { position: absolute; right: 14px; top: 2px; font-size: 64px; font-weight: 800; color: var(--primary-soft); line-height: 1; }
.story-card h3 { position: relative; font-size: 16.5px; line-height: 1.5; padding-right: 44px; }
.story-card p { position: relative; margin-top: 12px; font-size: 13.5px; color: var(--muted); }

/* ===== APP 展示 ===== */
.app-band { background: var(--primary-soft); border-radius: 30px; padding: 60px 40px; margin-top: 74px; }
.app-wrap { display: flex; align-items: center; gap: 50px; }
.app-left { flex: 1.2; }
.app-left h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.app-left > p { margin-top: 14px; color: var(--muted); font-size: 14.5px; }
.app-feats { margin-top: 26px; display: grid; gap: 18px; }
.app-feat { display: flex; gap: 14px; align-items: flex-start; }
.app-feat .af-ico { width: 46px; height: 46px; flex: none; border-radius: 14px; background: #fff; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.app-feat h4 { font-size: 15px; }
.app-feat p { font-size: 13px; color: var(--muted); margin-top: 3px; }
.app-btns { margin-top: 28px; display: flex; gap: 12px; }
.app-right { flex: 1; display: flex; justify-content: center; }
.phone {
  position: relative; width: 280px; height: 570px; background: #241a0c; border-radius: 46px;
  padding: 12px; box-shadow: 0 30px 60px rgba(150, 80, 0, .35);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 24px; background: #241a0c; border-radius: 0 0 16px 16px; z-index: 2; }

/* ===== 页脚 ===== */
.footer { margin-top: 84px; background: #2b2113; color: #e8dcc8; border-radius: 36px 36px 0 0; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand .logo { color: #fbbf24; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; opacity: .8; max-width: 300px; }
.footer-col h4 { color: #fbbf24; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13.5px; opacity: .8; padding: 5px 0; }
.footer-col a:hover { opacity: 1; color: #fbbf24; }
.footer-bottom { margin-top: 44px; border-top: 1px solid rgba(232, 220, 200, .15); padding: 20px 0 26px; text-align: center; font-size: 13px; opacity: .75; }

/* ===== 内页头部 ===== */
.page-head { background: linear-gradient(135deg, #f59e0b, #fb923c); color: #fff; border-radius: 0 0 34px 34px; text-align: center; padding: 64px 20px 54px; }
.page-head h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; }
.page-head p { margin: 12px auto 0; font-size: 15px; opacity: .95; max-width: 620px; }

/* 筛选条 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.filter-bar button { border: 1.5px solid var(--primary); background: #fff; color: var(--primary-deep); border-radius: 999px; padding: 8px 20px; font-size: 13.5px; cursor: pointer; font-weight: 600; transition: .2s; }
.filter-bar button.active, .filter-bar button:hover { background: linear-gradient(135deg, var(--primary), #fb923c); color: #fff; }
.video-count { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 24px; }

/* ===== 关于页 ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-grid h2 { font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.about-grid p { font-size: 14.5px; color: var(--muted); margin-top: 10px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px; text-align: center; }
.value-card .v-ico { width: 56px; height: 56px; margin: 0 auto; border-radius: 16px; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.value-card h3 { margin-top: 16px; font-size: 16.5px; }
.value-card p { margin-top: 8px; font-size: 13px; color: var(--muted); }
.fact-band { margin-top: 74px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.fact-band b { display: block; font-size: 30px; font-weight: 800; color: var(--primary-deep); }
.fact-band span { font-size: 13.5px; color: var(--muted); }
.contact-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 30px; text-align: center; max-width: 720px; margin: 0 auto; }
.contact-card h3 { font-size: 20px; margin-bottom: 12px; }
.contact-card p { font-size: 14px; color: var(--muted); }
.contact-card .mail { display: inline-block; margin-top: 14px; background: var(--primary-soft); color: var(--primary-deep); font-weight: 700; padding: 8px 22px; border-radius: 999px; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 14px 20px 20px; gap: 4px; display: none; box-shadow: 0 16px 30px rgba(0, 0, 0, .08); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .app-wrap { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .creator-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .t-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .fact-band { grid-template-columns: 1fr; }
  .card-body { padding: 10px 12px 12px; }
  .v-title { font-size: 13px; }
  .nav-actions .btn-ghost { display: none; }
  .section { padding-top: 54px; }
}
