/* =============================================
   探花 - 主样式文件
   品牌色: 主红 #E8192C | 深蓝 #0D1B3E | 金 #F5A623
   ============================================= */

/* --- 全局重置与基础 --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #E8192C;
  --red-dark: #c0121f;
  --navy: #0D1B3E;
  --navy-light: #162447;
  --gold: #F5A623;
  --white: #FFFFFF;
  --gray-light: #F4F6FA;
  --gray-mid: #E0E4EE;
  --gray-text: #666C80;
  --text-dark: #1A1F35;
  --text-body: #3A3F55;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 4px 20px rgba(13,27,62,0.10);
  --shadow-hover: 0 8px 32px rgba(13,27,62,0.18);
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* --- 容器 --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 70px 0; }
.section-pad-sm { padding: 45px 0; }

/* --- 标题系统 --- */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-title span { color: var(--red); }
.section-subtitle {
  text-align: center;
  color: var(--gray-text);
  font-size: 1rem;
  margin-bottom: 42px;
}
.section-line {
  width: 54px; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 2px;
  margin: 10px auto 36px;
}

/* =============================================
   顶部公告栏
   ============================================= */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  padding: 6px 0;
  text-align: center;
}
.top-bar a { color: var(--gold); }
.top-bar .top-bar-inner { display: flex; justify-content: space-between; align-items: center; }

/* =============================================
   导航栏
   ============================================= */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(13,27,62,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { height: 44px; width: auto; }
.logo-text { font-size: 1.35rem; font-weight: 900; color: var(--navy); }
.logo-text span { color: var(--red); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--red);
  background: rgba(232,25,44,0.07);
}
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 20px !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

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

/* =============================================
   搜索栏
   ============================================= */
.search-bar-wrap {
  background: var(--gray-light);
  border-bottom: 1px solid var(--gray-mid);
  padding: 10px 0;
}
.search-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
}
.search-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--gray-mid);
  border-radius: 24px;
  padding: 6px 16px;
  transition: border-color var(--transition);
}
.search-input-box:focus-within { border-color: var(--red); }
.search-input-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.93rem;
  color: var(--text-dark);
  background: transparent;
}
.search-input-box .search-icon { color: var(--gray-text); font-size: 1rem; margin-right: 8px; }
.search-btn {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.search-btn:hover { background: var(--red-dark); }
.search-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; justify-content: center; }
.search-tag {
  font-size: 0.78rem;
  color: var(--gray-text);
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 12px;
  padding: 3px 10px;
  cursor: pointer;
  transition: all var(--transition);
}
.search-tag:hover { color: var(--red); border-color: var(--red); }

/* =============================================
   Hero 首屏横幅
   ============================================= */
.hero {
  position: relative;
  min-height: 520px;
  background: var(--navy);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13,27,62,0.92) 40%, rgba(13,27,62,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,25,44,0.18);
  border: 1px solid rgba(232,25,44,0.4);
  color: #ff6b7a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 13px 30px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 0.97rem;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(232,25,44,0.35);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); color: var(--white); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 12px 28px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 0.97rem;
  border: 2px solid rgba(255,255,255,0.45);
  transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat .num { font-size: 1.7rem; font-weight: 900; color: var(--gold); }
.hero-stat .label { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* =============================================
   动漫视频卡片区域
   ============================================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy);
}
.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(13,27,62,0.35);
  opacity: 0;
  transition: opacity var(--transition);
}
.video-card:hover .video-play-btn { opacity: 1; }
.play-icon {
  width: 54px;
  height: 54px;
  background: rgba(232,25,44,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232,25,44,0.5);
  transform: scale(0.85);
  transition: transform var(--transition);
}
.video-card:hover .play-icon { transform: scale(1); }
.play-icon svg { width: 22px; height: 22px; fill: white; margin-left: 3px; }
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.72);
  color: var(--white);
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}
.video-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.video-info { padding: 14px 16px; }
.video-title {
  font-size: 0.95rem;
  font-weight: 700;
  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(--gray-text);
}
.video-meta span { display: flex; align-items: center; gap: 3px; }

/* =============================================
   分类标签栏
   ============================================= */
.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cat-tab {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--gray-mid);
  color: var(--gray-text);
  background: var(--white);
  transition: all var(--transition);
}
.cat-tab.active, .cat-tab:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* =============================================
   功能模块卡片
   ============================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.feature-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
}
.feature-icon.red { background: rgba(232,25,44,0.1); }
.feature-icon.blue { background: rgba(13,27,62,0.08); }
.feature-icon.gold { background: rgba(245,166,35,0.12); }
.feature-icon.green { background: rgba(34,197,94,0.1); }
.feature-card h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: 0.84rem; color: var(--gray-text); line-height: 1.6; }

/* =============================================
   专家展示
   ============================================= */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.expert-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.expert-info { padding: 18px 20px; }
.expert-name { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.expert-title { font-size: 0.82rem; color: var(--red); font-weight: 600; margin-bottom: 10px; }
.expert-desc { font-size: 0.84rem; color: var(--gray-text); line-height: 1.6; margin-bottom: 14px; }
.expert-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.expert-tag {
  font-size: 0.72rem;
  background: var(--gray-light);
  color: var(--navy);
  padding: 3px 9px;
  border-radius: 10px;
  font-weight: 600;
}
.expert-btns { display: flex; gap: 8px; }
.btn-sm {
  flex: 1;
  text-align: center;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-sm.primary { background: var(--red); color: var(--white); }
.btn-sm.primary:hover { background: var(--red-dark); }
.btn-sm.outline { border: 2px solid var(--navy); color: var(--navy); }
.btn-sm.outline:hover { background: var(--navy); color: var(--white); }

/* =============================================
   AI赋能区块
   ============================================= */
.ai-section { background: linear-gradient(135deg, var(--navy) 0%, #1a2f6e 100%); }
.ai-section .section-title { color: var(--white); }
.ai-section .section-subtitle { color: rgba(255,255,255,0.65); }
.ai-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.ai-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.ai-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.ai-card-icon { font-size: 2.2rem; margin-bottom: 14px; }
.ai-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.ai-card p { font-size: 0.86rem; color: rgba(255,255,255,0.65); line-height: 1.7; }
.ai-card-img {
  width: 100%;
  border-radius: var(--radius);
  margin-top: 14px;
  opacity: 0.85;
}

/* =============================================
   社区功能
   ============================================= */
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.community-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}
.community-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.community-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.community-card h3 { font-size: 0.97rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.community-card p { font-size: 0.83rem; color: var(--gray-text); line-height: 1.6; }

/* =============================================
   合作品牌 Logo墙
   ============================================= */
.partner-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.partner-item {
  background: var(--white);
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-text);
  transition: all var(--transition);
  min-width: 120px;
  text-align: center;
}
.partner-item:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* =============================================
   FAQ
   ============================================= */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.97rem;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-light); }
.faq-question.open { background: rgba(232,25,44,0.05); color: var(--red); }
.faq-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-question.open .faq-arrow { transform: rotate(180deg); background: var(--red); color: white; }
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.8;
}
.faq-answer.show { display: block; }

/* =============================================
   用户评论
   ============================================= */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border-left: 4px solid var(--red);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.review-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 10px; }
.review-text { font-size: 0.88rem; color: var(--text-body); line-height: 1.7; margin-bottom: 14px; 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(--red), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.review-name { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.review-date { font-size: 0.75rem; color: var(--gray-text); }

/* =============================================
   联系我们
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.contact-info-block { background: var(--gray-light); border-radius: var(--radius-lg); padding: 30px; }
.contact-info-block h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--text-body);
}
.contact-row-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.qr-row { display: flex; gap: 20px; justify-content: center; margin-top: 24px; }
.qr-item { text-align: center; }
.qr-item img { width: 110px; height: 110px; border-radius: var(--radius); border: 3px solid var(--gray-mid); }
.qr-item p { font-size: 0.78rem; color: var(--gray-text); margin-top: 6px; font-weight: 600; }

/* =============================================
   How-To 加入社区
   ============================================= */
.howto-steps {
  display: flex;
  gap: 0;
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
}
.howto-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gray-mid);
  z-index: 0;
}
.howto-step {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 10px;
}
.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 14px rgba(232,25,44,0.3);
}
.howto-step h4 { font-size: 0.9rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.howto-step p { font-size: 0.8rem; color: var(--gray-text); line-height: 1.6; }

/* =============================================
   社交分享
   ============================================= */
.share-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 22px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.share-btn.wechat { background: #07C160; color: white; }
.share-btn.weibo { background: #E6162D; color: white; }
.share-btn.douyin { background: #000000; color: white; }
.share-btn.bilibili { background: #00A1D6; color: white; }
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* =============================================
   页脚
   ============================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand .logo-wrap { margin-bottom: 14px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: 0.86rem; line-height: 1.8; color: rgba(255,255,255,0.6); }
.footer-col h4 { font-size: 0.95rem; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--gold); }

/* =============================================
   面包屑
   ============================================= */
.breadcrumb {
  background: var(--gray-light);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--gray-text);
}
.breadcrumb-list a { color: var(--gray-text); }
.breadcrumb-list a:hover { color: var(--red); }
.breadcrumb-list .sep { color: var(--gray-mid); }
.breadcrumb-list .current { color: var(--red); font-weight: 600; }

/* =============================================
   内页 Hero
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2f6e 100%);
  padding: 50px 0;
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 900; color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1rem; }

/* =============================================
   通用卡片
   ============================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-body { padding: 20px; }

/* =============================================
   标签
   ============================================= */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-red { background: rgba(232,25,44,0.1); color: var(--red); }
.badge-navy { background: rgba(13,27,62,0.08); color: var(--navy); }
.badge-gold { background: rgba(245,166,35,0.15); color: #b87a00; }

/* =============================================
   统计数字条
   ============================================= */
.stats-bar {
  background: var(--red);
  padding: 28px 0;
}
.stats-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.stat-item { text-align: center; }
.stat-item .num { font-size: 2rem; font-weight: 900; color: var(--white); }
.stat-item .label { font-size: 0.82rem; color: rgba(255,255,255,0.8); }

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

@media (max-width: 768px) {
  .section-pad { padding: 45px 0; }
  .section-title { font-size: 1.6rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero-stats { gap: 20px; }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 999;
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 16px; }
  .nav-toggle { display: flex; }
  
  .community-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .howto-steps::before { display: none; }
  .top-bar .top-bar-inner { flex-direction: column; gap: 4px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .search-bar-inner { flex-direction: column; }
  .search-btn { width: 100%; }
  .qr-row { flex-direction: column; align-items: center; }
  .expert-grid { grid-template-columns: 1fr; }
}

/* =============================================
   懒加载占位
   ============================================= */
.lazy { opacity: 0; transition: opacity 0.4s ease; }
.lazy.loaded { opacity: 1; }

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

/* =============================================
   弹幕样式
   ============================================= */
.danmaku-wrap {
  position: relative;
  overflow: hidden;
  background: rgba(0,0,0,0.04);
  border-radius: var(--radius);
  height: 44px;
  margin-bottom: 20px;
}
.danmaku-item {
  position: absolute;
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
  top: 50%;
  transform: translateY(-50%);
  animation: danmaku-scroll 12s linear infinite;
}
@keyframes danmaku-scroll {
  from { left: 100%; }
  to { left: -100%; }
}
