/* ============================================
   蜜桃传媒 - 影视传媒视频社区网站
   外部CSS样式表
   ============================================ */

:root {
  --primary-color: #d946ef;
  --secondary-color: #ec4899;
  --accent-color: #f59e0b;
  --dark-bg: #0f172a;
  --light-bg: #ffffff;
  --text-dark: #1e293b;
  --text-light: #f1f5f9;
  --border-color: #e2e8f0;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
}

/* ============ 通用样式 ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

/* ============ 导航栏 ============ */
header {
  background: var(--light-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* ============ 搜索框 ============ */
.search-container {
  position: relative;
  width: 250px;
}

.search-box {
  width: 100%;
  padding: 10px 15px;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  font-size: 0.9rem;
  transition: var(--transition);
  background: #f8fafc;
}

.search-box:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--light-bg);
  box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.1);
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  font-size: 1.2rem;
  padding: 5px 10px;
}

/* ============ Hero Banner ============ */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--text-light);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663495804664/JH9atuCsgXqzY5MXY7vHef/vverevej-banner-mvVFtF2zr6Brg3dXGGpH5U.webp') no-repeat center/cover;
  opacity: 0.3;
  z-index: 1;
}

.53hn9vl1 {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #cbd5e1;
}

.wxt1rtc {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(217, 70, 239, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-secondary:hover {
  background: var(--text-light);
  color: var(--dark-bg);
}

/* ============ 视频卡片 ============ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.video-card {
  background: var(--light-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: linear-gradient(135deg, #f3e8ff 0%, #fce7f3 100%);
  overflow: hidden;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(217, 70, 239, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 10;
}

.play-button::after {
  content: '▶';
  color: white;
  font-size: 1.5rem;
  margin-left: 3px;
}

.video-card:hover .play-button {
  opacity: 1;
}

.video-info {
  padding: 20px;
}

.video-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
  line-height: 1.4;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 10px;
}

.video-stats {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.6r6xbbx6 {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: #64748b;
}

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

.faq-item {
  margin-bottom: 20px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(217, 70, 239, 0.1);
}

.faq-question {
  padding: 20px;
  background: #f8fafc;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  user-select: none;
  transition: var(--transition);
}

.faq-question:hover {
  background: #f1f5f9;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 20px;
  color: #475569;
  line-height: 1.8;
}

/* ============ 用户评论 ============ */
.xksizl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.comment-card {
  background: #f8fafc;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.comment-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.zmkxrdok {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.ht7w3xd6 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.ko3a7tl {
  flex: 1;
}

.q75x9sfi {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.8sqqqu {
  font-size: 0.85rem;
  color: #94a3b8;
}

.zyjk4a {
  color: var(--accent-color);
  font-size: 1rem;
  margin-bottom: 10px;
}

.wduded {
  color: #475569;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ============ 专家展示 ============ */
.xg9x0fz {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.expert-card {
  background: var(--light-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  text-align: center;
}

.expert-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.expert-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: linear-gradient(135deg, #f3e8ff 0%, #fce7f3 100%);
}

.ilfbms {
  padding: 25px;
}

.kjk7q0sh {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.p42z12s4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.mer3kxd {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.cmkwpt {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.cmkwpt a {
  flex: 1;
  padding: 8px 12px;
  background: #f1f5f9;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
}

.cmkwpt a:hover {
  background: var(--primary-color);
  color: white;
}

/* ============ 页脚 ============ */
footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 50px 0 20px;
  margin-top: 80px;
}

.s7tt6wh {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.0t3ioodr h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.0t3ioodr ul {
  list-style: none;
}

.0t3ioodr ul li {
  margin-bottom: 12px;
}

.0t3ioodr ul a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
}

.0t3ioodr ul a:hover {
  color: var(--primary-color);
}

.l3kdjie {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.v6ey6n4 {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 8px;
  padding: 5px;
}

.jbnv3fv {
  border-top: 1px solid #334155;
  padding-top: 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ============ 响应式设计 ============ */
@media (max-width: 768px) {
  .nav-menu {
    gap: 15px;
  }

  .search-container {
    width: 150px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .wxt1rtc {
    flex-direction: column;
  }

  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .xg9x0fz {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .navbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-menu {
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }

  .search-container {
    width: 100%;
  }

  .hero {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .s7tt6wh {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* ============ 辅助类 ============ */
.text-center {
  text-align: center;
}

.cn4eunh {
  margin-top: 20px;
}

.ih4v0kt {
  margin-top: 40px;
}

.uifrcw {
  margin-bottom: 20px;
}

.oh97ap {
  margin-bottom: 40px;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}
