/* ============================================
   影视传媒网站 - 独特暗金风格主题
   Mobile-First Responsive Design
   ============================================ */

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

:root {
  --primary-gold: #d4a017;
  --primary-dark: #0d0b1a;
  --secondary-dark: #1a1530;
  --accent-red: #c41e3a;
  --accent-purple: #6b2fa0;
  --text-light: #e8e0d0;
  --text-muted: #9a8f80;
  --card-bg: #1e1a2e;
  --border-subtle: rgba(212, 160, 23, 0.25);
  --shadow-glow: 0 0 20px rgba(212, 160, 23, 0.15);
  --font-main: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --font-heading: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition-base: 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-main);
  background-color: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: #f0c040;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-gold);
}

h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

/* ============================================
   Header & Navigation (NOT sticky)
   ============================================ */
.site-header {
  background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
  border-bottom: 2px solid var(--border-subtle);
  padding: 12px 0;
  position: relative; /* NOT sticky/fixed */
}

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

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

.nav-toggle {
  display: block;
  background: none;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  font-size: 1.5rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1;
}

.main-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 0;
  background: var(--secondary-dark);
  border-radius: var(--radius-md);
  margin-top: 10px;
  overflow: hidden;
}

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

.main-nav a {
  display: block;
  padding: 14px 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition-base), color var(--transition-base);
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(212, 160, 23, 0.1);
  color: var(--primary-gold);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-red), #e8294e);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(196, 30, 58, 0.6);
  color: #fff !important;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  background: linear-gradient(135deg, #0d0b1a 0%, #1a0a2e 50%, #2a0a1e 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(107, 47, 160, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(196, 30, 58, 0.1) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

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

.hero-content h1 {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--primary-gold), #f0d060, var(--primary-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

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

.hero-banner-img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: 20px 0;
  box-shadow: var(--shadow-glow);
}

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

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

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

.breadcrumb span {
  margin: 0 6px;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   Section Styles
   ============================================ */
.content-section {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

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

.section-header p {
  color: var(--text-muted);
  margin-top: 10px;
  font-size: 0.95rem;
}

/* ============================================
   Movie Cards Grid
   ============================================ */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.movie-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.movie-card-img {
  width: 100%;
  aspect-ratio: 5/7;
  object-fit: cover;
}

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

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

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

.movie-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 0.85rem;
}

.star-filled {
  color: var(--primary-gold);
}

.star-empty {
  color: #444;
}

.rating-num {
  color: var(--primary-gold);
  font-weight: 700;
  margin-left: 4px;
}

/* ============================================
   Service Modules (5 in a column)
   ============================================ */
.services-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-block {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.service-block:hover {
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-glow);
}

.service-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.service-info h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.service-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Cases Section
   ============================================ */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

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

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

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

.case-item-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================
   Collaboration Section
   ============================================ */
.collab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.collab-card img {
  width: 100%;
  aspect-ratio: 10/7;
  object-fit: cover;
}

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

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

.collab-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
  background: linear-gradient(180deg, rgba(26, 21, 48, 0.5), rgba(13, 11, 26, 0.5));
}

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

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

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

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

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(196, 30, 58, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base), background var(--transition-base);
}

.play-overlay::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.video-player-wrap:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(196, 30, 58, 1);
}

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

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-light);
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-main);
  transition: color var(--transition-base);
}

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

.faq-arrow {
  font-size: 1.2rem;
  transition: transform var(--transition-base);
  color: var(--primary-gold);
}

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

.faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

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

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  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%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-meta h4 {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 2px;
}

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

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

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

.review-date {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
}

/* ============================================
   Payment Section
   ============================================ */
.payment-section {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  border: 2px solid var(--primary-gold);
}

.payment-icons {
  max-width: 400px;
  margin: 15px auto;
}

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

.license-badge-img {
  width: 120px;
  margin: 0 auto 15px;
}

/* ============================================
   Support Section
   ============================================ */
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

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

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

/* ============================================
   Responsible Gaming
   ============================================ */
.responsible-section {
  background: linear-gradient(180deg, rgba(30, 10, 10, 0.3), rgba(13, 11, 26, 0.3));
}

.age-badge {
  width: 80px;
  margin: 0 auto 15px;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, var(--secondary-dark), #080614);
  border-top: 2px solid var(--border-subtle);
  padding: 40px 0 20px;
  margin-top: 40px;
}

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

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

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

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

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition-base);
}

.footer-col ul li a:hover {
  color: var(--primary-gold);
}

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

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--primary-gold);
  color: var(--primary-dark);
  border-color: var(--primary-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-payment {
  max-width: 300px;
  margin: 10px auto;
}

.footer-age-badge {
  width: 50px;
  margin: 10px auto;
}

/* ============================================
   Inner Page Styles
   ============================================ */
.inner-hero {
  padding: 30px 0;
  background: linear-gradient(135deg, #0d0b1a, #1a0a2e);
  text-align: center;
}

.inner-hero h1 {
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--primary-gold), #f0d060);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.article-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-subtle);
}

.article-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.article-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 20px 0;
  box-shadow: var(--shadow-glow);
}

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

.tag-item {
  background: rgba(212, 160, 23, 0.15);
  color: var(--primary-gold);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  border: 1px solid var(--border-subtle);
}

/* ============================================
   App Download Page
   ============================================ */
.app-hero {
  text-align: center;
  padding: 50px 0;
  background: linear-gradient(135deg, #0d0b1a, #1a0a2e, #2a0a1e);
}

.app-screenshot-img {
  max-width: 280px;
  margin: 20px auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

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

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 2px solid var(--primary-gold);
  color: var(--text-light);
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-base);
  min-width: 220px;
  justify-content: center;
}

.download-btn:hover {
  background: var(--primary-gold);
  color: var(--primary-dark);
}

.app-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 30px;
}

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

.app-feature-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.app-feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--primary-gold); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

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

/* ============================================
   Tablet Breakpoint (≥600px)
   ============================================ */
@media (min-width: 600px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }

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

  .movie-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

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

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

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

  .download-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ============================================
   Desktop Breakpoint (≥960px)
   ============================================ */
@media (min-width: 960px) {
  .site-container {
    padding: 0 24px;
  }

  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }

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

  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: flex !important;
    flex-direction: row;
    width: auto;
    background: none;
    margin-top: 0;
    gap: 0;
  }

  .main-nav a {
    padding: 8px 16px;
    border-bottom: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
  }

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

  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .collab-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .support-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .app-features {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-block {
    padding: 28px 24px;
  }
}

/* ============================================
   Large Desktop (≥1200px)
   ============================================ */
@media (min-width: 1200px) {
  .hero-content h1 { font-size: 3rem; }

  .site-container {
    padding: 0 32px;
  }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  body {
    background: #fff;
    color: #000;
  }
  .site-header, .site-footer, .nav-toggle {
    display: none;
  }
}
