/* =============================================
   母狗园 - 影视传媒社区 主样式文件
   网站：heyongjun.cn
   版本：1.0.0
   ============================================= */

/* ---- CSS变量定义 ---- */
:root {
  --primary: #1a2a4a;
  --primary-dark: #0f1c33;
  --accent: #c8973a;
  --accent-light: #e8b84b;
  --secondary: #e63946;
  --bg-light: #f8f9fc;
  --bg-white: #ffffff;
  --text-dark: #1a1a2e;
  --text-mid: #444466;
  --text-light: #888899;
  --border: #e0e4ef;
  --shadow: 0 4px 20px rgba(26,42,74,0.10);
  --shadow-hover: 0 8px 32px rgba(26,42,74,0.18);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
  --font-main: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- 通用容器 ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: .02em;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 48px;
}
.section-title span { color: var(--accent); }
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: 2px;
  margin: 12px auto 36px;
}

/* ---- 顶部公告栏 ---- */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 7px 0;
  text-align: center;
  letter-spacing: .03em;
}
.top-bar a { color: var(--accent-light); }

/* ---- 头部导航 ---- */
.site-header {
  background: var(--bg-white);
  box-shadow: 0 2px 12px rgba(26,42,74,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-wrap img.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.logo-wrap img.favicon-img {
  height: 32px;
  width: 32px;
  border-radius: 6px;
  object-fit: contain;
}
.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: .04em;
  line-height: 1.2;
}
.logo-text span { color: var(--accent); }
.logo-tagline {
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: .06em;
}

/* 搜索框 */
.header-search {
  flex: 1;
  max-width: 360px;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 9px 44px 9px 16px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-size: 0.92rem;
  font-family: var(--font-main);
  background: var(--bg-light);
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,151,58,0.12);
}
.header-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1rem;
  padding: 0;
  transition: color var(--transition);
}
.header-search button:hover { color: var(--accent); }

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(200,151,58,0.10);
  color: var(--accent);
}
.main-nav a.nav-hot {
  color: var(--secondary);
  position: relative;
}
.main-nav a.nav-hot::after {
  content: 'HOT';
  position: absolute;
  top: -2px; right: -2px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.55rem;
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 700;
}

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

/* ---- 搜索框下方导航条 ---- */
.nav-bar {
  background: var(--primary);
  padding: 0;
}
.nav-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-bar-inner::-webkit-scrollbar { display: none; }
.nav-bar-inner a {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  padding: 11px 16px;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  border-bottom: 3px solid transparent;
}
.nav-bar-inner a:hover, .nav-bar-inner a.active {
  color: var(--accent-light);
  border-bottom-color: var(--accent-light);
  background: rgba(255,255,255,0.06);
}

/* ---- Hero Banner ---- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/banner1.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: .08em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero h1 em { color: var(--accent-light); font-style: normal; }
.hero-desc {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(200,151,58,0.35);
}
.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,151,58,0.45);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}
.btn-dark {
  background: var(--primary);
  color: #fff;
}
.btn-dark:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero 统计数据 */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* ---- 视频卡片区域 ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition), filter var(--transition);
}
.video-card:hover .video-thumb img {
  transform: scale(1.06);
  filter: brightness(0.75);
}
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.video-card:hover .video-play-btn { opacity: 1; }
.video-play-btn .play-icon {
  width: 60px;
  height: 60px;
  background: rgba(200,151,58,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transform: scale(0.85);
  transition: transform var(--transition);
}
.video-card:hover .play-icon { transform: scale(1); }
.play-icon svg { width: 24px; height: 24px; fill: #fff; margin-left: 4px; }
.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: .04em;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-info { padding: 16px; }
.video-info h3 {
  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.78rem;
  color: var(--text-light);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-meta svg { width: 13px; height: 13px; fill: currentColor; }

/* ---- 特色模块卡片 ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1.5px solid transparent;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.feature-icon svg { width: 28px; height: 28px; fill: #fff; }
.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- 专家卡片 ---- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.expert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.expert-avatar {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition);
}
.expert-card:hover .expert-avatar img { transform: scale(1.05); }
.expert-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}
.expert-info { padding: 18px; }
.expert-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.expert-title {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.expert-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}
.expert-btns { display: flex; gap: 8px; }
.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 6px;
  font-weight: 600;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-light); color: #fff; }
.btn-border { border: 1.5px solid var(--accent); color: var(--accent); }
.btn-border:hover { background: var(--accent); color: #fff; }

/* ---- 评论区 ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  transition: box-shadow var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-hover); }
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 0.92rem; color: var(--primary); }
.review-date { font-size: 0.75rem; color: var(--text-light); }
.review-stars { color: #f5a623; font-size: 0.9rem; letter-spacing: 2px; }
.review-text {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  transition: background var(--transition);
  gap: 12px;
}
.faq-question:hover { background: rgba(200,151,58,0.06); }
.faq-question.active { color: var(--accent); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
  font-size: 1rem;
  color: var(--text-light);
}
.faq-question.active .faq-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}
.faq-answer.open { display: block; }

/* ---- 合作品牌 ---- */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.partner-item {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 28px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-mid);
  transition: all var(--transition);
  min-width: 120px;
  text-align: center;
}
.partner-item:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ---- 联系/二维码 ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.contact-card img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 16px;
  border-radius: 8px;
}
.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ---- 社区功能 ---- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.community-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  color: #fff;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.community-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  background: rgba(200,151,58,0.15);
  border-radius: 50%;
}
.community-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(26,42,74,0.3);
}
.community-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: block;
}
.community-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent-light);
}
.community-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* ---- AI赋能区 ---- */
.ai-section { background: linear-gradient(135deg, #0f1c33 0%, #1a2a4a 100%); }
.ai-section .section-title { color: #fff; }
.ai-section .section-subtitle { color: rgba(255,255,255,0.6); }
.ai-section .divider { background: linear-gradient(90deg, var(--accent), #e63946); }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.ai-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,151,58,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  transition: all var(--transition);
}
.ai-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.ai-card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.6rem;
}
.ai-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 10px;
}
.ai-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

/* ---- 如何加入指南 ---- */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.howto-step {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  counter-increment: step;
}
.howto-step::before {
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 32px;
}
.howto-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.howto-step p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- 分享按钮 ---- */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.share-label {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 600;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
}
.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); color: #fff; }

/* ---- 面包屑 ---- */
.breadcrumb {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-light);
}
.breadcrumb-inner a { color: var(--text-light); }
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-inner .sep { color: var(--border); }
.breadcrumb-inner .current { color: var(--primary); font-weight: 600; }

/* ---- 页脚 ---- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text { color: #fff; font-size: 1.5rem; }
.footer-brand .logo-text span { color: var(--accent-light); }
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
  line-height: 1.8;
}
.footer-qr {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.footer-qr-item { text-align: center; }
.footer-qr-item img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.15);
  object-fit: contain;
  background: #fff;
}
.footer-qr-item span {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--accent-light); }
.footer-links { display: flex; gap: 16px; }

/* ---- 内页页头 ---- */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 0 50px;
  text-align: center;
}
.page-header h1 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- 标签 ---- */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(200,151,58,0.12);
  color: var(--accent);
  margin: 2px;
}

/* ---- 数据统计条 ---- */
.stats-bar {
  background: var(--primary);
  padding: 24px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

/* ---- 懒加载占位 ---- */
.lazy-placeholder {
  background: linear-gradient(90deg, #e8ecf4 25%, #f0f3f9 50%, #e8ecf4 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: none; flex-direction: column; width: 100%; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; border-radius: 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .header-search { max-width: 100%; order: 3; flex: 0 0 100%; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 20px; }
  .section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 480px) {
  .hero { min-height: 380px; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 1.6rem; }
  .video-grid { grid-template-columns: 1fr; }
}

/* ---- 辅助工具类 ---- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.bg-light { background: var(--bg-light); }
.bg-white { background: var(--bg-white); }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.w-full { width: 100%; }
.hidden { display: none; }
.visible { display: block; }
