/* 糖心vlog · 陶艺主题 · 主色 #f97316 · 浅色背景 */
:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-soft: #fb923c;
  --primary-bg: #fff1e6;
  --bg: #fdf9f4;
  --bg-alt: #fff7ee;
  --card: #ffffff;
  --text: #33291f;
  --muted: #8f8376;
  --line: #f0e4d7;
  --radius: 18px;
  --shadow: 0 10px 26px rgba(249, 115, 22, .10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
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;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 顶部导航 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; white-space: nowrap; }
.logo-emoji { font-size: 26px; }
.logo-name {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-soft));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.main-nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.main-nav a { padding: 8px 12px; border-radius: 999px; font-size: 15px; color: var(--muted); transition: .2s; }
.main-nav a:hover { color: var(--primary); background: var(--primary-bg); }
.main-nav a.active { color: var(--primary); background: var(--primary-bg); font-weight: 700; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn { border: none; cursor: pointer; border-radius: 999px; padding: 9px 20px; font-size: 14px; font-family: inherit; transition: .2s; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #fff; font-weight: 700;
  box-shadow: 0 6px 16px rgba(249, 115, 22, .35);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.nav-toggle {
  display: none; font-size: 20px; background: var(--primary-bg);
  border: none; border-radius: 10px; padding: 6px 12px; color: var(--primary); cursor: pointer;
}

/* Hero */
.hero {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 45%, #fb923c 100%);
  padding: 88px 0 96px;
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-particle {
  position: absolute; bottom: -10px; border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: .9; }
  90% { opacity: .7; }
  100% { transform: translateY(-560px) scale(1.25); opacity: 0; }
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 { font-size: 44px; font-weight: 900; letter-spacing: 2px; margin-bottom: 16px; text-shadow: 0 4px 18px rgba(0, 0, 0, .18); }
.hero-sub { font-size: 17px; max-width: 680px; margin: 0 auto 34px; color: rgba(255, 255, 255, .92); }
.search-box {
  display: flex; max-width: 560px; margin: 0 auto 40px;
  background: #fff; border-radius: 999px; padding: 7px 7px 7px 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}
.search-box input { flex: 1; border: none; outline: none; font-size: 15px; color: var(--text); background: transparent; }
.search-box button {
  width: 46px; height: 46px; border: none; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #fff; font-size: 18px; cursor: pointer;
}
.hero-stats { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 30px; font-weight: 800; }
.hero-stats .stat span { font-size: 14px; color: rgba(255, 255, 255, .85); }

/* 通用 section */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; gap: 12px; flex-wrap: wrap; }
.section-head h2 { font-size: 28px; font-weight: 800; position: relative; padding-left: 14px; }
.section-head h2::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 6px; border-radius: 3px;
  background: linear-gradient(180deg, var(--primary), var(--primary-soft));
}
.section-head a { color: var(--primary); font-size: 14px; font-weight: 700; }
.section-head a:hover { text-decoration: underline; }

/* 视频卡片 */
.video-grid { display: 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: .25s;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(249, 115, 22, .18); }
.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--primary-bg); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.video-card:hover .thumb img { transform: scale(1.06); }
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, .92); color: var(--primary); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: .2s;
}
.play-btn:hover { background: var(--primary); color: #fff; transform: translate(-50%, -50%) scale(1.12); }
.duration {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(20, 14, 8, .78); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 8px;
}
.v-body { padding: 14px 16px 16px; }
.v-title {
  font-size: 15px; font-weight: 700; line-height: 1.45; height: 2.9em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.v-desc {
  font-size: 13px; color: var(--muted); margin: 6px 0 12px; height: 2.6em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.v-creator { display: flex; align-items: center; gap: 10px; }
.v-creator img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-bg); }
.v-meta { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.v-name { font-size: 13px; font-weight: 700; }
.v-stats { font-size: 12px; color: var(--muted); }

/* 明星创作者 */
.creator-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 22px; }
.creator-card {
  background: var(--card); border-radius: var(--radius); padding: 26px 18px;
  text-align: center; box-shadow: var(--shadow); transition: .25s;
}
.creator-card:hover { transform: translateY(-6px); }
.c-avatar { position: relative; width: 84px; margin: 0 auto 12px; }
.c-avatar img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary-bg); }
.c-avatar .badge { position: absolute; right: -4px; top: 4px; font-size: 20px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }
.creator-card h4 { font-size: 16px; margin-bottom: 4px; }
.creator-card p { font-size: 13px; color: var(--muted); }

/* 平台特色 */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card { background: var(--card); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); transition: .25s; }
.feature-card:hover { transform: translateY(-6px); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 0 8px 18px rgba(249, 115, 22, .3);
}
.feature-card h4 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--muted); }

/* 数据统计 */
.stats-band { background: linear-gradient(135deg, #c2410c, #f97316); color: #fff; padding: 54px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item strong { display: block; font-size: 40px; font-weight: 900; letter-spacing: 1px; }
.stat-item span { font-size: 14px; color: rgba(255, 255, 255, .85); }

/* 用户评价 */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testimonial-card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.t-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.t-head img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.t-head h4 { font-size: 15px; }
.stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 14px; color: var(--muted); }

/* 成功故事 */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story-card {
  background: var(--card); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow); border-top: 4px solid var(--primary); transition: .25s;
}
.story-card:hover { transform: translateY(-6px); }
.story-emoji { font-size: 26px; margin-bottom: 10px; }
.story-card h4 { font-size: 17px; margin-bottom: 10px; line-height: 1.5; }
.story-card p { font-size: 13.5px; color: var(--muted); }

/* APP 展示区 */
.app-section { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.app-inner { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; }
.app-text { flex: 1; min-width: 300px; }
.app-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.app-text > p { color: var(--muted); margin-bottom: 26px; max-width: 480px; }
.app-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 30px; }
.app-feat { display: flex; gap: 12px; align-items: flex-start; }
.app-feat > span {
  font-size: 24px; background: var(--primary-bg); border-radius: 12px;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.app-feat h4 { font-size: 15px; margin-bottom: 3px; }
.app-feat p { font-size: 12.5px; color: var(--muted); }
.app-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.phone { width: 250px; flex-shrink: 0; margin: 0 auto; }
.phone-frame {
  position: relative; background: #241b12; border-radius: 40px; padding: 12px;
  box-shadow: 0 30px 60px rgba(51, 41, 31, .28);
}
.phone-notch {
  position: absolute; left: 50%; transform: translateX(-50%); top: 12px;
  width: 110px; height: 22px; background: #241b12; border-radius: 0 0 14px 14px; z-index: 3;
}
.phone-screen { border-radius: 30px; overflow: hidden; height: 480px; background: #fff; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

/* 页脚 */
.footer { background: #2b2118; color: #d8cfc4; }
.footer-inner { display: flex; gap: 56px; padding: 56px 20px 40px; flex-wrap: wrap; }
.footer-brand { flex: 1.4; min-width: 260px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; color: #a99f92; max-width: 340px; line-height: 1.8; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: #a99f92; margin-bottom: 10px; transition: .2s; }
.footer-col a:hover { color: var(--primary-soft); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); text-align: center; padding: 18px 20px; font-size: 13px; color: #a99f92; }

/* 内页 banner */
.page-hero {
  background: linear-gradient(135deg, #ea580c, #fb923c);
  color: #fff; text-align: center; padding: 64px 20px 60px;
}
.page-hero h1 { font-size: 34px; font-weight: 900; margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, .9); font-size: 15px; max-width: 640px; margin: 0 auto; }

/* 筛选栏 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-btn {
  border: 1.5px solid var(--line); background: var(--card); color: var(--muted);
  border-radius: 999px; padding: 8px 20px; font-size: 14px; cursor: pointer;
  font-family: inherit; transition: .2s;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #fff; border-color: transparent; font-weight: 700;
}

/* 关于页 */
.about-card { background: var(--card); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.about-grid strong { display: block; font-size: 32px; font-weight: 900; color: var(--primary); margin-bottom: 6px; }
.about-grid span { font-size: 14px; color: var(--muted); }
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.about-text p { font-size: 15px; color: var(--muted); line-height: 2; margin-bottom: 14px; }
.about-contact { font-size: 14.5px; color: var(--muted); line-height: 2.1; }
.about-contact strong { color: var(--text); }

/* 响应式 */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff;
    flex-direction: column; padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0, 0, 0, .08);
  }
  .main-nav.open { display: flex; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero { padding: 60px 0 64px; }
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 26px; }
  .hero-stats .stat strong { font-size: 24px; }
  .app-features { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
