/* =============================================
   51吃瓜每日投稿 - 主样式文件 v2.0
   yxpxuwn.com
   ============================================= */

/* CSS Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #e8192c;
  --primary-dark: #c0121f;
  --primary-light: #ff4d5e;
  --secondary: #1a1a2e;
  --accent: #f5a623;
  --bg-dark: #0d0d1a;
  --bg-card: #16213e;
  --bg-light: #f8f9fa;
  --text-main: #1a1a2e;
  --text-muted: #6c757d;
  --text-light: #ffffff;
  --border: #e9ecef;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-hover: 0 8px 32px rgba(232,25,44,0.22);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-main);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* =============================================
   顶部公告栏
   ============================================= */
.top-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.top-bar a { color: #fff; text-decoration: underline; }

/* =============================================
   头部导航
   ============================================= */
.site-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: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 12px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo img { height: 44px; width: auto; }
.site-logo .logo-text { font-size: 17px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.site-logo .logo-sub { font-size: 11px; color: var(--text-muted); }

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.main-nav a {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--primary);
  background: rgba(232,25,44,0.08);
}

/* 汉堡菜单 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   搜索框
   ============================================= */
.search-bar-wrap {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.search-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  flex: 1;
  min-width: 200px;
  max-width: 600px;
  transition: var(--transition);
}
.search-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,25,44,0.08); }
.search-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 9px 16px;
  font-size: 14px;
  background: transparent;
  color: var(--text-main);
  font-family: inherit;
}
.search-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 9px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
}
.search-form button:hover { background: var(--primary-dark); }
.search-hot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }
.search-hot span { color: var(--text-muted); white-space: nowrap; }
.search-hot a {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}
.search-hot a:hover { border-color: var(--primary); color: var(--primary); }

/* =============================================
   面包屑导航
   ============================================= */
.breadcrumb {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb-inner a { color: var(--primary); transition: var(--transition); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner span { color: var(--text-muted); }
.breadcrumb-inner strong { color: var(--text-main); }

/* =============================================
   Hero Banner
   ============================================= */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.03); }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #fff;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero h1 .highlight { color: var(--accent); }
.hero > .hero-content > p {
  font-size: clamp(14px, 2vw, 18px);
  opacity: 0.9;
  max-width: 620px;
  margin-bottom: 30px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  font-family: inherit;
  line-height: 1;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.65); }
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  line-height: 1;
  text-decoration: none;
}
.btn-sm.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-sm.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-sm:hover { opacity: 0.85; transform: translateY(-1px); }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 30px; font-weight: 900; color: var(--accent); line-height: 1; }
.hero-stat .label { font-size: 12px; opacity: 0.75; margin-top: 4px; }

/* =============================================
   栏目标题
   ============================================= */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 8px auto 0;
}
.section-header p { color: var(--text-muted); font-size: 15px; max-width: 640px; margin: 0 auto; line-height: 1.7; }

/* =============================================
   视频卡片
   ============================================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.28);
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}
.video-card:hover .play-btn { opacity: 1; }
.play-btn-icon {
  width: 58px;
  height: 58px;
  background: rgba(232,25,44,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(232,25,44,0.5);
}
.video-card:hover .play-btn-icon { transform: scale(1); }
.play-btn-icon svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  z-index: 2;
}
.video-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  z-index: 2;
}
.video-info { padding: 14px 14px 16px; }
.video-info h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.45;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-muted); }
.video-stats { display: flex; gap: 10px; }
.video-stats span { display: flex; align-items: center; gap: 3px; }

/* =============================================
   功能模块卡片
   ============================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
}
.feature-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 26px;
}
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* =============================================
   专家展示
   ============================================= */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.expert-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  padding-bottom: 4px;
}
.expert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.expert-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin: 24px auto 12px;
  border: 3px solid var(--primary);
}
.expert-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.expert-role { font-size: 12px; color: var(--primary); font-weight: 700; margin-bottom: 10px; }
.expert-desc { font-size: 13px; color: var(--text-muted); padding: 0 16px 14px; line-height: 1.6; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 0 16px 14px; }
.expert-tag { background: rgba(232,25,44,0.08); color: var(--primary); font-size: 11px; padding: 2px 9px; border-radius: 12px; font-weight: 600; }
.expert-actions { display: flex; gap: 8px; padding: 0 16px 20px; justify-content: center; }

/* =============================================
   AI赋能模块
   ============================================= */
.ai-section { background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a3e 100%); color: #fff; }
.ai-section .section-header h2 { color: #fff; }
.ai-section .section-header p { color: rgba(255,255,255,0.72); }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.ai-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}
.ai-card:hover { background: rgba(255,255,255,0.1); border-color: var(--primary); transform: translateY(-4px); }
.ai-icon { font-size: 36px; margin-bottom: 14px; }
.ai-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.ai-card p { font-size: 13px; color: rgba(255,255,255,0.72); line-height: 1.7; }
.ai-badge { display: inline-block; background: var(--primary); color: #fff; font-size: 10px; padding: 2px 9px; border-radius: 10px; margin-top: 12px; font-weight: 700; }

/* =============================================
   社区功能
   ============================================= */
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 600px) { .community-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .community-grid { grid-template-columns: repeat(4, 1fr); } }
.community-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.community-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.community-icon { font-size: 38px; margin-bottom: 10px; }
.community-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.community-card p { font-size: 12px; color: var(--text-muted); }
.community-count { font-size: 16px; font-weight: 800; color: var(--primary); margin-top: 8px; }

/* =============================================
   合作品牌
   ============================================= */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}
.partner-logo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  min-width: 110px;
  text-align: center;
}
.partner-logo:hover { border-color: var(--primary); color: var(--primary); transform: scale(1.04); }

/* =============================================
   How-To 步骤
   ============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: step-counter;
}
.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px 22px;
  box-shadow: var(--shadow);
  position: relative;
  counter-increment: step-counter;
  transition: var(--transition);
  margin-top: 14px;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.step-card::before {
  content: counter(step-counter);
  position: absolute;
  top: -14px;
  left: 20px;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.step-icon { font-size: 32px; margin-bottom: 12px; }
.step-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* =============================================
   用户评价
   ============================================= */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.review-stars { color: var(--accent); font-size: 16px; margin-bottom: 10px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--text-main); line-height: 1.75; margin-bottom: 16px; font-style: italic; }
.review-user { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.review-name { font-size: 13px; font-weight: 700; }
.review-date { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* =============================================
   FAQ
   ============================================= */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  border: 1px solid var(--border);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition);
  color: var(--text-main);
  user-select: none;
}
.faq-question:hover { color: var(--primary); background: rgba(232,25,44,0.03); }
.faq-item.open .faq-question { color: var(--primary); }
.faq-icon { flex-shrink: 0; font-size: 20px; transition: transform 0.3s; color: var(--primary); font-weight: 400; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 20px 20px; font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* =============================================
   联系我们
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.contact-icon { font-size: 40px; margin-bottom: 12px; }
.contact-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.contact-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.qr-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  margin: 12px auto;
  border: 2px dashed var(--border);
  position: relative;
  overflow: hidden;
  background: #fafafa;
}
.qr-placeholder::before {
  content: '';
  position: absolute;
  inset: 8px;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 6px, #ccc 6px, #ccc 7px),
    repeating-linear-gradient(90deg, transparent, transparent 6px, #ccc 6px, #ccc 7px);
}

/* =============================================
   联系表单
   ============================================= */
.contact-form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text-main); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  background: #fafafa;
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232,25,44,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* =============================================
   社交分享
   ============================================= */
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  color: #fff;
  font-family: inherit;
}
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #010101; }
.share-bilibili { background: #00a1d6; }
.share-qq { background: #1d8fe1; }

/* =============================================
   页脚
   ============================================= */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.footer-brand .logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 40px; filter: brightness(0) invert(1); }
.footer-brand .brand-name { font-size: 16px; font-weight: 800; color: #fff; }
.footer-brand p { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,0.6); }
.footer-col h4 { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 14px; 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: 13px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary); padding-left: 4px; }
.footer-qr { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-qr-item { text-align: center; }
.footer-qr-item .qr-box {
  width: 76px;
  height: 76px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
}
.footer-qr-item .qr-box::before {
  content: '';
  position: absolute;
  inset: 5px;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(255,255,255,0.15) 4px, rgba(255,255,255,0.15) 5px),
    repeating-linear-gradient(90deg, transparent, transparent 4px, rgba(255,255,255,0.15) 4px, rgba(255,255,255,0.15) 5px);
}
.footer-qr-item p { font-size: 11px; color: rgba(255,255,255,0.5); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--primary); }

/* =============================================
   内页 Hero
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}
.page-hero h1 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-hero p {
  font-size: 16px;
  opacity: 0.85;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   标签
   ============================================= */
.tag { display: inline-block; background: rgba(232,25,44,0.08); color: var(--primary); font-size: 11px; padding: 2px 9px; border-radius: 10px; font-weight: 700; }
.tag-hot { background: var(--primary); color: #fff; }
.tag-new { background: #07c160; color: #fff; }
.tag-ai { background: #6c63ff; color: #fff; }

/* =============================================
   加载更多
   ============================================= */
.load-more-wrap { text-align: center; margin-top: 36px; }

/* =============================================
   滚动淡入动画
   ============================================= */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   视频弹窗
   ============================================= */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.video-modal.open { display: flex; }
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 920px;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.video-modal video { width: 100%; display: block; max-height: 80vh; }
.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.18);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: var(--transition);
  font-family: inherit;
}
.video-modal-close:hover { background: var(--primary); }

/* =============================================
   响应式适配
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    gap: 2px;
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 14px; border-radius: var(--radius-sm); }
  .menu-toggle { display: flex; }
  .site-header { position: sticky; top: 0; }
  .hero { min-height: 380px; }
  .hero-stats { gap: 20px; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .section { padding: 40px 0; }
  .search-hot { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 20px 16px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .video-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .share-btns { gap: 8px; }
  .share-btn { padding: 8px 14px; font-size: 12px; }
}

/* =============================================
   无障碍 & 焦点样式
   ============================================= */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
