/* 糖心vlog · 样式（桌游主题 · 深色背景 · 主色 #84cc16） */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --accent: #84cc16;
  --accent-2: #a3e635;
  --accent-deep: #65a30d;
  --accent-soft: rgba(132, 204, 22, .14);
  --accent-glow: rgba(132, 204, 22, .35);
  --bg: #0d130e;
  --bg-2: #121a13;
  --card: #182119;
  --line: rgba(163, 230, 53, .16);
  --text: #ecf5e7;
  --muted: #9db19c;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

html { scroll-behavior: smooth; }

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

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

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

/* ---------- 1. 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 19, 14, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 22px; height: 64px; }
.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 800; color: var(--accent-2); white-space: nowrap;
}
.logo-emoji { font-size: 24px; filter: drop-shadow(0 0 8px rgba(132, 204, 22, .6)); }
.main-nav { display: flex; gap: 18px; flex: 1; justify-content: center; flex-wrap: wrap; }
.main-nav a {
  font-size: 14px; color: var(--muted); padding: 6px 4px;
  border-bottom: 2px solid transparent; transition: .2s;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--accent-2); border-bottom-color: var(--accent); }
.nav-actions { display: flex; gap: 10px; }
.btn {
  border: none; cursor: pointer; padding: 9px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; transition: .2s;
}
.btn-ghost { background: transparent; color: var(--accent-2); border: 1px solid var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #0d130e; box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--text);
  font-size: 18px; width: 38px; height: 38px; border-radius: 10px; cursor: pointer;
}

/* ---------- 2. Hero 区 ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(900px 420px at 12% 8%, rgba(132, 204, 22, .22), transparent 60%),
    radial-gradient(700px 380px at 88% 92%, rgba(163, 230, 53, .14), transparent 60%),
    linear-gradient(160deg, #284a08 0%, #15230c 45%, #0d130e 100%);
  padding: 88px 0 72px;
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.particle { position: absolute; border-radius: 50%; opacity: .8; animation: floatUp linear infinite; }
@keyframes floatUp {
  0% { transform: translateY(30px); opacity: 0; }
  12% { opacity: .9; }
  100% { transform: translateY(-170px); opacity: 0; }
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(28px, 4.5vw, 52px); font-weight: 900; line-height: 1.25; margin-bottom: 14px; }
.hero h1 .hl {
  background: linear-gradient(90deg, #a3e635, #84cc16);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 680px; margin: 0 auto 30px; color: #cfe3c2; font-size: 16px; }
.search-box {
  display: flex; max-width: 560px; margin: 0 auto 34px;
  background: rgba(13, 19, 14, .65); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 6px 6px 20px;
}
.search-box input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-size: 15px;
}
.search-box input::placeholder { color: #7f937c; }
.search-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #0d130e; border: none; width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer; font-size: 18px;
}
.hero-stats { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.hero-stat .num { display: block; font-size: 30px; font-weight: 900; color: var(--accent-2); }
.hero-stat .label { color: var(--muted); font-size: 13px; }

/* ---------- 通用 section ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.section-head h2 em { font-style: normal; color: var(--accent-2); }
.section-head p { color: var(--muted); }
.section-more-wrap { text-align: center; margin-top: 36px; }

/* ---------- 3. 精选视频卡片 ---------- */
.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: 0 6px 18px rgba(0, 0, 0, .3); transition: .25s;
}
.video-card:hover {
  transform: translateY(-6px); border-color: var(--accent);
  box-shadow: 0 14px 34px rgba(132, 204, 22, .18);
}
.card-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.video-card:hover .card-cover img { transform: scale(1.06); }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(13, 19, 14, .72); border: 2px solid var(--accent-2);
  color: var(--accent-2); display: flex; align-items: center; justify-content: center;
  font-size: 16px; padding-left: 3px;
}
.duration {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(13, 19, 14, .85); color: #d9f99d;
  font-size: 12px; padding: 2px 8px; border-radius: 8px;
}
.card-body { padding: 14px 16px 16px; }
.card-title {
  font-size: 15.5px; font-weight: 700; line-height: 1.45; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 45px;
}
.card-desc {
  font-size: 13px; color: var(--muted); margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 40px;
}
.card-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.meta-avatar { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--accent); flex: none; }
.meta-name { color: var(--text); font-weight: 600; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta-views, .meta-likes { white-space: nowrap; }

/* ---------- 4. 明星创作者 ---------- */
.creator-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.creator-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 14px; text-align: center; transition: .25s;
}
.creator-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.creator-avatar-wrap { position: relative; width: 76px; margin: 0 auto 12px; }
.creator-avatar { width: 76px; height: 76px; border-radius: 50%; border: 3px solid var(--accent); }
.creator-star {
  position: absolute; right: 0; bottom: 0; font-size: 20px;
  filter: drop-shadow(0 0 6px rgba(253, 224, 71, .8));
}
.creator-name { font-weight: 700; font-size: 15px; }
.creator-tag { font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.creator-fans {
  display: inline-block; font-size: 12px; font-weight: 700; color: #0d130e;
  background: linear-gradient(135deg, #a3e635, #84cc16);
  padding: 3px 12px; border-radius: 999px;
}

/* ---------- 5. 平台特色 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px; transition: .25s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 14px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 6. 数据统计区 ---------- */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: linear-gradient(135deg, rgba(132, 204, 22, .12), rgba(132, 204, 22, .03));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 24px; text-align: center;
}
.stat-item .num { display: block; font-size: 34px; font-weight: 900; color: var(--accent-2); }
.stat-item .label { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* ---------- 7. 用户评价 ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; }
.review-name { font-weight: 700; }
.review-stars { margin-left: auto; color: #facc15; font-size: 14px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: #c8d9c2; }

/* ---------- 8. 成功故事 ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; transition: .25s;
}
.story-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.story-tag {
  display: inline-block; font-size: 12px; color: var(--accent-2);
  background: var(--accent-soft); padding: 3px 12px; border-radius: 999px; margin-bottom: 12px;
}
.story-card h3 { font-size: 17px; margin-bottom: 10px; }
.story-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 9. APP 展示区 ---------- */
.app-section {
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(132, 204, 22, .14), transparent 60%),
    var(--bg-2);
}
.app-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.app-copy h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.app-copy > p { color: var(--muted); margin-bottom: 26px; }
.app-points { display: grid; gap: 18px; }
.app-point { display: flex; gap: 14px; align-items: flex-start; }
.point-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.app-point h3 { font-size: 16px; margin-bottom: 3px; }
.app-point p { font-size: 13.5px; color: var(--muted); }
.app-visual { display: flex; justify-content: center; }
.phone {
  position: relative; width: 270px; height: 560px;
  background: #0a0f0b; border: 8px solid #2c3a28; border-radius: 38px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(163, 230, 53, .25);
  overflow: hidden;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 130px; height: 22px; background: #0a0f0b; border-radius: 0 0 14px 14px; z-index: 2;
}
.phone-screen { height: 100%; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 10. 页脚 ---------- */
.site-footer { background: #0a0f0b; border-top: 1px solid var(--line); padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.footer-brand p { color: var(--muted); font-size: 13.5px; margin-top: 12px; max-width: 320px; }
.footer-col h4 { font-size: 15px; margin-bottom: 14px; color: var(--accent-2); }
.footer-col a { display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  text-align: center; color: #6d8169; font-size: 13px;
  border-top: 1px solid rgba(163, 230, 53, .08); padding-top: 20px;
}

/* ---------- 内页 ---------- */
.page-banner {
  background:
    radial-gradient(700px 300px at 20% 10%, rgba(132, 204, 22, .2), transparent 60%),
    linear-gradient(160deg, #284a08, #0d130e);
  padding: 56px 0; text-align: center;
}
.page-banner h1 { font-size: 34px; font-weight: 900; }
.page-banner p { color: #cfe3c2; margin-top: 8px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.filter-btn {
  background: var(--card); border: 1px solid var(--line); color: var(--muted);
  padding: 8px 20px; border-radius: 999px; cursor: pointer; font-size: 14px; transition: .2s;
}
.filter-btn:hover { color: var(--text); border-color: var(--accent); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #0d130e; border-color: transparent; font-weight: 700;
}

.about-story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.about-story img { border-radius: var(--radius); border: 1px solid var(--line); }
.about-story h2 { font-size: 28px; margin-bottom: 14px; }
.about-story p { color: #c8d9c2; margin-bottom: 12px; font-size: 15px; }

.contact-block { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-item h4 { margin-bottom: 10px; color: var(--accent-2); }
.contact-item p { color: var(--muted); font-size: 13.5px; line-height: 1.9; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .creator-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 14px 20px; flex-direction: column; gap: 6px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .creator-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .testimonial-grid, .story-grid, .stats-band, .contact-block { grid-template-columns: 1fr; }
  .app-inner { grid-template-columns: 1fr; }
  .app-visual { order: -1; }
  .hero-stats { gap: 26px; }
  .about-story { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .card-title { font-size: 14px; min-height: 42px; }
  .card-desc { min-height: 38px; }
  .hero { padding: 60px 0 52px; }
}
