/* 蜜柑TV 样式：主色 #f59e0b，浅色背景 */
:root {
  --brand: #f59e0b;
  --brand-dark: #b45309;
  --brand-light: #fde68a;
  --brand-soft: #fff7e6;
  --ink: #1f2937;
  --muted: #6b7280;
  --bg: #fffdf7;
  --card: #ffffff;
  --radius: 20px;
  --shadow: 0 8px 24px rgba(180, 83, 9, .08);
}
* { 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(--ink);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f3e8d0;
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.logo .logo-icon { font-size: 26px; }
.nav-links { display: flex; gap: 22px; flex: 1; justify-content: center; }
.nav-links a { font-size: 15px; color: var(--muted); padding: 6px 2px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-dark); font-weight: 600; }
.nav-btns { display: flex; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; border-radius: 999px; font-size: 14px; transition: all .2s;
}
.btn-ghost { background: transparent; border: 1.5px solid var(--brand); color: var(--brand-dark); padding: 8px 20px; }
.btn-primary { background: var(--brand); color: #fff; padding: 9px 22px; box-shadow: 0 6px 16px rgba(245, 158, 11, .35); }
.btn-primary:hover { background: var(--brand-dark); }
@media (max-width: 960px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
  padding: 96px 24px 84px;
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute; bottom: -20px; background: rgba(255, 255, 255, .5);
  border-radius: 50%; animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: .9; }
  90% { opacity: .6; }
  100% { transform: translateY(-560px); opacity: 0; }
}
.hero h1 { font-size: clamp(28px, 4.5vw, 46px); font-weight: 800; margin-bottom: 14px; }
.hero p { font-size: 17px; opacity: .95; max-width: 640px; margin: 0 auto 30px; }
.search-box {
  display: flex; max-width: 560px; margin: 0 auto; background: #fff;
  border-radius: 999px; padding: 6px; box-shadow: 0 12px 30px rgba(146, 64, 14, .25);
}
.search-box input { flex: 1; border: none; outline: none; padding: 12px 20px; font-size: 15px; background: transparent; color: var(--ink); }
.search-box button { border: none; background: var(--brand-dark); color: #fff; border-radius: 999px; padding: 0 26px; font-size: 16px; cursor: pointer; }
.hero-stats { display: flex; justify-content: center; gap: 56px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .hs-item b { font-size: 26px; font-weight: 800; }
.hero-stats .hs-item span { display: block; font-size: 13px; opacity: .9; margin-top: 2px; }

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.section-head p { color: var(--muted); }

/* ---------- 视频卡片网格 ---------- */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.video-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(180, 83, 9, .16); }
.video-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--brand-soft); }
.video-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-card:hover .video-cover img { transform: scale(1.06); }
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px;
  background: rgba(245, 158, 11, .92); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; opacity: 0; transform: scale(.7); transition: all .25s;
}
.video-card:hover .play-btn { opacity: 1; transform: scale(1); }
.duration {
  position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .7);
  color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 6px;
}
.video-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.video-title {
  font-size: 15px; font-weight: 700; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-desc {
  font-size: 13px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.video-meta { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.video-meta img { width: 26px; height: 26px; border-radius: 50%; }
.video-meta .v-name { font-size: 13px; font-weight: 600; flex: 1; }
.video-meta .v-stat { font-size: 12px; color: var(--muted); }

/* ---------- 明星创作者 ---------- */
.creator-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .creator-grid { grid-template-columns: repeat(2, 1fr); } }
.creator-card { background: var(--card); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow); }
.creator-avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 12px; position: relative; }
.creator-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand-light); }
.star-badge {
  position: absolute; right: -4px; bottom: 2px; background: var(--brand);
  border-radius: 50%; width: 28px; height: 28px; border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.creator-card h3 { font-size: 17px; font-weight: 700; }
.creator-card .fans { font-size: 13px; color: var(--muted); margin-top: 2px; }
.creator-card .bio { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- 平台特色 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-card { background: var(--card); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); transition: transform .25s; }
.feature-card:hover { transform: translateY(-5px); }
.feature-card .f-icon { font-size: 32px; margin-bottom: 10px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--muted); }

/* ---------- 数据统计区 ---------- */
.stats-band {
  background: linear-gradient(120deg, #fbbf24, #f59e0b); color: #fff;
  border-radius: 28px; padding: 44px 24px; text-align: center;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  box-shadow: 0 18px 40px rgba(245, 158, 11, .3);
}
@media (max-width: 800px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
.stat-num { font-size: 40px; font-weight: 800; }
.stat-label { font-size: 14px; opacity: .95; margin-top: 4px; }

/* ---------- 用户评价 ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 800px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.testimonial-card .stars { color: var(--brand); font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-card p { font-size: 14.5px; }
.testimonial-user { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.testimonial-user img { width: 40px; height: 40px; border-radius: 50%; }
.testimonial-user b { font-size: 14px; display: block; }
.testimonial-user span { font-size: 12px; color: var(--muted); }

/* ---------- 成功故事 ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }
.story-card {
  background: linear-gradient(160deg, #fff 0%, var(--brand-soft) 100%);
  border: 1px solid var(--brand-light); border-radius: var(--radius); padding: 26px;
}
.story-card .s-tag { display: inline-block; background: var(--brand); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
.story-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.story-card p { font-size: 14px; color: var(--muted); }

/* ---------- APP 展示区 ---------- */
.app-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .app-wrap { grid-template-columns: 1fr; } }
.app-features { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.app-feature { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.app-feature .af-icon { font-size: 26px; }
.app-feature h3 { font-size: 15px; font-weight: 700; }
.app-feature p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.phone {
  width: 270px; margin: 0 auto; background: #1f2937; border-radius: 40px;
  padding: 12px; box-shadow: 0 24px 50px rgba(31, 41, 55, .25); position: relative;
}
.phone-screen { border-radius: 30px; overflow: hidden; background: #fff; }
.phone-screen img { width: 100%; display: block; }
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: #1f2937; border-radius: 0 0 14px 14px; z-index: 2;
}

/* ---------- 页脚 ---------- */
footer { background: #1c1917; color: #e7e5e4; margin-top: 30px; padding: 56px 24px 26px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: #a8a29e; max-width: 300px; }
.footer-col h4 { font-size: 15px; margin-bottom: 14px; color: #fff; }
.footer-col a { display: block; font-size: 13.5px; color: #a8a29e; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.copyright { border-top: 1px solid #292524; margin-top: 40px; padding-top: 20px; text-align: center; font-size: 13px; color: #78716c; }

/* ---------- 内页 ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(135deg, #fbbf24, #f59e0b); padding: 64px 24px;
}
.page-hero h1 { font-size: 34px; font-weight: 800; }
.page-hero p { opacity: .95; margin-top: 8px; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.chip {
  border: 1.5px solid #f3d9a4; background: #fff; color: var(--ink);
  border-radius: 999px; padding: 7px 18px; font-size: 14px; cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: var(--brand); }
.chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.about-text { max-width: 800px; margin: 0 auto; font-size: 15.5px; color: var(--muted); }
.about-text p { margin-bottom: 16px; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; max-width: 1000px; margin-left: auto; margin-right: auto; }
@media (max-width: 800px) { .mission-grid { grid-template-columns: 1fr; } }
.contact-box {
  max-width: 560px; margin: 36px auto 0; background: var(--card);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); text-align: center;
}
.contact-box h3 { margin-bottom: 8px; }
.contact-box p { color: var(--muted); }
