/* ============================================
   每日大赛视频社区 - 主样式文件 | c9spml.cn
   每日大赛传媒科技有限公司 ©2026
   ============================================ */

/* ---- CSS变量 ---- */
:root {
  --primary: #e8436a;
  --primary-dark: #c4264a;
  --primary-light: #ff6b9d;
  --secondary: #ff8fab;
  --accent: #d4a853;
  --bg: #fff8fa;
  --bg-alt: #fdf0f4;
  --text: #1a0a10;
  --text-muted: #7a5060;
  --border: #f0d0dc;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(232,67,106,0.12);
  --shadow-lg: 0 8px 40px rgba(232,67,106,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --font: 'PingFang SC','Microsoft YaHei','Helvetica Neue',Arial,sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ---- 动画 ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---- 布局 ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-16 { gap: 16px; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---- 网格 ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---- 按钮 ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
  text-decoration: none; border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 16px rgba(232,67,106,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,67,106,0.45);
  color: #fff;
}
.btn-secondary {
  background: var(--bg-alt); color: var(--primary);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15); color: #fff;
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ---- 标签 ---- */
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600;
}
.tag-primary { background: rgba(232,67,106,0.12); color: var(--primary); }
.tag-hot { background: rgba(255,87,34,0.12); color: #e64a19; }
.tag-new { background: rgba(76,175,80,0.12); color: #2e7d32; }
.tag-award { background: rgba(212,168,83,0.15); color: #b8860b; }

/* ============================================
   头部
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-top { padding: 10px 0; }
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.site-logo {
  display: flex; align-items: center;
  gap: 10px; text-decoration: none;
}
.site-logo img {
  width: 44px; height: 44px;
  border-radius: 10px; object-fit: cover;
}
.logo-text {
  font-size: 1.5rem; font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.logo-sub {
  display: block; font-size: 0.7rem;
  color: var(--text-muted); margin-top: 2px;
}

/* 汉堡菜单 */
.menu-toggle {
  display: none; flex-direction: column;
  gap: 5px; padding: 8px; cursor: pointer;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* 主导航 */
.main-nav {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 0;
}
.nav-list {
  display: flex; align-items: center;
  gap: 0; overflow-x: auto;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list a {
  display: block; padding: 12px 18px;
  color: rgba(255,255,255,0.9); font-size: 0.9rem;
  font-weight: 500; white-space: nowrap;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
}
.nav-list a:hover, .nav-list a.active {
  color: #fff; background: rgba(255,255,255,0.15);
  border-bottom-color: #fff;
}

/* 搜索栏 */
.search-bar { padding: 10px 0; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.search-form { display: flex; gap: 0; max-width: 700px; }
.search-input {
  flex: 1; padding: 10px 20px;
  border: 2px solid var(--border); border-right: none;
  border-radius: 50px 0 0 50px; font-size: 0.9rem;
  font-family: var(--font); background: #fff;
  outline: none; transition: border-color var(--transition);
}
.search-input:focus { border-color: var(--primary); }
.search-btn {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border-radius: 0 50px 50px 0;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: all var(--transition);
}
.search-btn:hover { opacity: 0.9; }

/* ============================================
   面包屑
   ============================================ */
.breadcrumb {
  padding: 10px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ============================================
   Hero 首屏
   ============================================ */
.hero {
  position: relative; overflow: hidden;
  min-height: 520px; display: flex;
  align-items: center; padding: 60px 0;
  background: linear-gradient(135deg, #1a0a10, #3d1525, #6b1f3a);
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.35;
  z-index: 0;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.85rem; margin-bottom: 20px;
  animation: fadeInUp 0.6s ease;
}
.live-badge {
  background: #e8436a; color: #fff;
  padding: 2px 8px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 700;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; color: #fff;
  line-height: 1.2; margin-bottom: 20px;
  animation: fadeInUp 0.7s ease;
}
.hero h1 span {
  background: linear-gradient(135deg, #ff6b9d, #ffd54f);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.85);
  margin-bottom: 32px; line-height: 1.8;
  animation: fadeInUp 0.8s ease;
}
.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeInUp 0.9s ease;
}
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  animation: fadeInUp 1s ease;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  display: block; font-size: 1.6rem;
  font-weight: 900; color: #fff; line-height: 1;
}
.hero-stat .label {
  font-size: 0.78rem; color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* ============================================
   页面Hero（内页）
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 50px 0; text-align: center; color: #fff;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* ============================================
   Section
   ============================================ */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: var(--text);
  margin-bottom: 12px; position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: ''; display: block;
  width: 60px; height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 2px; margin: 12px auto 0;
}
.section-title p { color: var(--text-muted); font-size: 1rem; max-width: 600px; margin: 0 auto; }

/* ============================================
   视频卡片
   ============================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.video-card {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: all var(--transition); cursor: pointer;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.video-thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9; background: #1a0a10;
}
.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); }

/* 播放按钮 */
.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);
}
.video-card:hover .video-play-btn { background: rgba(0,0,0,0.4); }
.play-icon {
  width: 56px; height: 56px;
  background: rgba(232,67,106,0.9);
  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 20px rgba(232,67,106,0.5);
}
.video-card:hover .play-icon { opacity: 1; transform: scale(1); }
.play-icon svg {
  width: 24px; height: 24px; fill: #fff;
  margin-left: 3px;
}

/* 视频标签 */
.video-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.75); color: #fff;
  padding: 2px 8px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 600;
}
.video-tag {
  position: absolute; top: 8px; left: 8px;
  background: var(--primary); color: #fff;
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
}

/* 视频信息 */
.video-info { padding: 14px 16px; }
.video-title {
  font-size: 0.92rem; font-weight: 600;
  color: var(--text); line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.video-meta {
  display: flex; gap: 12px;
  font-size: 0.78rem; color: var(--text-muted);
  margin-bottom: 6px;
}
.video-stats {
  display: flex; gap: 12px;
  font-size: 0.78rem; color: var(--text-muted);
}

/* ============================================
   功能卡片
   ============================================ */
.feature-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 28px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.feature-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(232,67,106,0.1), rgba(255,107,157,0.1));
  border-radius: 16px; display: flex;
  align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 16px;
  transition: all var(--transition);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  transform: scale(1.1);
}
.feature-card h3 {
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 10px; color: var(--text);
}
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================
   专家卡片
   ============================================ */
.expert-card {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.expert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.expert-avatar {
  width: 100%; height: 220px;
  object-fit: cover; object-position: top;
}
.expert-info { padding: 20px; }
.expert-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.expert-title {
  font-size: 0.82rem; color: var(--primary);
  font-weight: 600; margin-bottom: 12px;
}
.expert-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.expert-tag {
  background: rgba(232,67,106,0.1); color: var(--primary);
  padding: 3px 10px; border-radius: 12px; font-size: 0.78rem;
}
.expert-btns { display: flex; gap: 10px; }

/* ============================================
   合作品牌
   ============================================ */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.partner-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 12px;
  text-align: center; font-size: 0.9rem; font-weight: 600;
  color: var(--text-muted); transition: all var(--transition);
}
.partner-item:hover {
  border-color: var(--primary); color: var(--primary);
  transform: translateY(-3px); box-shadow: var(--shadow);
}

/* ============================================
   How-To 步骤
   ============================================ */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative;
}
.howto-steps::before {
  content: ''; position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 0;
}
.howto-step {
  background: #fff; border-radius: var(--radius-lg);
  padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow); position: relative; z-index: 1;
  border: 1px solid var(--border);
}
.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(232,67,106,0.4);
}
.howto-step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.howto-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================
   联系方式
   ============================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.contact-info-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(232,67,106,0.1);
  border-radius: 10px; display: flex;
  align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-detail .label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-detail .value { font-size: 0.95rem; font-weight: 600; color: var(--text); }

/* 二维码 */
.qr-group { display: flex; gap: 20px; flex-wrap: wrap; }
.qr-item { text-align: center; }
.qr-item img { width: 100px; height: 100px; border-radius: 10px; }
.qr-item p { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }

/* ============================================
   评价卡片
   ============================================ */
.review-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; flex-shrink: 0;
}
.review-user-info .name { font-weight: 700; font-size: 0.95rem; }
.review-user-info .date { font-size: 0.78rem; color: var(--text-muted); }
.review-stars { color: #ffd54f; margin-bottom: 10px; font-size: 0.9rem; }
.review-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.8; }

/* ============================================
   APP下载
   ============================================ */
.app-download {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg); padding: 48px;
  display: flex; gap: 40px; align-items: center;
  justify-content: space-between; color: #fff;
}
.app-download h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.app-download p { opacity: 0.9; margin-bottom: 24px; max-width: 480px; }
.app-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.app-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff; border-radius: 50px; font-size: 0.9rem;
  font-weight: 600; transition: all var(--transition);
  text-decoration: none;
}
.app-btn:hover { background: rgba(255,255,255,0.25); color: #fff; transform: translateY(-2px); }

/* ============================================
   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: all var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; padding: 18px 20px;
  background: #fff; font-size: 0.95rem; font-weight: 600;
  color: var(--text); cursor: pointer;
  transition: all var(--transition);
}
.faq-question:hover { background: var(--bg-alt); color: var(--primary); }
.faq-item.open .faq-question { background: rgba(232,67,106,0.05); color: var(--primary); }
.faq-icon {
  font-size: 1.4rem; font-weight: 300; color: var(--primary);
  transition: transform var(--transition); flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p {
  padding: 0 20px 18px; font-size: 0.9rem;
  color: var(--text-muted); line-height: 1.8;
}

/* ============================================
   分类标签
   ============================================ */
.category-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.tab-btn {
  padding: 8px 18px; border-radius: 50px;
  font-size: 0.88rem; font-weight: 600;
  background: #fff; color: var(--text-muted);
  border: 2px solid var(--border);
  cursor: pointer; transition: all var(--transition);
}
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.active {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
}

/* ============================================
   分页
   ============================================ */
.pagination {
  display: flex; justify-content: center;
  gap: 8px; margin-top: 40px;
}
.page-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: #fff; border: 2px solid var(--border);
  font-size: 0.9rem; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================
   内页布局
   ============================================ */
.page-content { padding: 50px 0; }
.content-sidebar {
  display: grid; grid-template-columns: 1fr 300px; gap: 40px;
}
.sidebar-card {
  background: #fff; border-radius: var(--radius);
  padding: 20px; border: 1px solid var(--border);
  margin-bottom: 20px;
}
.sidebar-card h5 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  color: var(--text);
}
.sidebar-list { display: flex; flex-direction: column; gap: 8px; }
.sidebar-list a {
  display: block; padding: 8px 12px;
  border-radius: 8px; font-size: 0.88rem;
  color: var(--text-muted); transition: all var(--transition);
}
.sidebar-list a:hover { background: var(--bg-alt); color: var(--primary); }

/* ============================================
   新闻列表
   ============================================ */
.news-list { display: flex; flex-direction: column; gap: 24px; }
.news-item {
  background: #fff; border-radius: var(--radius);
  padding: 24px; border: 1px solid var(--border);
  transition: all var(--transition);
}
.news-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.news-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.news-cat {
  background: rgba(232,67,106,0.1); color: var(--primary);
  padding: 3px 10px; border-radius: 12px; font-size: 0.78rem; font-weight: 600;
}
.news-date { font-size: 0.82rem; color: var(--text-muted); }
.news-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.news-title a { color: var(--text); }
.news-title a:hover { color: var(--primary); }
.news-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }

/* ============================================
   社交分享按钮
   ============================================ */
.social-share { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.share-btn {
  padding: 8px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
  transition: all var(--transition); border: 2px solid;
}
.share-wechat { background: rgba(7,193,96,0.1); color: #07c160; border-color: rgba(7,193,96,0.3); }
.share-wechat:hover { background: #07c160; color: #fff; }
.share-weibo { background: rgba(230,22,45,0.1); color: #e6162d; border-color: rgba(230,22,45,0.3); }
.share-weibo:hover { background: #e6162d; color: #fff; }
.share-douyin { background: rgba(0,0,0,0.06); color: #000; border-color: rgba(0,0,0,0.15); }
.share-douyin:hover { background: #000; color: #fff; }
.share-bilibili { background: rgba(0,161,214,0.1); color: #00a1d6; border-color: rgba(0,161,214,0.3); }
.share-bilibili:hover { background: #00a1d6; color: #fff; }

/* ============================================
   底部
   ============================================ */
.site-footer {
  background: linear-gradient(135deg, #1a0a10, #2d0f1e);
  color: rgba(255,255,255,0.8); padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-logo-img { width: 36px; height: 36px; border-radius: 8px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; color: rgba(255,255,255,0.6); }
.footer-col h5 {
  font-size: 1rem; font-weight: 700; color: #fff;
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 2px solid rgba(232,67,106,0.5);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
  padding: 20px 0; text-align: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}
.footer-bottom p { margin-bottom: 4px; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .howto-steps { grid-template-columns: repeat(2, 1fr); }
  .howto-steps::before { display: none; }
  .content-sidebar { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .app-download { flex-direction: column; text-align: center; }
  .app-download p { max-width: 100%; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-list {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--primary-dark); z-index: 999;
    padding: 8px 0; box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 12px 20px; border-bottom: none; }
  .main-nav { position: relative; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 400px; padding: 40px 0; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .howto-steps { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .section { padding: 50px 0; }
  .search-form { max-width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .video-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 1.8rem; }
  .section-title h2 { font-size: 1.5rem; }
  .app-download { padding: 28px 20px; }
  .app-btns { flex-direction: column; }
  .app-btn { justify-content: center; }
  .hero-stats { gap: 16px; }
  .hero-stat .num { font-size: 1.3rem; }
}

/* ============================================
   图片懒加载
   ============================================ */
img[data-src] { opacity: 0; transition: opacity 0.4s ease; }
img.loaded { opacity: 1; }

/* ============================================
   工具类
   ============================================ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
