/* 糖心vlog - 城市漫游主题 · 主色 #84cc16 · 深色背景 */
:root {
  --bg: #0b0e08;
  --bg2: #0f130a;
  --card: #161c0f;
  --card2: #1b2212;
  --line: rgba(132, 204, 22, 0.16);
  --accent: #84cc16;
  --accent2: #a3e635;
  --accent-dark: #65a30d;
  --text: #edf4dc;
  --muted: #a8b98d;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; }
::selection { background: rgba(132, 204, 22, 0.4); }

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

/* ============ 导航 ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 8, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.logo { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.logo-emoji { font-size: 26px; }
.nav-links { flex: 1; display: flex; justify-content: center; gap: 22px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--accent2); }
.nav-btns { display: flex; gap: 10px; }
.burger {
  display: none; margin-left: auto; font-size: 22px; line-height: 1;
  background: none; border: none; color: var(--text); cursor: pointer;
}
@media (max-width: 920px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(13, 17, 10, 0.98);
    flex-direction: column; padding: 16px 24px; gap: 14px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .burger { display: block; }
}

/* ============ 按钮 ============ */
.btn { display: inline-block; padding: 9px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: 0.2s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #0b0e08; }
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent2); }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden; text-align: center; padding: 110px 0 90px;
  background:
    radial-gradient(1200px 600px at 18% -10%, rgba(132, 204, 22, 0.22), transparent 60%),
    radial-gradient(900px 500px at 85% 8%, rgba(132, 204, 22, 0.12), transparent 55%),
    linear-gradient(160deg, #10140a, #0b0e08);
}
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particles span {
  position: absolute; background: var(--accent2); border-radius: 50%;
  opacity: 0; filter: blur(0.5px); animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.65; }
  85% { opacity: 0.4; }
  100% { transform: translateY(-140px); opacity: 0; }
}
.hero-inner { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block; background: rgba(132, 204, 22, 0.14);
  border: 1px solid rgba(132, 204, 22, 0.3); color: var(--accent2);
  padding: 6px 18px; border-radius: 999px; font-size: 13px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.25; font-weight: 800; }
.hero h1 .hl {
  background: linear-gradient(90deg, #a3e635, #84cc16);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { max-width: 660px; margin: 18px auto 0; color: var(--muted); font-size: 15px; }
.search {
  display: flex; align-items: center; max-width: 560px; margin: 30px auto 0;
  background: #141a0e; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 6px 6px 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.search input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 14px; }
.search button {
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: var(--accent); font-size: 17px; cursor: pointer; flex-shrink: 0;
}
.search button:hover { background: var(--accent2); }
.hero-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin-top: 40px; }
.hs b { display: block; font-size: 30px; color: var(--accent2); font-variant-numeric: tabular-nums; }
.hs span { font-size: 13px; color: var(--muted); }

/* ============ 通用区块 ============ */
.section { padding: 72px 0; }
.section.alt { background: var(--bg2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 34px; }
.section-head.center { flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.sec-tag { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 3px; margin-bottom: 8px; }
.section h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; }
.more { color: var(--accent2); font-size: 14px; white-space: nowrap; }
.more:hover { text-decoration: underline; }

/* ============ 视频卡片 ============ */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.video-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: 0.25s;
}
.video-card:hover { transform: translateY(-4px); border-color: rgba(132, 204, 22, 0.45); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); }
.cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.video-card:hover .cover img { transform: scale(1.06); }
.play {
  position: absolute; inset: 0; margin: auto; width: 54px; height: 54px;
  border-radius: 50%; background: rgba(132, 204, 22, 0.92); color: #0b0e08;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); transition: 0.25s;
}
.video-card:hover .play { transform: scale(1.08); }
.dur {
  position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, 0.72);
  padding: 2px 8px; border-radius: 8px; font-size: 12px;
}
.card-body { padding: 14px; }
.title { font-size: 15px; line-height: 1.45; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.desc { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.meta img { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }
.meta-info { flex: 1; min-width: 0; }
.creator { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats { font-size: 12px; color: var(--muted); white-space: nowrap; }
.tag { font-size: 11px; color: var(--accent2); background: rgba(132, 204, 22, 0.12); padding: 2px 8px; border-radius: 999px; flex-shrink: 0; }

/* ============ 创作者 ============ */
.grid-creators { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .grid-creators { grid-template-columns: repeat(3, 1fr); } }
.creator-card {
  position: relative; text-align: center; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 16px;
  transition: 0.25s;
}
.creator-card:hover { transform: translateY(-4px); border-color: rgba(132, 204, 22, 0.45); }
.creator-card .badge { position: absolute; top: 14px; right: 14px; font-size: 18px; }
.avatar-lg {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 12px;
  border: 3px solid rgba(132, 204, 22, 0.5);
}
.creator-card h3 { font-size: 16px; }
.creator-card .intro { font-size: 13px; color: var(--muted); margin: 6px 0 12px; min-height: 38px; }
.fans {
  display: inline-block; background: rgba(132, 204, 22, 0.12); color: var(--accent2);
  padding: 4px 14px; border-radius: 999px; font-size: 13px;
}

/* ============ 平台特色 ============ */
.grid-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 1000px) { .grid-features { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 20px; transition: 0.25s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(132, 204, 22, 0.45); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 16px; background: rgba(132, 204, 22, 0.14);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px;
}
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--muted); }

/* ============ 数据统计 ============ */
.stats-band {
  background:
    radial-gradient(1000px 400px at 50% 120%, rgba(132, 204, 22, 0.14), transparent 65%),
    var(--bg2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item {
  text-align: center; background: linear-gradient(180deg, #161c0f, #12160c);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 16px;
}
.stat-num { font-size: 34px; font-weight: 800; color: var(--accent2); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ============ 用户评价 ============ */
.grid-testimonials { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .grid-testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; transition: 0.25s;
}
.testimonial-card:hover { border-color: rgba(132, 204, 22, 0.45); }
.stars { color: #facc15; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-card .text { font-size: 14px; color: #d5e3b8; }
.t-meta { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 13px; }
.t-meta img { width: 34px; height: 34px; border-radius: 50%; }

/* ============ 成功故事 ============ */
.grid-stories { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .grid-stories { grid-template-columns: repeat(3, 1fr); } }
.story-card {
  background: linear-gradient(160deg, #1a2212, #141a0d);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: 0.25s;
}
.story-card:hover { transform: translateY(-4px); border-color: rgba(132, 204, 22, 0.45); }
.story-card h3 { font-size: 17px; color: var(--accent2); margin-bottom: 10px; }
.story-card p { font-size: 14px; color: var(--muted); }

/* ============ APP 展示 ============ */
.app-wrap { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.app-left { flex: 1; min-width: 300px; }
.app-left h2 { margin-bottom: 12px; }
.app-sub { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.app-item { display: flex; gap: 14px; margin: 18px 0; }
.app-icon {
  width: 46px; height: 46px; border-radius: 14px; background: rgba(132, 204, 22, 0.14);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.app-item h4 { font-size: 15px; }
.app-item p { font-size: 13px; color: var(--muted); }
.app-right { flex-shrink: 0; margin: 0 auto; }
.phone {
  width: 270px; height: 560px; border-radius: 44px; border: 10px solid #22291a;
  background: #000; overflow: hidden; position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(132, 204, 22, 0.15);
}
.phone .notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 20px; background: #0b0e08; border-radius: 12px; z-index: 3;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }

/* ============ 页脚 ============ */
.footer { background: #0a0d07; border-top: 1px solid var(--line); padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--muted); margin: 8px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent2); }
.copyright {
  text-align: center; color: var(--muted); font-size: 13px;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
}

/* ============ 内页 ============ */
.page-hero {
  position: relative; padding: 80px 0 60px; text-align: center;
  background:
    radial-gradient(900px 400px at 50% -20%, rgba(132, 204, 22, 0.2), transparent 65%),
    linear-gradient(170deg, #10140a, #0b0e08);
}
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; }
.page-hero p { color: var(--muted); margin-top: 12px; max-width: 620px; margin-left: auto; margin-right: auto; }
.page-body { padding: 48px 0 72px; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.filter-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  padding: 8px 20px; border-radius: 999px; cursor: pointer; font-size: 14px; transition: 0.2s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent2); }
.filter-btn.active { background: var(--accent); color: #0b0e08; border-color: var(--accent); }
.about-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; margin-bottom: 22px;
}
.about-card h3 { font-size: 18px; color: var(--accent2); margin-bottom: 12px; }
.about-card p { font-size: 14px; color: #d5e3b8; }
.about-card ul { list-style: none; margin-top: 10px; }
.about-card ul li { font-size: 14px; color: var(--muted); padding: 6px 0; }
.about-card ul li::before { content: "·"; color: var(--accent); font-weight: 800; margin-right: 10px; }
