/* 糖心vlog - 攀岩主题视频平台样式（深色背景 · 主色 #84cc16） */
:root {
  --bg: #0d120c;
  --bg-2: #12180f;
  --card: #161d12;
  --card-2: #1b2415;
  --line: #26331d;
  --text: #eef4e2;
  --muted: #9cb08a;
  --accent: #84cc16;
  --accent-2: #a3e635;
  --accent-deep: #4d7c0f;
  --star: #fbbf24;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
* { 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", "Segoe UI", system-ui, sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 顶部导航 */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 14px 24px; background: rgba(13, 18, 12, .85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; color: var(--accent-2); }
.logo .emoji { font-size: 26px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; flex: 1; flex-wrap: wrap; }
.nav-links a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: 14px; transition: .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-2); background: rgba(132, 204, 22, .12); }
.nav-auth { display: flex; gap: 10px; }
.btn { border: none; cursor: pointer; border-radius: 12px; padding: 9px 20px; font-size: 14px; font-weight: 600; transition: .2s; }
.btn.ghost { background: transparent; color: var(--accent-2); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); }
.btn.solid { background: var(--accent); color: #131a0a; }
.btn.solid:hover { background: var(--accent-2); }

/* Hero */
.hero { position: relative; overflow: hidden; text-align: center; padding: 90px 20px 70px; background:
  radial-gradient(1000px 480px at 75% -10%, rgba(132, 204, 22, .30), transparent 60%),
  radial-gradient(800px 380px at 10% 0%, rgba(163, 230, 53, .16), transparent 55%),
  linear-gradient(180deg, #15200c 0%, var(--bg) 100%); }
.hero h1 { font-size: clamp(28px, 4.6vw, 52px); font-weight: 900; letter-spacing: 1px; background: linear-gradient(90deg, #d9f99d, #84cc16); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { margin: 18px auto 30px; max-width: 640px; color: var(--muted); font-size: 16px; }
.search { display: flex; max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 22px; box-shadow: var(--shadow); }
.search input { flex: 1; background: transparent; border: none; outline: none; color: var(--text); font-size: 15px; min-width: 0; }
.search button { background: var(--accent); color: #131a0a; border: none; border-radius: 999px; padding: 10px 24px; font-size: 14px; font-weight: 700; cursor: pointer; transition: .2s; }
.search button:hover { background: var(--accent-2); }
.hero-stats { display: flex; justify-content: center; gap: 56px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 30px; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.hero-stats span { color: var(--muted); font-size: 14px; }
.particle { position: absolute; border-radius: 50%; background: rgba(163, 230, 53, .5); pointer-events: none; animation: floaty 8s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); opacity: .25; } 50% { transform: translateY(-36px); opacity: .8; } }

/* 通用区块 */
.section { padding: 64px 20px; max-width: 1200px; margin: 0 auto; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.section h2 { font-size: 26px; font-weight: 800; }
.section-head .more { color: var(--accent-2); font-size: 14px; }
.section-head .more:hover { text-decoration: underline; }

/* 视频卡片 */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.video-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.video-card:hover { transform: translateY(-6px); border-color: rgba(132, 204, 22, .5); box-shadow: var(--shadow); }
.cover { position: relative; display: block; }
.cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.8); width: 54px; height: 54px; border-radius: 50%; background: rgba(132, 204, 22, .92); color: #131a0a; display: flex; align-items: center; justify-content: center; font-size: 20px; padding-left: 4px; opacity: 0; transition: .25s; }
.video-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .72); padding: 2px 8px; border-radius: 8px; font-size: 12px; color: #fff; }
.card-body { padding: 14px 16px 16px; }
.card-body h3 { font-size: 15px; margin-bottom: 6px; min-height: 44px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-body p { color: var(--muted); font-size: 13px; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.creator-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.creator-row img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--accent); }
.creator-row .cname { color: var(--text); font-weight: 600; }
.creator-row .meta { margin-left: auto; white-space: nowrap; }

/* 明星创作者 */
.creator-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.creator-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 16px 22px; text-align: center; transition: .25s; }
.creator-card:hover { transform: translateY(-6px); border-color: rgba(132, 204, 22, .5); }
.creator-card img { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 12px; border: 3px solid var(--accent); }
.star-badge { position: absolute; top: 14px; right: 14px; background: var(--accent); color: #131a0a; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.creator-card h3 { font-size: 16px; }
.creator-card .tag { color: var(--accent-2); font-size: 13px; margin: 4px 0 8px; }
.creator-card .fans { color: var(--muted); font-size: 13px; }

/* 平台特色 */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; transition: .25s; }
.feature:hover { border-color: rgba(132, 204, 22, .5); transform: translateY(-4px); }
.feature .icon { font-size: 30px; }
.feature h3 { font-size: 16px; margin: 12px 0 6px; }
.feature p { color: var(--muted); font-size: 13px; }

/* 数据统计带 */
.stats-band { background: linear-gradient(135deg, rgba(132, 204, 22, .16), rgba(77, 124, 15, .10)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-inner { max-width: 1200px; margin: 0 auto; padding: 44px 20px; display: flex; justify-content: space-around; gap: 20px; flex-wrap: wrap; text-align: center; }
.stats-inner strong { display: block; font-size: 36px; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.stats-inner span { color: var(--muted); font-size: 14px; }

/* 用户评价 */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.testi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: .25s; }
.testi:hover { border-color: rgba(132, 204, 22, .5); }
.testi .head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.testi img { width: 44px; height: 44px; border-radius: 50%; }
.testi h3 { font-size: 15px; }
.stars { color: var(--star); font-size: 14px; letter-spacing: 2px; }
.testi p { color: var(--muted); font-size: 14px; }

/* 成功故事 */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story { background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: .25s; }
.story:hover { transform: translateY(-4px); border-color: rgba(132, 204, 22, .5); }
.story .num { color: var(--accent); font-weight: 900; font-size: 20px; }
.story h3 { font-size: 17px; margin: 10px 0 8px; }
.story p { color: var(--muted); font-size: 14px; }

/* APP 展示区 */
.app { display: flex; align-items: center; gap: 60px; max-width: 1200px; margin: 0 auto; padding: 64px 20px; flex-wrap: wrap; }
.app-copy { flex: 1; min-width: 300px; }
.app-copy h2 { font-size: 28px; margin-bottom: 12px; }
.app-copy > p { color: var(--muted); margin-bottom: 26px; }
.app-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.app-feats .feat h3 { font-size: 15px; margin: 6px 0 4px; }
.app-feats .feat p { color: var(--muted); font-size: 13px; }
.phone { width: 250px; height: 500px; border-radius: 38px; border: 8px solid #20281a; background: #000; box-shadow: 0 30px 60px rgba(0, 0, 0, .55), inset 0 0 0 2px #2c3a20; position: relative; overflow: hidden; flex-shrink: 0; }
.phone .notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 96px; height: 20px; background: #20281a; border-radius: 0 0 14px 14px; z-index: 3; }
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 页脚 */
.footer { background: #0a0f08; border-top: 1px solid var(--line); padding: 52px 24px 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; color: var(--accent-2); margin-bottom: 12px; }
.footer .intro { color: var(--muted); font-size: 14px; max-width: 300px; }
.footer h4 { font-size: 15px; margin-bottom: 14px; }
.footer a { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; }
.footer a:hover { color: var(--accent-2); }
.copyright { max-width: 1200px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; }

/* 内页头部与筛选 */
.page-head { text-align: center; padding: 56px 20px 16px; }
.page-head h1 { font-size: 32px; }
.page-head p { color: var(--muted); margin-top: 8px; }
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 20px 20px 36px; }
.filter-bar button { background: var(--card); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 8px 20px; cursor: pointer; font-size: 14px; transition: .2s; }
.filter-bar button.active, .filter-bar button:hover { background: var(--accent); color: #131a0a; border-color: var(--accent); }
.about-body { max-width: 800px; margin: 0 auto; padding: 20px 20px 64px; }
.about-body h2 { font-size: 22px; margin: 34px 0 12px; color: var(--accent-2); }
.about-body p { color: var(--muted); margin-bottom: 12px; }
.about-body ul { color: var(--muted); padding-left: 22px; }
.about-body li { margin-bottom: 8px; }

/* 响应式 */
@media (max-width: 960px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .nav { flex-wrap: wrap; gap: 10px; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .hero-stats { gap: 24px; }
  .hero { padding: 60px 16px 50px; }
  .app-feats { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; }
}
