/* ========================================
   免费看片 - 品牌网站主样式表
   设计理念：现代影视传媒+社区互动
   色系：紫粉渐变+深色背景
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, #0f0f1e 0%, #1a0f2e 50%, #0f1a2e 100%);
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== 全局容器 ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ========== 响应式网格 ========== */
.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));
}

/* ========== 头部导航 ========== */
header {
  background: rgba(15, 15, 30, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(138, 43, 226, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(138, 43, 226, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff1493, #8a2be2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

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

.nav-menu a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff1493, #8a2be2);
  transition: width 0.3s ease;
}

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

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: 25px;
  padding: 8px 15px;
  gap: 10px;
  transition: all 0.3s ease;
}

.search-box:focus-within {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(138, 43, 226, 0.6);
}

.search-box input {
  background: transparent;
  border: none;
  color: #e0e0e0;
  outline: none;
  width: 150px;
  font-size: 14px;
}

.search-box input::placeholder {
  color: rgba(224, 224, 224, 0.5);
}

/* ========== 英雄区域 ========== */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 20px;
  border-radius: 20px;
}

.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><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ff1493;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%238a2be2;stop-opacity:0.1" /></linearGradient></defs><rect fill="url(%23grad)" width="1200" height="600"/></svg>');
  z-index: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0.7;
  filter: brightness(0.8);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ff1493, #8a2be2, #00bfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #ff1493, #8a2be2);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(138, 43, 226, 0.5);
}

/* ========== 视频卡片 ========== */
.video-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(138, 43, 226, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 250px;
}

.video-card:hover {
  transform: translateY(-10px);
  border-color: rgba(138, 43, 226, 0.6);
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.video-card:hover .video-play-btn {
  opacity: 1;
  transform: scale(1.1);
}

.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
  padding: 20px;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.video-card:hover .video-info {
  transform: translateY(0);
}

.video-title {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 16px;
}

.video-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* ========== 内容模块 ========== */
.section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(138, 43, 226, 0.1);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ff1493, #8a2be2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 16px;
  color: rgba(224, 224, 224, 0.7);
  margin-bottom: 40px;
}

/* ========== 专家卡片 ========== */
.expert-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(138, 43, 226, 0.2);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.expert-card:hover {
  transform: translateY(-10px);
  border-color: rgba(138, 43, 226, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.expert-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, #ff1493, #8a2be2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

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

.expert-title {
  color: rgba(224, 224, 224, 0.7);
  font-size: 14px;
  margin-bottom: 15px;
}

.expert-bio {
  font-size: 13px;
  color: rgba(224, 224, 224, 0.6);
  margin-bottom: 15px;
  line-height: 1.5;
}

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

.expert-btn {
  padding: 8px 15px;
  background: rgba(138, 43, 226, 0.2);
  border: 1px solid rgba(138, 43, 226, 0.5);
  color: #e0e0e0;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.expert-btn:hover {
  background: rgba(138, 43, 226, 0.5);
  border-color: rgba(138, 43, 226, 0.8);
}

/* ========== FAQ 部分 ========== */
.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(138, 43, 226, 0.2);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.faq-question:hover {
  background: rgba(138, 43, 226, 0.1);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
  color: rgba(224, 224, 224, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

/* ========== 用户评价 ========== */
.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(138, 43, 226, 0.2);
  border-radius: 15px;
  padding: 25px;
  position: relative;
}

.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, #ff1493, #8a2be2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.review-user {
  flex: 1;
}

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

.review-date {
  font-size: 12px;
  color: rgba(224, 224, 224, 0.5);
}

.review-rating {
  color: #ffd700;
  font-size: 14px;
  margin-bottom: 10px;
}

.review-text {
  color: rgba(224, 224, 224, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

/* ========== 底部 ========== */
footer {
  background: rgba(15, 15, 30, 0.95);
  border-top: 1px solid rgba(138, 43, 226, 0.2);
  padding: 50px 0 20px;
  margin-top: 60px;
}

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

.footer-section h3 {
  color: #ff1493;
  font-size: 16px;
  margin-bottom: 15px;
}

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

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

.footer-section a {
  color: rgba(224, 224, 224, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ff1493;
}

.footer-qr {
  text-align: center;
  margin-bottom: 20px;
}

.footer-qr img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(138, 43, 226, 0.1);
  color: rgba(224, 224, 224, 0.5);
  font-size: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

.footer-links a {
  color: rgba(224, 224, 224, 0.6);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff1493;
}

/* ========== 动画 ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

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

  .hero {
    height: 400px;
  }

  .hero h1 {
    font-size: 32px;
  }

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

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

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

  .search-box input {
    width: 100px;
  }

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

@media (max-width: 480px) {
  .header-container {
    flex-wrap: wrap;
    gap: 15px;
  }

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

  .search-box {
    order: 2;
  }

  .hero h1 {
    font-size: 24px;
  }

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

  .cta-button {
    padding: 12px 30px;
    font-size: 14px;
  }

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

  .video-card {
    height: 200px;
  }
}

/* ========== 品牌标记 ========== */
.brand-mark {
  color: #ff1493;
  font-weight: 700;
}

.brand-highlight {
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(138, 43, 226, 0.1));
  padding: 2px 6px;
  border-radius: 4px;
}
