/* =============================================
   糖心vlog - 主样式文件
   Brand: 糖心vlog | Domain: ykhsfaa.cn
   ============================================= */

/* ---- CSS变量 ---- */
:root {
  --primary: #e8437a;
  --primary-light: #f06292;
  --primary-dark: #c2185b;
  --secondary: #ff8a80;
  --accent: #ff4081;
  --gold: #d4a843;
  --bg-light: #fff5f7;
  --bg-white: #ffffff;
  --text-dark: #2d2d2d;
  --text-gray: #666666;
  --text-light: #999999;
  --border: #f0d0d8;
  --shadow: 0 4px 20px rgba(232,67,122,0.12);
  --shadow-hover: 0 8px 32px rgba(232,67,122,0.22);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

/* ---- 全局重置 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; outline: none; }

/* ---- 容器 ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-alt { background: var(--bg-light); }

/* ---- 标题样式 ---- */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 1rem;
  margin-bottom: 40px;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ---- 顶部公告条 ---- */
.top-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}
.top-bar a { color: #ffe0e8; }
.top-bar a:hover { color: #fff; }

/* ---- 导航栏 ---- */
.header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}
.logo img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.logo-text { line-height: 1.2; }
.logo-text small { display: block; font-size: 0.65rem; font-weight: 400; color: var(--text-gray); letter-spacing: 1px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  white-space: nowrap;
}
.nav a:hover, .nav a.active {
  background: var(--bg-light);
  color: var(--primary);
}
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--shadow); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); }

/* ---- 搜索框 ---- */
.search-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
}
.search-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  flex: 1;
  max-width: 600px;
  transition: var(--transition);
}
.search-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,67,122,0.1); }
.search-form input {
  flex: 1;
  padding: 9px 18px;
  border: none;
  outline: none;
  font-size: 0.92rem;
  background: transparent;
  color: var(--text-dark);
}
.search-form button {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 28px 28px 0;
  transition: var(--transition);
}
.search-form button:hover { opacity: 0.9; }
.search-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.search-tag {
  font-size: 0.8rem;
  color: var(--text-gray);
  background: #fff;
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
}
.search-tag:hover { border-color: var(--primary); color: var(--primary); }

/* ---- Hero Banner ---- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 50%, #fce4ec 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 0.55;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  background: rgba(232,67,122,0.15);
  border: 1px solid rgba(232,67,122,0.3);
  color: var(--primary-dark);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 600px;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(232,67,122,0.35);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,67,122,0.45); color: #fff; }
.btn-outline {
  background: #fff;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.hero-stat span { font-size: 0.82rem; color: var(--text-gray); }

/* ---- 视频卡片 ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f0d0d8;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}
.video-card:hover .video-play-btn { background: rgba(0,0,0,0.35); }
.play-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.video-card:hover .play-icon { opacity: 1; transform: scale(1); }
.play-icon::after {
  content: '';
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--primary);
  margin-left: 4px;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 600;
}
.video-info { padding: 14px 16px; }
.video-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.author-name { font-size: 0.8rem; color: var(--text-gray); font-weight: 500; }

/* ---- 分类标签 ---- */
.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  justify-content: center;
}
.cat-tab {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 2px solid var(--border);
  color: var(--text-gray);
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
}
.cat-tab:hover, .cat-tab.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-light);
}

/* ---- 专家卡片 ---- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.expert-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.expert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.expert-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--primary-light);
}
.expert-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.expert-title { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.expert-desc { font-size: 0.85rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 14px; }
.expert-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.expert-tag {
  font-size: 0.75rem;
  background: var(--bg-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
  padding: 7px 16px;
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-sm-primary {
  background: var(--primary);
  color: #fff;
}
.btn-sm-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-sm-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-sm-outline:hover { background: var(--bg-light); }

/* ---- 合作品牌 ---- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-gray);
  text-align: center;
  min-height: 80px;
  transition: var(--transition);
}
.partner-card:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }

/* ---- How-To步骤 ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.step-card {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.step-num {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 14px;
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 0.85rem; color: var(--text-gray); line-height: 1.6; }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  user-select: none;
  gap: 12px;
}
.faq-q:hover { color: var(--primary); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 16px; }

/* ---- 用户评价 ---- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.reviewer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.reviewer-info { flex: 1; }
.reviewer-name { font-weight: 700; font-size: 0.95rem; }
.reviewer-tag { font-size: 0.78rem; color: var(--text-light); }
.review-stars { color: #f5a623; font-size: 0.9rem; margin-bottom: 10px; }
.review-text { font-size: 0.88rem; color: var(--text-gray); line-height: 1.7; }
.review-date { font-size: 0.78rem; color: var(--text-light); margin-top: 10px; }

/* ---- 联系区域 ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}
.contact-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}
.contact-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.contact-info { font-size: 0.88rem; color: var(--text-gray); line-height: 1.8; }
.qr-wrap { margin: 14px auto 0; max-width: 130px; }
.qr-wrap img { border-radius: 8px; border: 1px solid var(--border); }

/* ---- 社交分享 ---- */
.share-bar {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 30px 20px;
  text-align: center;
  color: #fff;
}
.share-bar h3 { font-size: 1.2rem; margin-bottom: 16px; }
.share-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.share-btn {
  padding: 10px 22px;
  border-radius: 22px;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.share-btn:hover { background: rgba(255,255,255,0.35); transform: translateY(-2px); }

/* ---- 页脚 ---- */
.footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 50px 20px 24px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: #aaa; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover { background: var(--primary); color: #fff; }
.footer-col h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #aaa; font-size: 0.85rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #888;
}
.footer-bottom a { color: #aaa; }
.footer-bottom a:hover { color: var(--primary-light); }
.update-time { color: var(--primary-light); font-size: 0.8rem; }

/* ---- 面包屑 ---- */
.breadcrumb {
  background: var(--bg-light);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumb-inner a { color: var(--text-gray); }
.breadcrumb-inner a:hover { color: var(--primary); }
.breadcrumb-inner span { color: var(--text-light); }

/* ---- 页面标题区 ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.page-hero p { font-size: 1rem; opacity: 0.9; max-width: 560px; margin: 0 auto; }

/* ---- 图片画廊 ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.gallery-item {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-size: 0.85rem; font-weight: 600; }

/* ---- AI功能卡片 ---- */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.ai-card {
  background: linear-gradient(135deg, #fff 0%, var(--bg-light) 100%);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.ai-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.ai-icon { font-size: 2.5rem; margin-bottom: 14px; }
.ai-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.ai-desc { font-size: 0.88rem; color: var(--text-gray); line-height: 1.7; }

/* ---- 统计数字 ---- */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 50px 20px;
  color: #fff;
}
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item strong { display: block; font-size: 2.4rem; font-weight: 900; margin-bottom: 6px; }
.stat-item span { font-size: 0.9rem; opacity: 0.9; }

/* ---- 懒加载占位 ---- */
img[loading="lazy"] { background: var(--bg-light); }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .nav.open { display: flex; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .hero { min-height: 420px; }
  .hero h1 { font-size: 1.6rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item strong { font-size: 1.8rem; }
  .search-tags { display: none; }
}

/* ---- 动画 ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ---- 工具提示 ---- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-hot { background: #ffebee; color: #e53935; }
.badge-new { background: #e8f5e9; color: #2e7d32; }
.badge-live { background: #fce4ec; color: var(--primary); }
.badge-ai { background: #e3f2fd; color: #1565c0; }

/* ---- 直播标记 ---- */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #f44336;
  border-radius: 50%;
  margin-right: 5px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ---- 滚动到顶部按钮 ---- */
#back-top {
  position: fixed;
  bottom: 30px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(232,67,122,0.4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  border: none;
}
#back-top.visible { opacity: 1; transform: translateY(0); }
#back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
