/* ============================================
   麻豆视频 - 影视传媒创作平台 · 传媒社区互动中心
   原创CSS样式 | bbgggzz.cn
   ============================================ */

/* === 基础重置与变量 === */
:root {
  --pct-pink: #E8456B;
  --pct-purple: #2D1B4E;
  --pct-gold: #FFB347;
  --pct-bg: #FFF8F5;
  --pct-text: #1A1A2E;
  --pct-gray: #6B7280;
  --pct-light: #F3E8FF;
  --pct-card: #FFFFFF;
  --pct-border: #E5E7EB;
  --pct-shadow: 0 4px 24px rgba(45,27,78,0.08);
  --pct-radius: 12px;
  --pct-transition: all 0.3s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background-color: var(--pct-bg);
  color: var(--pct-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--pct-pink);
  text-decoration: none;
  transition: var(--pct-transition);
}

a:hover {
  color: var(--pct-purple);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === 顶部导航 === */
.site-header {
  background: linear-gradient(135deg, var(--pct-purple) 0%, #4A2D7A 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(45,27,78,0.15);
}

.apa1ro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo img {
  height: 42px;
  width: auto;
}

.site-logo span {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--pct-transition);
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(232,69,107,0.3);
  color: #fff;
}

.l4lpr7no {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* === 搜索框 === */
.modvu {
  background: linear-gradient(90deg, var(--pct-purple) 0%, #3D2266 100%);
  padding: 12px 0;
}

.search-bar {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 12px 50px 12px 20px;
  border: 2px solid rgba(232,69,107,0.4);
  border-radius: 30px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--pct-transition);
}

.search-bar input::placeholder {
  color: rgba(255,255,255,0.5);
}

.search-bar input:focus {
  border-color: var(--pct-pink);
  background: rgba(255,255,255,0.15);
}

.search-bar button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--pct-pink);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--pct-transition);
}

.search-bar button:hover {
  background: #D63A5C;
}

/* === 英雄区 === */
.tj0ozho {
  position: relative;
  background: linear-gradient(135deg, rgba(45,27,78,0.85), rgba(232,69,107,0.7));
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.bb0fvlv {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}

.tzhtld {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #fff;
}

.tzhtld h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.tzhtld h1 em {
  color: var(--pct-gold);
  font-style: normal;
}

.tzhtld p {
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--pct-pink);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--pct-transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #D63A5C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,69,107,0.4);
  color: #fff;
}

.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--pct-transition);
  background: transparent;
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

/* === 面包屑 === */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--pct-gray);
}

.breadcrumb a {
  color: var(--pct-gray);
}

.breadcrumb a:hover {
  color: var(--pct-pink);
}

.breadcrumb span {
  margin: 0 6px;
}

/* === 通用板块 === */
.section {
  padding: 60px 0;
}

.ys3ozcc {
  background: var(--pct-light);
}

.a25hu {
  background: linear-gradient(135deg, var(--pct-purple), #3D2266);
  color: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pct-purple);
  margin-bottom: 10px;
}

.a25hu .section-title h2 {
  color: #fff;
}

.section-title p {
  color: var(--pct-gray);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.a25hu .section-title p {
  color: rgba(255,255,255,0.7);
}

/* === 视频卡片网格 === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: var(--pct-card);
  border-radius: var(--pct-radius);
  overflow: hidden;
  box-shadow: var(--pct-shadow);
  transition: var(--pct-transition);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(45,27,78,0.15);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.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);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 60px;
  height: 60px;
  background: rgba(232,69,107,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--pct-transition);
}

.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: 4px;
}

.video-card:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-info {
  padding: 16px;
}

.video-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--pct-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--pct-gray);
}

.video-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.video-tags {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.video-tags span {
  background: var(--pct-light);
  color: var(--pct-purple);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
}

/* === 特色功能卡片 === */
.kypcnagj {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ip2zv {
  background: var(--pct-card);
  border-radius: var(--pct-radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--pct-shadow);
  transition: var(--pct-transition);
  border: 1px solid transparent;
}

.ip2zv:hover {
  border-color: var(--pct-pink);
  transform: translateY(-4px);
}

.p82zx5 {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--pct-pink), var(--pct-purple));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
  color: #fff;
}

.ip2zv h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--pct-purple);
}

.ip2zv p {
  font-size: 0.9rem;
  color: var(--pct-gray);
  line-height: 1.6;
}

/* === 专家展示 === */
.f7lqtp9 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.otwf03p {
  background: var(--pct-card);
  border-radius: var(--pct-radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--pct-shadow);
  transition: var(--pct-transition);
}

.otwf03p:hover {
  transform: translateY(-4px);
}

.iq9ep4ew {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--pct-pink);
}

.otwf03p h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--pct-purple);
  margin-bottom: 4px;
}

.otwf03p .role {
  font-size: 0.85rem;
  color: var(--pct-pink);
  margin-bottom: 10px;
}

.otwf03p p {
  font-size: 0.85rem;
  color: var(--pct-gray);
  line-height: 1.5;
  margin-bottom: 14px;
}

.thwpff2 {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.thwpff2 a {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.thwpff2 .ixrks5p {
  background: var(--pct-pink);
  color: #fff;
}

.thwpff2 .o1cf6wmo {
  border: 1px solid var(--pct-pink);
  color: var(--pct-pink);
}

/* === 社区模块 === */
.vm9rfh {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.f9rkfnk {
  border-radius: var(--pct-radius);
  overflow: hidden;
  box-shadow: var(--pct-shadow);
  transition: var(--pct-transition);
}

.f9rkfnk:hover {
  transform: translateY(-4px);
}

.f9rkfnk img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.f9rkfnk .v6edl {
  padding: 20px;
  background: var(--pct-card);
}

.f9rkfnk h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--pct-purple);
}

.f9rkfnk p {
  font-size: 0.9rem;
  color: var(--pct-gray);
  line-height: 1.6;
}

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--pct-card);
  border-radius: var(--pct-radius);
  margin-bottom: 12px;
  box-shadow: var(--pct-shadow);
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--pct-transition);
}

.faq-question:hover {
  color: var(--pct-pink);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--pct-pink);
  transition: var(--pct-transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--pct-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 24px 18px;
  max-height: 300px;
}

/* === 用户评论 === */
.vc0ss {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.wj6wf {
  background: var(--pct-card);
  border-radius: var(--pct-radius);
  padding: 24px;
  box-shadow: var(--pct-shadow);
  transition: var(--pct-transition);
}

.wj6wf:hover {
  transform: translateY(-3px);
}

.r26pmx {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mws82iv9 {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pct-pink), var(--pct-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.nq7tf {
  font-weight: 600;
  color: var(--pct-text);
}

.ez1zu {
  color: var(--pct-gold);
  font-size: 0.9rem;
}

.wj6wf p {
  color: var(--pct-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === 合作品牌 === */
.rzn6ke {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.rzn6ke .v3wir {
  width: 140px;
  height: 70px;
  background: var(--pct-card);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--pct-shadow);
  padding: 10px;
  font-weight: 700;
  color: var(--pct-purple);
  font-size: 0.9rem;
}

/* === 联系我们 === */
.tmh6ko {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.hkq6bj {
  background: var(--pct-card);
  border-radius: var(--pct-radius);
  padding: 30px;
  box-shadow: var(--pct-shadow);
}

.hkq6bj h3 {
  font-size: 1.2rem;
  color: var(--pct-purple);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pct-light);
}

.tyen772m {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.tyen772m .label {
  font-weight: 600;
  color: var(--pct-text);
  min-width: 80px;
}

.tyen772m .value {
  color: var(--pct-gray);
}

.vbna3tr5 {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

.q5sh593f {
  text-align: center;
}

.q5sh593f img {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.q5sh593f span {
  font-size: 0.85rem;
  color: var(--pct-gray);
}

/* === How-To 指南 === */
.ozg7qu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.hc1c4lz {
  background: var(--pct-card);
  border-radius: var(--pct-radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--pct-shadow);
  position: relative;
}

.hc1c4lz::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--pct-pink);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  margin: 0 auto 14px;
}

.hc1c4lz h4 {
  font-size: 1rem;
  color: var(--pct-purple);
  margin-bottom: 8px;
}

.hc1c4lz p {
  font-size: 0.85rem;
  color: var(--pct-gray);
}

/* === 社交分享 === */
.kc3steq5 {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.olwxs6g {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  transition: var(--pct-transition);
}

.olwxs6g:hover {
  transform: translateY(-2px);
  color: #fff;
}

.olwxs6g.wechat { background: #07C160; }
.olwxs6g.weibo { background: #E6162D; }
.olwxs6g.douyin { background: #161823; }
.olwxs6g.bilibili { background: #00A1D6; }

/* === 页脚 === */
.site-footer {
  background: var(--pct-purple);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 0;
}

.di93wd {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.vo3c29x p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 12px;
}

.pa4a9dk h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.pa4a9dk a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.pa4a9dk a:hover {
  color: var(--pct-pink);
}

.miv2438w {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

.vw9xh0 {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

.vw9xh0 img {
  width: 100px;
  height: 100px;
  border-radius: 6px;
}

/* === AI功能展示 === */
.lmrxf1o {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.lmrxf1o img {
  border-radius: var(--pct-radius);
  box-shadow: var(--pct-shadow);
}

.nw177f {
  list-style: none;
}

.nw177f li {
  padding: 12px 0;
  border-bottom: 1px solid var(--pct-border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.nw177f li::before {
  content: '✦';
  color: var(--pct-pink);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* === 数据统计 === */
.s6l85h {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.qksz70 {
  padding: 20px;
}

.iotckqd3 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--pct-gold);
  display: block;
}

.sp7vj74 {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* === 懒加载 === */
.lazy {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.lazy.loaded {
  opacity: 1;
}

/* === 响应式 === */
@media (max-width: 1024px) {
  .kypcnagj,
  .f7lqtp9 {
    grid-template-columns: repeat(2, 1fr);
  }
  .di93wd {
    grid-template-columns: repeat(2, 1fr);
  }
  .ozg7qu {
    grid-template-columns: repeat(2, 1fr);
  }
  .lmrxf1o {
    grid-template-columns: 1fr;
  }
  .s6l85h {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .apa1ro {
    height: 56px;
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--pct-purple);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 12px 16px;
    width: 100%;
  }
  .l4lpr7no {
    display: block;
  }
  .tzhtld h1 {
    font-size: 1.8rem;
  }
  .tj0ozho {
    min-height: 360px;
  }
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .kypcnagj,
  .f7lqtp9 {
    grid-template-columns: 1fr;
  }
  .vm9rfh {
    grid-template-columns: 1fr;
  }
  .vc0ss {
    grid-template-columns: 1fr;
  }
  .tmh6ko {
    grid-template-columns: 1fr;
  }
  .di93wd {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 40px 0;
  }
  .section-title h2 {
    font-size: 1.5rem;
  }
  .ozg7qu {
    grid-template-columns: 1fr;
  }
  .s6l85h {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
  .tzhtld h1 {
    font-size: 1.5rem;
  }
  .hero-btns {
    flex-direction: column;
  }
  .hero-btns a {
    text-align: center;
  }
}

/* === H5 Video 元素 === */
.video-thumb video {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
}

.video-thumb video.playing {
  display: block;
}

.video-thumb .video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-btn {
  z-index: 2;
  cursor: pointer;
}

.play-btn.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* === 评论日期 === */
.ma6w9o {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--pct-gray);
}
