/* ============================================
   涩里番 - 原创样式表
   品牌：涩里番 | 域名：pl017172.cn
   定位：国内影视传媒公司+动漫社区
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #FF6B35;
  --primary-dark: #E55A2B;
  --secondary: #1A1A2E;
  --accent: #E94560;
  --accent-light: #FF6B8A;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --bg-dark: #0F0F23;
  --text-dark: #2D2D2D;
  --text-light: #6B7280;
  --text-white: #F0F0F0;
  --border: #E5E7EB;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --gradient: linear-gradient(135deg, #FF6B35, #E94560);
  --gradient-dark: linear-gradient(135deg, #1A1A2E, #16213E);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* --- Header / Navigation --- */
.site-header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

.logo-link img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.main-nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--gradient);
  color: #fff;
}

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

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

/* --- Search Bar --- */
.search-bar-wrap {
  background: var(--secondary);
  padding: 14px 0;
}

.search-bar {
  display: flex;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255,255,255,0.12);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}

.search-bar input {
  flex: 1;
  padding: 12px 24px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

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

.search-bar button {
  padding: 12px 28px;
  background: var(--gradient);
  border: none;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.search-bar button:hover {
  opacity: 0.9;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85), rgba(233,69,96,0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 40px 20px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 28px;
  opacity: 0.92;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255,107,53,0.35);
}

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

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-light);
}

/* --- Section Common --- */
.section {
  padding: 70px 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

.section-alt {
  background: var(--bg-white);
}

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

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section-dark .section-header h2 {
  color: var(--text-white);
}

.section-header .accent {
  color: var(--primary);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.65);
}

.section-tag {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

/* --- Video Card Grid --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

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

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

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: var(--transition);
}

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

.play-btn-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255,107,53,0.5);
  transition: transform 0.3s ease;
}

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

.play-btn-icon::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.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.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

.video-tags {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.video-tags span {
  background: rgba(255,107,53,0.1);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* --- Service Cards --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

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

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

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

.service-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Feature Image Card --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-card {
  display: flex;
  gap: 20px;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
}

.feature-card img {
  width: 200px;
  height: 160px;
  object-fit: cover;
  flex-shrink: 0;
}

.feature-card-body {
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Expert Section --- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.expert-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

.expert-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.expert-card-body {
  padding: 20px;
}

.expert-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.expert-card-body .role {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.expert-card-body p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.expert-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.expert-btns a {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

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

.expert-btns .btn-sm-outline {
  border: 1px solid var(--border);
  color: var(--text-dark);
}

.expert-btns .btn-sm-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* --- Brand Wall --- */
.brand-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.brand-wall-item {
  background: var(--bg-white);
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  transition: var(--transition);
}

.brand-wall-item:hover {
  color: var(--primary);
  box-shadow: var(--shadow-hover);
}

/* --- Reviews --- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-hover);
}

.review-stars {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 10px;
}

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

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

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

.review-author-info .name {
  font-weight: 600;
  font-size: 0.9rem;
}

.review-author-info .date {
  font-size: 0.78rem;
  color: var(--text-light);
}

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

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

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

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: "−";
}

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

.faq-item.active .faq-answer {
  padding: 0 24px 18px;
  max-height: 300px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.contact-info-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-item .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,107,53,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-weight: 700;
}

.contact-item .info label {
  font-size: 0.82rem;
  color: var(--text-light);
  display: block;
}

.contact-item .info span {
  font-weight: 600;
  font-size: 0.95rem;
}

.qrcode-group {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

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

.qrcode-box img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

.qrcode-box span {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  line-height: 1.7;
}

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

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

.footer-col a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

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

/* --- Social Share --- */
.social-share {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-share a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.share-wechat { background: #07C160; color: #fff; }
.share-weibo { background: #E6162D; color: #fff; }
.share-douyin { background: #000; color: #fff; }
.share-bilibili { background: #00A1D6; color: #fff; }

.social-share a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--border);
}

/* --- Page Banner --- */
.page-banner {
  background: var(--gradient-dark);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}

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

.page-banner p {
  font-size: 1.05rem;
  opacity: 0.8;
}

/* --- How-To Guide --- */
.howto-steps {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.howto-step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  padding: 24px;
}

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

.howto-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.howto-step p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Lazy Load Placeholder --- */
.lazy-img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.lazy-img.loaded {
  opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

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

  .mobile-toggle {
    display: flex;
  }

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

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

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

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

  .feature-card {
    flex-direction: column;
  }

  .feature-card img {
    width: 100%;
    height: 180px;
  }

  .feature-card-body {
    padding: 16px;
  }

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

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

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

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

  .howto-steps {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 48px 0;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }
}

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

  .logo-text {
    font-size: 1.2rem;
  }

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

  .container {
    padding: 0 16px;
  }
}

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

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

/* --- Inner page content --- */
.page-content {
  padding: 40px 0 60px;
}

.content-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.content-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.content-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.content-card p {
  margin-bottom: 12px;
  line-height: 1.8;
  color: var(--text-dark);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.tag-list span {
  background: rgba(255,107,53,0.1);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* --- Stats Bar --- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 32px 0;
  flex-wrap: wrap;
}

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

.stat-item .num {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .label {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 4px;
}

.section-dark .stat-item .label {
  color: rgba(255,255,255,0.6);
}
