/* 
 * 影视传媒网站主样式表
 * 设计风格：深色主题 + 渐变强调色
 * 优化：移动端优先响应式设计
 */

/* CSS变量定义 */
:root {
  --primary-color: #c41e3a;
  --secondary-color: #1a1a2e;
  --accent-color: #ff6b35;
  --bg-dark: #0f0f1a;
  --bg-card: #16213e;
  --text-primary: #ffffff;
  --text-secondary: #b8b8d1;
  --text-muted: #6c6c8a;
  --border-color: #2a2a4a;
  --gradient-primary: linear-gradient(135deg, #c41e3a 0%, #ff6b35 100%);
  --gradient-dark: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 48px rgba(196, 30, 58, 0.3);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* 重置样式 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 链接样式 */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-color);
}

/* 图片响应式 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 容器 */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航 - 非sticky */
.site-header {
  background: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrapper img {
  height: 45px;
  width: auto;
}

.site-title {
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 主导航 */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.main-nav a {
  display: inline-block;
  padding: 10px 18px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--gradient-primary);
  color: var(--text-primary);
  border-color: var(--primary-color);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
}

/* Hero区域 */
.hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-dark);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  text-align: center;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA按钮 */
.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--gradient-primary);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--text-primary);
}

/* 视频播放模块 */
.video-player-section {
  padding: 50px 0;
  background: var(--secondary-color);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-wrapper video {
  width: 100%;
  display: block;
}

.video-poster {
  position: relative;
  cursor: pointer;
}

.video-poster img {
  width: 100%;
}

.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 30px rgba(196, 30, 58, 0.5);
}

.play-btn-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-btn-overlay::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 25px solid white;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  margin-left: 5px;
}

/* 内容区块 */
.content-section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 20px auto 0;
}

/* 视频卡片网格 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.video-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
}

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

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

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.video-card:hover .video-card-thumb img {
  transform: scale(1.08);
}

.video-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-color);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.video-card-body {
  padding: 18px;
}

.video-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.video-card-rating {
  color: #ffd700;
}

/* 面包屑导航 */
.breadcrumb {
  padding: 15px 0;
  background: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 0.9rem;
}

.breadcrumb-list li::after {
  content: "›";
  margin-left: 8px;
  color: var(--text-muted);
}

.breadcrumb-list li:last-child::after {
  display: none;
}

.breadcrumb-list a {
  color: var(--text-secondary);
}

.breadcrumb-list a:hover {
  color: var(--accent-color);
}

/* 关于我们区块 */
.about-section {
  background: var(--secondary-color);
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 25px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* 作者信息卡片 */
.author-card {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.author-info .role {
  color: var(--accent-color);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.author-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* 用户评论 */
.reviews-section {
  padding: 60px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

.review-card {
  background: var(--bg-card);
  padding: 25px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.reviewer-info {
  display: flex;
  gap: 12px;
  align-items: center;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

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

.reviewer-location {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.review-rating {
  color: #ffd700;
  font-size: 1.1rem;
}

.review-content {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 15px;
}

.review-date {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* FAQ区块 */
.faq-section {
  background: var(--secondary-color);
  padding: 60px 0;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

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

.faq-question:hover {
  background: rgba(196, 30, 58, 0.1);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
}

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

.faq-answer p {
  color: var(--text-secondary);
}

/* 支付方式 */
.payment-section {
  padding: 60px 0;
}

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

.payment-card {
  background: var(--bg-card);
  padding: 25px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.payment-card:hover {
  border-color: var(--accent-color);
}

.payment-card img {
  max-height: 50px;
  margin: 0 auto 15px;
}

.payment-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.payment-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* 招聘模块 */
.recruitment-section {
  background: var(--gradient-primary);
  padding: 60px 0;
  text-align: center;
}

.recruitment-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.recruitment-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.recruitment-platforms {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.platform-badge {
  background: rgba(255,255,255,0.2);
  padding: 15px 30px;
  border-radius: var(--radius-md);
  font-weight: 600;
}

/* 客户支持 */
.support-section {
  padding: 60px 0;
  background: var(--secondary-color);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.support-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-color);
}

.support-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.support-card h4 {
  margin-bottom: 10px;
}

.support-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* 页脚 */
.site-footer {
  background: var(--secondary-color);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px;
}

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

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-badges {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-badges img {
  height: 40px;
}

.age-restriction {
  background: var(--primary-color);
  color: white;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 内页样式 */
.page-header {
  background: var(--gradient-dark);
  padding: 60px 0;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.page-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.article-content {
  padding: 50px 0;
}

.article-body {
  max-width: 900px;
  margin: 0 auto;
}

.article-body h2 {
  font-size: 1.6rem;
  margin: 35px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.article-body h3 {
  font-size: 1.3rem;
  margin: 25px 0 15px;
  color: var(--accent-color);
}

.article-body p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  text-align: justify;
}

.article-body ul, .article-body ol {
  margin: 20px 0;
  padding-left: 25px;
  color: var(--text-secondary);
}

.article-body li {
  margin-bottom: 10px;
}

.article-image {
  margin: 30px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* APP下载页面 */
.app-download-section {
  padding: 80px 0;
  text-align: center;
}

.app-preview {
  max-width: 400px;
  margin: 40px auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.download-btn:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.download-btn img {
  height: 35px;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
  }
  
  .main-nav {
    width: 100%;
    justify-content: center;
    display: none;
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-section {
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .main-nav a {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

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

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

/* 懒加载图片占位 */
img[loading="lazy"] {
  background: var(--bg-card);
}

/* 打印样式 */
@media print {
  .site-header,
  .site-footer,
  .cta-btn,
  .video-player-section {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}
