/* 玩物直播 - 主样式文件 | hcxsby.cn */
:root {
  --primary: #fe2c55;
  --secondary: #25f4ee;
  --dark: #0a0a0a;
  --dark2: #161616;
  --dark3: #1f1f1f;
  --text: #e8e8e8;
  --text-muted: #888;
  --border: #2a2a2a;
  --gold: #f5c518;
  --gradient: linear-gradient(135deg, #fe2c55 0%, #ff6b35 50%, #25f4ee 100%);
  --gradient2: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 100%);
  --shadow: 0 4px 20px rgba(254,44,85,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

/* ===== 顶部公告栏 ===== */
.top-bar {
  background: var(--gradient);
  padding: 6px 0;
  text-align: center;
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}

/* ===== 头部导航 ===== */
.site-header {
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: rgba(254,44,85,0.1);
}

/* ===== 搜索框 ===== */
.search-bar-wrap {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 6px 16px;
  flex: 1;
  max-width: 600px;
  transition: var(--transition);
}

.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(254,44,85,0.15);
}

.search-form input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  flex: 1;
  padding: 2px 8px;
}

.search-form input::placeholder { color: var(--text-muted); }

.search-btn {
  background: var(--gradient);
  border: none;
  color: #fff;
  padding: 7px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.search-btn:hover { opacity: 0.85; transform: scale(1.02); }

.hot-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hot-tags span { color: var(--text-muted); font-size: 12px; }

.hot-tag {
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.hot-tag:hover { border-color: var(--primary); color: var(--primary); }

/* ===== 面包屑 ===== */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { margin: 0 6px; }

/* ===== 容器 ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 区块标题 ===== */
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-title h2 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.section-title .title-line {
  flex: 1;
  height: 2px;
  background: var(--border);
}

.section-title .title-more {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.section-title .title-more:hover { color: var(--primary); }

.title-tag {
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* ===== 视频卡片 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.video-card {
  background: var(--dark2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark3);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb img { transform: scale(1.05); }

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 52px;
  height: 52px;
  background: rgba(254,44,85,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.play-btn::after {
  content: '';
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}

.video-card:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  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;
  font-weight: 600;
}

.video-info {
  padding: 12px;
}

.video-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  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 .author {
  display: flex;
  align-items: center;
  gap: 4px;
}

.video-meta .author img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.video-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ===== 英雄Banner ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--dark2);
}

.hero-slider {
  position: relative;
}

.hero-slide {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 40%, transparent 100%);
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 600px;
}

.hero-title span { color: var(--primary); }

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 12px;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary:hover { opacity: 0.9; transform: scale(1.02); color: #fff; }

.btn-outline {
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-outline:hover { border-color: var(--secondary); color: var(--secondary); }

/* ===== 统计数字 ===== */
.stats-bar {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-block { padding: 10px; }

.stat-block .num {
  font-size: 32px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-block .label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== 内容区块 ===== */
.content-section {
  padding: 48px 0;
}

.content-section + .content-section {
  border-top: 1px solid var(--border);
}

/* ===== 新闻卡片 ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.news-card {
  background: var(--dark2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(254,44,85,0.4);
  box-shadow: var(--shadow);
}

.news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark3);
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-img img { transform: scale(1.05); }

.news-card-body { padding: 16px; }

.news-cat {
  display: inline-block;
  background: rgba(254,44,85,0.15);
  color: var(--primary);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  font-weight: 600;
}

.news-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-title a { color: #fff; }
.news-card-title a:hover { color: var(--primary); }

.news-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
}

/* ===== 专家卡片 ===== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.expert-card {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.expert-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 20px rgba(37,244,238,0.1);
  transform: translateY(-3px);
}

.expert-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--border);
  transition: var(--transition);
}

.expert-card:hover .expert-avatar { border-color: var(--secondary); }

.expert-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.expert-role {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 10px;
}

.expert-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.expert-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.btn-sm {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--dark3);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.btn-sm:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-sm.primary:hover { opacity: 0.85; }

/* ===== 用户评价 ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.review-card {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 48px;
  color: rgba(254,44,85,0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.review-name { font-size: 14px; font-weight: 600; color: #fff; }
.review-time { font-size: 12px; color: var(--text-muted); }

.review-stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; }

.faq-item {
  background: var(--dark2);
  border-radius: var(--radius);
  margin-bottom: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-q {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-q:hover { color: var(--primary); }

.faq-q .arrow {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-q .arrow { transform: rotate(180deg); background: var(--primary); }

.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 20px 16px;
}

.faq-a p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* ===== 合作品牌 ===== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.partner-item {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.partner-item:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-card {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(254,44,85,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ===== 分享按钮 ===== */
.share-section {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  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;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  color: #fff;
}

.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #010101; border: 1px solid #333; }
.share-bilibili { background: #00a1d6; }

.share-btn:hover { opacity: 0.85; transform: scale(1.03); }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  font-size: 24px;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-qr {
  display: flex;
  gap: 16px;
}

.qr-item { text-align: center; }

.qr-item img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.qr-item p {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  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: var(--transition);
}

.footer-links a:hover { color: var(--secondary); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--secondary); }

/* ===== 标签 ===== */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 16px;
  transition: var(--transition);
  cursor: pointer;
}

.tag:hover { border-color: var(--primary); color: var(--primary); }
.tag.active { background: rgba(254,44,85,0.15); border-color: var(--primary); color: var(--primary); }

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 32px 0;
}

.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--dark2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover, .page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===== 内页头部 ===== */
.page-hero {
  background: var(--gradient2);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(254,44,85,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
}

/* ===== 侧边栏 ===== */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  padding: 40px 0;
}

.sidebar-widget {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.sidebar-widget h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.hot-list { list-style: none; }

.hot-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.hot-list li:last-child { border-bottom: none; }

.hot-list .rank {
  width: 20px;
  height: 20px;
  background: var(--dark3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.hot-list li:nth-child(1) .rank { background: var(--primary); color: #fff; }
.hot-list li:nth-child(2) .rank { background: #ff6b35; color: #fff; }
.hot-list li:nth-child(3) .rank { background: var(--gold); color: #000; }

.hot-list a { color: var(--text-muted); }
.hot-list a:hover { color: var(--secondary); }

/* ===== 评论区 ===== */
.comment-section {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  margin-top: 32px;
}

.comment-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.comment-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.comment-item:last-of-type { border-bottom: none; }

.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.comment-body { flex: 1; }

.comment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.comment-name { font-size: 14px; font-weight: 600; color: #fff; }
.comment-time { font-size: 12px; color: var(--text-muted); }
.comment-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== 加载动画 ===== */
.lazy-img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lazy-img.loaded { opacity: 1; }

/* ===== 移动端汉堡菜单 ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--dark2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
  }
  
  .main-nav.open { display: flex; }
  
  .hero-slide { height: 280px; }
  .hero-title { font-size: 26px; }
  .hero-desc { font-size: 14px; }
  
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: 1fr; }
  
  .page-hero h1 { font-size: 26px; }
  
  .search-bar-inner { flex-wrap: wrap; }
  .hot-tags { display: none; }
  
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
}

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== 工具类 ===== */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-white { color: #fff; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.badge-hot { background: rgba(254,44,85,0.15); color: var(--primary); }
.badge-new { background: rgba(37,244,238,0.15); color: var(--secondary); }
.badge-award { background: rgba(245,197,24,0.15); color: var(--gold); }

/* ===== 视频播放模态框 ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal-content {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 800px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: var(--dark3);
  border: none;
  border-radius: 50%;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}
