/* ============================================================
   爆料吃瓜网 - 汽车改装视频社区
   主样式文件 | bdpeng.cn
   原创设计系统 v1.0
   ============================================================ */

/* ---------- CSS变量 ---------- */
:root {
  --primary: #0a1628;
  --primary-light: #0d2045;
  --accent: #1a6fd4;
  --accent-bright: #2a8fff;
  --accent-glow: rgba(26, 111, 212, 0.35);
  --silver: #c8d4e0;
  --silver-light: #e8eef4;
  --gold: #c9a84c;
  --gold-light: #f0d080;
  --text-main: #e8eef4;
  --text-muted: #8a9ab0;
  --text-dark: #1a2535;
  --bg-dark: #060e1a;
  --bg-card: #0f1e32;
  --bg-card-hover: #162840;
  --border: rgba(26, 111, 212, 0.2);
  --border-bright: rgba(26, 111, 212, 0.5);
  --shadow-blue: 0 4px 24px rgba(26, 111, 212, 0.25);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  --header-h: 70px;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--accent-bright); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-main); }
input, textarea, select { font-family: var(--font-main); }

/* ---------- 布局工具 ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* ---------- 顶部公告栏 ---------- */
.top-bar {
  background: linear-gradient(90deg, var(--primary) 0%, #0d2045 50%, var(--primary) 100%);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-notice { display: flex; align-items: center; gap: 8px; }
.top-bar-notice span { color: var(--accent-bright); font-weight: 600; }
.top-bar-links { display: flex; gap: 16px; }
.top-bar-links a { color: var(--text-muted); font-size: 12px; }
.top-bar-links a:hover { color: var(--accent-bright); }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(6, 14, 26, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo img.logo-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--accent);
}
.site-logo img.logo-text {
  height: 28px;
  width: auto;
}
.site-logo .brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 1px;
}
.site-logo .brand-name em {
  color: var(--accent-bright);
  font-style: normal;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--text-main);
  background: rgba(26, 111, 212, 0.15);
}
.main-nav a.active { color: var(--accent-bright); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.btn-nav-cta {
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-nav-cta:hover {
  background: var(--accent-bright);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 111, 212, 0.4);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- 搜索栏 ---------- */
.search-bar-section {
  background: var(--primary-light);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.search-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.search-bar-form {
  display: flex;
  flex: 1;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-bar-form:focus-within {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.search-bar-form input {
  flex: 1;
  padding: 10px 16px;
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 14px;
}
.search-bar-form input::placeholder { color: var(--text-muted); }
.search-bar-form button {
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition);
}
.search-bar-form button:hover { background: var(--accent-bright); }
.search-hot-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search-hot-tags span { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.search-hot-tags a {
  font-size: 12px;
  color: var(--text-muted);
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all var(--transition);
}
.search-hot-tags a:hover {
  color: var(--accent-bright);
  border-color: var(--accent-bright);
  background: var(--accent-glow);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  background: var(--primary);
}
.breadcrumb ol { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.breadcrumb li a { color: var(--text-muted); }
.breadcrumb li a:hover { color: var(--accent-bright); }
.breadcrumb li.active { color: var(--text-main); }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--border-bright); }

/* ---------- Hero区域 ---------- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.45);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.03); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,14,26,0.9) 0%, rgba(6,14,26,0.5) 50%, rgba(6,14,26,0.1) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 60px 0;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26, 111, 212, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-tag::before { content: '▶'; font-size: 10px; }
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 16px;
}
.hero h1 .highlight {
  color: var(--accent-bright);
  text-shadow: 0 0 20px rgba(42, 143, 255, 0.5);
}
.hero-desc {
  font-size: 16px;
  color: var(--silver);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-item { text-align: center; }
.hero-stat-item .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-bright);
  display: block;
}
.hero-stat-item .label { font-size: 12px; color: var(--text-muted); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26, 111, 212, 0.35);
}
.btn-primary:hover {
  background: var(--accent-bright);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 111, 212, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
  background: rgba(26, 111, 212, 0.1);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--primary);
  font-weight: 700;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
  color: var(--primary);
}
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- 区块标题 ---------- */
.section-header {
  margin-bottom: 40px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent-bright);
}
.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 12px;
}
.section-title .accent { color: var(--accent-bright); }
.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}
.section-header.center { text-align: center; }
.section-header.center .section-tag { justify-content: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ---------- 视频卡片 ---------- */
.video-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.video-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  background: var(--bg-card-hover);
}
.video-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: var(--primary);
}
.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px;
  height: 56px;
  background: rgba(26, 111, 212, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.3);
}
.video-play-btn::after {
  content: '';
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.video-card:hover .video-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-quality {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.video-hot-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #e63946, #ff6b6b);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-info { padding: 14px 16px 16px; }
.video-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 8px;
  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-left { display: flex; align-items: center; gap: 10px; }
.video-views::before { content: '▶ '; }
.video-likes::before { content: '♥ '; color: #e63946; }
.video-comments::before { content: '💬 '; }
.video-category {
  font-size: 11px;
  color: var(--accent-bright);
  background: rgba(26, 111, 212, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}
.video-author { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.video-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.video-author-name { font-size: 12px; color: var(--text-muted); }

/* 视频缩略图占位（无图时显示渐变） */
.video-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.thumb-racing { background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 50%, #0d2045 100%); }
.thumb-offroad { background: linear-gradient(135deg, #1a2a0a 0%, #2a4a1a 50%, #1a3010 100%); }
.thumb-sedan { background: linear-gradient(135deg, #1a0a28 0%, #3a1a5e 50%, #2a0d45 100%); }
.thumb-community { background: linear-gradient(135deg, #28100a 0%, #5e2a1a 50%, #451a0d 100%); }
.thumb-ai { background: linear-gradient(135deg, #0a2028 0%, #1a4a5e 50%, #0d3045 100%); }
.thumb-default { background: linear-gradient(135deg, #0a1628 0%, #162840 100%); }

/* ---------- 大视频卡片（精选） ---------- */
.video-card-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.video-card-featured:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
  transform: translateY(-3px);
}
.video-card-featured .video-thumb { padding-top: 50%; }
.video-card-featured .video-info { padding: 20px 24px; }
.video-card-featured .video-title { font-size: 18px; -webkit-line-clamp: 2; }

/* ---------- 视频播放页 ---------- */
.video-player-wrap {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.video-player-wrap video,
.video-player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-player-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #060e1a 0%, #0d2045 100%);
  gap: 16px;
}
.player-play-icon {
  width: 80px;
  height: 80px;
  background: rgba(26, 111, 212, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  border: 3px solid rgba(255,255,255,0.3);
}
.player-play-icon::after {
  content: '';
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}
.player-play-icon:hover {
  background: var(--accent-bright);
  transform: scale(1.1);
}

/* ---------- 标签栏 ---------- */
.tabs-bar {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--transition);
  cursor: pointer;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
}
.tab-btn:hover { color: var(--text-main); }
.tab-btn.active {
  color: var(--accent-bright);
  border-bottom-color: var(--accent-bright);
}

/* ---------- 功能模块卡片 ---------- */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(26, 111, 212, 0.15);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  transition: all var(--transition);
}
.feature-card:hover .feature-icon {
  background: rgba(26, 111, 212, 0.3);
  border-color: var(--accent-bright);
}
.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- 专家卡片 ---------- */
.expert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}
.expert-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}
.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 14px;
  border: 3px solid var(--border-bright);
}
.expert-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}
.expert-role {
  font-size: 12px;
  color: var(--accent-bright);
  margin-bottom: 10px;
  font-weight: 600;
}
.expert-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.expert-badges { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.expert-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(26, 111, 212, 0.15);
  border: 1px solid var(--border-bright);
  color: var(--text-muted);
}
.expert-actions { display: flex; gap: 8px; justify-content: center; }

/* ---------- 评论区 ---------- */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: all var(--transition);
}
.review-card:hover {
  border-color: var(--border-bright);
  box-shadow: var(--shadow-card);
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #0d5aad 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.review-user-info { flex: 1; }
.review-username { font-size: 14px; font-weight: 600; color: var(--text-main); }
.review-date { font-size: 12px; color: var(--text-muted); }
.review-stars { display: flex; gap: 2px; }
.review-stars span { color: var(--gold); font-size: 14px; }
.review-text { font-size: 14px; color: var(--silver); line-height: 1.7; }
.review-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.review-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(26, 111, 212, 0.1);
  color: var(--accent-bright);
  border: 1px solid var(--border);
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--accent); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  background: var(--bg-card);
  transition: background var(--transition);
  gap: 12px;
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-q-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  flex: 1;
}
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(26, 111, 212, 0.15);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent-bright);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  background: var(--bg-card);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer { display: block; }

/* ---------- 合作品牌墙 ---------- */
.partner-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.partner-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  white-space: nowrap;
}
.partner-item:hover {
  border-color: var(--accent-bright);
  color: var(--text-main);
  background: rgba(26, 111, 212, 0.1);
}

/* ---------- 联系区域 ---------- */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(26, 111, 212, 0.15);
  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: 2px; }
.contact-value { font-size: 14px; font-weight: 600; color: var(--text-main); }

/* ---------- QR码区域 ---------- */
.qr-section { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.qr-item { text-align: center; }
.qr-item img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  border: 2px solid var(--border-bright);
  object-fit: cover;
}
.qr-label { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

/* ---------- 社交分享 ---------- */
.share-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.share-label { font-size: 13px; color: var(--text-muted); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
}
.share-wechat { background: rgba(7, 193, 96, 0.15); color: #07c160; border: 1px solid rgba(7,193,96,0.3); }
.share-weibo { background: rgba(230, 22, 45, 0.15); color: #e6162d; border: 1px solid rgba(230,22,45,0.3); }
.share-douyin { background: rgba(0, 0, 0, 0.4); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.share-bilibili { background: rgba(0, 161, 214, 0.15); color: #00a1d6; border: 1px solid rgba(0,161,214,0.3); }
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.2); }

/* ---------- 分页 ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.page-btn.prev, .page-btn.next { width: auto; padding: 0 14px; }

/* ---------- 统计数字 ---------- */
.stats-section { background: var(--primary-light); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stat-item {
  background: var(--bg-card);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--transition);
}
.stat-item:hover { background: var(--bg-card-hover); }
.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent-bright);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num .unit { font-size: 20px; }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ---------- 侧边栏 ---------- */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-widget-title {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-widget-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--accent-bright);
  border-radius: 2px;
}
.sidebar-widget-body { padding: 16px 18px; }
.sidebar-video-list { display: flex; flex-direction: column; gap: 12px; }
.sidebar-video-item { display: flex; gap: 10px; cursor: pointer; }
.sidebar-video-item:hover .sidebar-video-title { color: var(--accent-bright); }
.sidebar-video-thumb {
  width: 80px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--primary);
  position: relative;
}
.sidebar-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-video-info { flex: 1; }
.sidebar-video-title { font-size: 13px; color: var(--text-main); line-height: 1.5; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-video-meta { font-size: 11px; color: var(--text-muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(26, 111, 212, 0.1);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.tag-item:hover {
  background: rgba(26, 111, 212, 0.25);
  border-color: var(--accent-bright);
  color: var(--accent-bright);
}

/* ---------- 主内容+侧边栏布局 ---------- */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--primary);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .brand-name img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent-bright); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 12px; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--accent-bright); }
.footer-logo-area { margin-bottom: 16px; }
.footer-logo-area img { height: 36px; width: auto; }

/* ---------- 移动端导航 ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 14, 26, 0.98);
  z-index: 999;
  padding: 20px;
  overflow-y: auto;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { background: rgba(26, 111, 212, 0.15); color: var(--accent-bright); }

/* ---------- 通知条 ---------- */
.notice-bar {
  background: linear-gradient(90deg, rgba(26,111,212,0.2) 0%, rgba(26,111,212,0.05) 100%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.notice-bar .notice-icon { font-size: 18px; flex-shrink: 0; }
.notice-bar .notice-text { font-size: 13px; color: var(--text-muted); flex: 1; }
.notice-bar .notice-text strong { color: var(--accent-bright); }

/* ---------- 进度条 ---------- */
.progress-bar { background: var(--border); border-radius: 4px; height: 6px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent) 0%, var(--accent-bright) 100%); border-radius: 4px; transition: width 1s ease; }

/* ---------- 徽章 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.badge-blue { background: rgba(26,111,212,0.2); color: var(--accent-bright); border: 1px solid var(--border-bright); }
.badge-gold { background: rgba(201,168,76,0.2); color: var(--gold-light); border: 1px solid rgba(201,168,76,0.3); }
.badge-red { background: rgba(230,57,70,0.2); color: #ff6b6b; border: 1px solid rgba(230,57,70,0.3); }
.badge-green { background: rgba(7,193,96,0.2); color: #07c160; border: 1px solid rgba(7,193,96,0.3); }

/* ---------- 加载动画 ---------- */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
@keyframes spin { to{transform:rotate(360deg)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
.animate-fade-in { animation: fadeInUp 0.6s ease both; }
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

/* ---------- 搜索结果页 ---------- */
.search-result-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 16px;
  transition: all var(--transition);
}
.search-result-item:hover { border-color: var(--accent); transform: translateX(4px); }
.search-result-title { font-size: 17px; font-weight: 700; color: var(--accent-bright); margin-bottom: 8px; }
.search-result-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.search-result-meta { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--text-muted); }

/* ---------- 页面标题区 ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,111,212,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: var(--text-main); margin-bottom: 10px; }
.page-hero p { font-size: 15px; color: var(--text-muted); max-width: 600px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 460px; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .section { padding: 50px 0; }
  .main-nav, .header-actions .btn-nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .top-bar-links { display: none; }
  .search-hot-tags { display: none; }
  .sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .container { padding: 0 14px; }
  .section { padding: 36px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 380px; }
}

/* ---------- 干扰标签隐藏（display:none不影响布局） ---------- */
.kktu-noise-wrap { display: none !important; }

/* ===== 补充样式 ===== */

/* 筛选栏 */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn { padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--text-muted); background: var(--primary-light); border: 1px solid var(--border); text-decoration: none; transition: all 0.2s; cursor: pointer; }
.filter-btn:hover, .filter-btn.active { background: var(--accent-bright); color: #fff; border-color: var(--accent-bright); }

/* 视频详情页布局 */
.video-detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.video-main { min-width: 0; }
.video-player-wrap { background: #000; border-radius: 10px; overflow: hidden; }
.video-detail-info { padding: 20px 0; }
.video-detail-title { font-size: 20px; font-weight: 800; color: var(--text-main); line-height: 1.4; margin-bottom: 16px; }
.video-detail-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.video-detail-stats { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); }
.video-detail-actions { display: flex; gap: 8px; }
.video-detail-author { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.video-detail-desc { padding: 16px; background: var(--primary-light); border-radius: 8px; font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* 侧边栏 */
.video-sidebar { position: sticky; top: 80px; }
.sidebar-title { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--accent-bright); }
.sidebar-video-card { display: flex; gap: 10px; cursor: pointer; padding: 10px; border-radius: 8px; transition: background 0.2s; margin-bottom: 8px; }
.sidebar-video-card:hover { background: var(--primary-light); }
.sidebar-video-card:hover .sidebar-video-title { color: var(--accent-bright); }
.sidebar-video-thumb { width: 120px; min-width: 120px; height: 68px; border-radius: 6px; overflow: hidden; position: relative; background: var(--primary-light); }
.sidebar-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-video-info { flex: 1; min-width: 0; }
.sidebar-video-title { font-size: 13px; color: var(--text-main); line-height: 1.5; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-video-views { font-size: 11px; color: var(--text-muted); }

/* 评论区 */
.comment-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.comment-title { font-size: 18px; font-weight: 700; color: var(--text-main); margin-bottom: 20px; }
.comment-form { display: flex; gap: 12px; margin-bottom: 28px; }
.comment-input-wrap { flex: 1; }
.comment-input-wrap textarea { width: 100%; padding: 12px; background: var(--primary-light); border: 1px solid var(--border); border-radius: 8px; color: var(--text-main); font-size: 14px; resize: vertical; margin-bottom: 8px; }
.comment-input-wrap textarea:focus { outline: none; border-color: var(--accent-bright); }
.comment-list { display: flex; flex-direction: column; gap: 20px; }
.comment-item { display: flex; gap: 12px; }
.comment-body { flex: 1; }
.comment-user { font-size: 14px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.comment-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }
.comment-actions { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); align-items: center; }
.comment-reply { display: flex; gap: 10px; margin-top: 12px; padding: 10px; background: var(--primary-light); border-radius: 8px; }

/* 搜索页表单 */
.search-page-form { display: flex; gap: 0; border-radius: 8px; overflow: hidden; border: 2px solid var(--accent-bright); max-width: 600px; margin: 0 auto 40px; }
.search-page-form input { flex: 1; padding: 12px 16px; background: var(--primary-light); border: none; color: var(--text-main); font-size: 15px; outline: none; }
.search-page-form button { padding: 12px 24px; background: var(--accent-bright); color: #fff; border: none; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.search-page-form button:hover { background: var(--accent); }

/* 按钮尺寸补充 */
.btn-xs { padding: 4px 10px; font-size: 11px; border-radius: 4px; }

/* 响应式：视频详情页 */
@media (max-width: 900px) {
  .video-detail-layout { grid-template-columns: 1fr; }
  .video-sidebar { position: static; }
}
@media (max-width: 600px) {
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 6px 12px; font-size: 12px; }
  .video-detail-title { font-size: 16px; }
  .sidebar-video-thumb { width: 90px; min-width: 90px; height: 52px; }
}
