/* ===== 红桃视频 - 主样式表 ===== */
:root {
  --red-primary: #e8192c;
  --red-dark: #c0112a;
  --red-light: #ff4d5e;
  --red-bg: #fff5f6;
  --gray-dark: #1a1a1a;
  --gray-mid: #555;
  --gray-light: #888;
  --gray-border: #e5e5e5;
  --white: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 24px rgba(232,25,44,0.15);
  --radius: 8px;
  --radius-lg: 14px;
}

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--gray-dark);
  background: #f7f8fa;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--red-primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 顶部公告栏 ===== */
.top-bar {
  background: var(--red-primary);
  color: var(--white);
  font-size: 13px;
  padding: 7px 0;
  text-align: center;
}
.top-bar a { color: #ffe; text-decoration: underline; }

/* ===== 头部 ===== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 999;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--red-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--red-primary);
  letter-spacing: 1px;
  line-height: 1.2;
}
.logo-slogan {
  font-size: 11px;
  color: var(--gray-light);
  letter-spacing: 0.5px;
}

/* ===== 导航 ===== */
.main-nav {
  background: var(--white);
  border-bottom: 2px solid var(--red-primary);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-inner a {
  display: inline-block;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-dark);
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.nav-inner a:hover,
.nav-inner a.active {
  color: var(--red-primary);
  border-bottom-color: var(--red-primary);
}

/* ===== 搜索框 ===== */
.search-bar {
  background: #f2f3f5;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-border);
}
.search-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-form {
  display: flex;
  flex: 1;
  max-width: 600px;
  background: var(--white);
  border: 2px solid var(--red-primary);
  border-radius: 24px;
  overflow: hidden;
}
.search-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 9px 18px;
  font-size: 14px;
  background: transparent;
  font-family: inherit;
}
.search-form button {
  background: var(--red-primary);
  color: white;
  border: none;
  padding: 9px 22px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  font-weight: 600;
  transition: background 0.2s;
}
.search-form button:hover { background: var(--red-dark); }
.search-hot {
  font-size: 13px;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.search-hot span { color: var(--gray-mid); font-weight: 500; }
.search-hot a {
  color: var(--gray-mid);
  padding: 3px 10px;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  font-size: 12px;
  transition: all 0.2s;
}
.search-hot a:hover {
  color: var(--red-primary);
  border-color: var(--red-primary);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  font-size: 13px;
  color: var(--gray-light);
  padding: 10px 0;
}
.breadcrumb a { color: var(--gray-light); }
.breadcrumb a:hover { color: var(--red-primary); }
.breadcrumb span { margin: 0 5px; }

/* ===== 区块标题 ===== */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--red-primary);
  border-radius: 2px;
}
.section-title .more {
  font-size: 13px;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 3px;
}
.section-title .more:hover { color: var(--red-primary); }

/* ===== 主内容区 ===== */
.main-content {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}
.content-main { min-width: 0; }
.content-sidebar { min-width: 0; }

/* ===== 英雄横幅 ===== */
.hero-section {
  background: linear-gradient(135deg, #e8192c 0%, #c0112a 60%, #8b0000 100%);
  padding: 50px 0 40px;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}
.hero-text p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  background: white;
  color: var(--red-primary);
  padding: 12px 28px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover {
  background: #ffe;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 12px 28px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 24px;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-size: 26px;
  font-weight: 800;
}
.hero-stat .label {
  font-size: 12px;
  opacity: 0.8;
}

/* ===== 卡片通用 ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ===== 视频卡片 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #111;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.video-card:hover .video-thumb img {
  transform: scale(1.05);
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 54px;
  height: 54px;
  background: rgba(232, 25, 44, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 2;
}
.play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}
.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1);
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
}
.video-card:hover .video-overlay {
  background: rgba(0,0,0,0.25);
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: white;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red-primary);
  color: white;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.video-info {
  padding: 12px 14px;
}
.video-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-light);
}
.video-stats {
  display: flex;
  gap: 10px;
  align-items: center;
}
.video-stats span {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ===== 新闻列表 ===== */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  transition: all 0.2s;
}
.news-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-hover);
}
.news-thumb {
  width: 120px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.news-item:hover .news-thumb img { transform: scale(1.08); }
.news-content { flex: 1; min-width: 0; }
.news-category {
  display: inline-block;
  background: var(--red-bg);
  color: var(--red-primary);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 6px;
}
.news-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-title:hover { color: var(--red-primary); }
.news-desc {
  font-size: 13px;
  color: var(--gray-light);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.news-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--gray-light);
}
.news-footer .author { color: var(--red-primary); font-weight: 500; }

/* ===== 热点标签 ===== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--gray-border);
  color: var(--gray-mid);
  transition: all 0.2s;
  cursor: pointer;
}
.tag:hover, .tag.active {
  background: var(--red-primary);
  color: white;
  border-color: var(--red-primary);
}
.tag.hot {
  background: var(--red-bg);
  color: var(--red-primary);
  border-color: #ffd0d4;
}

/* ===== 侧边栏 ===== */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 20px;
}
.widget-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hot-list { display: flex; flex-direction: column; gap: 12px; }
.hot-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}
.hot-item:hover .hot-title { color: var(--red-primary); }
.hot-rank {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--gray-border);
  color: var(--gray-mid);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hot-rank.r1 { background: var(--red-primary); color: white; }
.hot-rank.r2 { background: #ff6b35; color: white; }
.hot-rank.r3 { background: #ffa500; color: white; }
.hot-title { font-size: 13px; line-height: 1.5; }
.hot-views { font-size: 11px; color: var(--gray-light); }

/* ===== 作者卡片 ===== */
.author-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.author-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  text-align: center;
  transition: all 0.3s;
}
.author-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 10px;
  border: 3px solid var(--red-bg);
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.author-role {
  font-size: 12px;
  color: var(--gray-light);
  margin-bottom: 8px;
}
.author-stats {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  color: var(--gray-light);
}
.author-stats strong {
  display: block;
  font-size: 15px;
  color: var(--gray-dark);
  font-weight: 700;
}
.follow-btn {
  margin-top: 10px;
  background: var(--red-bg);
  color: var(--red-primary);
  border: 1px solid #ffd0d4;
  padding: 5px 16px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.follow-btn:hover {
  background: var(--red-primary);
  color: white;
  border-color: var(--red-primary);
}

/* ===== 专题卡片 ===== */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.topic-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s;
}
.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.topic-cover {
  height: 130px;
  overflow: hidden;
  position: relative;
}
.topic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.topic-card:hover .topic-cover img { transform: scale(1.06); }
.topic-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
}
.topic-info {
  padding: 12px 14px;
}
.topic-label {
  font-size: 11px;
  background: var(--red-primary);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 600;
}
.topic-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}
.topic-desc {
  font-size: 12px;
  color: var(--gray-light);
  line-height: 1.5;
}
.topic-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: var(--gray-light);
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 24px;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--gray-border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-dark);
  transition: color 0.2s;
  gap: 12px;
}
.faq-question:hover { color: var(--red-primary); }
.faq-question .q-icon {
  width: 24px;
  height: 24px;
  background: var(--red-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.faq-question .arrow {
  font-size: 18px;
  color: var(--gray-light);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-item.open .faq-question { color: var(--red-primary); }
.faq-answer {
  display: none;
  padding: 0 0 16px 36px;
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* ===== 用户评论 ===== */
.reviews-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 24px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.review-card {
  background: #fafafa;
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--gray-border);
  transition: all 0.2s;
}
.review-card:hover {
  border-color: #ffd0d4;
  background: var(--red-bg);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-user { font-size: 14px; font-weight: 600; }
.review-date { font-size: 12px; color: var(--gray-light); }
.review-stars {
  color: #f5a623;
  font-size: 14px;
  margin-bottom: 8px;
}
.review-text {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.7;
}
.review-device {
  margin-top: 8px;
  font-size: 11px;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== 联系/投稿 ===== */
.contact-section {
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  border-radius: var(--radius-lg);
  padding: 32px;
  color: white;
  text-align: center;
  margin-bottom: 24px;
}
.contact-section h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}
.contact-section p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 20px;
}
.contact-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-btn {
  background: white;
  color: var(--red-primary);
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}
.contact-btn:hover {
  background: #ffe;
  transform: translateY(-2px);
}
.contact-btn.outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}
.contact-btn.outline:hover {
  background: rgba(255,255,255,0.15);
}

/* ===== 下载区块 ===== */
.download-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 24px;
}
.download-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.step-item {
  text-align: center;
  padding: 20px 12px;
  background: #fafafa;
  border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  position: relative;
}
.step-item::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red-primary);
  font-size: 18px;
  font-weight: 700;
}
.step-item:last-child::after { display: none; }
.step-num {
  width: 36px;
  height: 36px;
  background: var(--red-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  margin: 0 auto 10px;
}
.step-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.step-desc { font-size: 12px; color: var(--gray-light); line-height: 1.5; }

/* ===== 页脚 ===== */
.site-footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 40px 0 0;
  margin-top: 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-brand .logo-name { color: var(--red-primary); font-size: 20px; }
.footer-brand .logo-slogan { color: #777; }
.footer-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.8;
  margin-top: 12px;
}
.footer-col h4 {
  color: #ddd;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 13px;
  color: #888;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--red-primary); }
.footer-bottom {
  border-top: 1px solid #333;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12px; color: #666; }
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-links a {
  font-size: 12px;
  color: #666;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--red-primary); }
.footer-copyright {
  background: #111;
  text-align: center;
  padding: 12px 20px;
  font-size: 12px;
  color: #555;
}

/* ===== 通知栏 ===== */
.notice-bar {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 13px;
  color: #795548;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

/* ===== 数据统计条 ===== */
.stats-bar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 24px;
  text-align: center;
}
.stat-item {
  padding: 10px;
  border-right: 1px solid var(--gray-border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--red-primary);
  line-height: 1.2;
}
.stat-label { font-size: 12px; color: var(--gray-light); margin-top: 4px; }

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}
.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  color: var(--gray-mid);
  cursor: pointer;
  transition: all 0.2s;
}
.page-btn:hover, .page-btn.active {
  background: var(--red-primary);
  color: white;
  border-color: var(--red-primary);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .main-content { grid-template-columns: 1fr; }
  .content-sidebar { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .download-steps { grid-template-columns: repeat(2, 1fr); }
  .step-item::after { display: none; }
}

@media (max-width: 768px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: 1fr; }
  .author-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero-text h1 { font-size: 24px; }
  .nav-inner a { padding: 10px 12px; font-size: 14px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .author-grid { grid-template-columns: 1fr; }
  .download-steps { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .search-inner { flex-direction: column; align-items: stretch; }
  .search-form { max-width: 100%; }
}

/* ===== 工具类 ===== */
.section-wrap { margin-bottom: 32px; }
.text-red { color: var(--red-primary); }
.text-gray { color: var(--gray-light); }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.hidden { display: none; }
