/* ===== 绿帽社 主样式文件 ===== */
/* 原创设计 - 影视传媒+视频社区主题 */

:root {
  --primary: #1a7a3c;
  --primary-dark: #0d4a24;
  --primary-light: #2ea55a;
  --accent: #f0c040;
  --accent-dark: #c89a10;
  --bg-dark: #0a0f0d;
  --bg-card: #111a14;
  --bg-section: #0e1610;
  --text-main: #e8f0ea;
  --text-muted: #8aab90;
  --text-light: #ffffff;
  --border: #1e3828;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "PingFang SC","Microsoft YaHei","Hiragino Sans GB",sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

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

/* ===== 顶部公告栏 ===== */
.top-bar {
  background: var(--primary-dark);
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-links a { color: var(--text-muted); margin-left: 16px; font-size: 12px; }
.top-bar-links a:hover { color: var(--accent); }

/* ===== 导航栏 ===== */
.site-header {
  background: linear-gradient(180deg, #0a1a0f 0%, #0d2015 100%);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-light);
  letter-spacing: 2px;
  line-height: 1.2;
}
.logo-name span { color: var(--accent); }
.logo-slogan {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--accent);
  background: rgba(26,122,60,0.2);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* 汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== 搜索栏 ===== */
.search-bar-wrap {
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.search-form {
  display: flex;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.search-form:focus-within { border-color: var(--primary-light); }
.search-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 10px 20px;
  color: var(--text-main);
  font-size: 14px;
}
.search-form input::placeholder { color: var(--text-muted); }
.search-form button {
  background: var(--primary);
  border: none;
  padding: 10px 24px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.search-form button:hover { background: var(--primary-light); }

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

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg-section);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb span { margin: 0 6px; }

/* ===== 区块标题 ===== */
.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, var(--primary-light), var(--accent));
  border-radius: 2px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-more {
  color: var(--text-muted);
  font-size: 13px;
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
  transition: all var(--transition);
}
.section-more:hover {
  color: var(--primary-light);
  border-color: var(--primary-light);
}

/* ===== 英雄横幅 ===== */
.hero-banner {
  position: relative;
  overflow: hidden;
  height: 520px;
  background: var(--bg-dark);
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,20,13,0.9) 0%, rgba(13,74,36,0.5) 50%, transparent 100%);
  display: flex;
  align-items: center;
}
.hero-content { max-width: 600px; padding: 0 40px; }
.hero-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.hero-title {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-title span { color: var(--accent); }
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,122,60,0.4);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  display: block;
}
.hero-stat .label { font-size: 12px; color: var(--text-muted); }

/* ===== 视频卡片 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border-color: var(--primary);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-dark);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.08); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity var(--transition);
}
.video-card:hover .video-play-btn { opacity: 1; }
.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(26,122,60,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255,255,255,0.8);
  transition: transform var(--transition);
}
.play-icon:hover { transform: scale(1.1); }
.play-icon svg { margin-left: 4px; }
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-badge.hot { background: #e53e3e; }
.video-badge.new { background: #2ea55a; }
.video-info { padding: 14px 16px; }
.video-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.4;
  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; }
.video-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
  overflow: hidden;
  flex-shrink: 0;
}
.author-name { font-size: 12px; color: var(--text-muted); }

/* ===== 新闻卡片 ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.news-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.news-cat {
  display: inline-block;
  background: rgba(26,122,60,0.2);
  color: var(--primary-light);
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  border: 1px solid rgba(26,122,60,0.3);
}
.news-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}
.news-footer a {
  color: var(--primary-light);
  font-size: 12px;
}

/* ===== 专家卡片 ===== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}
.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.expert-avatar {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.expert-card:hover .expert-avatar img { transform: scale(1.05); }
.expert-body { padding: 16px; }
.expert-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}
.expert-role {
  font-size: 13px;
  color: var(--primary-light);
  margin-bottom: 10px;
}
.expert-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.expert-actions { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
  padding: 6px 16px;
  font-size: 12px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  color: var(--primary-light);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-sm:hover { background: var(--primary); color: #fff; }
.btn-sm.filled { background: var(--primary); color: #fff; }
.btn-sm.filled:hover { background: var(--primary-light); }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  transition: background var(--transition);
  user-select: none;
}
.faq-question:hover { background: rgba(26,122,60,0.1); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 20px 16px; }

/* ===== 用户评论 ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 60px;
  color: rgba(26,122,60,0.15);
  font-family: Georgia, serif;
  line-height: 1;
}
.review-stars { color: var(--accent); font-size: 16px; margin-bottom: 10px; }
.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.review-user { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 600; color: var(--text-light); }
.review-date { font-size: 12px; color: var(--text-muted); }

/* ===== 合作品牌 ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.partner-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  text-align: center;
  min-height: 70px;
}
.partner-item:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(26,122,60,0.1);
}

/* ===== 区块 ===== */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-section); }
.section-dark { background: var(--bg-dark); }

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,122,60,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.contact-detail h4 { font-size: 14px; color: var(--text-muted); margin-bottom: 4px; }
.contact-detail p { font-size: 15px; color: var(--text-light); }
.qr-codes { display: flex; gap: 24px; flex-wrap: wrap; }
.qr-item { text-align: center; }
.qr-item img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  border: 2px solid var(--border);
}
.qr-item p { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

/* ===== 社交分享 ===== */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.share-label { font-size: 14px; color: var(--text-muted); }
.share-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.share-wechat { background: #07c160; color: #fff; }
.share-weibo { background: #e6162d; color: #fff; }
.share-douyin { background: #010101; color: #fff; border: 1px solid #333; }
.share-bilibili { background: #00a1d6; color: #fff; }
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* ===== 页脚 ===== */
.site-footer {
  background: #050c07;
  border-top: 2px solid var(--primary-dark);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-name { font-size: 20px; margin-bottom: 12px; }
.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--primary-light); }
.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-copyright { font-size: 13px; color: var(--text-muted); }
.footer-copyright a { color: var(--text-muted); }
.footer-update { font-size: 12px; color: #4a6a52; }
.footer-nav { display: flex; gap: 16px; }
.footer-nav a { font-size: 12px; color: var(--text-muted); }
.footer-nav a:hover { color: var(--primary-light); }

/* ===== 标签 ===== */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block;
  background: rgba(26,122,60,0.15);
  color: var(--primary-light);
  border: 1px solid rgba(26,122,60,0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  transition: all var(--transition);
}
.tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== 统计数字 ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ===== 内页布局 ===== */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  padding: 40px 0;
}
.page-main {}
.page-sidebar {}
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.hot-list { list-style: none; }
.hot-list li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.hot-list li:last-child { border-bottom: none; padding-bottom: 0; }
.hot-num {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.hot-list li:nth-child(1) .hot-num { background: #e53e3e; color: #fff; }
.hot-list li:nth-child(2) .hot-num { background: #dd6b20; color: #fff; }
.hot-list li:nth-child(3) .hot-num { background: var(--accent-dark); color: #fff; }
.hot-title { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.hot-title:hover { color: var(--primary-light); }

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

/* ===== 文章详情 ===== */
.article-header { margin-bottom: 32px; }
.article-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.4;
  margin-bottom: 16px;
}
.article-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.article-body {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.9;
}
.article-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-light);
  margin: 28px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}
.article-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-light);
  margin: 20px 0 10px;
}
.article-body p { margin-bottom: 16px; }
.article-body img {
  border-radius: var(--radius);
  margin: 20px 0;
  width: 100%;
}
.article-body blockquote {
  border-left: 3px solid var(--primary);
  padding: 12px 20px;
  background: rgba(26,122,60,0.08);
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== 评论区 ===== */
.comments-section { margin-top: 48px; }
.comments-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.comment-item {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.comment-content {}
.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.comment-name { font-size: 14px; font-weight: 600; color: var(--text-light); }
.comment-date { font-size: 12px; color: var(--text-muted); }
.comment-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.comment-like {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  cursor: pointer;
}
.comment-like:hover { color: var(--primary-light); }

/* ===== 直播区 ===== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.live-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.live-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.live-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.live-thumb img { width: 100%; height: 100%; object-fit: cover; }
.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e53e3e;
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.live-viewers {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
}
.live-info { padding: 12px 14px; }
.live-title { font-size: 14px; font-weight: 600; color: var(--text-light); margin-bottom: 6px; }
.live-host { font-size: 12px; color: var(--text-muted); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { display: none; }
}
@media (max-width: 768px) {
  .hero-banner { height: 360px; }
  .hero-title { font-size: 28px; }
  .hero-content { padding: 0 20px; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 22px; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #0a1a0f; border-top: 1px solid var(--border); padding: 16px; gap: 4px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 16px; }
  .nav-toggle { display: flex; }
  .header-inner { position: relative; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .news-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 40px 0; }
  .section-title { font-size: 22px; }
}
@media (max-width: 480px) {
  .hero-banner { height: 280px; }
  .hero-title { font-size: 22px; }
  .expert-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); padding: 20px; }
  .stat-num { font-size: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== 工具类 ===== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.hidden { display: none; }

/* ===== 懒加载占位 ===== */
img[loading="lazy"] { background: var(--bg-card); }

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

/* ===== 内页特定样式 ===== */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-section) 100%);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 12px;
}
.page-hero p { font-size: 15px; color: var(--text-muted); max-width: 600px; }

.tab-bar {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
  overflow-x: auto;
}
.tab-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
  white-space: nowrap;
  transition: all var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.tab-btn.active, .tab-btn:hover {
  color: var(--primary-light);
  border-bottom-color: var(--primary-light);
}

/* ===== 动漫/Cosplay 特定 ===== */
.cosplay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.cosplay-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.cosplay-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.cosplay-card:hover img { transform: scale(1.08); }
.cosplay-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 20px 12px 12px;
  opacity: 0;
  transition: opacity var(--transition);
}
.cosplay-card:hover .cosplay-overlay { opacity: 1; }
.cosplay-name { font-size: 13px; color: #fff; font-weight: 600; }

/* ===== AI工具卡片 ===== */
.ai-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.ai-tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.ai-tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.ai-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.ai-tool-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.ai-tool-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 10px;
}
.ai-tool-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
