/* =====================================================
   糖心Vlog 官方样式表
   糖心Vlog生活视频社区 - 外部CSS
   ===================================================== */

/* CSS变量 */
:root {
  --primary: #e8345a;
  --primary-dark: #c0284a;
  --primary-light: #ff6b8a;
  --secondary: #ff9eb5;
  --accent: #ff4d6d;
  --bg-light: #fff8f9;
  --bg-white: #ffffff;
  --bg-gray: #f5f5f7;
  --text-dark: #1a1a2e;
  --text-mid: #444466;
  --text-light: #888899;
  --border: #ffe0e8;
  --shadow: 0 2px 12px rgba(232,52,90,0.10);
  --shadow-hover: 0 8px 32px rgba(232,52,90,0.18);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.25s ease;
}

/* 重置 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  color: var(--text-dark);
  background: var(--bg-gray);
  line-height: 1.7;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ===== 头部 ===== */
.site-header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 12px 0;
}

.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white !important;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  padding: 3px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-slogan {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

.btn-submit {
  background: white;
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--bg-light);
  transform: translateY(-1px);
}

/* 导航 */
.main-nav {
  background: var(--bg-white);
  border-bottom: 2px solid var(--border);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item a {
  display: block;
  padding: 14px 20px;
  color: var(--text-mid);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--primary);
}

.nav-item a:hover::after,
.nav-item.active a::after {
  width: 60%;
}

/* 搜索框 */
.search-bar-wrap {
  background: var(--bg-light);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.search-form {
  display: flex;
  gap: 0;
  max-width: 600px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(232,52,90,0.12);
}

.search-input {
  flex: 1;
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-right: none;
  border-radius: 24px 0 0 24px;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  background: white;
}

.search-input:focus {
  border-color: var(--primary);
}

.search-btn {
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: 0 24px 24px 0;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--primary-dark);
}

.search-tip {
  margin-top: 8px;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* 面包屑 */
.breadcrumb-wrap {
  background: var(--bg-white);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* ===== 首屏 ===== */
.hero-section {
  background: linear-gradient(135deg, #fff0f3 0%, #ffe4ea 50%, #fff8f9 100%);
  padding: 60px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.hero-title .highlight {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-mid);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-item span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.hero-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 12px 28px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(232,52,90,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232,52,90,0.4);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--primary);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.hero-domain {
  font-size: 0.85rem;
  color: var(--text-light);
}

.domain-highlight {
  color: var(--primary);
  font-weight: 600;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  width: 100%;
  object-fit: cover;
  max-height: 340px;
}

/* ===== 通用Section ===== */
.section {
  padding: 60px 0;
}

.section:nth-child(even) {
  background: var(--bg-white);
}

.section:nth-child(odd) {
  background: var(--bg-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  margin: 12px 0 8px;
}

.section-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-more {
  text-align: center;
  margin-top: 36px;
}

.btn-more {
  display: inline-block;
  padding: 10px 32px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-more:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ===== 视频卡片 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.video-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.video-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb {
  transform: scale(1.05);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.video-card:hover .video-play-overlay {
  opacity: 1;
}

.play-btn {
  width: 60px;
  height: 60px;
  background: rgba(232,52,90,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: var(--transition);
}

.video-card:hover .play-btn {
  transform: scale(1);
}

.video-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.video-tag-hot {
  background: linear-gradient(135deg, #ff6b35, #f7c59f);
}

.video-info {
  padding: 14px;
}

.video-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-title a {
  color: var(--text-dark);
}

.video-title a:hover {
  color: var(--primary);
}

.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.avatar-mini {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.video-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.stat {
  display: flex;
  align-items: center;
  gap: 3px;
}

.video-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  flex: 1;
  padding: 5px 0;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-mid);
  transition: var(--transition);
}

.action-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== 热门列表 ===== */
.hot-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hot-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.hot-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-hover);
}

.hot-rank {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-light);
  flex-shrink: 0;
}

.rank-1 { background: linear-gradient(135deg, #ff6b35, #f7c59f); color: white; }
.rank-2 { background: linear-gradient(135deg, #c0c0c0, #e8e8e8); color: white; }
.rank-3 { background: linear-gradient(135deg, #cd7f32, #e8b88a); color: white; }

.hot-content { flex: 1; }

.hot-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  margin-bottom: 4px;
}

.hot-title:hover { color: var(--primary); }

.hot-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.hot-badge {
  background: var(--bg-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* ===== 专题 ===== */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.topic-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary);
}

.topic-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.topic-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.topic-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.6;
}

.topic-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.topic-link {
  display: inline-block;
  padding: 7px 20px;
  background: var(--primary);
  color: white;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.topic-link:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
}

/* ===== 创作者中心 ===== */
.creator-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}

.creator-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.creator-section .section-title,
.creator-section .section-subtitle,
.creator-section .section-desc,
.creator-section p {
  color: white !important;
}

.creator-section .section-title::after {
  background: rgba(255,255,255,0.5);
}

.creator-benefits {
  list-style: none;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.creator-benefits li {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.creator-section .btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.creator-section .btn-primary:hover {
  background: var(--bg-light);
  color: var(--primary-dark);
}

.creator-stats-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.creator-stat {
  text-align: center;
  background: rgba(255,255,255,0.15);
  padding: 16px 24px;
  border-radius: var(--radius);
}

.creator-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
}

.creator-stat span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

/* ===== 作者 ===== */
.authors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.author-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.author-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--border);
}

.author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.author-tag {
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.author-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.btn-follow {
  display: inline-block;
  padding: 7px 16px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.btn-follow:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== 最新更新 ===== */
.latest-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.latest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.latest-item:hover {
  border-left-color: var(--primary);
  background: var(--bg-light);
}

.latest-new {
  background: var(--primary);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.latest-title {
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 500;
}

.latest-title:hover { color: var(--primary); }

.latest-author {
  font-size: 0.8rem;
  color: var(--text-light);
  flex-shrink: 0;
}

.latest-time {
  font-size: 0.78rem;
  color: var(--text-light);
  flex-shrink: 0;
}

/* ===== 评论 ===== */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.comment-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.comment-user {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.comment-verified {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.72rem;
}

.comment-date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-left: auto;
}

.comment-text {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.comment-actions {
  display: flex;
  gap: 12px;
}

.comment-like,
.comment-reply,
.comment-report {
  font-size: 0.82rem;
  color: var(--text-light);
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.comment-like:hover { background: var(--bg-light); color: var(--primary); }
.comment-reply:hover { background: var(--bg-light); color: var(--primary); }
.comment-report:hover { background: #fff3f3; color: #c62828; }

.comment-form-wrap {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.comment-form-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-input,
.comment-textarea {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  resize: vertical;
}

.comment-input:focus,
.comment-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,52,90,0.08);
}

.btn-comment-submit {
  align-self: flex-end;
  background: var(--primary);
  color: white;
  padding: 10px 28px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-comment-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

.faq-item.open .faq-answer {
  display: block;
}

/* ===== 联系我们 ===== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.contact-info {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  margin-top: 0;
}

.footer-top {
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-logo {
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-domain {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.domain-text {
  color: var(--secondary);
  font-weight: 600;
}

.footer-links h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-copyright,
.footer-update,
.footer-notice {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

/* ===== 弹窗 ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  min-width: 300px;
  text-align: center;
}

.modal-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.share-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.share-btn-wechat { background: #07c160; color: white; padding: 10px; border-radius: 8px; font-weight: 600; }
.share-btn-weibo { background: #e6162d; color: white; padding: 10px; border-radius: 8px; font-weight: 600; }
.share-btn-copy { background: var(--bg-gray); color: var(--text-dark); padding: 10px; border-radius: 8px; font-weight: 600; }

.modal-close {
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* ===== 回到顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(232,52,90,0.3);
  transition: var(--transition);
  display: none;
  z-index: 999;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== 内页通用 ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 48px 0;
  text-align: center;
  color: white;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 1rem;
  opacity: 0.85;
}

.page-content {
  padding: 48px 0;
  background: var(--bg-white);
}

.content-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.content-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.content-card p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .authors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-image { display: none; }
}

@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr 1fr; }
  .authors-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.6rem; }
  .section-title { font-size: 1.4rem; }
  .nav-list { overflow-x: auto; }
  .nav-item a { padding: 12px 14px; font-size: 0.85rem; }
  .creator-banner { grid-template-columns: 1fr; }
  .creator-stats-wrap { flex-direction: row; justify-content: center; }
  .hot-meta { flex-wrap: wrap; gap: 8px; }
  .latest-item { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .topics-grid { grid-template-columns: 1fr; }
  .authors-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .hero-btns { flex-direction: column; }
  .header-slogan { display: none; }
}

/* ===== 分类标签 ===== */
.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cat-tab {
  padding: 8px 20px;
  border-radius: 20px;
  border: 2px solid var(--border);
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  background: var(--bg-white);
}

.cat-tab:hover,
.cat-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--bg-white);
}

.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.page-ellipsis {
  color: var(--text-light);
}

.page-next {
  padding: 8px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  background: var(--bg-white);
}

.page-next:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== 关于页面 ===== */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.creator-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0;
}

.plan-item {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.plan-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 8px;
}

.plan-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.plan-item p {
  font-size: 0.82rem;
  color: var(--text-light);
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.activity-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

.activity-badge {
  background: var(--primary);
  color: white;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
}

.activity-badge-new {
  background: #ff9800;
}

.activity-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.activity-content p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 4px;
}

.activity-content time {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== 联系页面 ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

.method-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.contact-method h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.contact-method p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.method-value {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
}

.response-time {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.response-time p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 4px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-input {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  background: var(--bg-white);
  resize: vertical;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,52,90,0.08);
}

/* ===== FAQ分类 ===== */
.faq-categories {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-cat-item h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .creator-plan-grid { grid-template-columns: 1fr; }
}
