/* ============================================================
   海角社区 - 主样式文件 v2.0
   品牌色：玫瑰粉 #E91E8C | 珊瑚橙 #FF6B35 | 深紫 #1A0533
   域名：hpxgpyho.cn
   ============================================================ */

/* ---------- CSS 变量 ---------- */
:root {
  --brand-pink: #E91E8C;
  --brand-orange: #FF6B35;
  --brand-purple: #1A0533;
  --brand-dark: #0D0118;
  --brand-light: #FFF0F7;
  --text-main: #1a1a2e;
  --text-muted: #6b7280;
  --text-white: #ffffff;
  --border-light: #f0d6e8;
  --gradient-main: linear-gradient(135deg, #E91E8C 0%, #FF6B35 100%);
  --gradient-dark: linear-gradient(135deg, #1A0533 0%, #2d0a5e 100%);
  --shadow-sm: 0 2px 8px rgba(233,30,140,0.12);
  --shadow-md: 0 8px 32px rgba(233,30,140,0.18);
  --shadow-lg: 0 16px 48px rgba(233,30,140,0.22);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: 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-main);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-pink); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- 工具类 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.btn-outline {
  border: 2px solid var(--brand-pink);
  color: var(--brand-pink);
}
.btn-outline:hover {
  background: var(--brand-pink);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--brand-pink);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--brand-light);
  color: var(--brand-pink);
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  background: var(--brand-light);
  color: var(--brand-pink);
}
.tag-hot { background: #fff0e8; color: var(--brand-orange); }
.tag-new { background: #e8f4ff; color: #0066cc; }
.tag-live { background: #ffe8e8; color: #cc0000; animation: pulse 1.5s infinite; }

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

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

/* ---------- 导航栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 16px rgba(233,30,140,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo img.logo-img {
  height: 44px;
  width: auto;
  border-radius: 8px;
}
.site-logo .logo-text {
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient-main);
  -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 {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  transition: all var(--transition);
  position: relative;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--brand-pink);
  background: var(--brand-light);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--gradient-main);
  border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-search {
  display: flex;
  align-items: center;
  background: #f5f0f8;
  border-radius: var(--radius-full);
  padding: 6px 16px;
  gap: 8px;
  border: 1.5px solid transparent;
  transition: border-color var(--transition);
}
.header-search:focus-within { border-color: var(--brand-pink); }
.header-search input {
  border: none;
  background: none;
  outline: none;
  font-size: 14px;
  width: 180px;
  color: var(--text-main);
}
.header-search button {
  color: var(--brand-pink);
  font-size: 16px;
  padding: 0;
}
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- 搜索栏（导航下方） ---------- */
.nav-search-bar {
  background: var(--brand-light);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
}
.nav-search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}
.nav-search-inner .search-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--brand-pink);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.nav-search-inner .search-box input {
  flex: 1;
  padding: 10px 18px;
  border: none;
  outline: none;
  font-size: 14px;
}
.nav-search-inner .search-box button {
  padding: 10px 22px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
}
.search-hot-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.search-hot-tags span { font-size: 12px; color: var(--text-muted); }
.search-hot-tags a {
  font-size: 12px;
  color: var(--brand-pink);
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.search-hot-tags a:hover { background: var(--brand-pink); color: #fff; }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  background: #fdf8fc;
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}
.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--brand-pink); }
.breadcrumb span { margin: 0 4px; color: #ccc; }

/* ---------- 内页横幅 ---------- */
.page-hero {
  background: var(--gradient-dark);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-banner.jpg') center/cover no-repeat;
  opacity: 0.15;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Hero 区域 ---------- */
.hero-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,5,51,0.92) 0%, rgba(26,5,51,0.6) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(233,30,140,0.2);
  border: 1px solid rgba(233,30,140,0.4);
  color: #ff8cc8;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-content h1 span { color: var(--brand-pink); }
.hero-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-item { text-align: center; }
.hero-stat-item .num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  display: block;
}
.hero-stat-item .num span { color: var(--brand-pink); }
.hero-stat-item .label { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ---------- 版块标题 ---------- */
.section-header { margin-bottom: 40px; }
.section-header h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}
.section-header p { font-size: 15px; color: var(--text-muted); }
.section-subtitle { font-size: 15px; color: var(--text-muted); margin-top: 12px; line-height: 1.7; }
.experts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.expert-title { font-size: 13px; color: var(--brand-pink); margin-bottom: 10px; font-weight: 600; }
.section-line {
  width: 48px;
  height: 4px;
  background: var(--gradient-main);
  border-radius: 2px;
  margin: 12px 0;
}
.section-line.center { margin: 12px auto; }

/* ---------- 视频卡片 ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.video-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a0533;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.video-card:hover .video-thumb img { transform: scale(1.06); }

/* 播放按钮 - 鼠标悬停显示 */
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  transition: background var(--transition);
  z-index: 2;
}
.video-card:hover .video-play-btn {
  background: rgba(0,0,0,0.45);
}
.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(233,30,140,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: all var(--transition);
  box-shadow: 0 4px 24px rgba(233,30,140,0.6);
  position: relative;
}
.video-card:hover .play-icon {
  opacity: 1;
  transform: scale(1);
}
.play-icon::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 3;
}
.video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
}
.video-info { padding: 14px; }
.video-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 6px;
}
.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(200px, 1fr));
  gap: 20px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  border: 1.5px solid var(--border-light);
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--brand-pink);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--brand-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  transition: all var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--gradient-main);
}
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ---------- 内容分区模块 ---------- */
.content-zone {
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
  border: 1.5px solid var(--border-light);
  background: #fff;
}
.content-zone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--brand-light);
}
.content-zone-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.content-zone-title .zone-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}
.content-zone-title h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}
.content-zone-title h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}
.zone-more {
  font-size: 13px;
  color: var(--brand-pink);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.zone-more:hover { gap: 8px; color: var(--brand-pink); }

/* ---------- 专家卡片 ---------- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.expert-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.expert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.expert-avatar {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition);
}
.expert-card:hover .expert-avatar img { transform: scale(1.04); }
.expert-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.expert-info { padding: 20px; }
.expert-info h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.expert-role { font-size: 13px; color: var(--brand-pink); font-weight: 600; margin-bottom: 10px; }
.expert-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.expert-actions { display: flex; gap: 10px; }
.expert-actions .btn { flex: 1; justify-content: center; font-size: 13px; padding: 9px 16px; }

/* ---------- 评价区域 ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1.5px solid var(--border-light);
  transition: all var(--transition);
}
.review-card:hover { border-color: var(--brand-pink); box-shadow: var(--shadow-sm); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-user h4 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.review-user span { font-size: 12px; color: var(--text-muted); }
.review-stars { color: #f59e0b; font-size: 14px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text-main); line-height: 1.8; }
.review-date { font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open { border-color: var(--brand-pink); box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  transition: color var(--transition);
  user-select: none;
}
.faq-item.open .faq-question { color: var(--brand-pink); }
.faq-arrow {
  width: 24px;
  height: 24px;
  background: var(--brand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 14px;
  color: var(--brand-pink);
}
.faq-item.open .faq-arrow { background: var(--brand-pink); color: #fff; transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* ---------- 合作品牌 ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
}
.partner-item {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition);
  min-height: 70px;
}
.partner-item:hover {
  border-color: var(--brand-pink);
  color: var(--brand-pink);
  box-shadow: var(--shadow-sm);
}

/* ---------- 联系/底部 ---------- */
.contact-section { background: var(--brand-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.contact-item p { font-size: 13px; color: var(--text-muted); }
.qr-row { display: flex; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.qr-item { text-align: center; }
.qr-item img { width: 110px; height: 110px; border-radius: var(--radius-sm); border: 2px solid var(--border-light); }
.qr-item p { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: block;
}
.footer-brand p { font-size: 13px; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.social-btn:hover { background: var(--brand-pink); color: #fff; }
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--brand-pink); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--brand-pink); }

/* ---------- 分享按钮 ---------- */
.share-section { background: #fff; padding: 30px 0; border-top: 1px solid var(--border-light); }
.share-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.share-label { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
  border: 1.5px solid;
}
.share-wechat { border-color: #07c160; color: #07c160; }
.share-wechat:hover { background: #07c160; color: #fff; }
.share-weibo { border-color: #e6162d; color: #e6162d; }
.share-weibo:hover { background: #e6162d; color: #fff; }
.share-douyin { border-color: #010101; color: #010101; }
.share-douyin:hover { background: #010101; color: #fff; }
.share-bilibili { border-color: #00a1d6; color: #00a1d6; }
.share-bilibili:hover { background: #00a1d6; color: #fff; }
.share-qq { border-color: #12b7f5; color: #12b7f5; }
.share-qq:hover { background: #12b7f5; color: #fff; }

/* ---------- 统计横幅 ---------- */
.stats-banner {
  background: var(--gradient-main);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .num {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  display: block;
}
.stat-item .label { font-size: 14px; color: rgba(255,255,255,0.85); margin-top: 4px; }

/* ---------- 加入社区 How-To ---------- */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.howto-step {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 22px;
  border: 1.5px solid var(--border-light);
  position: relative;
  transition: all var(--transition);
}
.howto-step:hover { border-color: var(--brand-pink); box-shadow: var(--shadow-sm); }
.step-num {
  width: 40px;
  height: 40px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}
.howto-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.howto-step p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ---------- 社区功能卡片 ---------- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.community-card {
  background: linear-gradient(135deg, #fff 0%, #fdf5fb 100%);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1.5px solid var(--border-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.community-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.community-card:hover::before { transform: scaleX(1); }
.community-card:hover {
  border-color: var(--brand-pink);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.community-card-icon {
  font-size: 36px;
  margin-bottom: 14px;
}
.community-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.community-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.community-card .card-stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.community-card .card-stats span {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ---------- 美图展示区 ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,5,51,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}

/* ---------- 娱乐专区 ---------- */
.entertainment-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--brand-light);
}
.entertainment-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  background: #fff;
}
.entertainment-tab:hover,
.entertainment-tab.active {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
}

/* ---------- 热榜侧栏 ---------- */
.hot-rank-list { display: flex; flex-direction: column; gap: 12px; }
.hot-rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #fdf8fc;
  transition: all var(--transition);
  cursor: pointer;
}
.hot-rank-item:hover {
  background: var(--brand-light);
  transform: translateX(4px);
}
.rank-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  background: #e8e8e8;
  color: var(--text-muted);
}
.rank-num.top1 { background: #E91E8C; color: #fff; }
.rank-num.top2 { background: #FF6B35; color: #fff; }
.rank-num.top3 { background: #f59e0b; color: #fff; }
.rank-title {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rank-views { font-size: 11px; color: var(--text-muted); flex-shrink: 0; }

/* ---------- 两栏布局 ---------- */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.sidebar-widget {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1.5px solid var(--border-light);
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- 移动端菜单 ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.5);
}
.mobile-nav.open { display: block; }
.mobile-nav-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition);
}
.mobile-nav.open .mobile-nav-inner { transform: translateX(0); }
.mobile-nav-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}
.mobile-nav-links a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}
.mobile-nav-links a:hover { color: var(--brand-pink); }

/* ---------- 文章/内容页 ---------- */
.article-content {
  line-height: 1.9;
  font-size: 15px;
  color: var(--text-main);
}
.article-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 32px 0 14px;
  color: var(--text-main);
}
.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text-main);
}
.article-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--text-main);
}
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 8px; }

/* ---------- 通知/提示条 ---------- */
.notice-bar {
  background: linear-gradient(90deg, #fff0f7, #fff8f0);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.notice-bar strong { color: var(--brand-pink); }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .two-col-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-search { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-section { min-height: 420px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-pad { padding: 50px 0; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .expert-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .qr-row { justify-content: center; }
  .share-inner { justify-content: center; }
  .content-zone { padding: 20px; }
  .community-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 26px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .howto-steps { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- 懒加载占位 ---------- */
img[data-src] { background: linear-gradient(90deg, #f0e6f0 25%, #f8f0f8 50%, #f0e6f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f5f0f8; }
::-webkit-scrollbar-thumb { background: var(--brand-pink); border-radius: 3px; }

/* ---------- 选中颜色 ---------- */
::selection { background: rgba(233,30,140,0.2); color: var(--brand-pink); }

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

/* ---------- 视频播放器占位 ---------- */
.video-player-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: #0d0118;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.video-player-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.video-player-center-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-player-center-btn .big-play {
  width: 80px;
  height: 80px;
  background: rgba(233,30,140,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(233,30,140,0.2);
  transition: all var(--transition);
}
.video-player-wrap:hover .big-play {
  transform: scale(1.1);
  box-shadow: 0 0 0 20px rgba(233,30,140,0.15);
}
.big-play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
  margin-left: 6px;
}

/* ---------- 内容标签云 ---------- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.tag-cloud a {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  background: var(--brand-light);
  color: var(--brand-pink);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.tag-cloud a:hover {
  background: var(--brand-pink);
  color: #fff;
  border-color: var(--brand-pink);
}

/* ---------- 分页 ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  transition: all var(--transition);
}
.pagination a:hover, .pagination .current {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
}
