/* 糖心vlog · 样式表（主题：学习 · 主色 #84cc16 · 深色背景） */
:root {
  --accent: #84cc16;
  --accent-2: #a3e635;
  --accent-dark: #65a30d;
  --bg: #0e130a;
  --bg-soft: #12180c;
  --card: #171e10;
  --card-hover: #1d2514;
  --border: rgba(132, 204, 22, 0.16);
  --text: #f1f5e8;
  --muted: #a9b39a;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
* { 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: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部导航 ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 19, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; }
.logo-emoji { font-size: 26px; line-height: 1; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 14px; padding: 6px 2px; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-2); }
.nav-auth { display: flex; gap: 10px; }
.btn-ghost {
  background: transparent; border: 1px solid var(--border); color: var(--text);
  border-radius: 999px; padding: 8px 20px; font-size: 14px; cursor: pointer; transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); }
.btn-solid {
  display: inline-block; background: var(--accent); color: #0e130a; font-weight: 700;
  border-radius: 999px; padding: 8px 20px; font-size: 14px; border: 0; cursor: pointer; transition: filter 0.2s;
}
.btn-solid:hover { filter: brightness(1.12); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--border); color: var(--text); font-size: 18px; border-radius: 10px; padding: 6px 12px; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-auth { display: none; }
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: 4px; background: #12180c;
    padding: 16px 24px; border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; text-align: center; padding: 96px 0 88px;
  background: linear-gradient(140deg, rgba(132, 204, 22, 0.28), rgba(14, 19, 10, 0.4) 45%, rgba(14, 19, 10, 0) 100%);
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 { font-size: 44px; letter-spacing: 1px; margin-bottom: 16px; }
.hero h1 .hl { color: var(--accent-2); }
.hero-sub { color: var(--muted); max-width: 640px; margin: 0 auto 34px; font-size: 16px; }
.search-box {
  display: flex; max-width: 600px; margin: 0 auto 44px;
  background: var(--card); border: 1px solid var(--border); border-radius: 999px; overflow: hidden;
}
.search-box input { flex: 1; background: transparent; border: 0; outline: 0; color: var(--text); padding: 14px 22px; font-size: 15px; }
.search-box input::placeholder { color: var(--muted); }
.search-box button { background: var(--accent); border: 0; padding: 0 26px; font-size: 18px; cursor: pointer; }
.search-box button:hover { background: var(--accent-2); }
.hero-stats { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 30px; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.hero-stat span { color: var(--muted); font-size: 14px; }
.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-particles span {
  position: absolute; bottom: -20px; border-radius: 50%;
  background: var(--accent); opacity: 0.45; animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.5; }
  100% { transform: translateY(-110vh); opacity: 0; }
}
@media (max-width: 640px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 24px; }
  .hero-stat strong { font-size: 24px; }
}

/* ===== 通用区块 ===== */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head h2 { font-size: 30px; margin-bottom: 10px; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--accent); margin: 14px auto 0; }
.section-head p { color: var(--muted); }
@media (max-width: 640px) { .section { padding: 52px 0; } .section-head h2 { font-size: 24px; } }

/* ===== 视频卡片 ===== */
.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); } }
.video-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: var(--card-hover); }
.video-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.video-card:hover .video-cover img { transform: scale(1.05); }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(132, 204, 22, 0.92); color: #0e130a;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; padding-left: 4px; opacity: 0.85; transition: all 0.25s;
}
.video-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
.duration {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(10, 13, 7, 0.82); color: #eaf2d8;
  font-size: 12px; padding: 3px 8px; border-radius: 6px; font-variant-numeric: tabular-nums;
}
.video-body { padding: 14px 16px 16px; }
.video-title { font-size: 15px; line-height: 1.45; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-title a:hover { color: var(--accent-2); }
.video-desc { color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.video-meta { display: flex; align-items: center; gap: 8px; }
.meta-avatar { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.meta-name { font-size: 13px; color: var(--text); }
.meta-nums { margin-left: auto; 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: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 14px; text-align: center; transition: transform 0.25s, border-color 0.25s;
}
.creator-card:hover { transform: translateY(-4px); border-color: rgba(132, 204, 22, 0.4); }
.creator-avatar { position: relative; width: 76px; height: 76px; margin: 0 auto 14px; }
.creator-avatar img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--accent); }
.star-badge {
  position: absolute; right: -4px; bottom: 2px;
  background: #1b2313; border: 1px solid var(--border);
  border-radius: 50%; width: 26px; height: 26px; line-height: 24px; font-size: 13px; text-align: center;
}
.creator-card h3 { font-size: 16px; margin-bottom: 6px; }
.creator-card p { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.fans {
  display: inline-block; background: rgba(132, 204, 22, 0.12); color: var(--accent-2);
  border: 1px solid var(--border); padding: 3px 12px; border-radius: 999px; font-size: 12px;
}

/* ===== 平台特色 ===== */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 22px; text-align: center; transition: transform 0.25s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 38px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 13px; }

/* ===== 数据统计 ===== */
.stats {
  background: linear-gradient(135deg, rgba(132, 204, 22, 0.16), rgba(14, 19, 10, 0.2));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; text-align: center; }
@media (min-width: 768px) { .stats-inner { grid-template-columns: repeat(4, 1fr); } }
.stat-item strong { display: block; font-size: 34px; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.stat-item span { color: var(--muted); font-size: 13px; }
@media (max-width: 640px) { .stat-item strong { font-size: 26px; } }

/* ===== 用户评价 ===== */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 1024px) { .review-grid { grid-template-columns: repeat(4, 1fr); } }
.review-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: transform 0.25s;
}
.review-card:hover { transform: translateY(-4px); }
.review-head { display: flex; align-items: center; gap: 10px; }
.review-head img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.r-name { font-size: 14px; font-weight: 600; }
.stars { color: #fbbf24; font-size: 13px; letter-spacing: 2px; }
.review-text { color: var(--muted); font-size: 13px; flex: 1; }

/* ===== 成功故事 ===== */
.story-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 768px) { .story-grid { grid-template-columns: repeat(3, 1fr); } }
.story-card {
  background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 26px 22px; transition: transform 0.25s;
}
.story-card:hover { transform: translateY(-4px); }
.story-icon { font-size: 26px; margin-bottom: 10px; }
.story-card h3 { font-size: 17px; margin-bottom: 10px; }
.story-card p { color: var(--muted); font-size: 13px; }

/* ===== APP 展示 ===== */
.app-inner { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.app-copy { flex: 1; min-width: 300px; }
.app-copy h2 { font-size: 30px; margin-bottom: 12px; }
.app-desc { color: var(--muted); margin-bottom: 26px; }
.app-points li { display: flex; gap: 14px; margin-bottom: 20px; }
.point-icon {
  font-size: 24px; width: 48px; height: 48px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(132, 204, 22, 0.12); border: 1px solid var(--border); border-radius: 14px;
}
.app-points h3 { font-size: 15px; margin-bottom: 2px; }
.app-points p { color: var(--muted); font-size: 13px; }
.phone {
  margin: 0 auto; width: 270px; height: 550px;
  background: #0a0e06; border: 6px solid #232d15; border-radius: 42px;
  position: relative; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 20px; background: #232d15; border-radius: 0 0 12px 12px; z-index: 3;
}
.phone-screen { position: absolute; inset: 6px; border-radius: 36px; overflow: hidden; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .phone { width: 220px; height: 450px; } }

/* ===== 页脚 ===== */
.footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--muted); font-size: 13px; margin-top: 12px; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 15px; margin-bottom: 14px; color: var(--text); }
.footer-col a { display: block; color: var(--muted); font-size: 13px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; text-align: center; color: var(--muted); font-size: 13px; }

/* ===== 内页 ===== */
.page-hero {
  position: relative; overflow: hidden; text-align: center; padding: 72px 0 56px;
  background: linear-gradient(140deg, rgba(132, 204, 22, 0.22), rgba(14, 19, 10, 0));
}
.page-hero h1 { font-size: 36px; margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 30px 0 40px; }
.filter-btn {
  background: var(--card); color: var(--muted); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 20px; font-size: 14px; cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover { color: var(--text); border-color: rgba(132, 204, 22, 0.5); }
.filter-btn.active { background: var(--accent); color: #0e130a; border-color: var(--accent); }
.about-copy p { color: var(--muted); max-width: 820px; margin: 0 auto 16px; text-align: justify; }
.cta-band {
  text-align: center;
  background: linear-gradient(135deg, rgba(132, 204, 22, 0.18), rgba(14, 19, 10, 0.2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 44px 24px;
}
.cta-band h3 { font-size: 24px; margin-bottom: 10px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 20px; }
.cta-band .btn-solid { padding: 11px 30px; font-size: 15px; }
