/* ============================================================
   糖心vlog —— 复古怀旧主题样式
   主色 #ec4899 · 浅色暖纸背景 · 大圆角 · 微阴影
   ============================================================ */

:root {
  --brand: #ec4899;
  --brand-deep: #be2a73;
  --brand-soft: #fce7f3;
  --ink: #2e2621;
  --ink-soft: #6f635a;
  --bg: #faf5ee;
  --card: #ffffff;
  --line: #efe4d6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(110, 72, 40, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", "Songti SC", "STSong", "SimSun", serif; font-weight: 700; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ 顶部导航 ============ */
.topnav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topnav-inner { display: flex; align-items: center; height: 66px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; }
.logo .emoji { font-size: 26px; }
.nav-links { display: flex; gap: 20px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-btns { display: flex; gap: 10px; }
.btn { border: 0; cursor: pointer; border-radius: 999px; padding: 8px 20px; font-size: 14px; transition: .2s; }
.btn-outline { background: transparent; border: 1px solid var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-deep); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .nav-btns { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 8px 20px;
    box-shadow: 0 16px 30px rgba(46, 38, 33, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px dashed var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
}

/* ============ Hero 区 ============ */
.hero {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, #db2777 0%, #ec4899 45%, #f9a8d4 100%);
  color: #fff; padding: 88px 20px 70px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.18), transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(190, 42, 115, 0.35), transparent 45%);
}
.hero .container { position: relative; z-index: 2; }
.particles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.particle { position: absolute; bottom: -24px; background: rgba(255, 255, 255, 0.55); border-radius: 50%; animation: floatUp linear infinite; }
@keyframes floatUp { to { transform: translateY(-115vh); opacity: 0; } }
.kicker {
  display: inline-block; background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px;
  padding: 5px 16px; font-size: 13px; letter-spacing: 1px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 5vw, 52px); letter-spacing: 3px; }
.hero .sub { max-width: 660px; margin: 16px auto 0; font-size: 16px; color: #ffe4f1; }
.searchbox {
  display: flex; align-items: center; max-width: 560px; margin: 32px auto 0;
  background: #fff; border-radius: 999px; padding: 6px 6px 6px 22px;
  box-shadow: 0 18px 44px rgba(190, 42, 115, 0.35);
}
.searchbox input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--ink); min-width: 0; }
.searchbox button {
  width: 46px; height: 46px; border-radius: 50%; border: 0; flex: 0 0 auto;
  background: var(--brand); color: #fff; font-size: 18px; cursor: pointer;
}
.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 56px; margin-top: 38px; }
.hero-stats .num { font-size: 28px; font-weight: 800; font-family: Georgia, serif; }
.hero-stats .lbl { font-size: 13px; color: #ffe4f1; }

/* ============ 区块通用 ============ */
.section { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 38px; }
.section-tag { display: inline-block; background: var(--brand-soft); color: var(--brand-deep); border-radius: 999px; padding: 4px 14px; font-size: 13px; margin-bottom: 12px; }
.section-head h2 { font-size: 30px; letter-spacing: 1px; }
.section-head p { color: var(--ink-soft); margin-top: 10px; font-size: 15px; }

/* ============ 视频卡片 ============ */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 960px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }
.video-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(190, 42, 115, 0.16); }
.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-card:hover .thumb img { transform: scale(1.05); }
.play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(30, 20, 15, 0); transition: background .25s; }
.play span {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, 0.92);
  display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--brand);
  opacity: 0; transform: scale(0.8); transition: .25s;
}
.video-card:hover .play { background: rgba(30, 20, 15, 0.25); }
.video-card:hover .play span { opacity: 1; transform: scale(1); }
.dur {
  position: absolute; right: 10px; bottom: 8px; background: rgba(20, 14, 10, 0.78);
  color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 6px;
}
.video-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.video-title { font-weight: 700; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-desc { font-size: 13px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: 12px; color: var(--ink-soft); }
.video-meta img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.video-meta .name { color: var(--ink); font-weight: 600; }
.meta-right { margin-left: auto; display: flex; gap: 10px; white-space: nowrap; }

/* ============ 明星创作者 ============ */
.creator-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 760px) { .creator-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .creator-grid { grid-template-columns: repeat(6, 1fr); } }
.creator-card { background: var(--card); border-radius: var(--radius); padding: 24px 14px; text-align: center; box-shadow: var(--shadow); transition: transform .25s; }
.creator-card:hover { transform: translateY(-4px); }
.creator-ava { position: relative; width: 76px; height: 76px; margin: 0 auto; }
.creator-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand-soft); }
.star-badge {
  position: absolute; right: -2px; bottom: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; font-size: 12px;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.creator-card .cname { font-weight: 700; font-size: 15px; margin-top: 10px; }
.creator-card .ctag { font-size: 12px; color: var(--brand); margin-top: 2px; }
.creator-card .fans { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }

/* ============ 平台特色 ============ */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 960px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card { background: var(--card); border-radius: var(--radius); padding: 24px 18px; box-shadow: var(--shadow); transition: transform .25s; }
.feature-card:hover { transform: translateY(-4px); }
.feature-card .fico { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--ink-soft); }

/* ============ 数据统计区 ============ */
.stats-band { background: linear-gradient(135deg, #2e2621, #4a2f35); color: #fff; padding: 56px 0; text-align: center; }
.stats-band h2 { font-size: 26px; margin-bottom: 34px; letter-spacing: 1px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-item .snum { font-size: 34px; font-weight: 800; color: #f9a8d4; font-family: Georgia, serif; }
.stats-item .slbl { font-size: 13px; color: #c9b8a5; margin-top: 6px; }

/* ============ 用户评价 ============ */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stars { color: #f59e0b; font-size: 14px; letter-spacing: 3px; }
.testi-card .ttext { font-size: 14px; color: var(--ink); margin-top: 10px; }
.testi-head { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.testi-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testi-head .tname { font-weight: 700; font-size: 14px; }

/* ============ 成功故事 ============ */
.story-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .story-grid { grid-template-columns: repeat(3, 1fr); } }
.story-card { background: var(--card); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); border-top: 4px solid var(--brand); }
.story-card .sicon { font-size: 28px; margin-bottom: 10px; }
.story-card h3 { font-size: 17px; margin-bottom: 8px; }
.story-card p { font-size: 14px; color: var(--ink-soft); }

/* ============ APP 展示区 ============ */
.app-section { background: linear-gradient(135deg, #fce7f3, #fdf2f8); }
.app-wrap { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.app-left { flex: 1; min-width: 280px; }
.app-left h2 { font-size: 30px; letter-spacing: 1px; }
.app-left .sub { color: var(--ink-soft); margin-top: 10px; font-size: 15px; }
.app-points { margin-top: 26px; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .app-points { grid-template-columns: repeat(2, 1fr); } }
.app-point { display: flex; gap: 12px; align-items: flex-start; }
.app-point .pico { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 auto; box-shadow: var(--shadow); }
.app-point h4 { font-size: 15px; }
.app-point p { font-size: 13px; color: var(--ink-soft); }
.app-right { flex: 0 0 auto; margin: 0 auto; }
.phone {
  width: 270px; height: 560px; background: #171310; border-radius: 42px;
  padding: 12px; position: relative; box-shadow: 0 30px 60px rgba(190, 42, 115, 0.28);
}
.phone::before {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #171310; border-radius: 12px; z-index: 2;
}
.phone-screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

/* ============ 内页页头 ============ */
.page-hero { background: linear-gradient(135deg, #db2777, #ec4899 55%, #f472b6); color: #fff; text-align: center; padding: 56px 20px 50px; }
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); letter-spacing: 2px; }
.page-hero p { margin-top: 10px; color: #ffe4f1; font-size: 15px; }

/* ============ 精选页筛选 ============ */
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn {
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
  border-radius: 999px; padding: 8px 22px; font-size: 14px; cursor: pointer; transition: .2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ============ 关于页 ============ */
.about-story { max-width: 820px; margin: 0 auto; font-size: 16px; color: var(--ink-soft); text-align: center; }
.about-story p { margin-bottom: 16px; }
.value-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
@media (min-width: 900px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card { background: var(--card); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); }
.value-card .vico { font-size: 34px; margin-bottom: 10px; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--ink-soft); }
.timeline { max-width: 720px; margin: 36px auto 0; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--brand-soft); }
.tl-item { position: relative; margin-bottom: 24px; background: var(--card); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); }
.tl-item::before { content: ""; position: absolute; left: -26px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--brand-soft); }
.tl-item .year { color: var(--brand); font-weight: 800; font-size: 14px; }
.tl-item h3 { font-size: 16px; margin: 4px 0; }
.tl-item p { font-size: 14px; color: var(--ink-soft); }
.contact-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 640px; margin: 0 auto; padding: 30px 28px; text-align: center; }
.contact-card p { color: var(--ink-soft); margin: 6px 0; }

/* ============ 页脚 ============ */
.footer { background: #2e2621; color: #e8dccf; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer .fintro { font-size: 14px; color: #c9b8a5; margin-top: 12px; max-width: 340px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer a { color: #c9b8a5; font-size: 14px; display: block; margin-bottom: 8px; transition: color .2s; }
.footer a:hover { color: #f9a8d4; }
.copyright { text-align: center; border-top: 1px solid #4a3a30; margin-top: 32px; padding-top: 20px; font-size: 13px; color: #a89480; }
