/* ========================================
   高清无码 - 原创影视传媒社区网站
   品牌色彩：珊瑚粉 #009688 / 深紫 #2D1B4E / 金色 #FFB84D
   设计理念：现代、动感、社区化、AI赋能
   ======================================== */

:root {
  --primary-pink: #009688;
  --primary-purple: #2D1B4E;
  --primary-gold: #FFB84D;
  --secondary-light: #F5F7FA;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --border-color: #E8E8E8;
  --success: #4CAF50;
  --warning: #FF9800;
  --error: #F44336;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
  overflow-x: hidden;
}

/* ========== 通用样式 ========== */

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

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

/* ========== 头部导航 ========== */

header {
  background: linear-gradient(135deg, var(--primary-purple) 0%, #3d2566 100%);
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: white;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
}

.logo-text h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
}

.logo-text p {
  font-size: 12px;
  margin: 0;
  opacity: 0.9;
}

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

nav a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-pink), var(--primary-gold));
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* ========== 搜索框 ========== */

.search-container {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border-radius: 25px;
  padding: 8px 15px;
  gap: 10px;
  min-width: 200px;
}

.search-input {
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  outline: none;
  width: 100%;
}

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

.search-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 16px;
}

/* ========== 英雄区 ========== */

.hero {
  background: linear-gradient(135deg, var(--primary-purple) 0%, #3d2566 50%, var(--primary-pink) 100%);
  color: white;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-gold) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.btn-secondary {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-purple);
}

.hero-image {
  position: relative;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ========== 视频卡片 ========== */

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
  overflow: hidden;
}

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

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 107, 157, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 10;
}

.video-play-btn::after {
  content: '▶';
  color: white;
  font-size: 24px;
  margin-left: 3px;
}

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

.video-info {
  padding: 15px;
}

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

.video-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
}

.video-stats {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 10px;
}

/* ========== 部分标题 ========== */

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

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  font-size: 16px;
  color: var(--text-light);
}

/* ========== 网格布局 ========== */

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ========== 部分容器 ========== */

section {
  padding: 60px 20px;
}

section.alt {
  background: var(--secondary-light);
}

/* ========== 专家卡片 ========== */

.expert-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.expert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.expert-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
  overflow: hidden;
}

.expert-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-info {
  padding: 20px;
}

.expert-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.expert-title {
  font-size: 14px;
  color: var(--primary-pink);
  margin-bottom: 10px;
}

.expert-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.5;
}

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

.expert-actions a {
  padding: 8px 15px;
  background: var(--primary-pink);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.expert-actions a:hover {
  background: var(--primary-purple);
}

/* ========== FAQ ========== */

.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
  background: var(--secondary-light);
}

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

.faq-question::after {
  content: '▼';
  font-size: 12px;
  transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

/* ========== 评论区 ========== */

.review-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

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

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
}

.review-meta {
  flex: 1;
}

.review-name {
  font-weight: 600;
  margin-bottom: 3px;
}

.review-time {
  font-size: 12px;
  color: var(--text-light);
}

.review-rating {
  color: var(--primary-gold);
  font-size: 14px;
}

.review-content {
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 14px;
}

/* ========== 页脚 ========== */

footer {
  background: linear-gradient(135deg, var(--primary-purple) 0%, #3d2566 100%);
  color: white;
  padding: 50px 20px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: white;
  padding-left: 5px;
}

.footer-qrcode {
  text-align: center;
}

.footer-qrcode img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.footer-qrcode p {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  color: white;
}

/* ========== 响应式设计 ========== */

@media (max-width: 768px) {
  nav ul {
    gap: 15px;
  }

  nav a {
    font-size: 13px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-text h2 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .search-container {
    min-width: 150px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 0;
  }

  .header-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .hero {
    padding: 40px 15px;
  }

  .hero-text h2 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  section {
    padding: 40px 15px;
  }

  .section-title h2 {
    font-size: 22px;
  }
}

/* ========== 加载动画 ========== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ========== 平滑过渡 ========== */

* {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ========== 辅助类 ========== */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.p-20 { padding: 20px; }
.p-40 { padding: 40px; }
