/* ================================================
   寸止挑战 官方网站 - 主样式文件
   品牌色：玫瑰粉 #FF6B9D | 珊瑚红 #FF4757 | 深紫 #1a1a2e
   ================================================ */

/* ---------- CSS变量 ---------- */
:root {
  --primary: #FF6B9D;
  --secondary: #FF4757;
  --accent: #FFA07A;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --dark3: #0f3460;
  --light: #fff5f8;
  --text: #2d2d2d;
  --text-muted: #888;
  --border: #f0d6e0;
  --gradient: linear-gradient(135deg, #FF6B9D 0%, #FF4757 50%, #ff6348 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --shadow: 0 4px 20px rgba(255,107,157,0.15);
  --shadow-lg: 0 8px 40px rgba(255,107,157,0.25);
  --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: #fff;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- 通用工具类 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-sm { padding: 40px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); color: #fff; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.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; }
.hidden { display: none; }

/* ---------- 标题样式 ---------- */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  position: relative;
}
.section-title span { color: var(--primary); }
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
  margin-top: 12px;
}
.section-title.center::after { margin: 12px auto 0; }
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255,71,87,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,71,87,0.45); }
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark3); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

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

/* ---------- 导航栏 ---------- */
.navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-logo img.site-favicon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}
.navbar-logo img.site-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.navbar-logo .brand-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  background: var(--light);
  color: var(--primary);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-btn-login {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}
.nav-btn-login:hover { background: var(--primary); color: #fff; }
.nav-btn-join {
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(255,71,87,0.3);
  transition: var(--transition);
}
.nav-btn-join:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(255,71,87,0.4); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ---------- 搜索框 ---------- */
.search-bar {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
}
.search-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-wrap {
  flex: 1;
  max-width: 600px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 8px 20px;
  transition: var(--transition);
}
.search-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,157,0.12); }
.search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.92rem;
  color: var(--text);
  background: transparent;
  font-family: inherit;
}
.search-wrap input::placeholder { color: #bbb; }
.search-wrap .search-icon {
  color: var(--text-muted);
  font-size: 1rem;
  margin-right: 8px;
}
.search-btn {
  padding: 9px 24px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}
.search-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.search-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.search-tag {
  padding: 4px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.search-tag:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Hero Banner ---------- */
.hero {
  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/banner_hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.5) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  max-width: 600px;
}
.ortlt1 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,107,157,0.2);
  border: 1px solid rgba(255,107,157,0.4);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--primary); }
.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.vm7j2tv {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.bl3igm3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}
.iuh3zd95 { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ---------- 分类导航 ---------- */
.category-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  overflow-x: auto;
}
.category-nav::-webkit-scrollbar { height: 3px; }
.category-nav::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }
.category-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.cat-item:hover, .cat-item.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.cat-item .cat-icon { font-size: 1.2rem; }

/* ---------- 视频卡片 ---------- */
.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f0f0f0;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: var(--transition);
}
.video-card:hover .video-play-btn { opacity: 1; }
.play-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--secondary);
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
}
.video-info { padding: 14px; }
.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;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f5f5f5;
}
.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--light);
}
.author-name { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- 热门视频大卡片 ---------- */
.video-card-lg {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  transition: var(--transition);
}
.video-card-lg:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.video-card-lg .video-thumb { aspect-ratio: auto; height: 100%; min-height: 220px; }
.video-card-lg .video-info { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.video-card-lg .video-title { font-size: 1.1rem; -webkit-line-clamp: 3; }

/* ---------- 直播卡片 ---------- */
.live-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.live-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.live-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.live-thumb img { width: 100%; height: 100%; object-fit: cover; }
.live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff4757;
  color: #fff;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
.live-viewers {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 4px;
}
.live-info { padding: 12px 14px; }
.live-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
.live-host { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- 专家卡片 ---------- */
.expert-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.expert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.expert-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--primary);
  padding: 2px;
}
.expert-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.expert-title { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.expert-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 16px; }
.expert-tag {
  background: var(--light);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid var(--border);
}
.expert-actions { display: flex; gap: 8px; justify-content: center; }

/* ---------- 评论/用户评价 ---------- */
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 0.92rem; }
.review-date { font-size: 0.75rem; color: var(--text-muted); }
.review-stars { color: #FFD700; font-size: 0.85rem; margin-bottom: 8px; }
.review-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.review-likes { font-size: 0.78rem; color: var(--text-muted); margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); box-shadow: 0 2px 12px rgba(255,107,157,0.1); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  background: #fff;
  transition: var(--transition);
}
.faq-question:hover { background: var(--light); }
.faq-item.open .faq-question { background: var(--light); color: var(--primary); }
.faq-icon { font-size: 1.2rem; transition: transform 0.3s; color: var(--primary); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 22px 18px; }

/* ---------- 合作品牌Logo墙 ---------- */
.94rfcim {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.ux4xtixi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  min-width: 120px;
  text-align: center;
}
.ux4xtixi:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }

/* ---------- 联系我们 ---------- */
.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f5f5f5;
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--primary);
}
.contact-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-value { font-size: 0.95rem; font-weight: 600; }

/* ---------- 二维码 ---------- */
.wui5gq { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.x7e3chdk { text-align: center; }
.4zolfica {
  width: 130px;
  height: 130px;
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  overflow: hidden;
  position: relative;
}
.4zolfica img { width: 100%; height: 100%; object-fit: cover; }
.4zolfica .qr-placeholder {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 3px;
  padding: 10px;
}
.4zolfica .qr-placeholder span {
  width: 100%;
  aspect-ratio: 1;
  background: var(--dark);
  border-radius: 1px;
}
.1m3kfh { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

/* ---------- 社交分享 ---------- */
.dda5dp { display: flex; gap: 10px; flex-wrap: wrap; }
.sy4yc4 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1.5px solid transparent;
}
.sy4yc4:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.hm8cjlcu { background: #07C160; color: #fff; }
.id7vxjr8 { background: #E6162D; color: #fff; }
.gomw5gjq { background: #010101; color: #fff; }
.zp4jy { background: #00A1D6; color: #fff; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--gradient-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.footer-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--primary); }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }
.breadcrumb-sep { color: var(--text-muted); margin: 0 6px; }

/* ---------- 导航Logo小图标 ---------- */
.site-favicon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  flex-shrink: 0;
}
.site-logo {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* ---------- 页面头部 ---------- */
.page-header {
  background: var(--gradient-dark);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.page-header h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1rem; }

/* ---------- 视频播放器 ---------- */
.video-player-wrap {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
}
.video-player-wrap video, .video-player-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--light);
  color: var(--primary);
  border: 1px solid var(--border);
}
.tag-hot { background: #fff5f5; color: var(--secondary); border-color: #ffd6d6; }
.tag-new { background: #f0fff4; color: #00b894; border-color: #c3e6cb; }

/* ---------- 统计数字 ---------- */
.7yilkz {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.k6vt3rf { padding: 28px 20px; }
.oyzxn6s3 {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.o3vwnn { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- 步骤指南 ---------- */
.steps { display: flex; gap: 0; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(255,71,87,0.3);
}
.step-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- 通知/提示条 ---------- */
.1ma6vyei {
  background: linear-gradient(90deg, #fff5f8, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.5orcw { color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .7yilkz { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .section-title { font-size: 1.6rem; }
  .hero h1 { font-size: 2rem; }
  .vm7j2tv { gap: 20px; }
  .bl3igm3 { font-size: 1.4rem; }
  .nav-menu { display: none; }
  .nav-actions .nav-btn-login { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .steps { flex-direction: column; }
  .steps::before { display: none; }
  .video-card-lg { grid-template-columns: 1fr; }
  .7yilkz { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 1.6rem; }
  .vm7j2tv { flex-direction: column; gap: 12px; }
  .oyzxn6s3 { font-size: 2rem; }
}

/* ---------- 移动端导航菜单 ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
}
.mobile-menu.open { display: block; }
.mobile-menu-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  padding: 20px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open .mobile-menu-inner { transform: translateX(0); }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-links a {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.mobile-menu-links a:hover { background: var(--light); color: var(--primary); }

/* ---------- 懒加载占位 ---------- */
.lazy-img { background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- 内页侧边栏 ---------- */
.sidebar-widget {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.sidebar-widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  color: var(--dark);
}
.sidebar-video-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: var(--transition);
}
.sidebar-video-item:last-child { border-bottom: none; }
.sidebar-video-item:hover .sidebar-video-title { color: var(--primary); }
.sidebar-video-thumb {
  width: 80px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.sidebar-video-title { font-size: 0.82rem; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.sidebar-video-meta { font-size: 0.75rem; color: var(--text-muted); }

/* ---------- 弹幕样式 ---------- */
.g5zrb {
  background: rgba(0,0,0,0.85);
  border-radius: var(--radius);
  padding: 12px 16px;
  overflow: hidden;
  height: 40px;
  position: relative;
}
.danmu-text {
  position: absolute;
  white-space: nowrap;
  color: #fff;
  font-size: 0.88rem;
  top: 50%;
  transform: translateY(-50%);
  animation: danmu-scroll 12s linear infinite;
}
@keyframes danmu-scroll { from{right:-100%} to{right:110%} }

/* ---------- 加载动画 ---------- */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,107,157,0.3);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to{transform:rotate(360deg)} }


/* ---------- 弹幕条 ---------- */
.g5zrb {
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 36px;
  overflow: hidden;
  position: relative;
}
.danmu-item {
  position: absolute;
  white-space: nowrap;
  font-size: 0.8rem;
  color: var(--text-muted);
  top: 50%;
  transform: translateY(-50%);
  animation: danmuMove 14s linear infinite;
}
@keyframes danmuMove {
  from { right: -350px; }
  to { right: 110%; }
}

/* ---------- 侧边栏 ---------- */
.sidebar-widget {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}
.sidebar-widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.sidebar-video-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.sidebar-video-item:last-child { border-bottom: none; }
.sidebar-video-item:hover .sidebar-video-title { color: var(--primary); }
.sidebar-video-thumb {
  width: 80px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.sidebar-video-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition);
}
.sidebar-video-meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ---------- 文字选中 ---------- */
::selection { background: rgba(255,107,157,0.2); color: var(--primary); }
