/* ===================================================
   探花 - 影视传媒社区 | fbagk52.cn
   主样式文件 - 完全原创设计
   =================================================== */

/* ---- CSS变量 ---- */
:root {
  --primary: #7c3aed;
  --primary-light: #a855f7;
  --secondary: #ec4899;
  --accent: #f97316;
  --dark: #0f0a1e;
  --dark-card: #1a1030;
  --dark-border: #2d1f4e;
  --text-main: #f1f0f5;
  --text-muted: #9d8fc0;
  --text-light: #c4b8e0;
  --gradient-main: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --gradient-card: linear-gradient(145deg, #1a1030 0%, #0f0a1e 100%);
  --shadow-card: 0 8px 32px rgba(124,58,237,0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: 0.3s ease;
}

/* ---- 全局重置 ---- */
*, *::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;
  background: var(--dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

/* ---- 滚动条 ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ---- 通用工具类 ---- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-sm { padding: 40px 0; }
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.55);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(124,58,237,0.2);
  color: var(--primary-light);
  border: 1px solid rgba(124,58,237,0.3);
}
.badge-hot { background: rgba(236,72,153,0.2); color: var(--secondary); border-color: rgba(236,72,153,0.3); }
.badge-new { background: rgba(249,115,22,0.2); color: var(--accent); border-color: rgba(249,115,22,0.3); }

/* ---- 顶部公告栏 ---- */
.top-bar {
  background: var(--gradient-main);
  padding: 8px 0;
  font-size: 0.82rem;
  text-align: center;
  color: rgba(255,255,255,0.9);
}
.top-bar a { color: #fff; font-weight: 600; }

/* ---- 导航栏 ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15,10,30,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
  padding: 0;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.navbar-brand img.site-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.navbar-brand .brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-light);
  transition: all var(--transition);
  white-space: nowrap;
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: #fff;
  background: rgba(124,58,237,0.2);
}
.navbar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
}

/* ---- 搜索框 ---- */
.search-bar-wrap {
  background: rgba(26,16,48,0.95);
  border-bottom: 1px solid var(--dark-border);
  padding: 12px 0;
}
.search-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}
.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--dark-border);
  border-radius: 50px;
  padding: 0 18px;
  gap: 10px;
  transition: border-color var(--transition);
}
.search-input-wrap:focus-within { border-color: var(--primary); }
.search-input-wrap .search-icon { color: var(--text-muted); font-size: 1rem; }
.search-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 0.9rem;
  padding: 9px 0;
}
.search-input-wrap input::placeholder { color: var(--text-muted); }
.search-btn {
  padding: 9px 22px;
  background: var(--gradient-main);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.search-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.search-hot-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: 0.8rem; }
.search-hot-tags span { color: var(--text-muted); }
.search-hot-tags a {
  color: var(--text-light);
  background: rgba(255,255,255,0.05);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  transition: all var(--transition);
}
.search-hot-tags a:hover { background: var(--primary); color: #fff; }

/* ---- 英雄区 ---- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/banner_hero.jpg') center/cover no-repeat;
  filter: brightness(0.35);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.5) 0%, rgba(236,72,153,0.3) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.25);
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  color: var(--primary-light);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.hero-stat-item .num {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-item .label { font-size: 0.82rem; color: var(--text-muted); }

/* ---- 区块标题 ---- */
.section-header { margin-bottom: 44px; }
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.section-header p { color: var(--text-muted); font-size: 0.95rem; max-width: 560px; }
.section-header .section-line {
  width: 50px;
  height: 4px;
  background: var(--gradient-main);
  border-radius: 2px;
  margin-top: 14px;
}
.section-header.center { text-align: center; }
.section-header.center .section-line { margin: 14px auto 0; }
.section-header.center p { margin: 0 auto; }

/* ---- 视频卡片 ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.video-card {
  background: var(--dark-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--dark-border);
  transition: all var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(124,58,237,0.4);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0a0618;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity var(--transition);
}
.video-card:hover .video-play-btn { opacity: 1; }
.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(124,58,237,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 20px rgba(124,58,237,0.5);
  transition: transform var(--transition);
}
.video-card:hover .play-icon { transform: scale(1.1); }
.play-icon svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-info { padding: 14px 16px; }
.video-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.video-tags .tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  background: rgba(124,58,237,0.12);
  color: var(--primary-light);
  border-radius: 4px;
}

/* ---- 特色内容卡片 ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.4);
  box-shadow: var(--shadow-card);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(124,58,237,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ---- 专家展示 ---- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}
.expert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.4);
  box-shadow: var(--shadow-card);
}
.expert-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--primary);
}
.expert-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.expert-role { font-size: 0.8rem; color: var(--primary-light); margin-bottom: 10px; }
.expert-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.expert-awards { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-bottom: 14px; }
.expert-social { display: flex; gap: 8px; justify-content: center; }
.expert-social a {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.expert-social a:hover { background: var(--primary); color: #fff; }
.expert-actions { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.expert-actions a {
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--dark-border);
  color: var(--text-light);
  transition: all var(--transition);
}
.expert-actions a:hover { border-color: var(--primary); color: var(--primary-light); }

/* ---- 图片展示 ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3/4;
  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: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-size: 0.82rem; color: #fff; }

/* ---- 合作品牌 ---- */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.partner-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  padding: 16px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.partner-item:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

/* ---- 用户评价 ---- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.review-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
}
.review-card:hover {
  border-color: rgba(124,58,237,0.3);
  box-shadow: var(--shadow-card);
}
.review-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 12px; }
.review-text { font-size: 0.88rem; color: var(--text-light); 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;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.review-author-info .name { font-size: 0.9rem; font-weight: 600; }
.review-author-info .date { font-size: 0.75rem; color: var(--text-muted); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.active { border-color: rgba(124,58,237,0.4); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition);
}
.faq-question:hover { background: rgba(124,58,237,0.08); }
.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  background: rgba(124,58,237,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
}
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.active .faq-answer { display: block; }

/* ---- 联系区 ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(124,58,237,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item .label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-info-item .value { font-size: 0.92rem; font-weight: 500; }
.qr-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.qr-item { text-align: center; }
.qr-code {
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  overflow: hidden;
}
.qr-code canvas { width: 100px !important; height: 100px !important; }
.qr-item .qr-label { font-size: 0.78rem; color: var(--text-muted); }

/* ---- 社区入口 ---- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.community-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.community-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124,58,237,0.4);
  box-shadow: var(--shadow-card);
}
.community-icon { font-size: 2rem; margin-bottom: 10px; }
.community-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.community-card p { font-size: 0.78rem; color: var(--text-muted); }

/* ---- 页脚 ---- */
.footer {
  background: #080514;
  border-top: 1px solid var(--dark-border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--dark-border);
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 0.84rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary-light); }
.update-time { font-size: 0.78rem; color: var(--text-muted); }

/* ---- 分享按钮 ---- */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.share-bar .share-label { font-size: 0.85rem; color: var(--text-muted); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--dark-border);
  background: var(--dark-card);
  color: var(--text-light);
  transition: all var(--transition);
}
.share-btn:hover { border-color: var(--primary); color: var(--primary-light); }
.share-btn.wechat:hover { border-color: #07c160; color: #07c160; }
.share-btn.weibo:hover { border-color: #e6162d; color: #e6162d; }
.share-btn.douyin:hover { border-color: #fe2c55; color: #fe2c55; }
.share-btn.bilibili:hover { border-color: #00a1d6; color: #00a1d6; }

/* ---- 面包屑 ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 14px 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb .sep { color: var(--dark-border); }
.breadcrumb .current { color: var(--text-light); }

/* ---- 内页横幅 ---- */
.page-banner {
  background: linear-gradient(135deg, rgba(124,58,237,0.3) 0%, rgba(236,72,153,0.2) 100%);
  border-bottom: 1px solid var(--dark-border);
  padding: 50px 0 40px;
}
.page-banner h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.page-banner p { font-size: 0.95rem; color: var(--text-muted); max-width: 600px; }

/* ---- 加入社区引导 ---- */
.join-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 22px;
}
.join-step {
  text-align: center;
  padding: 28px 20px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  position: relative;
}
.step-num {
  width: 44px;
  height: 44px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 14px;
}
.join-step h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.join-step p { font-size: 0.82rem; color: var(--text-muted); }

/* ---- 统计数字 ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 22px;
}
.stat-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); }

/* ---- 通知条 ---- */
.notice-bar {
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 30px;
}
.notice-bar .notice-icon { color: var(--primary-light); }

/* ---- 移动端菜单 ---- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  backdrop-filter: blur(8px);
}
.mobile-menu.open { display: flex; flex-direction: column; }
.mobile-menu-inner {
  background: var(--dark-card);
  width: 280px;
  height: 100%;
  padding: 30px 20px;
  overflow-y: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--dark-border);
  color: var(--text-light);
  font-size: 1rem;
}
.mobile-nav a:hover { color: var(--primary-light); }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-toggle { display: block; }
  .hero { min-height: 440px; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section { padding: 50px 0; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- 动画 ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* ---- 视频播放模态框 ---- */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}
.video-modal.open { display: flex; }
.video-modal-inner {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: var(--dark-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.video-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal video {
  width: 100%;
  display: block;
  background: #000;
}
.video-modal-placeholder {
  aspect-ratio: 16/9;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 14px;
}
.video-modal-placeholder .big-play {
  width: 80px;
  height: 80px;
  background: rgba(124,58,237,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
