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

/* ---- CSS变量 ---- */
:root {
  --primary: #E8336D;
  --primary-dark: #c41f55;
  --primary-light: #ff6b9d;
  --secondary: #FF6B35;
  --accent: #9B59B6;
  --accent2: #3498DB;
  --dark: #0d0618;
  --dark2: #1a0a2e;
  --dark3: #2d1b4e;
  --card-bg: #1e1030;
  --text-main: #f0e8ff;
  --text-muted: #a89bc4;
  --text-light: #d4c8ee;
  --border: rgba(232,51,109,0.25);
  --gradient-main: linear-gradient(135deg, #E8336D 0%, #9B59B6 50%, #3498DB 100%);
  --gradient-card: linear-gradient(145deg, #1e1030 0%, #2d1b4e 100%);
  --shadow: 0 8px 32px rgba(232,51,109,0.18);
  --shadow-lg: 0 16px 48px rgba(232,51,109,0.28);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---- 重置与基础 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  background: var(--dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; outline: none; }

/* ---- 顶部公告栏 ---- */
.top-bar {
  background: var(--gradient-main);
  color: #fff;
  text-align: center;
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.top-bar a { color: #fff; text-decoration: underline; }

/* ---- 头部导航 ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,6,24,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.logo-text {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* ---- 主导航 ---- */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: #fff;
  background: rgba(232,51,109,0.15);
}
.main-nav a.active { color: var(--primary-light); }

/* ---- 搜索框 ---- */
.search-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 6px 14px;
  gap: 8px;
  min-width: 200px;
  transition: var(--transition);
}
.search-wrap:focus-within {
  border-color: var(--primary);
  background: rgba(232,51,109,0.08);
  box-shadow: 0 0 0 3px rgba(232,51,109,0.12);
}
.search-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 14px;
  width: 100%;
}
.search-wrap input::placeholder { color: var(--text-muted); }
.search-wrap button {
  background: transparent;
  color: var(--text-muted);
  font-size: 16px;
  padding: 0;
  transition: var(--transition);
}
.search-wrap button:hover { color: var(--primary); }

/* ---- 导航下方搜索栏 ---- */
.nav-search-bar {
  background: rgba(26,10,46,0.95);
  border-bottom: 1px solid rgba(232,51,109,0.1);
  padding: 10px 20px;
}
.nav-search-bar .inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-search-bar .search-big {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--border);
  border-radius: 28px;
  padding: 8px 20px;
  gap: 10px;
  max-width: 600px;
}
.nav-search-bar .search-big input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 15px;
  width: 100%;
}
.nav-search-bar .search-big input::placeholder { color: var(--text-muted); }
.nav-search-bar .search-big button {
  background: var(--gradient-main);
  color: #fff;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-search-bar .hot-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.nav-search-bar .hot-tags span { color: var(--text-muted); font-size: 13px; }
.nav-search-bar .hot-tags a {
  color: var(--text-muted);
  font-size: 13px;
  padding: 3px 10px;
  border: 1px solid rgba(232,51,109,0.2);
  border-radius: 12px;
  transition: var(--transition);
}
.nav-search-bar .hot-tags a:hover {
  color: var(--primary-light);
  border-color: var(--primary);
  background: rgba(232,51,109,0.08);
}

/* ---- 面包屑 ---- */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: var(--primary-light); }

/* ---- 英雄区 ---- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark2);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,6,24,0.92) 0%, rgba(13,6,24,0.6) 60%, rgba(13,6,24,0.2) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
  max-width: 640px;
  padding-left: 40px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,51,109,0.15);
  border: 1px solid rgba(232,51,109,0.4);
  color: var(--primary-light);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  padding: 12px 28px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(232,51,109,0.08);
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-size: 26px;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ---- 通用区块 ---- */
.section { padding: 64px 20px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  background: rgba(232,51,109,0.12);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(232,51,109,0.3);
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-title em {
  font-style: normal;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc { font-size: 15px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ---- 视频卡片 ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232,51,109,0.5);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark3);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: var(--transition);
}
.video-card:hover .play-btn { opacity: 1; }
.play-btn-icon {
  width: 56px;
  height: 56px;
  background: rgba(232,51,109,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 20px rgba(232,51,109,0.5);
  transform: scale(0.8);
  transition: var(--transition);
}
.video-card:hover .play-btn-icon { transform: scale(1); }
.play-btn-icon svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}
.video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  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: 600;
  color: var(--text-main);
  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(--text-muted);
}
.video-author { display: flex; align-items: center; gap: 6px; }
.video-author img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.video-stats { display: flex; gap: 10px; }
.video-stats span { display: flex; align-items: center; gap: 3px; }

/* ---- 功能模块卡片 ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(232,51,109,0.4);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(232,51,109,0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  border: 1px solid rgba(232,51,109,0.2);
}
.feature-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ---- 专家卡片 ---- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.expert-avatar {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.expert-info { padding: 18px; }
.expert-name { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.expert-role {
  font-size: 13px;
  color: var(--primary-light);
  margin-bottom: 10px;
  font-weight: 600;
}
.expert-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.expert-tag {
  background: rgba(232,51,109,0.1);
  color: var(--primary-light);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(232,51,109,0.2);
}
.expert-btns { display: flex; gap: 8px; }
.btn-sm {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-sm-primary {
  background: var(--gradient-main);
  color: #fff;
}
.btn-sm-outline {
  border: 1px solid var(--border);
  color: var(--text-light);
}
.btn-sm-outline:hover { border-color: var(--primary); color: var(--primary-light); }

/* ---- 用户评价 ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.review-user .name { font-size: 15px; font-weight: 700; color: #fff; }
.review-user .date { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.review-stars { color: #FFD700; font-size: 14px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.review-likes { margin-top: 12px; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(232,51,109,0.4); }
.faq-q {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: var(--gradient-card);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  gap: 12px;
  user-select: none;
}
.faq-q:hover { color: var(--primary-light); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(232,51,109,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--primary-light);
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(232,51,109,0.3); }
.faq-a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  background: rgba(26,10,46,0.5);
}
.faq-item.open .faq-a { max-height: 300px; padding: 16px 22px 20px; }

/* ---- 合作品牌 ---- */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.partner-logo {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}
.partner-logo:hover {
  color: var(--primary-light);
  border-color: rgba(232,51,109,0.4);
  background: rgba(232,51,109,0.06);
}

/* ---- 联系区 ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.contact-card .icon { font-size: 40px; margin-bottom: 14px; }
.contact-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.qr-wrap { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.qr-item { text-align: center; }
.qr-item img { width: 130px; height: 130px; border-radius: 12px; border: 2px solid var(--border); object-fit: cover; }
.qr-item p { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

/* ---- 社交分享 ---- */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 24px 20px;
}
.share-label { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
}
.share-wechat { background: rgba(7,193,96,0.12); color: #07c160; border-color: rgba(7,193,96,0.25); }
.share-wechat:hover { background: rgba(7,193,96,0.2); color: #07c160; }
.share-weibo { background: rgba(230,22,45,0.12); color: #e6162d; border-color: rgba(230,22,45,0.25); }
.share-weibo:hover { background: rgba(230,22,45,0.2); color: #e6162d; }
.share-douyin { background: rgba(0,0,0,0.3); color: #fff; border-color: rgba(255,255,255,0.15); }
.share-douyin:hover { background: rgba(255,255,255,0.1); }
.share-bilibili { background: rgba(0,161,214,0.12); color: #00a1d6; border-color: rgba(0,161,214,0.25); }
.share-bilibili:hover { background: rgba(0,161,214,0.2); color: #00a1d6; }

/* ---- 底部 ---- */
.site-footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 48px 20px 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.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: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--text-muted); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary-light); }
.footer-update { color: var(--primary-light); font-weight: 600; }

/* ---- 标签页 ---- */
.tab-bar {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  white-space: nowrap;
  transition: var(--transition);
}
.tab-btn:hover { color: var(--text-main); }
.tab-btn.active { color: var(--primary-light); border-bottom-color: var(--primary); }

/* ---- 直播区 ---- */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.live-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.live-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.live-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.live-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.live-card:hover .live-thumb img { transform: scale(1.05); }
.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ff4444;
  color: #fff;
  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: #fff;
  border-radius: 50%;
  animation: blink 1s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.live-viewers {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
}
.live-info { padding: 10px 12px; }
.live-name { font-size: 13px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.live-tag { font-size: 11px; color: var(--primary-light); }

/* ---- 加入社区步骤 ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  counter-increment: step;
}
.step-card::before {
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  line-height: 28px;
}
.step-icon { font-size: 36px; margin-bottom: 12px; }
.step-card h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ---- 统计数字 ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat-item {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
}
.stat-num {
  font-size: 32px;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ---- 分隔线 ---- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 auto;
  max-width: 1280px;
}

/* ---- 标签云 ---- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tag-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
  transition: var(--transition);
  cursor: pointer;
}
.tag-item:hover {
  background: rgba(232,51,109,0.1);
  border-color: var(--primary);
  color: var(--primary-light);
}

/* ---- 通知条 ---- */
.notice-bar {
  background: rgba(232,51,109,0.08);
  border: 1px solid rgba(232,51,109,0.2);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-light);
}
.notice-bar .icon { color: var(--primary-light); font-size: 18px; flex-shrink: 0; }

/* ---- 内页横幅 ---- */
.page-banner {
  background: var(--dark2);
  padding: 48px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,51,109,0.15) 0%, transparent 70%);
}
.page-banner h1 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  color: #fff;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}
.page-banner p {
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { height: 58px; }
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero { min-height: 380px; }
  .hero-content { padding: 40px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .section { padding: 40px 16px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .search-wrap { min-width: 140px; }
  .nav-search-bar .hot-tags { display: none; }
}

/* ---- 移动菜单按钮 ---- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- 移动导航 ---- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(13,6,24,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-light);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  transition: var(--transition);
}
.mobile-nav a:hover { background: rgba(232,51,109,0.1); color: var(--primary-light); }

/* ---- 懒加载 ---- */
img[data-src] { opacity: 0; transition: opacity 0.4s; }
img.loaded { opacity: 1; }

/* ---- 滚动条 ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: rgba(232,51,109,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ---- 加载动画 ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease both; }
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

/* ---- 渐变分隔 ---- */
.section-alt { background: rgba(26,10,46,0.5); }
.section-dark { background: var(--dark2); }

/* ---- 分页 ---- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}
.page-btn:hover,
.page-btn.active {
  background: var(--gradient-main);
  border-color: var(--primary);
  color: #fff;
}
.page-dots { color: var(--text-muted); padding: 0 4px; }
.page-next { padding: 0 16px; }

/* ---- 弹幕演示 ---- */
.danmu-demo { max-width: 720px; margin: 0 auto; }
.danmu-screen { position: relative; border-radius: 12px; overflow: hidden; }
.danmu-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.danmu-item {
  position: absolute;
  left: 100%;
  white-space: nowrap;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  animation: danmuScroll 8s linear infinite;
}
@keyframes danmuScroll {
  from { left: 100%; }
  to { left: -300px; }
}

/* ---- 资质卡片 ---- */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.cred-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}
.cred-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.cred-card .cred-icon { font-size: 36px; margin-bottom: 12px; }
.cred-card h3 { font-size: 15px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; }
.cred-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ---- 联系卡片 ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.contact-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--primary); }
.contact-card .icon { font-size: 28px; margin-bottom: 12px; }
.contact-card h3 { font-size: 15px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; }
.contact-card p { font-size: 13px; color: var(--text-muted); line-height: 2; }
.contact-card a { color: var(--primary-light); }
.contact-card a:hover { color: var(--primary); }

/* ---- 关于页面统计 ---- */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.about-stat {
  background: rgba(232,51,109,0.06);
  border: 1px solid rgba(232,51,109,0.15);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
}
.about-stat .num {
  display: block;
  font-size: 22px;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-stat .label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 600px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 关于页面内容布局 ---- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.about-text h3 { font-size: 22px; font-weight: 800; color: var(--text-main); margin-bottom: 16px; }
.about-text p { color: var(--text-light); line-height: 1.9; margin-bottom: 14px; }
@media (max-width: 768px) {
  .about-content { grid-template-columns: 1fr; }
}

/* ---- 分类导航栏 ---- */
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.cat-btn {
  padding: 8px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}
.cat-btn:hover,
.cat-btn.active {
  background: var(--gradient-main);
  border-color: var(--primary);
  color: #fff;
}

/* ---- 图片画廊 ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---- 面包屑内部容器 ---- */
.breadcrumb .section-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---- page-banner em渐变文字 ---- */
.page-banner em {
  font-style: normal;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- 二维码区 ---- */
.qr-wrap {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.qr-item { text-align: center; }
.qr-item p { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

/* ---- 底部更新时间 ---- */
.footer-update {
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 600;
}

/* ---- 底部底栏 ---- */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 20px;
}
.footer-bottom a { color: var(--text-muted); transition: var(--transition); }
.footer-bottom a:hover { color: var(--primary-light); }
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- 按钮小型 ---- */
.btn-sm {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  margin-top: 8px;
  margin-right: 6px;
}
.btn-sm-primary {
  background: var(--gradient-main);
  color: #fff;
  border: none;
}
.btn-sm-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1px solid rgba(232,51,109,0.4);
}
.btn-sm-outline:hover { background: rgba(232,51,109,0.1); }

/* ---- 专家按钮组 ---- */
.expert-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
