/* ============================================
   传媒公司网站 - 独特暗色电影风格主题
   移动端优先响应式设计
   ============================================ */

/* CSS Variables - 独特配色方案：深紫+金色+红色 */
:root {
  --primary: #8B1A4A;
  --primary-light: #B8336A;
  --primary-dark: #5C0E32;
  --accent: #D4A843;
  --accent-light: #E8C96A;
  --bg-dark: #0D0D1A;
  --bg-card: #1A1A2E;
  --bg-section: #12121F;
  --text-main: #E8E6E3;
  --text-muted: #9B98A8;
  --text-heading: #FFFFFF;
  --border-color: #2A2A40;
  --success: #2ECC71;
  --warning: #F39C12;
  --danger: #E74C3C;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 32px rgba(139,26,74,0.3);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-heading: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max-width: 1200px;
}

/* Reset & Base */
*, *::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: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.3;
  margin-bottom: 0.6em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1em; }

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============ Header / Navigation ============ */
.site-header {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-section) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  position: relative; /* NOT sticky */
  z-index: 100;
}

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

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

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

.site-logo span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: var(--transition);
}

.main-nav {
  display: none;
  width: 100%;
  padding-top: 10px;
}

.main-nav.active { display: block; }

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-list li a {
  display: block;
  padding: 10px 16px;
  color: var(--text-main);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-list li a:hover,
.nav-list li a.active {
  color: var(--accent);
  background: rgba(139, 26, 74, 0.15);
}

/* ============ Hero Section ============ */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 50%, var(--bg-dark) 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(139,26,74,0.15) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(5%, 3%); }
}

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

.hero-content h1 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 24px;
}

.hero-banner-img {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-banner-img img {
  width: 100%;
  height: auto;
}

/* ============ Video Player Module ============ */
.video-showcase {
  background: var(--bg-section);
  padding: 48px 0;
}

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

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

.video-player-wrap .play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.video-player-wrap .play-overlay:hover {
  background: rgba(0,0,0,0.2);
}

.play-btn-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 0 30px rgba(139,26,74,0.5);
}

.play-btn-circle:hover {
  transform: scale(1.1);
  background: var(--primary-light);
}

.play-btn-circle::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

/* ============ Section Titles ============ */
.section-title {
  text-align: center;
  margin-bottom: 32px;
}

.section-title h2 {
  font-size: 1.6rem;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

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

.section-title p {
  color: var(--text-muted);
  margin-top: 8px;
}

/* ============ Card Grid ============ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

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

.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.card-body {
  padding: 16px;
}

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

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

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.star-filled { color: var(--accent); }
.star-empty { color: var(--border-color); }

/* ============ Creator Section ============ */
.creator-section {
  padding: 48px 0;
  background: var(--bg-dark);
}

.creator-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.creator-avatar {
  width: 160px;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: 0 0 20px rgba(212,168,67,0.3);
}

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

.creator-info h3 { font-size: 1.3rem; }

.creator-info .title-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* ============ Service Section ============ */
.service-section {
  padding: 48px 0;
  background: var(--bg-section);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.service-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ Star Collaboration ============ */
.star-section {
  padding: 48px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-section) 100%);
}

.star-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.star-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.star-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.star-card img {
  width: 100%;
  height: auto;
}

.star-card .star-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
}

.star-card .star-overlay h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.star-card .star-overlay p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* ============ CTA / Consult Section ============ */
.cta-section {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
  text-align: center;
}

.cta-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}

.btn-cta {
  display: inline-block;
  padding: 14px 40px;
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,168,67,0.4);
  color: var(--bg-dark);
}

/* ============ About Section ============ */
.about-section {
  padding: 48px 0;
  background: var(--bg-dark);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

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

/* ============ Payment Section ============ */
.payment-section {
  padding: 40px 0;
  background: var(--bg-section);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.payment-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  text-align: center;
  min-width: 120px;
  transition: var(--transition);
}

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

.payment-item .pay-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.payment-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* ============ License Section ============ */
.license-section {
  padding: 40px 0;
  background: var(--bg-dark);
}

.license-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.license-badge {
  width: 120px;
  height: 120px;
}

.license-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============ Support Section ============ */
.support-section {
  padding: 40px 0;
  background: var(--bg-section);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.support-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 16px;
}

.support-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.2rem;
}

/* ============ FAQ Section ============ */
.faq-section {
  padding: 48px 0;
  background: var(--bg-dark);
}

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

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

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

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

.faq-question:hover {
  background: rgba(139,26,74,0.1);
}

.faq-question .toggle-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-item.open .faq-question .toggle-icon {
  transform: rotate(45deg);
}

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

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

/* ============ Reviews Section ============ */
.reviews-section {
  padding: 48px 0;
  background: var(--bg-section);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

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

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

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

.review-meta h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

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

.review-stars {
  color: var(--accent);
  margin-bottom: 8px;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-main);
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ============ Responsible Section ============ */
.responsible-section {
  padding: 40px 0;
  background: var(--bg-dark);
  border-top: 2px solid var(--warning);
}

.responsible-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.responsible-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 20px;
  border-left: 4px solid var(--warning);
}

.responsible-item h4 {
  color: var(--warning);
  margin-bottom: 8px;
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
}

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

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

.breadcrumb span { color: var(--text-muted); margin: 0 6px; }

.breadcrumb .current { color: var(--text-main); }

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

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

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--accent);
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  transition: var(--transition);
}

.footer-social a:hover {
  transform: translateY(-3px);
}

.footer-social a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.footer-bottom p { margin-bottom: 8px; }

.footer-payment {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

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

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ============ Inner Page Styles ============ */
.page-hero {
  position: relative;
  padding: 40px 0;
  text-align: center;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-hero .hero-overlay {
  position: relative;
  z-index: 2;
}

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

.page-content {
  padding: 40px 0;
}

.content-article {
  max-width: 800px;
  margin: 0 auto;
}

.content-article p {
  text-indent: 2em;
  margin-bottom: 1.2em;
  line-height: 1.9;
}

.content-article h2 {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.content-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}

.content-gallery img {
  border-radius: var(--radius-sm);
  width: 100%;
}

/* ============ APP Download Page ============ */
.app-section {
  padding: 48px 0;
  text-align: center;
}

.app-mockup {
  max-width: 300px;
  margin: 24px auto;
}

.app-mockup img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-heading);
  font-size: 1rem;
  transition: var(--transition);
  min-width: 220px;
  justify-content: center;
}

.btn-download:hover {
  border-color: var(--accent);
  background: rgba(212,168,67,0.1);
  color: var(--accent);
}

.app-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
  text-align: left;
}

.app-feature-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border-color);
}

/* ============ Responsive: Tablet ============ */
@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .responsible-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .content-gallery { grid-template-columns: repeat(2, 1fr); }
  .app-features { grid-template-columns: repeat(2, 1fr); }
  .download-buttons { flex-direction: row; justify-content: center; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}

/* ============ Responsive: Desktop ============ */
@media (min-width: 960px) {
  .menu-toggle { display: none; }

  .main-nav {
    display: block;
    width: auto;
    padding-top: 0;
  }

  .nav-list {
    flex-direction: row;
    gap: 0;
  }

  .nav-list li a {
    border-bottom: none;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
  }

  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .star-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }

  .creator-card {
    flex-direction: row;
    text-align: left;
  }

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

  .container { padding: 0 24px; }
}

/* ============ Utility Classes ============ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* Visually hidden for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
