/* 搜同网 - 主样式文件 | bddecs.cn */
/* 原创配色方案：深宇宙紫蓝主题 */

:root {
  --primary: #1A0A2E;
  --secondary: #0D0720;
  --accent: #4F8EF7;
  --accent2: #6B21A8;
  --accent3: #F472B6;
  --card-bg: #1E1040;
  --card-border: #2D1B69;
  --text-main: #E2D9F3;
  --text-sub: #9B8EC4;
  --text-muted: #6B5B95;
  --gradient: linear-gradient(135deg, #6B21A8 0%, #4F8EF7 100%);
  --gradient2: linear-gradient(135deg, #1A0A2E 0%, #0D0720 100%);
  --shadow: 0 4px 24px rgba(79,142,247,0.15);
  --shadow-hover: 0 8px 40px rgba(79,142,247,0.35);
  --radius: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
  background: var(--secondary);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--accent3); }

img { max-width: 100%; height: auto; display: block; }

/* ===== 顶部公告栏 ===== */
.top-bar {
  background: var(--gradient);
  color: #fff;
  text-align: center;
  padding: 7px 20px;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.top-bar a { color: #fff; font-weight: 600; }

/* ===== 头部导航 ===== */
.site-header {
  background: rgba(26,10,46,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 0;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo img {
  height: 44px;
  width: auto;
}
.site-logo .logo-text {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--card-bg);
  color: var(--accent);
}

/* 搜索框 */
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-search input {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  color: var(--text-main);
  padding: 8px 18px;
  font-size: 13px;
  width: 180px;
  outline: none;
  transition: all 0.25s;
}
.header-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,142,247,0.15);
}
.header-search button {
  background: var(--gradient);
  border: none;
  border-radius: 24px;
  color: #fff;
  padding: 8px 18px;
  font-size: 13px;
  cursor: pointer;
  transition: opacity 0.25s;
}
.header-search button:hover { opacity: 0.85; }

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

/* ===== 搜索栏（导航下方） ===== */
.search-bar-section {
  background: var(--primary);
  border-bottom: 1px solid var(--card-border);
  padding: 12px 24px;
}
.search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-bar-inner input {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  color: var(--text-main);
  padding: 11px 22px;
  font-size: 14px;
  outline: none;
  transition: all 0.25s;
}
.search-bar-inner input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,142,247,0.12);
}
.search-bar-inner button {
  background: var(--gradient);
  border: none;
  border-radius: 30px;
  color: #fff;
  padding: 11px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.25s;
}
.search-bar-inner button:hover { opacity: 0.85; }
.search-hot-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search-hot-tags span { color: var(--text-muted); font-size: 12px; }
.search-hot-tags a {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  color: var(--text-sub);
  padding: 3px 12px;
  font-size: 12px;
  transition: all 0.2s;
}
.search-hot-tags a:hover {
  background: var(--accent2);
  color: #fff;
  border-color: var(--accent2);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

/* ===== 英雄区 ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,10,46,0.85) 0%, rgba(13,7,32,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(79,142,247,0.15);
  border: 1px solid rgba(79,142,247,0.4);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 13px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-primary:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 30px;
  padding: 11px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79,142,247,0.08);
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 26px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .label { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ===== 通用区块 ===== */
.section {
  padding: 64px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.section-sm { padding: 40px 24px; max-width: 1280px; margin: 0 auto; }
.section-full { padding: 64px 24px; background: var(--primary); }
.section-full .section-inner { max-width: 1280px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 44px; }
.section-label {
  display: inline-block;
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.section-header h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.section-header h2 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p { color: var(--text-sub); font-size: 15px; max-width: 540px; margin: 0 auto; }

/* ===== 动漫视频卡片 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0a0518;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.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.35);
  opacity: 0;
  transition: opacity 0.3s;
}
.video-card:hover .video-play-btn { opacity: 1; }
.video-play-btn svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 2px 12px rgba(79,142,247,0.6));
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--gradient);
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.video-info { padding: 14px 16px; }
.video-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.5;
  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-meta .views::before { content: "▶ "; }
.video-meta .likes::before { content: "♥ "; color: var(--accent3); }
.video-meta .comments::before { content: "💬 "; }

/* ===== 功能模块卡片 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-sub); line-height: 1.6; }

/* ===== 专家卡片 ===== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all 0.3s;
}
.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent2);
}
.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 32px;
  border: 3px solid var(--card-border);
}
.expert-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.expert-card .role {
  font-size: 12px;
  color: var(--accent);
  background: rgba(79,142,247,0.1);
  border-radius: 20px;
  padding: 2px 10px;
  display: inline-block;
  margin-bottom: 10px;
}
.expert-card p { font-size: 13px; color: var(--text-sub); margin-bottom: 14px; line-height: 1.6; }
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-sm-primary {
  background: var(--gradient);
  color: #fff;
  border: none;
}
.btn-sm-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-sm-outline:hover { background: var(--accent); color: #fff; }

/* ===== 评价卡片 ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all 0.3s;
}
.review-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent2);
}
.review-stars { color: #FBBF24; font-size: 14px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text-sub); line-height: 1.7; margin-bottom: 14px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.review-author-info .name { font-size: 13px; font-weight: 600; color: var(--text-main); }
.review-author-info .date { font-size: 11px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-question .arrow {
  font-size: 12px;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
  border-top: 1px solid var(--card-border);
  padding-top: 14px;
}
.faq-item.open .faq-answer { display: block; }

/* ===== 合作品牌 ===== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.partner-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  transition: all 0.25s;
}
.partner-item:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79,142,247,0.05);
}

/* ===== 联系区 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-sub);
}
.contact-item .icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.qr-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.qr-item { text-align: center; }
.qr-item img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  border: 2px solid var(--card-border);
}
.qr-item p { font-size: 11px; color: var(--text-muted); margin-top: 6px; }

/* ===== 社交分享 ===== */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0;
}
.share-bar span { font-size: 13px; color: var(--text-muted); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.share-wechat { background: #07C160; color: #fff; }
.share-weibo { background: #E6162D; color: #fff; }
.share-douyin { background: #000; color: #fff; border: 1px solid #333; }
.share-bilibili { background: #00A1D6; color: #fff; }
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* ===== 底部 ===== */
.site-footer {
  background: var(--primary);
  border-top: 1px solid var(--card-border);
  padding: 48px 24px 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-text {
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px;
  height: 34px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-sub);
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-update { font-size: 12px; color: var(--text-muted); }

/* ===== 图片区块 ===== */
.img-section {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.img-section img { width: 100%; object-fit: cover; }
.img-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,7,32,0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.img-section-overlay h3 { font-size: 20px; font-weight: 700; color: #fff; }
.img-section-overlay p { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ===== 标签 ===== */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag {
  background: rgba(107,33,168,0.2);
  border: 1px solid rgba(107,33,168,0.4);
  color: var(--accent3);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 12px;
}

/* ===== 数据统计 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
}
.stat-card .num {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card .label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ===== 弹幕效果 ===== */
.danmaku-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px;
  overflow: hidden;
  height: 80px;
  position: relative;
}
.danmaku-item {
  position: absolute;
  white-space: nowrap;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  animation: danmaku-scroll 12s linear infinite;
}
@keyframes danmaku-scroll {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

/* ===== 通知条 ===== */
.notice-bar {
  background: rgba(79,142,247,0.08);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 24px;
}
.notice-bar .badge {
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== 内页 Banner ===== */
.page-banner {
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,10,46,0.8) 0%, rgba(13,7,32,0.5) 100%);
}
.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.page-banner h1 { font-size: clamp(24px, 4vw, 40px); font-weight: 800; color: #fff; margin-bottom: 8px; }
.page-banner p { font-size: 15px; color: rgba(255,255,255,0.7); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(26,10,46,0.98);
    padding: 16px;
    border-bottom: 1px solid var(--card-border);
    z-index: 999;
  }
  .menu-toggle { display: flex; }
  .header-search { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero { min-height: 400px; }
  .hero-stats { gap: 20px; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .expert-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .section { padding: 40px 16px; }
  .section-full { padding: 40px 16px; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns a, .hero-btns button { width: 100%; justify-content: center; }
}

/* ===== 懒加载 ===== */
img[data-src] { opacity: 0; transition: opacity 0.4s; }
img.loaded { opacity: 1; }

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--secondary); }
::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent2); }

/* ===== 分割线 ===== */
.divider {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 32px 0;
}

/* ===== 加载动画 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.5s ease forwards; }

/* ===== 弹窗 ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 480px;
  width: 90%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}
.modal-box h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.modal-box p { font-size: 14px; color: var(--text-sub); line-height: 1.8; }
