/* ============================================
   人兽 影视传媒 - 原创样式表
   品牌：人兽 | 域名：pcLvscL.cn
   ============================================ */

/* === CSS变量定义 === */
:root {
  --primary-dark: #1A0A2E;
  --accent-orange: #FF6B35;
  --accent-teal: #00D4AA;
  --bg-deep: #0D0D1A;
  --card-bg: #1C1C2E;
  --card-bg-hover: #252540;
  --text-main: #E8E8F0;
  --text-sub: #9B9BB0;
  --text-muted: #6B6B80;
  --border-color: #2A2A40;
  --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8F65 100%);
  --gradient-teal: linear-gradient(135deg, #00D4AA 0%, #00F0C0 100%);
  --gradient-hero: linear-gradient(180deg, rgba(13,13,26,0.3) 0%, rgba(26,10,46,0.85) 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-hover: 0 8px 40px rgba(255,107,53,0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

/* === 全局重置 === */
*, *::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", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-teal);
}

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

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* === 顶部导航 === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13,13,26,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

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

.site-logo span {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: 1px;
}

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

.main-nav a {
  color: var(--text-main);
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-orange);
  background: rgba(255,107,53,0.1);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* === 搜索栏 === */
.search-bar-wrap {
  background: var(--primary-dark);
  padding: 12px 0;
  margin-top: 68px;
  border-bottom: 1px solid var(--border-color);
}

.search-bar {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  padding: 0 20px;
}

.search-bar input {
  flex: 1;
  padding: 10px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.search-bar input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 2px rgba(255,107,53,0.2);
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-bar button {
  padding: 10px 24px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.search-bar button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* === Hero区域 === */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px 60px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-content h1 .brand-highlight {
  color: var(--accent-orange);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-sub);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.hero-tags span {
  background: rgba(255,107,53,0.12);
  color: var(--accent-orange);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  border: 1px solid rgba(255,107,53,0.25);
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.3);
  color: #fff;
}

.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--accent-teal);
  border: 2px solid var(--accent-teal);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--accent-teal);
  color: var(--bg-deep);
  transform: translateY(-2px);
}

/* === 通用区块标题 === */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.section-title h2 .brand-highlight {
  color: var(--accent-orange);
}

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

.section-block {
  padding: 72px 0;
}

.section-block:nth-child(even) {
  background: rgba(28,28,46,0.4);
}

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

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

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,107,53,0.3);
}

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

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

.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(255,107,53,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

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

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.video-info {
  padding: 16px;
}

.video-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

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

/* === 栏目卡片 === */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,107,53,0.3);
}

.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(255,107,53,0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.category-card p {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* === 专家团队 === */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

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

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

.expert-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.expert-card:hover .expert-photo img {
  transform: scale(1.05);
}

.expert-info {
  padding: 24px;
}

.expert-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.expert-title {
  color: var(--accent-orange);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.expert-info p {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.expert-actions a {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
}

.expert-actions .btn-sm-primary {
  background: var(--gradient-primary);
  color: #fff;
}

.expert-actions .btn-sm-outline {
  border: 1px solid var(--accent-teal);
  color: var(--accent-teal);
}

.expert-actions .btn-sm-outline:hover {
  background: var(--accent-teal);
  color: var(--bg-deep);
}

/* === 合作品牌墙 === */
.brand-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.brand-wall-item {
  background: var(--card-bg);
  padding: 20px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-sub);
  transition: var(--transition);
  min-width: 160px;
  text-align: center;
}

.brand-wall-item:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-2px);
}

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

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

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

.faq-question:hover {
  color: var(--accent-orange);
}

.faq-arrow {
  font-size: 1.2rem;
  transition: var(--transition);
  color: var(--accent-orange);
}

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

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

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

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* === 用户评价 === */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

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

.review-card:hover {
  border-color: rgba(0,212,170,0.3);
}

.review-stars {
  color: var(--accent-orange);
  margin-bottom: 12px;
  font-size: 1rem;
}

.review-text {
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.review-author-info strong {
  display: block;
  font-size: 0.9rem;
}

.review-author-info span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* === 联系我们 === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

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

.contact-card h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--accent-teal);
}

.contact-card p {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-card img {
  width: 160px;
  height: 160px;
  margin: 12px auto 0;
  border-radius: var(--radius-sm);
}

/* === How-To指南 === */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.howto-step {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border-color);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.howto-step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.howto-step p {
  color: var(--text-sub);
  font-size: 0.88rem;
  line-height: 1.6;
}

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

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

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

.share-btn.wechat { background: #07C160; }
.share-btn.weibo { background: #E6162D; }
.share-btn.douyin { background: #161823; border: 1px solid #333; }
.share-btn.bilibili { background: #00A1D6; }

/* === 页脚 === */
.site-footer {
  background: var(--primary-dark);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 0;
}

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

.footer-brand img {
  height: 36px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-sub);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-col a {
  display: block;
  color: var(--text-sub);
  font-size: 0.88rem;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent-orange);
  padding-left: 4px;
}

.footer-qr {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}

.footer-qr-item {
  text-align: center;
}

.footer-qr-item img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

.footer-qr-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--text-muted);
}

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

/* === 面包屑 === */
.breadcrumb {
  padding: 16px 0;
  margin-top: 68px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

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

.breadcrumb-sep {
  color: var(--text-muted);
}

/* === 内页通用 === */
.page-hero {
  padding: 100px 0 48px;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--bg-deep) 100%);
}

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-sub);
  font-size: 1rem;
}

.page-content {
  padding: 48px 0 72px;
}

/* === 标签 === */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  background: rgba(0,212,170,0.1);
  color: var(--accent-teal);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.78rem;
  border: 1px solid rgba(0,212,170,0.2);
}

/* === 数据统计 === */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 0;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-orange);
  line-height: 1;
}

.stat-label {
  color: var(--text-sub);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* === 响应式 === */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(13,13,26,0.98);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .main-nav.show {
    display: flex;
  }

  .main-nav a {
    padding: 12px 16px;
    width: 100%;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

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

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

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

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

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

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

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

  .stats-row {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .section-block {
    padding: 48px 0;
  }

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

  .howto-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .search-bar {
    flex-direction: column;
    gap: 8px;
  }

  .search-bar input {
    border-radius: var(--radius-sm);
    border-right: 1px solid var(--border-color);
  }

  .search-bar button {
    border-radius: var(--radius-sm);
  }
}

/* === 懒加载 === */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded,
img.loaded {
  opacity: 1;
}

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

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

/* === MCP前端占位 === */
.mcp-widget {
  background: var(--card-bg);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* === 作者署名标记（EEAT） === */
.author-badge {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-sub);
  flex-wrap: wrap;
  justify-content: center;
}
.author-badge span {
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.2);
  padding: 4px 14px;
  border-radius: 20px;
  color: var(--accent-orange);
  font-size: 0.8rem;
}
@media (max-width: 768px) {
  .author-badge {
    gap: 10px;
  }
  .author-badge span {
    font-size: 0.75rem;
    padding: 3px 10px;
  }
}
