/* =====================================================
   51视频 - 主样式文件
   品牌色：深紫 #1A0533 / 电紫 #7C3AED / 电蓝 #2563EB / 粉金 #F59E0B
   ===================================================== */

/* ---- 基础重置 ---- */
*, *::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: #0A0A14;
  color: #E2E8F0;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: #A78BFA; text-decoration: none; transition: color .25s; }
a:hover { color: #F59E0B; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---- CSS 变量 ---- */
:root {
  --brand: #7C3AED;
  --brand-light: #A78BFA;
  --brand-dark: #1A0533;
  --accent: #F59E0B;
  --accent2: #2563EB;
  --bg: #0A0A14;
  --bg2: #12122A;
  --bg3: #1E1B4B;
  --text: #E2E8F0;
  --text-muted: #94A3B8;
  --border: rgba(124,58,237,.3);
  --radius: 12px;
  --shadow: 0 8px 32px rgba(124,58,237,.25);
  --glow: 0 0 20px rgba(124,58,237,.4);
}

/* ---- 滚动条 ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 3px; }

/* =====================================================
   顶部公告栏
   ===================================================== */
.top-bar {
  background: linear-gradient(90deg, #7C3AED, #2563EB, #7C3AED);
  background-size: 200% 100%;
  animation: gradientSlide 4s linear infinite;
  text-align: center;
  padding: 8px 16px;
  font-size: .82rem;
  color: #fff;
  letter-spacing: .04em;
}
@keyframes gradientSlide {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* =====================================================
   导航栏
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,20,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo img { height: 44px; width: auto; }
.site-logo .brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, #A78BFA, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .25s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: #fff;
  background: rgba(124,58,237,.2);
}
.nav-cta {
  background: linear-gradient(135deg, #7C3AED, #2563EB) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: .9; transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* =====================================================
   搜索栏
   ===================================================== */
.search-bar-wrap {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
}
.search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-form {
  display: flex;
  flex: 1;
  max-width: 640px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color .25s;
}
.search-form:focus-within { border-color: var(--brand); box-shadow: var(--glow); }
.search-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 9px 18px;
  color: var(--text);
  font-size: .9rem;
}
.search-form input::placeholder { color: var(--text-muted); }
.search-form button {
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  border: none;
  color: #fff;
  padding: 9px 20px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
  transition: opacity .2s;
}
.search-form button:hover { opacity: .85; }
.search-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.search-tag {
  font-size: .78rem;
  color: var(--text-muted);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3px 10px;
  cursor: pointer;
  transition: all .2s;
}
.search-tag:hover { color: var(--brand-light); border-color: var(--brand); }

/* =====================================================
   面包屑
   ===================================================== */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-light); }
.breadcrumb span { color: var(--text); }

/* =====================================================
   英雄区
   ===================================================== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.45);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,5,51,.85) 0%, rgba(37,99,235,.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,.25);
  border: 1px solid rgba(124,58,237,.5);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .8rem;
  color: var(--brand-light);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #A78BFA, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  color: #fff;
  padding: 13px 28px;
  border-radius: 28px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: all .3s;
  box-shadow: 0 4px 20px rgba(124,58,237,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,.5); color: #fff; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  color: #fff;
  padding: 13px 28px;
  border-radius: 28px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid rgba(255,255,255,.25);
  cursor: pointer;
  transition: all .3s;
}
.btn-secondary:hover { background: rgba(255,255,255,.18); color: #fff; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.stat-item { text-align: left; }
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #A78BFA, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: .82rem; color: var(--text-muted); margin-top: 2px; }

/* =====================================================
   通用区块
   ===================================================== */
.section { padding: 72px 24px; }
.section-alt { background: var(--bg2); }
.container { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.35);
  color: var(--brand-light);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.section-header h2 span {
  background: linear-gradient(135deg, #A78BFA, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p { color: var(--text-muted); font-size: .95rem; max-width: 560px; margin: 0 auto; }

/* =====================================================
   视频卡片 / 动漫卡片
   ===================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s;
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.video-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg3);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.video-card:hover .play-overlay { opacity: 1; }
.play-btn {
  width: 60px;
  height: 60px;
  background: rgba(124,58,237,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(124,58,237,.6);
  transition: transform .2s;
}
.play-btn:hover { transform: scale(1.1); }
.play-btn svg { width: 24px; height: 24px; fill: #fff; margin-left: 4px; }
.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.video-badge.hot { background: linear-gradient(135deg, #EF4444, #F59E0B); }
.video-badge.new { background: linear-gradient(135deg, #10B981, #2563EB); }
.video-info { padding: 14px; }
.video-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: var(--text-muted);
}
.video-meta span { display: flex; align-items: center; gap: 3px; }
.video-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag {
  font-size: .72rem;
  background: rgba(124,58,237,.12);
  color: var(--brand-light);
  border: 1px solid rgba(124,58,237,.2);
  border-radius: 8px;
  padding: 2px 8px;
}

/* =====================================================
   分类标签栏
   ===================================================== */
.cat-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cat-tab {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 500;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all .25s;
}
.cat-tab.active, .cat-tab:hover {
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  color: #fff;
  border-color: transparent;
}

/* =====================================================
   专家卡片
   ===================================================== */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all .3s;
}
.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.expert-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--brand);
  box-shadow: 0 0 20px rgba(124,58,237,.3);
}
.expert-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.expert-title {
  font-size: .82rem;
  color: var(--brand-light);
  margin-bottom: 10px;
}
.expert-desc {
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.expert-awards {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.award-badge {
  font-size: .72rem;
  background: rgba(245,158,11,.1);
  color: #F59E0B;
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 8px;
  padding: 2px 8px;
}
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
  font-size: .8rem;
  padding: 7px 14px;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  border: none;
}
.btn-sm-primary {
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  color: #fff;
}
.btn-sm-outline {
  background: transparent;
  color: var(--brand-light);
  border: 1px solid var(--brand) !important;
}
.btn-sm-outline:hover { background: rgba(124,58,237,.15); }

/* =====================================================
   合作品牌 Logo 墙
   ===================================================== */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.partner-logo-item {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 24px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .25s;
  min-width: 120px;
  text-align: center;
}
.partner-logo-item:hover {
  color: var(--brand-light);
  border-color: var(--brand);
  background: rgba(124,58,237,.08);
}

/* =====================================================
   How-To 加入社区
   ===================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  position: relative;
}
.step-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 16px;
}
.step-card h4 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step-card p { font-size: .82rem; color: var(--text-muted); }

/* =====================================================
   FAQ 手风琴
   ===================================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 20px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color .25s;
}
.faq-q:hover { color: var(--brand-light); }
.faq-q .faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: rgba(124,58,237,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  padding: 0 20px;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 18px; }

/* =====================================================
   用户评价
   ===================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .3s;
}
.review-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.review-stars { color: #F59E0B; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.reviewer-name { font-size: .88rem; font-weight: 600; color: var(--text); }
.reviewer-tag { font-size: .75rem; color: var(--text-muted); }

/* =====================================================
   联系我们
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-info-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: .88rem;
}
.contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(124,58,237,.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-label { font-size: .75rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-val { color: var(--text); font-weight: 500; }
.qr-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.qr-item { text-align: center; }
.qr-item img {
  width: 110px;
  height: 110px;
  border-radius: 10px;
  border: 2px solid var(--border);
  margin-bottom: 8px;
}
.qr-item p { font-size: .78rem; color: var(--text-muted); }

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

/* =====================================================
   AI 赋能区
   ===================================================== */
.ai-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.ai-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7C3AED, #2563EB, #F59E0B);
}
.ai-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ai-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.ai-card h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ai-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }

/* =====================================================
   娱乐专区 / 社区
   ===================================================== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.community-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all .3s;
  cursor: pointer;
}
.community-card:hover {
  background: rgba(124,58,237,.1);
  border-color: var(--brand);
  transform: translateY(-3px);
}
.community-icon { font-size: 2.2rem; margin-bottom: 10px; }
.community-card h4 { font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.community-card p { font-size: .78rem; color: var(--text-muted); }
.community-count {
  display: inline-block;
  margin-top: 8px;
  font-size: .75rem;
  color: var(--brand-light);
  background: rgba(124,58,237,.1);
  border-radius: 10px;
  padding: 2px 8px;
}

/* =====================================================
   弹幕效果
   ===================================================== */
.danmaku-wrap {
  position: relative;
  height: 48px;
  overflow: hidden;
  background: rgba(0,0,0,.3);
  border-radius: 8px;
  margin-bottom: 24px;
}
.danmaku-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  animation: danmakuScroll 30s linear infinite;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
@keyframes danmakuScroll {
  0% { transform: translateY(-50%) translateX(100vw); }
  100% { transform: translateY(-50%) translateX(-100%); }
}

/* =====================================================
   页脚
   ===================================================== */
.site-footer {
  background: #06060F;
  border-top: 1px solid var(--border);
  padding: 60px 24px 24px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand-text {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #A78BFA, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-col h5 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: .84rem;
  color: var(--text-muted);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--brand-light); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: var(--text-muted);
}
.footer-logo-img { height: 32px; width: auto; margin-bottom: 10px; }

/* =====================================================
   内页 Banner
   ===================================================== */
.inner-banner {
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg2) 100%);
  border-bottom: 1px solid var(--border);
  padding: 60px 24px;
  text-align: center;
}
.inner-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.inner-banner p { font-size: .95rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* =====================================================
   分页
   ===================================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.page-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text-muted);
  transition: all .25s;
}
.page-btn.active, .page-btn:hover {
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  color: #fff;
  border-color: transparent;
}

/* =====================================================
   工具卡片
   ===================================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.tool-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tool-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); }
.tool-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(124,58,237,.2), rgba(37,99,235,.2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.tool-card h4 { font-size: .95rem; font-weight: 700; color: #fff; }
.tool-card p { font-size: .83rem; color: var(--text-muted); flex: 1; }
.tool-card .btn-sm { align-self: flex-start; margin-top: 4px; }

/* =====================================================
   响应式
   ===================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(10,10,20,.97); padding: 16px; border-bottom: 1px solid var(--border); }
  .main-nav.open { display: flex; }
  .hamburger { display: flex; }
  .header-inner { position: relative; }
  .hero { min-height: 420px; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .search-tags { display: none; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =====================================================
   动画
   ===================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

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

/* =====================================================
   MCP 前端占位
   ===================================================== */
.mcp-widget {
  background: var(--bg2);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-size: .82rem;
  color: var(--text-muted);
}

/* =====================================================
   信任标识（EEAT可信度）
   ===================================================== */
.trust-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.trust-badge {
  font-size: .75rem;
  background: rgba(16,185,129,.1);
  color: #10B981;
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 8px;
  padding: 3px 10px;
  font-weight: 600;
}

/* =====================================================
   综合评分摘要
   ===================================================== */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.rating-score {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.rating-stars {
  font-size: 1.4rem;
  color: #F59E0B;
  letter-spacing: 3px;
  margin-bottom: 4px;
}

/* =====================================================
   分类链接按钮（动漫分类导航）
   ===================================================== */
.cat-link-btn {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 500;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
}
.cat-link-btn:hover {
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  color: #fff;
  border-color: transparent;
}

/* =====================================================
   AI卡片链接
   ===================================================== */
.ai-card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: .82rem;
  color: var(--brand-light);
  font-weight: 600;
  transition: color .2s;
}
.ai-card-link:hover { color: var(--accent); }

/* =====================================================
   弹幕外层容器
   ===================================================== */
.danmaku-outer {
  background: rgba(0,0,0,.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px;
}
.danmaku-outer .danmaku-wrap {
  margin-bottom: 0;
  background: transparent;
}

/* =====================================================
   响应式补充
   ===================================================== */
@media (max-width: 768px) {
  .rating-summary { flex-direction: column; text-align: center; }
  .trust-badges { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   视频卡片 aspect-ratio 修正（16:9更适合动漫封面）
   ===================================================== */
.video-thumb { aspect-ratio: 16/9; }

/* =====================================================
   页脚底部链接
   ===================================================== */
.footer-bottom a { color: var(--text-muted); transition: color .2s; }
.footer-bottom a:hover { color: var(--brand-light); }
