/* 小马拉大车 - 主样式表 | yijiangbei.cn */
/* 原创设计，版权所有 © 2026 小马拉大车影视传媒 */

/* ===== CSS变量 ===== */
:root {
  --primary: #1a3a5c;
  --secondary: #ff6b35;
  --accent: #0d9488;
  --bg-dark: #0f1923;
  --bg-card: #1e2d3d;
  --bg-light: #f5f7fa;
  --text-main: #e8edf2;
  --text-muted: #8fa3b8;
  --text-dark: #1a2332;
  --border: #2a3f55;
  --gradient-hero: linear-gradient(135deg, #0f1923 0%, #1a3a5c 50%, #0d2137 100%);
  --gradient-card: linear-gradient(145deg, #1e2d3d, #162433);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 32px rgba(255,107,53,0.25);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 重置与基础 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: #ff8c5a; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; }

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }

/* ===== 顶部公告栏 ===== */
.top-bar {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  text-align: center;
  padding: 6px 20px;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.top-bar a { color: #fff; font-weight: 600; }

/* ===== 头部导航 ===== */
.site-header {
  background: rgba(15, 25, 35, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 20px;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo img {
  height: 42px;
  width: auto;
}
.site-logo .brand-text {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}
.site-logo .brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  letter-spacing: 1px;
}

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--secondary);
  background: rgba(255,107,53,0.1);
}

/* 搜索框 */
.search-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 6px 16px;
  gap: 8px;
  min-width: 200px;
  transition: var(--transition);
}
.search-wrap:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
}
.search-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 14px;
  width: 100%;
}
.search-wrap input::placeholder { color: var(--text-muted); }
.search-btn {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: var(--transition);
}
.search-btn:hover { background: #ff8c5a; transform: scale(1.1); }

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== 搜索框区域（导航下方） ===== */
.search-section {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
}
.search-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-section-wrap {
  flex: 1;
  max-width: 600px;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 8px 20px;
  gap: 10px;
  transition: var(--transition);
}
.search-section-wrap:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
}
.search-section-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 15px;
  width: 100%;
}
.search-section-wrap input::placeholder { color: var(--text-muted); }
.search-section-btn {
  background: linear-gradient(135deg, var(--secondary), #ff8c5a);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.search-section-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,107,53,0.4); }
.hot-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hot-tags span { color: var(--text-muted); font-size: 13px; }
.hot-tag {
  background: rgba(255,107,53,0.1);
  color: var(--secondary);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 14px;
  padding: 3px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}
.hot-tag:hover { background: var(--secondary); color: #fff; }

/* ===== Hero Banner ===== */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,25,35,0.9) 0%, rgba(15,25,35,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(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.3);
  color: var(--secondary);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
}
.hero-title .brand { color: var(--secondary); }
.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--secondary), #ff8c5a);
  color: #fff;
  padding: 13px 32px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255,107,53,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,107,53,0.5); color: #fff; }
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 12px 30px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--secondary); color: var(--secondary); }
.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;
  color: var(--secondary);
  display: block;
}
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ===== 通用区块 ===== */
.section { padding: 60px 20px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag {
  display: inline-block;
  background: rgba(255,107,53,0.1);
  color: var(--secondary);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.section-title .brand { color: var(--secondary); }
.section-desc { color: var(--text-muted); font-size: 15px; max-width: 560px; margin: 0 auto; }

/* ===== 视频卡片网格 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,107,53,0.3);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-card);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: var(--transition);
}
.video-card:hover .play-btn { opacity: 1; }
.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,107,53,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: var(--transition);
}
.video-card:hover .play-icon { transform: scale(1); }
.play-icon::after {
  content: '';
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-info { padding: 14px; }
.video-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }

/* ===== 功能模块卡片 ===== */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.module-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.module-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,107,53,0.3);
  box-shadow: var(--shadow-hover);
}
.module-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 24px;
}
.module-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.module-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ===== 专家展示 ===== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.expert-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--secondary);
}
.expert-name { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.expert-role { font-size: 13px; color: var(--secondary); margin-bottom: 10px; }
.expert-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 16px; }
.expert-tag {
  background: rgba(13,148,136,0.15);
  color: var(--accent);
  border: 1px solid rgba(13,148,136,0.2);
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 11px;
}
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-sm-primary { background: var(--secondary); color: #fff; }
.btn-sm-primary:hover { background: #ff8c5a; color: #fff; }
.btn-sm-outline { border: 1px solid var(--border); color: var(--text-muted); }
.btn-sm-outline:hover { border-color: var(--secondary); color: var(--secondary); }

/* ===== 用户评价 ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.review-card:hover { border-color: rgba(255,107,53,0.2); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.review-user-name { font-size: 15px; font-weight: 700; color: #fff; }
.review-date { font-size: 12px; color: var(--text-muted); }
.review-stars { color: #fbbf24; font-size: 14px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.review-like { margin-top: 12px; font-size: 12px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(255,107,53,0.3); }
.faq-question {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  gap: 12px;
}
.faq-question:hover { color: var(--secondary); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,107,53,0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--secondary); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 18px; }

/* ===== 合作品牌 ===== */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.partner-item {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  min-width: 120px;
  text-align: center;
}
.partner-item:hover { border-color: var(--secondary); color: var(--secondary); transform: translateY(-2px); }

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.contact-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.contact-icon { font-size: 36px; margin-bottom: 14px; }
.contact-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.contact-info { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.qr-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin: 12px auto;
}

/* ===== 社交分享 ===== */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  color: #fff;
}
.share-btn:hover { transform: translateY(-2px); color: #fff; }
.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #000; border: 1px solid #333; }
.share-bilibili { background: #00a1d6; }

/* ===== 页脚 ===== */
.site-footer {
  background: #080f18;
  border-top: 1px solid var(--border);
  padding: 48px 20px 24px;
}
.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 .brand-name {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.footer-logo { height: 40px; margin-bottom: 14px; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  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: 13px; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--secondary); }
.footer-qr-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-qr-item { text-align: center; }
.footer-qr-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.footer-qr-item p { font-size: 11px; color: var(--text-muted); margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-copy a { color: var(--text-muted); }
.footer-copy a:hover { color: var(--secondary); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text-muted); }
.footer-links a:hover { color: var(--secondary); }
.update-time { font-size: 12px; color: var(--text-muted); }

/* ===== 分类标签栏 ===== */
.category-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-bar::-webkit-scrollbar { display: none; }
.category-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
  padding: 10px 0;
}
.cat-btn {
  background: transparent;
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
}
.cat-btn:hover, .cat-btn.active {
  background: var(--secondary);
  color: #fff;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 12px 20px;
  max-width: 1280px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--secondary); }

/* ===== 内页布局 ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2137 100%);
  padding: 48px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.page-hero p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ===== 内页内容区 ===== */
.page-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
}
.content-intro {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 32px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
}
.content-intro h2 { color: #fff; font-size: 20px; margin-bottom: 12px; }

/* ===== 排行榜 ===== */
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-item {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.rank-item:hover { border-color: rgba(255,107,53,0.3); transform: translateX(4px); }
.rank-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}
.rank-num.top1 { background: #fbbf24; color: #000; }
.rank-num.top2 { background: #9ca3af; color: #000; }
.rank-num.top3 { background: #cd7c2f; color: #fff; }
.rank-num.other { background: var(--bg-card); color: var(--text-muted); }
.rank-thumb {
  width: 80px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.rank-info { flex: 1; }
.rank-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.rank-meta { font-size: 12px; color: var(--text-muted); }
.rank-views { font-size: 14px; font-weight: 700; color: var(--secondary); }

/* ===== 加载更多 ===== */
.load-more-wrap { text-align: center; margin-top: 32px; }
.btn-load-more {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-muted);
  padding: 12px 40px;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-load-more:hover { border-color: var(--secondary); color: var(--secondary); }

/* ===== 通知/公告 ===== */
.notice-bar {
  background: rgba(255,107,53,0.08);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
}
.notice-icon { color: var(--secondary); font-size: 16px; flex-shrink: 0; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(15,25,35,0.98);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .hamburger { display: flex; }
  .search-wrap { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-stats { gap: 20px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .search-section-inner { flex-direction: column; align-items: stretch; }
  .hot-tags { display: none; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.5s ease forwards; }

/* ===== 懒加载占位 ===== */
img[data-src] {
  background: var(--bg-card);
  min-height: 100px;
}

/* ===== 视频播放模态框 ===== */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.video-modal.show { display: flex; }
.modal-inner {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 800px;
  width: 100%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.modal-close:hover { background: var(--secondary); }
.modal-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== AI功能卡片 ===== */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.ai-card {
  background: linear-gradient(135deg, #1e2d3d, #162433);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}
.ai-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.ai-icon { font-size: 32px; margin-bottom: 16px; }
.ai-title { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.ai-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== 社区功能 ===== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.community-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.community-card:hover { border-color: rgba(13,148,136,0.4); transform: translateY(-3px); }
.community-icon { font-size: 28px; margin-bottom: 12px; }
.community-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.community-count { font-size: 12px; color: var(--accent); }

/* ===== 图片展示 ===== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.photo-item {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.photo-item:hover img { transform: scale(1.08); }
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.photo-item:hover .photo-overlay { opacity: 1; }
.photo-overlay span { font-size: 12px; color: #fff; }

/* ===== 步骤指南 ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.step-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  position: relative;
}
.step-num {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--secondary), #ff8c5a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 14px;
}
.step-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== 标签 ===== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  transition: var(--transition);
  cursor: pointer;
}
.tag:hover { background: rgba(255,107,53,0.1); border-color: var(--secondary); color: var(--secondary); }

/* ===== 新闻列表 ===== */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
  transition: var(--transition);
}
.news-item:hover { border-color: rgba(255,107,53,0.3); }
.news-thumb {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.news-content { flex: 1; }
.news-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.5; }
.news-title a { color: #fff; }
.news-title a:hover { color: var(--secondary); }
.news-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.news-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 12px; }

/* ===== 工具卡片 ===== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.tool-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.tool-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.tool-name { font-size: 16px; font-weight: 700; color: #fff; }
.tool-badge {
  font-size: 10px;
  background: var(--secondary);
  color: #fff;
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 6px;
}
.tool-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.tool-btn {
  display: inline-block;
  background: rgba(255,107,53,0.1);
  color: var(--secondary);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 16px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.tool-btn:hover { background: var(--secondary); color: #fff; }

/* ===== 直播卡片 ===== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.live-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.live-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.live-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.live-thumb img { width: 100%; height: 100%; object-fit: cover; }
.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e6162d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.live-viewers {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}
.live-info { padding: 12px; }
.live-name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.live-tag { font-size: 12px; color: var(--text-muted); }

/* ===== 页面加载动画 ===== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.page-loader.hide { opacity: 0; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo { font-size: 32px; font-weight: 900; color: var(--secondary); margin-bottom: 16px; }
.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 3px;
  animation: loading 1.5s ease forwards;
}
@keyframes loading { from{width:0} to{width:100%} }

/* ===== 时间线 ===== */
.timeline { position: relative; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border); transform: translateX(-50%); }
.timeline-item { display: flex; justify-content: flex-end; padding-right: calc(50% + 30px); margin-bottom: 32px; position: relative; }
.timeline-right { justify-content: flex-start; padding-right: 0; padding-left: calc(50% + 30px); }
.timeline-dot { position: absolute; left: 50%; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: var(--secondary); transform: translateX(-50%); border: 3px solid var(--bg-dark); }
.timeline-content { background: var(--gradient-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; max-width: 400px; }
.timeline-year { font-size: 22px; font-weight: 900; color: var(--secondary); margin-bottom: 6px; }
.timeline-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.timeline-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 768px) {
  .timeline::before { left: 20px; }
  .timeline-item { justify-content: flex-start; padding-right: 0; padding-left: 50px; }
  .timeline-right { padding-left: 50px; }
  .timeline-dot { left: 20px; }
}

/* ===== 新闻列表（内页版） ===== */
.news-item { flex-direction: row; align-items: center; justify-content: space-between; }
.news-content { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.news-tag { background: rgba(255,107,53,0.1); color: var(--secondary); font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.news-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }
