/* ============================================================
   四虎 - 汽车改装视频社区 | rhLi6s.cn
   原创赛车主题CSS样式表
   ============================================================ */

/* ---- CSS变量 ---- */
:root {
  --red:       #e8192c;
  --red-dark:  #b5101e;
  --red-light: #ff4d5e;
  --black:     #0d0d0d;
  --dark:      #1a1a1a;
  --dark2:     #242424;
  --dark3:     #2e2e2e;
  --carbon:    #1c1c1c;
  --silver:    #c8c8c8;
  --white:     #f5f5f5;
  --text:      #e0e0e0;
  --text-muted:#999;
  --border:    #333;
  --radius:    6px;
  --radius-lg: 12px;
  --shadow:    0 4px 20px rgba(0,0,0,.5);
  --shadow-red:0 4px 20px rgba(232,25,44,.25);
  --font:      'PingFang SC','Microsoft YaHei','Helvetica Neue',Arial,sans-serif;
  --transition:0.25s ease;
}

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

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

/* ---- 容器 ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,13,13,.96);
  border-bottom: 2px solid var(--red);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--red);
}
.brand-logo .brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}
.brand-logo .brand-name span { color: var(--red); }

/* 导航 */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--silver);
  font-size: .9rem;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: var(--red);
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 搜索框 */
.header-search {
  display: flex;
  align-items: center;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.header-search:focus-within { border-color: var(--red); }
.header-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  padding: 7px 14px;
  font-size: .88rem;
  width: 200px;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search button {
  background: var(--red);
  border: none;
  color: var(--white);
  padding: 7px 14px;
  font-size: .85rem;
  transition: background var(--transition);
}
.header-search button:hover { background: var(--red-dark); }

/* 搜索建议下拉 */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  display: none;
  z-index: 100;
}
.search-suggestions.show { display: block; }
.search-suggestions li {
  padding: 8px 14px;
  font-size: .88rem;
  cursor: pointer;
  transition: background var(--transition);
}
.search-suggestions li:hover { background: var(--dark3); color: var(--red); }

/* 搜索栏下方（导航下方全宽搜索）*/
.search-bar-full {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.search-bar-full .search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.search-bar-full input {
  flex: 1;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 24px;
  color: var(--white);
  padding: 10px 20px;
  font-size: .95rem;
  outline: none;
  transition: border-color var(--transition);
}
.search-bar-full input:focus { border-color: var(--red); }
.search-bar-full input::placeholder { color: var(--text-muted); }
.search-bar-full .btn-search {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 24px;
  padding: 10px 24px;
  font-size: .95rem;
  font-weight: 600;
  transition: background var(--transition);
}
.search-bar-full .btn-search:hover { background: var(--red-dark); }
.search-hot-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.search-hot-tags span { color: var(--text-muted); font-size: .82rem; }
.search-hot-tags a {
  font-size: .82rem;
  color: var(--silver);
  background: var(--dark3);
  padding: 3px 10px;
  border-radius: 12px;
  transition: all var(--transition);
}
.search-hot-tags a:hover { background: var(--red); color: var(--white); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.45);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,.85) 0%, rgba(232,25,44,.12) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}
.hero h1 .hl { color: var(--red); }
.hero p {
  font-size: 1.05rem;
  color: var(--silver);
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover { background: var(--red-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: var(--radius);
  padding: 11px 28px;
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-outline:hover { background: var(--white); color: var(--black); }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--red);
}
.hero-stat .label { font-size: .82rem; color: var(--text-muted); }

/* 滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: .78rem;
  animation: bounce 2s infinite;
}
.scroll-hint::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  background: rgba(232,25,44,.15);
  color: var(--red);
  border: 1px solid rgba(232,25,44,.3);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.section-header h2 span { color: var(--red); }
.section-header p { color: var(--text-muted); font-size: .95rem; max-width: 560px; margin: 0 auto; }
.section-line {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ============================================================
   VIDEO CARDS
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark2);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.4);
  opacity: 0;
  transition: opacity var(--transition);
}
.video-card:hover .video-play-btn { opacity: 1; }
.video-play-btn .play-icon {
  width: 54px;
  height: 54px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(.8);
  transition: transform var(--transition);
  box-shadow: 0 0 20px rgba(232,25,44,.6);
}
.video-card:hover .play-icon { transform: scale(1); }
.play-icon::after {
  content: '';
  border: 10px solid transparent;
  border-left: 18px solid white;
  margin-left: 4px;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.75);
  color: var(--white);
  font-size: .75rem;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-info { padding: 14px; }
.video-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--text-muted);
}
.video-meta .views::before { content: '▶ '; }
.video-meta .likes::before { content: '♥ '; color: var(--red); }
.video-author {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.video-author .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}
.video-author .name { font-size: .8rem; color: var(--text-muted); }

/* 视频播放器内页 */
.video-player-wrap {
  background: var(--black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.video-player-wrap video {
  width: 100%;
  display: block;
  max-height: 500px;
  background: #000;
}

/* 分类标签 */
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cat-tab {
  background: var(--dark2);
  color: var(--silver);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: .88rem;
  cursor: pointer;
  transition: all var(--transition);
}
.cat-tab:hover, .cat-tab.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ============================================================
   MODULES
   ============================================================ */
/* 汽车传媒模块 */
.media-section { background: var(--dark); }
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.media-card {
  background: var(--dark2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.media-card:hover { border-color: var(--red); transform: translateY(-3px); }
.media-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.media-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.media-card:hover .media-card-img img { transform: scale(1.05); }
.media-card-body { padding: 16px; }
.media-card-body h3 { font-size: 1rem; color: var(--white); margin-bottom: 6px; }
.media-card-body p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }
.media-card-tag {
  display: inline-block;
  background: rgba(232,25,44,.15);
  color: var(--red);
  font-size: .75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* 娱乐专区 */
.entertainment-section { background: var(--carbon); }
.ent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ent-card {
  background: var(--dark2);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.ent-card:hover { border-color: var(--red); background: var(--dark3); }
.ent-icon {
  width: 56px;
  height: 56px;
  background: rgba(232,25,44,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.5rem;
  transition: background var(--transition);
}
.ent-card:hover .ent-icon { background: var(--red); }
.ent-card h3 { font-size: .95rem; color: var(--white); margin-bottom: 6px; }
.ent-card p { font-size: .82rem; color: var(--text-muted); }

/* AI赋能 */
.ai-section { background: var(--dark); }
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.ai-content h2 { font-size: 1.8rem; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.ai-content h2 span { color: var(--red); }
.ai-content p { color: var(--text-muted); margin-bottom: 20px; }
.ai-features { display: flex; flex-direction: column; gap: 12px; }
.ai-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--border);
}
.ai-feature .icon {
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.ai-feature .text h4 { font-size: .9rem; color: var(--white); margin-bottom: 3px; }
.ai-feature .text p { font-size: .82rem; color: var(--text-muted); margin: 0; }
.ai-visual { border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--red); }
.ai-visual img { width: 100%; display: block; }

/* 社区功能 */
.community-section { background: var(--carbon); }
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.comm-card {
  background: var(--dark2);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.comm-card:hover { border-color: var(--red); }
.comm-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.comm-card h3 .dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.comm-card p { font-size: .85rem; color: var(--text-muted); margin-bottom: 14px; }
.comm-card .btn-sm {
  display: inline-block;
  background: rgba(232,25,44,.15);
  color: var(--red);
  border: 1px solid rgba(232,25,44,.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .82rem;
  transition: all var(--transition);
}
.comm-card .btn-sm:hover { background: var(--red); color: var(--white); }

/* 专家展示 */
.experts-section { background: var(--dark); }
.experts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.expert-card {
  background: var(--dark2);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.expert-card:hover { border-color: var(--red); transform: translateY(-3px); }
.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 14px;
  border: 3px solid var(--border);
}
.expert-card:hover .expert-avatar { border-color: var(--red); }
.expert-card h3 { font-size: .95rem; color: var(--white); margin-bottom: 4px; }
.expert-card .role { font-size: .8rem; color: var(--red); margin-bottom: 8px; }
.expert-card p { font-size: .82rem; color: var(--text-muted); margin-bottom: 14px; }
.expert-links { display: flex; gap: 8px; justify-content: center; }
.expert-links a {
  font-size: .78rem;
  background: var(--dark3);
  color: var(--silver);
  padding: 4px 10px;
  border-radius: 4px;
  transition: all var(--transition);
}
.expert-links a:hover { background: var(--red); color: var(--white); }

/* 合作品牌 */
.partners-section { background: var(--carbon); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.partner-logo {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2/1;
  transition: all var(--transition);
}
.partner-logo:hover { border-color: var(--red); }
.partner-logo span {
  font-size: .85rem;
  font-weight: 700;
  color: var(--silver);
  letter-spacing: 1px;
}

/* 加入社区 */
.join-guide { background: var(--dark2); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); }
.join-guide h3 { font-size: 1.2rem; color: var(--white); margin-bottom: 20px; }
.join-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.join-step {
  text-align: center;
  padding: 16px;
}
.step-num {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 10px;
}
.join-step h4 { font-size: .9rem; color: var(--white); margin-bottom: 4px; }
.join-step p { font-size: .8rem; color: var(--text-muted); }

/* 联系我们 */
.contact-section { background: var(--dark); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-item .icon {
  width: 36px;
  height: 36px;
  background: rgba(232,25,44,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item .detail .label { font-size: .8rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-item .detail .value { font-size: .9rem; color: var(--white); }
.contact-qrcodes { display: flex; gap: 20px; }
.qr-box { text-align: center; }
.qr-box img { width: 120px; height: 120px; border-radius: var(--radius); border: 2px solid var(--border); margin-bottom: 8px; }
.qr-box p { font-size: .8rem; color: var(--text-muted); }

/* 用户评价 */
.reviews-section { background: var(--carbon); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--dark2);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.review-card:hover { border-color: var(--red); }
.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(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}
.review-user .name { font-size: .9rem; color: var(--white); font-weight: 600; }
.review-user .meta { font-size: .78rem; color: var(--text-muted); }
.review-stars { margin-left: auto; color: #f5a623; font-size: .9rem; }
.review-text { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }
.review-tag { margin-top: 10px; font-size: .78rem; color: var(--red); }

/* FAQ */
.faq-section { background: var(--dark); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--red); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-size: .95rem;
  color: var(--white);
  font-weight: 600;
  gap: 12px;
}
.faq-question:hover { color: var(--red); }
.faq-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-item.open .faq-arrow { background: var(--red); transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 20px;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 20px 16px; }

/* 社交分享 */
.share-section { background: var(--carbon); padding: 40px 0; }
.share-inner { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.share-label { color: var(--text-muted); font-size: .9rem; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: .88rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.share-btn.wechat { background: #07c160; color: #fff; }
.share-btn.weibo  { background: #e6162d; color: #fff; }
.share-btn.douyin { background: #010101; color: #fff; border: 1px solid #333; }
.share-btn.bilibili { background: #00a1d6; color: #fff; }
.share-btn:hover { opacity: .85; transform: translateY(-2px); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-nav {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb-list a { color: var(--text-muted); }
.breadcrumb-list a:hover { color: var(--red); }
.breadcrumb-list .sep { color: var(--border); }
.breadcrumb-list .current { color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  border-top: 2px solid var(--red);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo-wrap img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--red); }
.footer-brand .logo-wrap span { font-size: 1.2rem; font-weight: 700; color: var(--white); }
.footer-brand p { font-size: .85rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px;
  height: 34px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--silver);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer-col h4 { font-size: .95rem; color: var(--white); font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .85rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .82rem; color: var(--text-muted); }
.footer-bottom .update-time { font-size: .8rem; color: var(--text-muted); }
.footer-bottom .update-time span { color: var(--red); }

/* ============================================================
   INNER PAGE LAYOUT
   ============================================================ */
.page-hero {
  padding: 100px 0 50px;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--white); margin-bottom: 8px; }
.page-hero h1 span { color: var(--red); }
.page-hero p { color: var(--text-muted); font-size: .95rem; }
.page-content { padding: 50px 0; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: start;
}
.sidebar { position: sticky; top: 90px; }
.sidebar-box {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-box h4 { font-size: .95rem; color: var(--white); font-weight: 700; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.hot-list li { margin-bottom: 10px; }
.hot-list li a {
  font-size: .85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}
.hot-list li a:hover { color: var(--red); }
.hot-list li .rank {
  width: 20px;
  height: 20px;
  background: var(--dark3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.hot-list li:nth-child(1) .rank,
.hot-list li:nth-child(2) .rank,
.hot-list li:nth-child(3) .rank { background: var(--red); color: var(--white); }

/* 工具卡片 */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tool-card {
  background: var(--dark2);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-align: center;
}
.tool-card:hover { border-color: var(--red); transform: translateY(-3px); }
.tool-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.tool-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 8px; }
.tool-card p { font-size: .85rem; color: var(--text-muted); margin-bottom: 16px; }
.tool-card .btn-use {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 7px 20px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  transition: background var(--transition);
}
.tool-card .btn-use:hover { background: var(--red-dark); }

/* 弹幕 */
.danmu-wrap {
  position: relative;
  height: 50px;
  overflow: hidden;
  background: rgba(0,0,0,.3);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.danmu-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  animation: danmu-scroll 20s linear infinite;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.danmu-track span { margin-right: 60px; }
@keyframes danmu-scroll { 0%{transform:translateY(-50%) translateX(100vw)} 100%{transform:translateY(-50%) translateX(-100%)} }

/* 加载更多 */
.load-more-wrap { text-align: center; margin-top: 36px; }
.btn-load-more {
  background: var(--dark2);
  color: var(--silver);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 10px 32px;
  font-size: .9rem;
  transition: all var(--transition);
}
.btn-load-more:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* ============================================================
   ABOUT / EXPERTS PAGE
   ============================================================ */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content:''; position:absolute; left:8px; top:0; bottom:0; width:2px; background:var(--border); }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before { content:''; position:absolute; left:-26px; top:6px; width:12px; height:12px; background:var(--red); border-radius:50%; border:2px solid var(--dark); }
.timeline-item .year { font-size: .8rem; color: var(--red); font-weight: 700; margin-bottom: 4px; }
.timeline-item h4 { font-size: .95rem; color: var(--white); margin-bottom: 4px; }
.timeline-item p { font-size: .85rem; color: var(--text-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .experts-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .ent-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .join-steps { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--dark); border-bottom: 1px solid var(--border); padding: 12px; gap: 4px; }
  .main-nav.open { display: flex; }
  .hamburger { display: flex; }
  .header-search { display: none; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 20px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .ent-grid { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .join-steps { grid-template-columns: 1fr; }
  section { padding: 50px 0; }
}

/* ============================================================
   干扰标签隐藏（display:none 确保不破坏布局）
   ============================================================ */
.kktu-noise { display: none !important; }

/* ============================================================
   四虎 - 补充类样式（内联style提取）
   ============================================================ */
.section-dark-pad { background: var(--dark); padding: 70px 0; }
.mb-32 { margin-bottom: 32px; }
.video-main-player { width: 100%; max-height: 480px; background: #000; display: block; }
.sidebar-inner-box { margin-top: 24px; background: var(--dark2); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border); }
.sidebar-inner-title { color: var(--white); margin-bottom: 12px; font-size: .95rem; font-weight: 700; }
.sidebar-link-list { display: flex; flex-direction: column; gap: 8px; }
.sidebar-link { color: var(--text-muted); font-size: .88rem; text-decoration: none; transition: color var(--transition); }
.sidebar-link:hover { color: var(--red); }

/* 工具卡片 */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card { background: var(--dark2); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); transition: border-color var(--transition), transform var(--transition); }
.tool-card:hover { border-color: var(--red); transform: translateY(-4px); }
.tool-icon { font-size: 2.5rem; margin-bottom: 12px; }
.tool-card h3 { color: var(--white); font-size: .95rem; margin-bottom: 8px; }
.tool-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.tool-count { background: rgba(232,25,44,.15); color: var(--red); font-size: .75rem; padding: 3px 12px; border-radius: 12px; }

/* 专家卡片 */
.experts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.expert-card { background: var(--dark2); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border); display: flex; gap: 16px; transition: border-color var(--transition); }
.expert-card:hover { border-color: var(--red); }
.expert-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-dark)); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; color: var(--white); flex-shrink: 0; }
.expert-info h3 { color: var(--white); font-size: .95rem; margin-bottom: 4px; }
.expert-title { background: rgba(232,25,44,.15); color: var(--red); font-size: .72rem; padding: 2px 8px; border-radius: 10px; display: inline-block; margin-bottom: 8px; }
.expert-info p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }

/* 时间线 */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); border: 2px solid var(--dark); }
.timeline-year { font-size: .8rem; color: var(--red); font-weight: 700; margin-bottom: 6px; }
.timeline-content h4 { color: var(--white); font-size: .95rem; margin-bottom: 6px; }
.timeline-content p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* 社区卡片 */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.comm-card { background: var(--dark2); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border); transition: border-color var(--transition), transform var(--transition); }
.comm-card:hover { border-color: var(--red); transform: translateY(-4px); }
.comm-card h3 { color: var(--white); font-size: .95rem; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.comm-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.btn-sm { display: inline-block; padding: 6px 16px; background: var(--red); color: var(--white); border-radius: var(--radius); font-size: .8rem; text-decoration: none; transition: background var(--transition); }
.btn-sm:hover { background: var(--red-dark); }

/* 加入指南 */
.join-guide { background: var(--dark2); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); margin-top: 40px; }
.join-guide h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 24px; text-align: center; }
.join-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.join-step { text-align: center; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: var(--white); font-size: 1.3rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.join-step h4 { color: var(--white); font-size: .9rem; margin-bottom: 6px; }
.join-step p { font-size: .8rem; color: var(--text-muted); line-height: 1.6; }

/* 加载更多按钮 */
.load-more-wrap { text-align: center; margin-top: 32px; }
.btn-load-more { padding: 12px 40px; background: transparent; border: 2px solid var(--red); color: var(--red); border-radius: var(--radius); font-size: .9rem; cursor: pointer; transition: all var(--transition); font-weight: 700; }
.btn-load-more:hover { background: var(--red); color: var(--white); }

/* 响应式补充 */
@media (max-width: 768px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .experts-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .join-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .join-steps { grid-template-columns: 1fr; }
}
