/* =========================================
   糖心vlog - 主样式文件
   Brand: 糖心vlog | Domain: qprrds.cn
   ========================================= */

/* CSS变量 - 原创配色方案 */
:root {
  --brand-primary: #E8436A;
  --brand-secondary: #FF7A9A;
  --brand-accent: #FF4D6D;
  --brand-dark: #1A0A10;
  --brand-deep: #2D1520;
  --brand-mid: #4A2535;
  --brand-light: #FFF0F3;
  --brand-pale: #FFF8FA;
  --text-primary: #1A0A10;
  --text-secondary: #5A3A45;
  --text-muted: #9A7A85;
  --text-white: #FFFFFF;
  --bg-white: #FFFFFF;
  --bg-light: #FFF8FA;
  --bg-section: #FFF0F3;
  --border-color: #F0D0DA;
  --shadow-sm: 0 2px 8px rgba(232,67,106,0.1);
  --shadow-md: 0 4px 20px rgba(232,67,106,0.15);
  --shadow-lg: 0 8px 40px rgba(232,67,106,0.2);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', 'Hiragino Sans GB', sans-serif;
}

/* 重置样式 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-accent);
}

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

ul, ol {
  list-style: none;
}

/* =========================================
   顶部公告栏
   ========================================= */
.top-bar {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-deep) 100%);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.top-bar::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232,67,106,0.15), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.top-bar a {
  color: var(--brand-secondary);
  font-weight: 600;
}

/* =========================================
   头部导航
   ========================================= */
.site-header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--brand-primary);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--text-primary);
  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(--brand-primary);
  background: var(--bg-section);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login {
  padding: 8px 20px;
  border: 2px solid var(--brand-primary);
  border-radius: var(--radius-xl);
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-login:hover {
  background: var(--brand-primary);
  color: white;
}

.btn-register {
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  border-radius: var(--radius-xl);
  color: white;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-register:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: white;
}

/* 汉堡菜单 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* =========================================
   搜索栏
   ========================================= */
.search-bar-wrap {
  background: var(--bg-section);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-form {
  flex: 1;
  max-width: 680px;
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

.search-form:focus-within {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.search-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 18px;
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text-primary);
  background: transparent;
}

.search-form input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  border: none;
  padding: 10px 22px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.search-btn:hover {
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-primary));
}

.search-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.search-tag {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 4px 10px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition);
}

.search-tag:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

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

.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

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

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

.breadcrumb-inner .sep {
  color: var(--border-color);
}

/* =========================================
   Hero 横幅区域
   ========================================= */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--brand-dark);
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_banner.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-section:hover .hero-bg {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,10,16,0.85) 0%, rgba(45,21,32,0.6) 50%, rgba(232,67,106,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-text h1 .brand-highlight {
  background: linear-gradient(135deg, var(--brand-secondary), #FFD6E0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  line-height: 1.8;
}

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

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

.hero-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-secondary);
  display: block;
}

.hero-stat .label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: white;
  border-radius: var(--radius-xl);
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(232,67,106,0.4);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,67,106,0.5);
  color: white;
}

.btn-hero-secondary {
  padding: 14px 32px;
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
  border-radius: var(--radius-xl);
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  color: white;
}

.hero-video-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
}

.hero-video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: var(--transition);
  cursor: pointer;
}

.hero-play-btn:hover {
  background: rgba(232,67,106,0.4);
}

.play-icon {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent var(--brand-primary);
  margin-left: 4px;
}

.hero-play-btn:hover .play-icon {
  transform: scale(1.1);
  background: white;
}

/* =========================================
   通用区块样式
   ========================================= */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--bg-section);
}

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

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

.section-tag {
  display: inline-block;
  background: var(--bg-section);
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-title .brand-name {
  color: var(--brand-primary);
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

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

.video-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.video-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.video-card {
  background: white;
  border-radius: var(--radius-md);
  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;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--brand-dark);
}

.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);
}

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

.video-card:hover .video-play-overlay {
  background: rgba(0,0,0,0.35);
}

.video-play-btn {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
}

.video-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--brand-primary);
  margin-left: 3px;
}

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

.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-quality {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--brand-primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.video-info {
  padding: 14px;
}

.video-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.video-meta .author {
  display: flex;
  align-items: center;
  gap: 4px;
}

.author-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.video-stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.video-stats span {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* =========================================
   分类标签栏
   ========================================= */
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cat-tab {
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid var(--border-color);
  color: var(--text-secondary);
  background: white;
}

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

/* =========================================
   专家展示区
   ========================================= */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.expert-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

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

.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  font-weight: 800;
  position: relative;
}

.expert-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: #FFD700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 2px solid white;
}

.expert-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.expert-role {
  font-size: 13px;
  color: var(--brand-primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.expert-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.expert-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

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

.expert-stat .n {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-primary);
  display: block;
}

.expert-stat .l {
  font-size: 11px;
  color: var(--text-muted);
}

.expert-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline {
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brand-primary);
  color: white;
}

.btn-solid {
  background: var(--brand-primary);
  color: white;
  border: 1px solid var(--brand-primary);
}

.btn-solid:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: white;
}

/* =========================================
   用户评价
   ========================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-secondary);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.reviewer-info .name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.reviewer-info .date {
  font-size: 12px;
  color: var(--text-muted);
}

.stars {
  color: #FFB800;
  font-size: 14px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.review-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.review-tag {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--bg-section);
  color: var(--brand-primary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
}

/* =========================================
   FAQ 区域
   ========================================= */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: white;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-section);
}

.faq-q-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 18px;
  font-weight: 300;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-icon {
  background: var(--brand-primary);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  padding: 0 22px 18px;
  max-height: 300px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* =========================================
   合作品牌 Logo 墙
   ========================================= */
.partner-logos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.partner-logo {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
  min-width: 120px;
  text-align: center;
}

.partner-logo:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

/* =========================================
   联系我们
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-block {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.contact-info-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border-color);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail .label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-detail .value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.qr-codes {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

.qr-item img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 8px;
}

.qr-item p {
  font-size: 12px;
  color: var(--text-muted);
}

/* =========================================
   社交分享
   ========================================= */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.share-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.share-btn {
  padding: 7px 16px;
  border-radius: var(--radius-xl);
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.share-wechat { background: #07C160; color: white; }
.share-weibo { background: #E6162D; color: white; }
.share-douyin { background: #010101; color: white; }
.share-bilibili { background: #00A1D6; color: white; }
.share-qq { background: #12B7F5; color: white; }

.share-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* =========================================
   How-To 加入社区
   ========================================= */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.howto-step {
  text-align: center;
  padding: 24px 16px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.howto-step:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =========================================
   AI 功能区
   ========================================= */
.ai-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ai-card {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-deep) 100%);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  color: white;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ai-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(232,67,106,0.2) 0%, transparent 70%);
}

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

.ai-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.ai-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--brand-secondary);
}

.ai-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* =========================================
   统计数字区
   ========================================= */
.stats-section {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item .number {
  font-size: 40px;
  font-weight: 900;
  color: white;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* =========================================
   底部页脚
   ========================================= */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.75);
  padding: 50px 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;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--brand-secondary);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--brand-primary);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

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

.footer-qr {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.footer-qr-item {
  text-align: center;
}

.footer-qr-item img {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 6px;
}

.footer-qr-item p {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

/* =========================================
   直播区域
   ========================================= */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.live-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.live-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.live-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--brand-dark);
}

.live-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #FF3B30;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.live-viewers {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
}

.live-info {
  padding: 12px;
}

.live-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-host {
  font-size: 12px;
  color: var(--text-muted);
}

/* =========================================
   弹幕样式
   ========================================= */
.danmaku-demo {
  background: var(--brand-dark);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  overflow: hidden;
  min-height: 120px;
}

.danmaku-item {
  position: absolute;
  white-space: nowrap;
  font-size: 14px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  animation: danmaku-move linear infinite;
  pointer-events: none;
}

@keyframes danmaku-move {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

/* =========================================
   加载更多按钮
   ========================================= */
.load-more-wrap {
  text-align: center;
  margin-top: 36px;
}

.btn-load-more {
  padding: 12px 40px;
  border: 2px solid var(--brand-primary);
  border-radius: var(--radius-xl);
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-main);
}

.btn-load-more:hover {
  background: var(--brand-primary);
  color: white;
}

/* =========================================
   通知横幅
   ========================================= */
.notice-bar {
  background: linear-gradient(135deg, #FFF3CD, #FFE69C);
  border: 1px solid #FFD60A;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #856404;
}

/* =========================================
   响应式设计
   ========================================= */
@media (max-width: 1024px) {
  .video-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ai-features { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: white; padding: 16px; box-shadow: var(--shadow-md); z-index: 999; }
  .menu-toggle { display: flex; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-video-preview { display: none; }
  .video-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .video-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ai-features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .header-actions .btn-login { display: none; }
}

@media (max-width: 480px) {
  .video-grid-4 { grid-template-columns: 1fr 1fr; }
  .video-grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .search-tags { display: none; }
}

/* =========================================
   懒加载占位符
   ========================================= */
.lazy-img {
  background: linear-gradient(90deg, #f0d0da 25%, #ffe0e8 50%, #f0d0da 75%);
  background-size: 200% 100%;
  animation: loading-skeleton 1.5s infinite;
}

@keyframes loading-skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

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

/* =========================================
   工具类
   ========================================= */
.text-center { text-align: center; }
.text-brand { color: var(--brand-primary); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
