/* =============================================
   51视频 - 主样式文件
   品牌色：#E8192C（主红）#FF4D5E（亮红）#FFF（白）#1A1A2E（深蓝黑）
   ============================================= */

/* === 基础重置 === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  background: #f7f8fc;
  color: #222;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === CSS变量 === */
:root {
  --red: #E8192C;
  --red-light: #FF4D5E;
  --red-dark: #B5101F;
  --white: #ffffff;
  --bg: #f7f8fc;
  --bg2: #fff;
  --dark: #1A1A2E;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(232,25,44,0.10);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.09);
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

/* === 顶部公告栏 === */
.top-bar {
  background: linear-gradient(90deg, var(--red) 0%, var(--red-light) 100%);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 0.5px;
}
.top-bar a { color: #fff; font-weight: 600; margin-left: 8px; }

/* === 头部导航 === */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 68px;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.site-logo .logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.5px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.main-nav a {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--red);
  color: #fff;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-login {
  padding: 7px 18px;
  border: 2px solid var(--red);
  border-radius: 20px;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-login:hover { background: var(--red); color: #fff; }
.btn-join {
  padding: 7px 18px;
  background: var(--red);
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-join:hover { background: var(--red-dark); }

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: var(--transition);
}

/* === 搜索栏 === */
.search-bar-wrap {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border-bottom: 1px solid #f0e0e0;
  padding: 10px 20px;
}
.search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--red);
  border-radius: 24px;
  overflow: hidden;
  flex: 1;
  max-width: 560px;
  box-shadow: 0 2px 8px rgba(232,25,44,0.10);
}
.search-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 9px 18px;
  font-size: 14px;
  background: transparent;
  color: #333;
}
.search-form button {
  background: var(--red);
  border: none;
  color: #fff;
  padding: 9px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.search-form button:hover { background: var(--red-dark); }
.search-hot-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.search-hot-tags span { font-size: 13px; color: var(--gray); }
.search-hot-tags a {
  font-size: 12px;
  padding: 3px 10px;
  background: #fff0f0;
  border-radius: 12px;
  color: var(--red);
  border: 1px solid #ffd0d0;
  transition: var(--transition);
}
.search-hot-tags a:hover { background: var(--red); color: #fff; }

/* === 面包屑 === */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--gray);
}
.breadcrumb a { color: var(--red); }
.breadcrumb span { margin: 0 6px; }

/* === 通用容器 === */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 60px 0; }
.section-alt { background: #fff; }

/* === 区块标题 === */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 8px auto 0;
}
.section-header p { color: var(--gray); font-size: 16px; max-width: 560px; margin: 0 auto; }

/* === Hero区域 === */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1A1A2E 0%, #2d1a2e 50%, #1a0a0a 100%);
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-text h1 span { color: var(--red-light); }
.hero-text p {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  margin-bottom: 28px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  padding: 13px 32px;
  background: var(--red);
  color: #fff;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(232,25,44,0.35);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-secondary {
  padding: 13px 32px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.22); }
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 28px;
  font-weight: 900;
  color: var(--red-light);
  display: block;
}
.hero-stat .label { font-size: 13px; color: rgba(255,255,255,0.65); }
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  width: 100%;
}

/* === 视频卡片网格 === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(232,25,44,0.18);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: #111;
}
.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.35);
  opacity: 0;
  transition: var(--transition);
}
.video-card:hover .video-play-btn { opacity: 1; }
.video-play-btn svg {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-tag {
  position: absolute;
  top: 8px;
  left: 10px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.video-info { padding: 14px 16px 16px; }
.video-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--gray);
}
.video-meta .views::before { content: '▶ '; }
.video-meta .likes::before { content: '♥ '; color: var(--red); }
.video-meta .comments::before { content: '💬 '; }

/* === 分类标签栏 === */
.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-light);
}
.category-tab {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  background: #fff;
  border: 1px solid var(--gray-light);
  cursor: pointer;
  transition: var(--transition);
}
.category-tab:hover, .category-tab.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* === 专家展示 === */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.expert-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.expert-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  font-weight: 800;
  overflow: hidden;
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.expert-card .role {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 8px;
}
.expert-card .desc { font-size: 13px; color: var(--gray); margin-bottom: 14px; line-height: 1.6; }
.expert-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; }
.expert-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: #fff0f0;
  color: var(--red);
  border-radius: 10px;
  border: 1px solid #ffd0d0;
}
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
  padding: 5px 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-sm-red { background: var(--red); color: #fff; }
.btn-sm-red:hover { background: var(--red-dark); }
.btn-sm-outline { border: 1px solid var(--red); color: var(--red); }
.btn-sm-outline:hover { background: var(--red); color: #fff; }

/* === AI赋能区 === */
.ai-section {
  background: linear-gradient(135deg, #1A1A2E 0%, #2a1a3e 100%);
  color: #fff;
  padding: 70px 0;
}
.ai-section .section-header h2 { color: #fff; }
.ai-section .section-header h2::after { background: var(--red-light); }
.ai-section .section-header p { color: rgba(255,255,255,0.7); }
.ai-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.ai-feature-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.ai-feature-card:hover {
  background: rgba(232,25,44,0.18);
  border-color: var(--red-light);
  transform: translateY(-4px);
}
.ai-icon {
  font-size: 42px;
  margin-bottom: 14px;
  display: block;
}
.ai-feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.ai-feature-card p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* === 社区功能 === */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.community-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border-top: 3px solid transparent;
}
.community-card:hover {
  border-top-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.community-icon { font-size: 38px; margin-bottom: 12px; display: block; }
.community-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.community-card p { font-size: 12px; color: var(--gray); }

/* === 合作品牌Logo墙 === */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.partner-logo {
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  color: #555;
  transition: var(--transition);
  min-width: 120px;
  text-align: center;
}
.partner-logo:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow); }

/* === 用户评价 === */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 60px;
  color: #ffd0d0;
  font-family: Georgia, serif;
  line-height: 1;
}
.review-card:hover { box-shadow: var(--shadow); }
.review-stars { color: #f59e0b; font-size: 15px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 14px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 14px; }
.review-date { font-size: 12px; color: var(--gray); }

/* === FAQ === */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover { color: var(--red); }
.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 22px 18px; }

/* === 联系我们 === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h3 { font-size: 22px; font-weight: 800; margin-bottom: 20px; color: var(--dark); }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.contact-item p { font-size: 13px; color: var(--gray); }
.qr-codes { display: flex; gap: 20px; flex-wrap: wrap; }
.qr-item { text-align: center; }
.qr-item img {
  width: 130px;
  height: 130px;
  border-radius: 10px;
  border: 2px solid var(--gray-light);
  object-fit: cover;
}
.qr-item p { font-size: 12px; color: var(--gray); margin-top: 6px; }

/* === 社交分享 === */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 0;
}
.share-bar span { font-size: 14px; color: var(--gray); }
.share-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.share-wechat { background: #07c160; color: #fff; }
.share-weibo { background: #e6162d; color: #fff; }
.share-douyin { background: #000; color: #fff; }
.share-bilibili { background: #00a1d6; color: #fff; }
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* === How-To加入 === */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.howto-step {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
}
.howto-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 30px;
  text-align: center;
}
.howto-icon { font-size: 36px; margin: 10px 0 12px; display: block; }
.howto-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.howto-step p { font-size: 13px; color: var(--gray); }

/* === 页脚 === */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.55); }
.footer-col h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--red-light); }
.footer-bottom {
  text-align: center;
  padding: 16px 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.55); margin: 0 8px; }
.footer-bottom a:hover { color: var(--red-light); }

/* === 视频弹窗 === */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.video-modal.active { display: flex; }
.modal-inner {
  background: #111;
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 90%;
  max-width: 800px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: var(--transition);
  border: none;
}
.modal-close:hover { background: var(--red); }
.modal-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 18px;
}

/* === 移动端适配 === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-text h1 { font-size: 36px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); gap: 4px; }
  .main-nav.open { display: flex; }
  .hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-text h1 { font-size: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-header h2 { font-size: 24px; }
  .search-hot-tags { display: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-stats { gap: 16px; }
  .video-grid { grid-template-columns: 1fr; }
}

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

/* === 滚动条 === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* === 懒加载占位 === */
img[data-src] { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* === 内页通用 === */
.page-hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 50px 20px;
  text-align: center;
  color: #fff;
}
.page-hero h1 { font-size: 36px; font-weight: 900; margin-bottom: 10px; }
.page-hero p { font-size: 16px; opacity: 0.85; }

/* === 标签云 === */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 4px 12px;
  background: #fff0f0;
  color: var(--red);
  border-radius: 14px;
  font-size: 13px;
  border: 1px solid #ffd0d0;
  transition: var(--transition);
  cursor: pointer;
}
.tag:hover { background: var(--red); color: #fff; }

/* === 统计数字 === */
.stats-bar {
  background: var(--red);
  color: #fff;
  padding: 30px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .num { font-size: 36px; font-weight: 900; display: block; }
.stat-item .label { font-size: 13px; opacity: 0.85; }

@media (max-width: 600px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
