/* ============================================
   全站样式 - 影视传媒网站
   独特配色：深紫 + 玫红 + 暗金
   ============================================ */

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

:root {
  --clr-primary: #6B1D5E;
  --clr-primary-light: #9C3587;
  --clr-accent: #D4A843;
  --clr-accent-dark: #A8832F;
  --clr-bg-dark: #0E0B14;
  --clr-bg-section: #16111F;
  --clr-bg-card: #1E1729;
  --clr-text: #E8E2F0;
  --clr-text-muted: #A89BBF;
  --clr-border: #2E2640;
  --clr-success: #4CAF50;
  --clr-warning: #FF9800;
  --clr-star: #FFD700;
  --font-heading: "Noto Serif SC", "STSong", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(107, 29, 94, 0.18);
  --shadow-hover: 0 8px 40px rgba(107, 29, 94, 0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--clr-bg-dark);
  color: var(--clr-text);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--clr-text);
  line-height: 1.4;
}

/* ============ Layout ============ */
.site-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

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

.section-wrap:nth-child(even) {
  background: var(--clr-bg-section);
}

.section-title {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  border-radius: 2px;
}

/* ============ Header / Nav ============ */
.site-header {
  background: linear-gradient(135deg, var(--clr-bg-dark) 0%, #1A1028 100%);
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  z-index: 100;
}

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

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

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--clr-accent);
  color: var(--clr-accent);
  font-size: 1.5rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

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

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

.main-nav a:hover,
.main-nav a.active {
  color: var(--clr-accent);
  background: rgba(212, 168, 67, 0.08);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

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

.hero-content h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--clr-accent), #F0D878);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-bottom: 24px;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(107, 29, 94, 0.4);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(107, 29, 94, 0.6);
  color: #fff;
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

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

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

.breadcrumb span {
  margin: 0 6px;
  opacity: 0.5;
}

/* ============ Movie Cards Grid ============ */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

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

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--clr-primary-light);
}

.movie-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5/7;
}

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

.movie-card:hover .movie-card-img img {
  transform: scale(1.06);
}

.movie-card-rating {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: var(--clr-star);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}

.movie-card-body {
  padding: 12px;
}

.movie-card-body h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-card-body p {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============ Service Modules ============ */
.services-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-block {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition);
}

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

.service-block img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.service-block h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--clr-accent);
}

.service-block p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

/* ============ Cases ============ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

.case-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

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

.case-card-body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

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

/* ============ International Stars ============ */
.stars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.star-card {
  text-align: center;
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
}

.star-card:hover {
  border-color: var(--clr-primary-light);
  box-shadow: var(--shadow-card);
}

.star-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.star-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.star-card p {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

/* ============ About Section ============ */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 2;
}

.about-content h3 {
  font-size: 1.3rem;
  margin: 24px 0 12px;
  color: var(--clr-accent);
}

.about-content p {
  margin-bottom: 14px;
  text-indent: 2em;
}

/* ============ Payment ============ */
.payment-icons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.payment-icons img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border);
}

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

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

.faq-question {
  width: 100%;
  background: var(--clr-bg-card);
  color: var(--clr-text);
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(107, 29, 94, 0.15);
}

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

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

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 0.92rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
}

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

/* ============ Reviews ============ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

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

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

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-meta h4 {
  font-size: 0.95rem;
}

.review-meta small {
  color: var(--clr-text-muted);
  font-size: 0.8rem;
}

.review-stars {
  color: var(--clr-star);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.review-card p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ============ Video Player ============ */
.video-player-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 24px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1028, #0e0b14);
  color: var(--clr-text-muted);
  font-size: 1.2rem;
}

.video-placeholder::before {
  content: "▶";
  font-size: 3rem;
  margin-right: 12px;
  color: var(--clr-accent);
}

/* ============ Author Info ============ */
.author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
}

.author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

/* ============ Support ============ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

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

.support-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--clr-accent);
}

.support-card p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

/* ============ License ============ */
.license-section {
  text-align: center;
}

.license-section img {
  width: 120px;
  margin: 0 auto 16px;
}

/* ============ Footer ============ */
.site-footer {
  background: linear-gradient(180deg, var(--clr-bg-section), var(--clr-bg-dark));
  border-top: 1px solid var(--clr-border);
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--clr-accent);
}

.footer-col a {
  display: block;
  color: var(--clr-text-muted);
  font-size: 0.88rem;
  padding: 3px 0;
}

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

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: transform var(--transition);
}

.footer-social img:hover {
  transform: scale(1.15);
}

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

.footer-bottom .age-badge {
  display: inline-block;
  width: 40px;
  height: 40px;
  vertical-align: middle;
  margin: 0 8px;
}

.footer-payments {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 12px 0;
}

.footer-payments img {
  height: 30px;
  width: auto;
}

/* ============ Inner Page ============ */
.inner-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.inner-hero .hero-bg img {
  filter: brightness(0.3) blur(2px);
}

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

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

.article-body h2 {
  font-size: 1.5rem;
  margin: 28px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--clr-accent);
}

.article-body h3 {
  font-size: 1.2rem;
  margin: 20px 0 10px;
  color: var(--clr-accent);
}

.article-body p {
  margin-bottom: 14px;
  text-indent: 2em;
  line-height: 2;
}

.article-body figure {
  margin: 20px 0;
  text-align: center;
}

.article-body figure img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: 0 auto;
}

.article-body figcaption {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-top: 8px;
}

.article-body blockquote {
  border-left: 4px solid var(--clr-primary);
  padding: 12px 20px;
  margin: 16px 0;
  background: rgba(107, 29, 94, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--clr-text-muted);
}

/* ============ App Download Page ============ */
.app-hero {
  text-align: center;
  padding: 48px 16px;
  background: linear-gradient(135deg, var(--clr-bg-dark), var(--clr-bg-section));
}

.app-preview-img {
  max-width: 280px;
  margin: 24px auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.app-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.app-feature-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.app-feature-card h3 {
  color: var(--clr-accent);
  margin-bottom: 8px;
}

.app-qr-section {
  text-align: center;
  margin: 32px 0;
}

.app-qr-section img {
  width: 200px;
  margin: 16px auto;
  border-radius: var(--radius-md);
  border: 2px solid var(--clr-border);
}

.download-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(107, 29, 94, 0.5);
  color: #fff;
}

/* ============ Responsible Section ============ */
.responsible-section {
  background: rgba(107, 29, 94, 0.06);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}

.responsible-section h3 {
  color: var(--clr-warning);
  margin-bottom: 12px;
}

.responsible-section ul {
  list-style: none;
  padding: 0;
}

.responsible-section li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.92rem;
  color: var(--clr-text-muted);
}

.responsible-section li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--clr-success);
}

/* ============ Mobile Responsive ============ */
@media (max-width: 1024px) {
  .services-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .stars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--clr-bg-dark);
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--clr-border);
    z-index: 99;
  }

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

  .main-nav a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--clr-border);
    width: 100%;
  }

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

  .services-row {
    grid-template-columns: 1fr;
  }

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

  .stars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

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

  .section-wrap {
    padding: 32px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .inner-hero {
    min-height: 180px;
  }

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

@media (max-width: 480px) {
  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

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

  .cta-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

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

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

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

/* ============ Utility ============ */
.text-center { text-align: center; }
.text-accent { color: var(--clr-accent); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
