/* ============================================
   国产主播 全站样式表
   品牌色系：糖心粉红 #FF2D55 / 深夜蓝黑 #1A1A2E / 暖金色 #FFB800
   ============================================ */

/* === 基础重置 === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  color: #2D2D3A;
  background: #F8F5F2;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: #FF2D55; text-decoration: none; transition: color .3s; }
a:hover { color: #FFB800; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === 顶部导航 === */
.site-header {
  background: #1A1A2E;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 42px; width: auto; }
.site-logo span { color: #fff; font-size: 1.25rem; font-weight: 700; letter-spacing: 1px; }

/* 导航菜单 */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 0 16px;
  line-height: 68px;
  color: #ccc;
  font-size: .95rem;
  transition: all .3s;
  white-space: nowrap;
}
.main-nav > li > a:hover,
.main-nav > li.active > a { color: #FF2D55; }

/* 下拉菜单 */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1A1A2E;
  min-width: 160px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all .3s;
  z-index: 100;
}
.main-nav > li:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li a {
  display: block;
  padding: 10px 20px;
  color: #aaa;
  font-size: .9rem;
  transition: all .2s;
}
.sub-menu li a:hover { color: #FF2D55; background: rgba(255,45,85,.08); }

/* 汉堡菜单 */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* === 搜索栏 === */
.search-bar {
  background: linear-gradient(135deg, #FF2D55 0%, #FF6B8A 100%);
  padding: 14px 0;
}
.search-bar-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  padding: 0 20px;
}
.search-bar input[type="text"] {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 25px 0 0 25px;
  font-size: 1rem;
  outline: none;
  background: #fff;
  color: #2D2D3A;
}
.search-bar button {
  padding: 12px 28px;
  border: none;
  border-radius: 0 25px 25px 0;
  background: #FFB800;
  color: #1A1A2E;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s;
}
.search-bar button:hover { background: #e6a600; }

/* === Hero Banner === */
.hero-section {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.55);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}
.hero-content h1 { font-size: 2.8rem; margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero-content h1 em { font-style: normal; color: #FFB800; }
.hero-content p { font-size: 1.15rem; margin-bottom: 28px; opacity: .92; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, #FF2D55, #FF6B8A);
  color: #fff;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform .3s, box-shadow .3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,45,85,.4); color: #fff; }
.btn-secondary {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: #fff;
  border: 2px solid #FFB800;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  transition: all .3s;
  cursor: pointer;
}
.btn-secondary:hover { background: #FFB800; color: #1A1A2E; }

/* === 通用板块 === */
.section { padding: 60px 0; }
.section-alt { background: #fff; }
.section-dark { background: #1A1A2E; color: #fff; }
.section-title {
  text-align: center;
  margin-bottom: 42px;
}
.section-title h2 {
  font-size: 2rem;
  color: #1A1A2E;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.section-dark .section-title h2 { color: #fff; }
.section-title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #FF2D55, #FFB800);
  margin: 10px auto 0;
  border-radius: 2px;
}
.section-title p { color: #777; font-size: 1rem; margin-top: 8px; }
.section-dark .section-title p { color: #aaa; }

/* === 视频卡片网格 === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.video-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.15); }
.video-thumb {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: #eee;
}
.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.video-card:hover .video-thumb img { transform: scale(1.08); }
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.8);
  width: 56px;
  height: 56px;
  background: rgba(255,45,85,.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .3s;
}
.video-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.play-btn::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: 3px;
}
.video-info { padding: 14px 16px; }
.video-info h3 { font-size: .95rem; margin-bottom: 6px; color: #2D2D3A; line-height: 1.4; }
.video-meta { display: flex; gap: 12px; font-size: .8rem; color: #999; }
.video-meta span { display: flex; align-items: center; gap: 3px; }
.video-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #FF2D55, #FFB800);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 600;
  z-index: 3;
}
.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,.7);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .75rem;
  z-index: 3;
}

/* === 分类标签栏 === */
.category-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.category-tabs a {
  padding: 8px 22px;
  border-radius: 20px;
  background: #f0ecea;
  color: #666;
  font-size: .9rem;
  transition: all .3s;
}
.category-tabs a:hover,
.category-tabs a.active {
  background: linear-gradient(135deg, #FF2D55, #FF6B8A);
  color: #fff;
}

/* === 专家卡片 === */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.expert-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: transform .3s;
}
.expert-card:hover { transform: translateY(-4px); }
.expert-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid #FF2D55;
}
.expert-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.expert-card .role { color: #FF2D55; font-size: .85rem; margin-bottom: 10px; }
.expert-card p { font-size: .85rem; color: #777; margin-bottom: 14px; }
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.expert-btns a {
  padding: 6px 16px;
  border-radius: 16px;
  font-size: .8rem;
  border: 1px solid #FF2D55;
  color: #FF2D55;
  transition: all .3s;
}
.expert-btns a:hover { background: #FF2D55; color: #fff; }

/* === FAQ 手风琴 === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  overflow: hidden;
}
.faq-question {
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .3s;
}
.faq-question:hover { background: #fdf5f7; }
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: #FF2D55;
  transition: transform .3s;
}
.faq-item.active .faq-question::after { content: "−"; }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  font-size: .92rem;
  color: #666;
  line-height: 1.8;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 18px; }

/* === 用户评论 === */
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  position: relative;
}
.review-card::before {
  content: "\201C";
  font-size: 3rem;
  color: #FF2D55;
  opacity: .2;
  position: absolute;
  top: 10px;
  left: 16px;
  font-family: Georgia, serif;
}
.review-stars { color: #FFB800; margin-bottom: 10px; font-size: .9rem; }
.review-text { font-size: .9rem; color: #555; margin-bottom: 14px; line-height: 1.7; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2D55, #FFB800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
}
.review-author-info .name { font-size: .85rem; font-weight: 600; }
.review-author-info .date { font-size: .75rem; color: #999; }

/* === 合作品牌 === */
.partner-wall {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 0;
}
.partner-wall .partner-item {
  width: 120px;
  height: 60px;
  background: #f0ecea;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: #999;
  font-weight: 600;
  transition: all .3s;
}
.partner-wall .partner-item:hover { background: #FF2D55; color: #fff; }

/* === 联系我们 === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.contact-card h3 { font-size: 1.15rem; margin-bottom: 16px; color: #1A1A2E; }
.contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: .92rem; color: #555; }
.contact-item strong { color: #2D2D3A; min-width: 70px; }

/* === 社交分享 === */
.share-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: .88rem;
  font-weight: 600;
  color: #fff;
  transition: transform .3s, box-shadow .3s;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.2); color: #fff; }
.share-btn.wechat { background: #07C160; }
.share-btn.weibo { background: #E6162D; }
.share-btn.douyin { background: #161823; }
.share-btn.bilibili { background: #00A1D6; }

/* === 页脚 === */
.site-footer {
  background: #1A1A2E;
  color: #aaa;
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 12px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; color: #888; }
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #FF2D55;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #888; font-size: .88rem; transition: color .3s; }
.footer-col ul li a:hover { color: #FF2D55; }
.footer-qr { display: flex; gap: 20px; margin-top: 12px; }
.footer-qr img { width: 100px; height: 100px; border-radius: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
  font-size: .82rem;
  color: #666;
}
.footer-bottom a { color: #888; }

/* === 面包屑 === */
.breadcrumb {
  padding: 14px 0;
  font-size: .85rem;
  color: #999;
}
.breadcrumb a { color: #FF2D55; }
.breadcrumb span { margin: 0 6px; }

/* === 内页通用 === */
.page-hero {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D2D3A 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: 10px; }
.page-hero p { color: #aaa; font-size: 1rem; }

/* === 功能模块卡片 === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: transform .3s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #FF2D55, #FF6B8A);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: .88rem; color: #777; }

/* === How-To 指南 === */
.howto-steps {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}
.howto-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 24px;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2D55, #FFB800);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.howto-step h4 { font-size: 1rem; margin-bottom: 6px; }
.howto-step p { font-size: .85rem; color: #777; }

/* === 数据统计 === */
.stats-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
}
.stat-item { text-align: center; min-width: 150px; }
.stat-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: #FFB800;
  line-height: 1.2;
}
.stat-label { font-size: .9rem; color: #aaa; margin-top: 4px; }

/* === 内页文章 === */
.article-content { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.article-content h2 { font-size: 1.5rem; margin: 30px 0 14px; color: #1A1A2E; }
.article-content h3 { font-size: 1.2rem; margin: 24px 0 10px; color: #2D2D3A; }
.article-content p { margin-bottom: 16px; font-size: .95rem; line-height: 1.8; }
.article-content img { border-radius: 8px; margin: 20px 0; }

/* === 标签 === */
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.tag {
  padding: 4px 14px;
  border-radius: 14px;
  background: #fdf5f7;
  color: #FF2D55;
  font-size: .8rem;
  transition: all .3s;
}
.tag:hover { background: #FF2D55; color: #fff; }

/* === 响应式 === */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-inner { height: 56px; }
  .main-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: #1A1A2E;
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s;
  }
  .main-nav.open { max-height: 100vh; overflow-y: auto; }
  .main-nav > li > a { line-height: 48px; padding: 0 20px; }
  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,.05);
  }
  .menu-toggle { display: block; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .expert-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-section { height: 380px; }
  .hero-content h1 { font-size: 1.8rem; }
  .section { padding: 40px 0; }
  .howto-steps { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .hero-section { height: 300px; }
  .hero-content h1 { font-size: 1.5rem; }
  .stats-row { flex-direction: column; align-items: center; }
}

/* === 懒加载占位 === */
img[data-src] { background: #eee; min-height: 100px; }

/* === 动画 === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .6s ease forwards; }

/* === 视频播放量等图标模拟 === */
.icon-play::before { content: "▶ "; }
.icon-like::before { content: "♥ "; }
.icon-comment::before { content: "💬 "; }
