/* =========================================
   猎奇影视传媒 - 主样式文件
   域名: xmforyou.cn
   版本: 1.0
   ========================================= */

/* ---- CSS变量定义 ---- */
:root {
  --primary: #0d1b3e;
  --secondary: #c9a227;
  --accent: #e63946;
  --dark: #080f20;
  --light: #f4f6fb;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --card-bg: #ffffff;
  --border: #e5e7eb;
  --gradient-main: linear-gradient(135deg, #0d1b3e 0%, #1a3a6e 50%, #0d1b3e 100%);
  --gradient-gold: linear-gradient(135deg, #c9a227 0%, #f0d060 50%, #c9a227 100%);
  --gradient-accent: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ---- 顶部公告栏 ---- */
.top-bar {
  background: var(--gradient-main);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 6px 0;
  text-align: center;
  letter-spacing: 0.5px;
}
.top-bar a { color: var(--secondary); font-weight: 600; }

/* ---- 头部导航 ---- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(13,27,62,0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-wrap img.site-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-text .brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
  line-height: 1.2;
}
.logo-text .brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  white-space: nowrap;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

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

/* ---- 搜索框 ---- */
.search-bar-wrap {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.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(--secondary); box-shadow: 0 0 0 3px rgba(201,162,39,0.15); }
.search-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 20px;
  font-size: 14px;
  background: transparent;
  color: var(--text);
}
.search-form button {
  background: var(--gradient-main);
  color: #fff;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 28px 28px 0;
  transition: var(--transition);
}
.search-form button:hover { background: var(--secondary); color: var(--primary); }
.search-hot-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.search-hot-tags span { font-size: 12px; color: var(--text-muted); }
.search-hot-tags a {
  font-size: 12px;
  color: var(--primary);
  background: rgba(13,27,62,0.06);
  padding: 3px 10px;
  border-radius: 20px;
  transition: var(--transition);
}
.search-hot-tags a:hover { background: var(--secondary); color: #fff; }

/* ---- 面包屑 ---- */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner a:hover { color: var(--secondary); }
.breadcrumb-inner .sep { color: var(--border); }

/* ---- 通用容器 ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }

/* ---- 区块标题 ---- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 12px;
}
.section-title span { color: var(--secondary); }
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Hero 轮播区 ---- */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  min-height: 520px;
}
.hero-slider { position: relative; width: 100%; height: 520px; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,15,32,0.85) 0%, rgba(8,15,32,0.4) 60%, transparent 100%);
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding: 0 60px;
  max-width: 600px;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.hero-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gradient-gold);
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(201,162,39,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,0.5); }
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* 轮播指示器 */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active { background: var(--secondary); width: 24px; border-radius: 4px; }

/* ---- 数据统计条 ---- */
.stats-bar {
  background: var(--gradient-main);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item { color: #fff; }
.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.75); letter-spacing: 1px; }

/* ---- 视频卡片 ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--dark);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.08); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  transition: var(--transition);
}
.video-card:hover .video-play-btn { background: rgba(0,0,0,0.45); }
.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.video-card:hover .play-icon { opacity: 1; transform: scale(1); }
.play-icon svg { width: 22px; height: 22px; fill: var(--primary); margin-left: 4px; }
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-info { padding: 16px; }
.video-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  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: 12px;
  color: var(--text-muted);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-meta svg { width: 14px; height: 14px; }

/* ---- 特色卡片 ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(13,27,62,0.08), rgba(201,162,39,0.12));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---- 专家卡片 ---- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.expert-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}
.expert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.expert-avatar {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.expert-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.expert-info { padding: 20px; }
.expert-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.expert-title { font-size: 13px; color: var(--secondary); font-weight: 600; margin-bottom: 10px; }
.expert-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-sm.primary { background: var(--primary); color: #fff; }
.btn-sm.primary:hover { background: var(--secondary); color: var(--primary); }
.btn-sm.outline { border: 1.5px solid var(--primary); color: var(--primary); }
.btn-sm.outline:hover { background: var(--primary); color: #fff; }

/* ---- 评价卡片 ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 60px;
  color: rgba(201,162,39,0.15);
  font-family: Georgia, serif;
  line-height: 1;
}
.review-stars { color: #f59e0b; font-size: 16px; margin-bottom: 12px; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 700; color: var(--primary); }
.review-date { font-size: 12px; color: var(--text-muted); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
}
.faq-question:hover { color: var(--secondary); }
.faq-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--secondary);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ---- 合作品牌墙 ---- */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.partner-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  min-width: 120px;
  text-align: center;
}
.partner-item:hover { color: var(--primary); border-color: var(--secondary); box-shadow: var(--shadow-sm); }

/* ---- 联系区块 ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-icon { font-size: 36px; margin-bottom: 12px; }
.contact-label { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.contact-value { font-size: 16px; font-weight: 700; color: var(--primary); }

/* QR码 */
.qr-grid { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.qr-item { text-align: center; }
.qr-item img { width: 140px; height: 140px; object-fit: contain; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 10px; }
.qr-item p { font-size: 13px; color: var(--text-muted); }

/* ---- 分享按钮 ---- */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.share-label { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}
.share-btn.wechat { background: #07c160; color: #fff; }
.share-btn.weibo { background: #e6162d; color: #fff; }
.share-btn.douyin { background: #010101; color: #fff; }
.share-btn.bilibili { background: #00a1d6; color: #fff; }
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* ---- 页脚 ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-wrap { margin-bottom: 16px; }
.footer-brand .logo-text .brand-name { color: #fff; }
.footer-brand .logo-text .brand-sub { color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 14px; line-height: 1.8; margin-bottom: 20px; color: rgba(255,255,255,0.6); }
.footer-col h4 {
  font-size: 15px;
  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: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--secondary); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: var(--secondary); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-links a:hover { color: var(--secondary); }

/* ---- 图片展示区 ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s 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.7) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-size: 14px; font-weight: 600; }

/* ---- 标签 ---- */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  background: rgba(13,27,62,0.06);
  color: var(--primary);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  transition: var(--transition);
}
.tag:hover { background: var(--secondary); color: var(--primary); }

/* ---- How-To 步骤 ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  position: relative;
}
.step-card {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  width: 48px;
  height: 48px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  margin: 0 auto 16px;
}
.step-title { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ---- 内页 Banner ---- */
.page-banner {
  background: var(--gradient-main);
  padding: 60px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero_banner.jpg') center/cover no-repeat;
  opacity: 0.15;
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 12px;
}
.page-banner p { font-size: 16px; color: rgba(255,255,255,0.8); }

/* ---- 懒加载占位 ---- */
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; } }

/* ---- 移动端适配 ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { height: 60px; }
  .main-nav { display: none; position: fixed; top: 60px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; box-shadow: var(--shadow-lg); z-index: 999; gap: 4px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; border-radius: 8px; font-size: 15px; }
  .hamburger { display: flex; }
  .hero-slider { height: 380px; }
  .hero-content { padding: 0 24px; max-width: 100%; }
  .hero-title { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .search-hot-tags { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-num { font-size: 28px; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .hero-slider { height: 300px; }
  .hero-btns { flex-direction: column; }
  .expert-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
}

/* ---- 工具类 ---- */
.text-center { text-align: center; }
.text-gold { color: var(--secondary); }
.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); }
.bg-primary { background: 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; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }
.w-100 { width: 100%; }

/* ---- 直播角标 ---- */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---- 滚动到顶部按钮 ---- */
#back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
  font-size: 20px;
}
#back-top.visible { opacity: 1; transform: translateY(0); }
#back-top:hover { background: var(--secondary); color: var(--primary); }

/* ---- 内页侧边栏 ---- */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.sidebar-widget h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
}
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ---- 热门标签云 ---- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  font-size: 13px;
  color: var(--primary);
  background: rgba(13,27,62,0.06);
  padding: 5px 12px;
  border-radius: 20px;
  transition: var(--transition);
}
.tag-cloud a:hover { background: var(--secondary); color: var(--primary); }

/* ---- 通知条 ---- */
.notice-bar {
  background: linear-gradient(90deg, rgba(201,162,39,0.12), rgba(201,162,39,0.05));
  border-left: 3px solid var(--secondary);
  padding: 12px 20px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 24px;
}
.notice-bar strong { color: var(--secondary); }


/* ---- 响应式适配 ---- */
@media (max-width: 1024px) {
  .hero-content { padding: 0 40px; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { height: 60px; }
  .logo-text .brand-sub { display: none; }
  .logo-wrap img.site-logo { height: 38px; }
  .main-nav { 
    display: none; 
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    z-index: 999;
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { 
    padding: 12px 16px; 
    border-radius: 8px;
    font-size: 15px;
  }
  .hamburger { display: flex; }
  .hero-section { height: 60vw; min-height: 280px; }
  .hero-title { font-size: clamp(22px, 5vw, 40px); }
  .hero-desc { font-size: 13px; }
  .hero-btns { gap: 10px; }
  .btn-primary, .btn-outline { padding: 10px 20px; font-size: 13px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:last-child { grid-column: span 1 !important; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .qr-grid { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-title { font-size: clamp(22px, 5vw, 36px); }
  .search-bar-wrap { padding: 12px 0; }
  .search-form input { font-size: 14px; }
  .page-banner { padding: 40px 20px; }
  .page-banner h1 { font-size: 28px; }
  section[style*="grid-template-columns:1fr 1fr"] {
    display: block !important;
  }
  section[style*="grid-template-columns:1fr 1fr"] > div,
  section[style*="grid-template-columns:1fr 1fr"] > img {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links { flex-direction: column; gap: 8px; }
  .share-bar { flex-wrap: wrap; }
}

/* ---- 打印样式 ---- */
@media print {
  .top-bar, .site-header, .search-bar-wrap, .hero-section, 
  .share-bar, #back-top, .hamburger { display: none !important; }
  body { font-size: 12pt; }
  a { color: #000; }
}
