/* =============================================
   青柠视频 - 全站样式表
   品牌色：深紫 #6C3DE8 | 电蓝 #00C2FF | 粉红 #FF4D8B
   ============================================= */

/* --- 基础重置 --- */
*, *::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: #0a0b14;
  color: #e0e0f0;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* --- CSS变量 --- */
:root {
  --brand-purple: #6C3DE8;
  --brand-blue: #00C2FF;
  --brand-pink: #FF4D8B;
  --brand-dark: #0a0b14;
  --brand-card: #12132a;
  --brand-border: rgba(108,61,232,0.3);
  --text-main: #e0e0f0;
  --text-muted: #8888aa;
  --gradient-main: linear-gradient(135deg, #6C3DE8 0%, #00C2FF 100%);
  --gradient-pink: linear-gradient(135deg, #FF4D8B 0%, #6C3DE8 100%);
  --shadow-glow: 0 0 20px rgba(108,61,232,0.4);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* --- 滚动条美化 --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0b14; }
::-webkit-scrollbar-thumb { background: var(--brand-purple); border-radius: 3px; }

/* =============================================
   顶部通知栏
   ============================================= */
.top-notice {
  background: var(--gradient-main);
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.top-notice a { color: #fff; text-decoration: underline; }

/* =============================================
   头部导航
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,11,20,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brand-border);
  padding: 0 20px;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-wrap img {
  height: 40px;
  width: auto;
}
.logo-text {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-main);
  -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 {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(108,61,232,0.2);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-login {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--brand-purple);
  color: var(--brand-purple);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-login:hover {
  background: var(--brand-purple);
  color: #fff;
}
.btn-join {
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-join:hover { opacity: 0.85; transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   搜索框（导航下方）
   ============================================= */
.search-bar-wrap {
  background: rgba(18,19,42,0.9);
  border-bottom: 1px solid var(--brand-border);
  padding: 10px 20px;
}
.search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-bar-inner form {
  display: flex;
  width: 100%;
  max-width: 600px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--brand-border);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition);
}
.search-bar-inner form:focus-within {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(108,61,232,0.15);
}
.search-bar-inner input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 9px 18px;
  color: var(--text-main);
  font-size: 14px;
}
.search-bar-inner input::placeholder { color: var(--text-muted); }
.search-bar-inner button[type="submit"] {
  padding: 9px 18px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.search-bar-inner button[type="submit"]:hover { opacity: 0.85; }
.search-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}
.search-tags span { color: var(--text-muted); }
.search-tags a {
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(108,61,232,0.15);
  color: var(--brand-blue);
  transition: var(--transition);
}
.search-tags a:hover { background: rgba(108,61,232,0.35); color: #fff; }

/* =============================================
   面包屑
   ============================================= */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--brand-blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.4; }

/* =============================================
   通用容器
   ============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.section-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--gradient-main);
  border-radius: 2px;
  margin-top: 8px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 36px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.view-all {
  font-size: 13px;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.view-all:hover { color: #fff; gap: 8px; }

/* =============================================
   Hero 首屏
   ============================================= */
.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 top;
  filter: brightness(0.55);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,11,20,0.92) 0%, rgba(10,11,20,0.3) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(108,61,232,0.25);
  border: 1px solid rgba(108,61,232,0.5);
  font-size: 12px;
  color: var(--brand-blue);
  margin-bottom: 18px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: normal;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 12px 28px;
  border-radius: 24px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-secondary {
  padding: 12px 28px;
  border-radius: 24px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover { border-color: var(--brand-blue); background: rgba(0,194,255,0.1); }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stat-item { text-align: left; }
.hero-stat-num {
  font-size: 26px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* =============================================
   动漫视频卡片
   ============================================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--brand-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--brand-border);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-purple);
  box-shadow: var(--shadow-glow);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.video-card:hover .play-overlay { opacity: 1; }
.play-btn-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(108,61,232,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}
.play-btn-icon:hover { transform: scale(1.1); background: var(--brand-purple); }
.play-btn-icon svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}
.video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.badge-new { background: var(--brand-pink); color: #fff; }
.badge-hot { background: #ff6b35; color: #fff; }
.badge-update { background: var(--brand-purple); color: #fff; }
.badge-ai { background: var(--gradient-main); color: #fff; }
.video-info { padding: 14px; }
.video-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  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-stats {
  display: flex;
  gap: 10px;
  align-items: center;
}
.video-stats span {
  display: flex;
  align-items: center;
  gap: 3px;
}
.video-tag {
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(108,61,232,0.2);
  color: var(--brand-blue);
  font-size: 11px;
}

/* =============================================
   分类标签栏
   ============================================= */
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cat-tab {
  padding: 7px 18px;
  border-radius: 20px;
  border: 1px solid var(--brand-border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
}
.cat-tab:hover,
.cat-tab.active {
  background: var(--gradient-main);
  border-color: transparent;
  color: #fff;
}

/* =============================================
   功能特色模块
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--brand-purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(108,61,232,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
}
.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   专家展示
   ============================================= */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}
.expert-card:hover {
  border-color: var(--brand-purple);
  box-shadow: var(--shadow-glow);
}
.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 3px solid var(--brand-purple);
}
.expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.expert-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.expert-role {
  font-size: 12px;
  color: var(--brand-blue);
  margin-bottom: 10px;
  font-weight: 600;
}
.expert-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}
.expert-tags {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.expert-tag {
  padding: 3px 9px;
  border-radius: 10px;
  background: rgba(108,61,232,0.2);
  color: var(--brand-blue);
  font-size: 11px;
}
.expert-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.btn-sm {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-sm-outline {
  border: 1px solid var(--brand-border);
  color: var(--text-muted);
}
.btn-sm-outline:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.btn-sm-fill {
  background: var(--gradient-main);
  color: #fff;
}
.btn-sm-fill:hover { opacity: 0.85; }

/* =============================================
   合作品牌 Logo 墙
   ============================================= */
.partners-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.partner-logo {
  padding: 14px 22px;
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.partner-logo:hover {
  border-color: var(--brand-purple);
  color: #fff;
  background: rgba(108,61,232,0.1);
}

/* =============================================
   用户评价
   ============================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
}
.review-card:hover {
  border-color: var(--brand-purple);
  box-shadow: 0 4px 20px rgba(108,61,232,0.2);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.review-user-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.review-user-tag {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.review-stars {
  margin-left: auto;
  color: #ffd700;
  font-size: 13px;
  letter-spacing: 1px;
}
.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(136,136,170,0.6);
}
.review-like {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.review-like:hover { color: var(--brand-pink); }

/* =============================================
   FAQ 手风琴
   ============================================= */
.faq-list { max-width: 800px; }
.faq-item {
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--brand-purple); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--brand-card);
  transition: var(--transition);
  gap: 12px;
}
.faq-question:hover { background: rgba(108,61,232,0.1); }
.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(108,61,232,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  transition: var(--transition);
  color: var(--brand-blue);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--brand-purple); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: rgba(18,19,42,0.6);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 14px 20px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* =============================================
   社区入口
   ============================================= */
.community-section {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
}
.community-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/community-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.community-content {
  position: relative;
  z-index: 2;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.community-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.3;
}
.community-text p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}
.community-entries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.community-entry {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.community-entry:hover {
  background: rgba(108,61,232,0.2);
  border-color: var(--brand-purple);
}
.community-entry-icon { font-size: 28px; margin-bottom: 8px; }
.community-entry-name { font-size: 13px; font-weight: 600; color: #fff; }
.community-entry-desc { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* =============================================
   AI 赋能模块
   ============================================= */
.ai-section {
  background: linear-gradient(135deg, rgba(108,61,232,0.1) 0%, rgba(0,194,255,0.05) 100%);
  border: 1px solid var(--brand-border);
  border-radius: 20px;
  padding: 50px 40px;
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.ai-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.ai-card:hover {
  border-color: var(--brand-blue);
  background: rgba(0,194,255,0.05);
}
.ai-card-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.ai-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.ai-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.ai-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--brand-blue);
  transition: var(--transition);
}
.ai-card-link:hover { gap: 8px; }

/* =============================================
   社交分享
   ============================================= */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.share-label { font-size: 13px; color: var(--text-muted); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--brand-border);
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}
.share-btn:hover { border-color: var(--brand-purple); color: #fff; background: rgba(108,61,232,0.15); }
.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; }

/* =============================================
   页脚
   ============================================= */
.site-footer {
  background: #070810;
  border-top: 1px solid var(--brand-border);
  padding: 60px 20px 30px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo-text { font-size: 24px; margin-bottom: 14px; }
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-qrcodes {
  display: flex;
  gap: 16px;
}
.footer-qr { text-align: center; }
.footer-qr img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 1px solid var(--brand-border);
}
.footer-qr p { font-size: 11px; color: var(--text-muted); margin-top: 6px; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--brand-border);
}
.footer-col ul li {
  margin-bottom: 9px;
}
.footer-col ul li a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--brand-blue); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-contact-item span:first-child { color: var(--brand-blue); flex-shrink: 0; }
.footer-divider {
  border: none;
  border-top: 1px solid var(--brand-border);
  margin-bottom: 24px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-links a { color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--brand-blue); }
.update-time { color: rgba(136,136,170,0.6); font-size: 11px; }

/* =============================================
   弹幕效果
   ============================================= */
.danmaku-wrap {
  position: relative;
  overflow: hidden;
  height: 40px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  margin-bottom: 20px;
}
.danmaku-track {
  position: absolute;
  white-space: nowrap;
  display: flex;
  gap: 60px;
  animation: danmaku-scroll 30s linear infinite;
  top: 50%;
  transform: translateY(-50%);
}
.danmaku-item {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  padding: 4px 12px;
  background: rgba(108,61,232,0.2);
  border-radius: 12px;
  white-space: nowrap;
}
@keyframes danmaku-scroll {
  0% { transform: translateX(100vw) translateY(-50%); }
  100% { transform: translateX(-100%) translateY(-50%); }
}

/* =============================================
   内页 Banner
   ============================================= */
.page-banner {
  background: linear-gradient(135deg, rgba(108,61,232,0.3) 0%, rgba(0,194,255,0.1) 100%);
  border-bottom: 1px solid var(--brand-border);
  padding: 48px 20px;
  text-align: center;
}
.page-banner h1 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.page-banner p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* =============================================
   移动端适配
   ============================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .ai-grid { grid-template-columns: 1fr 1fr; }
  .community-content { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10,11,20,0.98);
    padding: 20px;
    border-bottom: 1px solid var(--brand-border);
    z-index: 999;
  }
  .main-nav.open a { padding: 12px 16px; font-size: 16px; }
  .hero { min-height: 420px; }
  .hero h1 { font-size: 28px; }
  .hero-stats { gap: 20px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .experts-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .ai-grid { grid-template-columns: 1fr; }
  .community-entries { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
  .section-title { font-size: 22px; }
  .ai-section { padding: 30px 20px; }
  .community-content { padding: 30px 20px; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .search-tags { display: none; }
}

/* =============================================
   动画效果
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}
.lazy-img { opacity: 0; transition: opacity 0.4s ease; }
.lazy-img.loaded { opacity: 1; }

/* =============================================
   弹窗提示（搜索不可用）
   ============================================= */
.search-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(18,19,42,0.95);
  border: 1px solid var(--brand-purple);
  color: #fff;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 14px;
  z-index: 9999;
  transition: transform 0.3s ease;
  white-space: nowrap;
  box-shadow: var(--shadow-glow);
}
.search-toast.show { transform: translateX(-50%) translateY(0); }

/* =============================================
   内页专用样式
   ============================================= */
.content-section {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 24px;
}
.content-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--brand-border);
}
.content-section p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.tag-cloud {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.tag {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(108,61,232,0.15);
  color: var(--brand-blue);
  border: 1px solid rgba(108,61,232,0.3);
  transition: var(--transition);
  cursor: pointer;
}
.tag:hover { background: var(--brand-purple); color: #fff; border-color: transparent; }

/* =============================================
   联系页面
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.contact-info-card {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--brand-border);
}
.contact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(108,61,232,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-label { font-size: 12px; color: var(--text-muted); margin-bottom: 3px; }
.contact-value { font-size: 14px; color: #fff; font-weight: 500; }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}
