/* ============================================================
   糖心Vlog 外部CSS样式表
   品牌色：#e8345a（玫红）、#fff0f3（浅粉背景）
   ============================================================ */

/* ===== CSS变量 ===== */
:root {
  --brand: #e8345a;
  --brand-dark: #c42048;
  --brand-light: #fff0f3;
  --brand-gradient: linear-gradient(135deg, #e8345a 0%, #ff6b8a 100%);
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #999;
  --bg-white: #fff;
  --bg-light: #f8f9fa;
  --bg-alt: #fff5f7;
  --border: #f0e0e4;
  --shadow-sm: 0 2px 8px rgba(232,52,90,.08);
  --shadow-md: 0 4px 20px rgba(232,52,90,.12);
  --shadow-lg: 0 8px 32px rgba(232,52,90,.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all .22s cubic-bezier(.4,0,.2,1);
}

/* ===== 重置与基础 ===== */
*, *::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-primary);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ===== 顶部公告栏 ===== */
.top-bar {
  background: var(--brand-gradient);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
  line-height: 1.5;
}
.top-bar strong { font-weight: 700; }

/* ===== 头部 ===== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}
.logo-text {
  font-size: 20px;
  font-weight: 900;
  color: var(--brand);
  display: block;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 20px;
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--brand);
  background: var(--brand-light);
  font-weight: 700;
}
.header-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-login {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  background: #fff;
  transition: var(--transition);
}
.btn-login:hover { background: var(--brand-light); }
.btn-register {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--brand-gradient);
  transition: var(--transition);
}
.btn-register:hover { opacity: .9; transform: translateY(-1px); }

/* ===== 搜索栏 ===== */
.search-bar-wrap {
  background: var(--bg-alt);
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.search-form {
  display: flex;
  gap: 0;
  max-width: 600px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.search-input {
  flex: 1;
  padding: 10px 18px;
  border: none;
  font-size: 14px;
  outline: none;
  background: #fff;
  color: var(--text-primary);
}
.search-btn {
  padding: 10px 22px;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
}
.search-btn:hover { opacity: .9; }
.search-hot-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  flex-wrap: wrap;
}
.search-hot-tags span { color: var(--text-muted); }
.search-hot-tags a {
  color: var(--text-secondary);
  background: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.search-hot-tags a:hover { color: var(--brand); border-color: var(--brand); }

/* ===== 面包屑 ===== */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 6px; }

/* ===== 通知公告 ===== */
.notice-bar {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--radius-md);
  padding: 12px 20px;
  font-size: 13px;
  color: #7a6000;
  line-height: 1.7;
}

/* ===== 英雄区 ===== */
.hero-section {
  background: linear-gradient(135deg, #fff0f3 0%, #fce4ec 50%, #fff5f7 100%);
  padding: 56px 0 48px;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-text { flex: 1; }
.hero-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero-title em {
  font-style: normal;
  color: var(--brand);
}
.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
}
.hero-stat-num {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--brand);
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-block;
  padding: 13px 30px;
  background: var(--brand-gradient);
  color: #fff;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-hero-secondary {
  display: inline-block;
  padding: 13px 30px;
  background: #fff;
  color: var(--brand);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--brand);
  transition: var(--transition);
}
.btn-hero-secondary:hover { background: var(--brand-light); }
.hero-image { flex-shrink: 0; }
.hero-image img {
  width: 420px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ===== 统计栏 ===== */
.stats-bar {
  background: var(--brand-gradient);
  padding: 18px 0;
}
.stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.85);
}

/* ===== 通用区块 ===== */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { margin-bottom: 28px; }
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}
.section-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-primary);
  position: relative;
  padding-left: 14px;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--brand-gradient);
  border-radius: 2px;
}
.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}
.section-more {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.section-more:hover { text-decoration: underline; }

/* ===== 分类标签 ===== */
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cat-tab {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: #fff;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.cat-tab:hover { color: var(--brand); border-color: var(--brand); }
.cat-tab.active {
  background: var(--brand-gradient);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
}

/* ===== 视频卡片 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.video-grid-4 { grid-template-columns: repeat(4, 1fr); }
.video-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #f0e0e4;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 48px;
  height: 48px;
  background: rgba(232,52,90,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(232,52,90,.4);
}
.video-play-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  margin-left: 3px;
}
.video-card:hover .video-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}
.video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.video-info { padding: 14px; }
.video-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.video-author {
  display: flex;
  align-items: center;
  gap: 6px;
}
.video-author-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}
.video-stats { display: flex; gap: 10px; }
.video-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.video-tag {
  font-size: 11px;
  color: var(--brand);
  background: var(--brand-light);
  padding: 2px 8px;
  border-radius: 10px;
}
.content-label {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
}
.label-video { background: #e3f2fd; color: #1565c0; }
.label-hot { background: #fff3e0; color: #e65100; }
.label-new { background: #e8f5e9; color: #2e7d32; }
.label-rec { background: #f3e5f5; color: #6a1b9a; }

/* ===== 侧边栏 ===== */
.sidebar { width: 280px; flex-shrink: 0; }
.sidebar-widget {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-light);
  position: relative;
}
.widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 40px;
  height: 2px;
  background: var(--brand);
}

/* ===== 热榜 ===== */
.hot-list { display: flex; flex-direction: column; gap: 12px; }
.hot-item { display: flex; gap: 10px; align-items: flex-start; }
.hot-rank {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #f0e0e4;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hot-rank.top1 { background: #e8345a; color: #fff; }
.hot-rank.top2 { background: #ff6b35; color: #fff; }
.hot-rank.top3 { background: #ffc107; color: #fff; }
.hot-item-title {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-item-title:hover { color: var(--brand); }
.hot-item-views { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ===== 标签云 ===== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item {
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-light);
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.tag-item:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-light); }

/* ===== 专题卡片 ===== */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.topic-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.topic-cover {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
}
.topic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.topic-card:hover .topic-cover img { transform: scale(1.05); }
.topic-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
}
.topic-info { padding: 14px; }
.topic-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.topic-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== 作者卡片 ===== */
.author-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.author-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.author-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.author-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 14px;
}
.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-light);
}
.author-verified {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 2px solid #fff;
}
.author-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.author-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.author-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}
.author-stat-num {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
}
.author-stat-label {
  font-size: 11px;
  color: var(--text-muted);
}
.author-tags {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.author-tag {
  font-size: 11px;
  color: var(--brand);
  background: var(--brand-light);
  padding: 2px 10px;
  border-radius: 10px;
}
.btn-follow {
  display: inline-block;
  padding: 8px 22px;
  background: var(--brand-gradient);
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}
.btn-follow:hover { opacity: .9; transform: translateY(-1px); color: #fff; }

/* ===== 投稿Banner ===== */
.submit-banner {
  background: var(--brand-gradient);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 24px 0;
  box-shadow: var(--shadow-lg);
}
.submit-banner h2 { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.submit-banner p { font-size: 14px; color: rgba(255,255,255,.9); }
.btn-submit {
  display: inline-block;
  padding: 13px 32px;
  background: #fff;
  color: var(--brand);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== 评论区 ===== */
.comments-section { display: flex; flex-direction: column; gap: 0; }
.comment-list { display: flex; flex-direction: column; gap: 0; }
.comment-item {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.comment-item:last-child { border-bottom: none; }
.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.comment-body { flex: 1; }
.comment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.comment-user { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.comment-rating { font-size: 12px; color: #ffc107; letter-spacing: 1px; }
.comment-time { font-size: 12px; color: var(--text-muted); }
.comment-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 10px; }
.comment-actions { display: flex; gap: 16px; }
.comment-action {
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.comment-action:hover { color: var(--brand); }
.comment-action.liked { color: var(--brand); }

/* ===== 帮助卡片 ===== */
.help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.help-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: block;
  color: inherit;
}
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.help-icon { font-size: 32px; margin-bottom: 12px; }
.help-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.help-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--brand); }
.faq-question {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.faq-question:hover { color: var(--brand); }
.faq-question.active { color: var(--brand); background: var(--brand-light); }
.faq-icon {
  font-size: 18px;
  font-weight: 400;
  color: var(--brand);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer.open { max-height: 300px; }
.faq-answer p {
  padding: 14px 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}

/* ===== 联系卡片 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-icon { font-size: 36px; margin-bottom: 12px; }
.contact-title { font-size: 16px; font-weight: 800; color: var(--text-primary); margin-bottom: 12px; }
.contact-info { font-size: 13px; color: var(--text-secondary); line-height: 2; }

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #fff;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.page-btn:hover { color: var(--brand); border-color: var(--brand); }
.page-btn.active {
  background: var(--brand-gradient);
  color: #fff;
  border-color: transparent;
}

/* ===== 页脚 ===== */
.site-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,.75);
  padding: 48px 0 24px;
}
.footer-logo-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.footer-logo-bottom img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
}
.footer-domain-info {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.8;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: rgba(255,255,255,.5);
  font-size: 12px;
}
.footer-bottom-links a:hover { color: var(--brand); }

/* ===== 返回顶部 ===== */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--brand-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 200;
}
.back-top.show { opacity: 1; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); }

/* ===== 域名显示 ===== */
.domain-display { color: #fff; font-weight: 700; }

/* ===== 互动按钮 ===== */
.interact-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-light);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.interact-btn:hover { color: var(--brand); border-color: var(--brand); }
.interact-btn.liked { color: var(--brand); background: var(--brand-light); border-color: var(--brand); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-image img { width: 320px; height: 180px; }
}

@media (max-width: 768px) {
  .hero-inner { flex-direction: column; gap: 28px; }
  .hero-title { font-size: 26px; }
  .hero-image { width: 100%; }
  .hero-image img { width: 100%; height: auto; }
  .hero-stats { gap: 16px; }
  .main-nav { display: none; }
  .header-actions { gap: 6px; }
  .btn-login, .btn-register { padding: 6px 12px; font-size: 12px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .video-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .author-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .submit-banner { flex-direction: column; text-align: center; padding: 24px; }
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sidebar { width: 100%; }
  .stats-inner { gap: 12px; }
  .stat-num { font-size: 18px; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-grid-4 { grid-template-columns: 1fr; }
  .author-grid { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 22px; }
  .section-title { font-size: 20px; }
  .hero-btns { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { text-align: center; }
  .search-form { border-radius: 12px; }
}

/* ===== 打印样式 ===== */
@media print {
  .site-header, .top-bar, .search-bar-wrap, .back-top, .site-footer { display: none; }
  body { color: #000; }
}
