/* =====================================================
   暗网 - 主样式文件
   品牌色：深紫 #2D1B69 / 亮紫 #7C3AED / 粉红 #EC4899 / 青蓝 #06B6D4
   ===================================================== */

:root {
  --brand-dark: #1A0A3C;
  --brand-purple: #2D1B69;
  --brand-violet: #7C3AED;
  --brand-pink: #EC4899;
  --brand-cyan: #06B6D4;
  --brand-gold: #F59E0B;
  --text-light: #F8FAFC;
  --text-muted: #94A3B8;
  --bg-card: rgba(45, 27, 105, 0.6);
  --border-glow: rgba(124, 58, 237, 0.4);
  --gradient-main: linear-gradient(135deg, #1A0A3C 0%, #2D1B69 50%, #1A0A3C 100%);
  --gradient-accent: linear-gradient(135deg, #7C3AED, #EC4899);
  --gradient-card: linear-gradient(145deg, rgba(45,27,105,0.8), rgba(26,10,60,0.9));
}

*, *::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(--brand-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--brand-cyan); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--brand-pink); }

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

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

/* ===== 顶部公告栏 ===== */
.top-bar {
  background: var(--gradient-accent);
  padding: 6px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* ===== 导航栏 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 10, 60, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glow);
  padding: 0 20px;
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 15px rgba(236,72,153,0.5);
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 0 12px rgba(124,58,237,0.4);
}

/* ===== 搜索框 ===== */
.search-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 6px 16px;
  gap: 8px;
  min-width: 200px;
  transition: border-color 0.3s;
}

.search-wrap:focus-within {
  border-color: var(--brand-violet);
  box-shadow: 0 0 10px rgba(124,58,237,0.3);
}

.search-wrap input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-light);
  font-size: 14px;
  width: 100%;
}

.search-wrap input::placeholder { color: var(--text-muted); }

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brand-cyan);
  font-size: 16px;
  padding: 0;
  transition: color 0.3s;
}

.search-btn:hover { color: var(--brand-pink); }

/* ===== 搜索栏（导航下方独立行） ===== */
.search-bar-row {
  background: rgba(26,10,60,0.85);
  border-bottom: 1px solid rgba(124,58,237,0.2);
  padding: 10px 20px;
}

.search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-bar-inner .search-wrap { min-width: 360px; max-width: 600px; flex: 1; }

.search-hot-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.hot-tag {
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.4);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.hot-tag:hover {
  background: var(--brand-violet);
  color: #fff;
}

/* ===== Hero 区域 ===== */
.hero {
  position: relative;
  min-height: 580px;
  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(0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,10,60,0.85) 0%, rgba(45,27,105,0.5) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(236,72,153,0.2);
  border: 1px solid rgba(236,72,153,0.5);
  color: var(--brand-pink);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h1 span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.6);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: var(--brand-violet);
  color: var(--brand-violet);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-num {
  font-size: 28px;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label { font-size: 12px; color: var(--text-muted); }

/* ===== 通用区块 ===== */
.section {
  padding: 70px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-full {
  padding: 70px 20px;
  background: rgba(45,27,105,0.15);
}

.section-full .section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.5);
  color: var(--brand-violet);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header h2 span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p { color: var(--text-muted); font-size: 15px; }

/* ===== 动漫视频卡片 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.video-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(124,58,237,0.3);
  border-color: var(--brand-violet);
}

.video-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.video-card:hover .video-thumb img { transform: scale(1.06); }

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.video-card:hover .play-overlay { opacity: 1; }

.play-btn-circle {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(236,72,153,0.6);
  animation: pulse-play 1.5s infinite;
}

.play-btn-circle svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  margin-left: 4px;
}

@keyframes pulse-play {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gradient-accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.video-info { padding: 14px; }

.video-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

.video-stats { display: flex; gap: 12px; }

.video-stats span { display: flex; align-items: center; gap: 4px; }

/* ===== 横版内容卡片 ===== */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.content-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(124,58,237,0.25);
}

.content-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.content-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.content-card:hover .content-card-img img { transform: scale(1.05); }

.content-card-body { padding: 18px; }

.content-card-tag {
  display: inline-block;
  background: rgba(124,58,237,0.2);
  color: var(--brand-violet);
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  margin-bottom: 8px;
}

.content-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.content-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 专家展示 ===== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.expert-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}

.expert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(124,58,237,0.3);
  border-color: var(--brand-pink);
}

.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 0 20px rgba(236,72,153,0.4);
}

.expert-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.expert-role {
  font-size: 12px;
  color: var(--brand-pink);
  margin-bottom: 10px;
}

.expert-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.expert-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.btn-sm {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-sm-primary {
  background: var(--gradient-accent);
  color: #fff;
}

.btn-sm-outline {
  background: transparent;
  border: 1px solid var(--border-glow);
  color: var(--text-muted);
}

.btn-sm-outline:hover {
  border-color: var(--brand-violet);
  color: var(--brand-violet);
}

/* ===== 用户评价 ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 22px;
  transition: all 0.3s;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(124,58,237,0.2);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.review-name { font-size: 14px; font-weight: 600; }

.review-stars { color: var(--brand-gold); font-size: 13px; }

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.review-date {
  font-size: 12px;
  color: rgba(148,163,184,0.5);
  margin-top: 10px;
}

/* ===== FAQ ===== */
.faq-list { max-width: 860px; margin: 0 auto; }

.faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open { border-color: var(--brand-violet); }

.faq-question {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-icon {
  width: 22px;
  height: 22px;
  background: rgba(124,58,237,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--brand-violet); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 22px 18px;
}

/* ===== 合作品牌 ===== */
.partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.partner-logo {
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.3s;
  min-width: 120px;
  text-align: center;
}

.partner-logo:hover {
  border-color: var(--brand-violet);
  color: var(--brand-violet);
  transform: translateY(-2px);
}

/* ===== 加入社区指南 ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 0 16px rgba(124,58,237,0.4);
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-label { font-size: 12px; color: var(--text-muted); margin-bottom: 3px; }
.contact-value { font-size: 14px; font-weight: 600; }

.qr-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.qr-item { text-align: center; }

.qr-item img {
  width: 130px;
  height: 130px;
  border-radius: 12px;
  border: 2px solid var(--border-glow);
  object-fit: cover;
}

.qr-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ===== 社交分享 ===== */
.share-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  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 { transform: translateY(-2px); opacity: 0.9; }

/* ===== 弹幕区域 ===== */
.danmu-wrap {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 16px;
  height: 80px;
  overflow: hidden;
  position: relative;
}

.danmu-item {
  position: absolute;
  white-space: nowrap;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  animation: danmu-move linear infinite;
}

@keyframes danmu-move {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

/* ===== 页脚 ===== */
.footer {
  background: rgba(10,5,25,0.98);
  border-top: 1px solid var(--border-glow);
  padding: 50px 20px 20px;
}

.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: 24px; margin-bottom: 12px; display: block; }

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-light);
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-col ul li a:hover { color: var(--brand-pink); }

.footer-bottom {
  border-top: 1px solid rgba(124,58,237,0.2);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

/* ===== 标签云 ===== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.tag:hover {
  background: var(--brand-violet);
  color: #fff;
  border-color: var(--brand-violet);
}

/* ===== 汉堡菜单 ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 12px 20px;
  max-width: 1280px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-pink); }
.breadcrumb .sep { color: rgba(148,163,184,0.4); }

/* ===== 分类标签行 ===== */
.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cat-tab {
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid var(--border-glow);
  background: transparent;
  color: var(--text-muted);
}

.cat-tab.active,
.cat-tab:hover {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
}

/* ===== 通知弹窗 ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gradient-accent);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  box-shadow: 0 8px 30px rgba(124,58,237,0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s;
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ===== 懒加载占位 ===== */
.lazy-img {
  background: linear-gradient(90deg, rgba(45,27,105,0.3) 25%, rgba(124,58,237,0.15) 50%, rgba(45,27,105,0.3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .search-wrap { min-width: 140px; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .search-bar-inner .search-wrap { min-width: 200px; }
  .search-hot-tags { display: none; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero h1 { font-size: 26px; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .expert-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .qr-row { justify-content: center; }
}

/* ===== 移动端导航展开 ===== */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(26,10,60,0.98);
  border-top: 1px solid var(--border-glow);
  padding: 16px 20px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--text-light);
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(124,58,237,0.1);
}

.mobile-nav a:last-child { border-bottom: none; }

/* ===== 特色功能卡片 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-pink);
  box-shadow: 0 12px 32px rgba(236,72,153,0.2);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 14px;
  display: block;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== 直播卡片 ===== */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #E6162D;
  color: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== 渐变分割线 ===== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-violet), transparent);
  margin: 0;
}

/* ===== 内页 Banner ===== */
.inner-banner {
  background: var(--gradient-main);
  border-bottom: 1px solid var(--border-glow);
  padding: 50px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.inner-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.2) 0%, transparent 70%);
}

.inner-banner h1 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.inner-banner p {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

/* ===== 更新时间 ===== */
.update-time {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ===== 影视传媒专区 ===== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.media-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124,58,237,0.25);
}
.media-card-icon { font-size: 40px; margin-bottom: 14px; }
.media-card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-light);
}
.media-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.media-card-link {
  font-size: 13px;
  color: var(--brand-cyan);
  text-decoration: none;
  font-weight: 600;
}
.media-card-link:hover { text-decoration: underline; }

/* ===== 娱乐专区 ===== */
.ent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ent-card-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.ent-card-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 340px;
}
.ent-card-img-sm { height: 160px; }
.ent-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.ent-card-img:hover img { transform: scale(1.05); }
.ent-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,5,30,0.95) 0%, rgba(10,5,30,0.6) 60%, transparent 100%);
  padding: 20px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s;
}
.ent-card-img:hover .ent-card-overlay {
  transform: translateY(0);
  opacity: 1;
}
.ent-badge {
  display: inline-block;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.ent-card-overlay h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}
.ent-card-overlay p {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
  line-height: 1.5;
}

/* ===== AI赋能模块 ===== */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ai-feature {
  display: flex;
  gap: 16px;
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.ai-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(124,58,237,0.2);
}
.ai-feature-icon {
  font-size: 36px;
  flex-shrink: 0;
  line-height: 1;
}
.ai-feature-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-light);
}
.ai-feature-body p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}
.ai-feature-body a {
  font-size: 12px;
  color: var(--brand-cyan);
  text-decoration: none;
  font-weight: 600;
}
.ai-feature-body a:hover { text-decoration: underline; }

/* ===== 专家资质标签 ===== */
.expert-credential {
  font-size: 11px;
  color: var(--brand-cyan);
  margin-bottom: 10px;
  font-weight: 600;
}
.expert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  justify-content: center;
}
.expert-tag {
  font-size: 11px;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.4);
  color: var(--brand-violet);
  padding: 2px 8px;
  border-radius: 20px;
}

/* ===== 社区功能卡片链接 ===== */
.feature-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--brand-cyan);
  text-decoration: none;
  font-weight: 600;
}
.feature-link:hover { text-decoration: underline; }

/* ===== 视频卡片链接包裹 ===== */
.video-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.video-card-link:hover .video-title { color: var(--brand-cyan); }

/* ===== 响应式补充 ===== */
@media (max-width: 1024px) {
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .ent-grid { grid-template-columns: 1fr; }
  .ent-card-img { height: 260px; }
  .ent-card-img-sm { height: 180px; }
  .ent-card-group { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .media-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .ent-card-group { grid-template-columns: 1fr; }
  .ent-card-img { height: 220px; }
  .ent-card-img-sm { height: 160px; }
}
