/* ============================================================
   全球院线 - Global Cinema Foyer Style
   CSS Prefix: qq-
   ============================================================ */

/* === Google Fonts Import (local fallback) === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Lato:wght@300;400;700&display=swap');

/* === CSS Variables === */
:root {
  --qq-primary: #8B0000;
  --qq-secondary: #FFD700;
  --qq-accent: #FFFFFF;
  --qq-text: #F5F5DC;
  --qq-link: #FFD700;
  --qq-bg-dark: #1a0a0a;
  --qq-bg-darker: #0d0505;
  --qq-bg-card: rgba(139, 0, 0, 0.15);
  --qq-border-gold: rgba(255, 215, 0, 0.3);
  --qq-shadow-curtain: 0 8px 32px rgba(139, 0, 0, 0.4);
  --qq-font-heading: 'Playfair Display', 'Noto Serif SC', serif;
  --qq-font-body: 'Lato', 'Noto Sans SC', sans-serif;
  --qq-radius: 8px;
  --qq-transition: 0.3s ease;
}

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

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

body {
  font-family: var(--qq-font-body);
  color: var(--qq-text);
  background-color: var(--qq-bg-dark);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--qq-link);
  text-decoration: none;
  transition: color var(--qq-transition), text-shadow var(--qq-transition);
}

a:hover {
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--qq-font-heading);
  color: var(--qq-secondary);
  line-height: 1.3;
}

/* === Jammer Block (Hidden) === */
.cinema-jammer-block {
  display: none !important;
}

/* === Navigation === */
.qq-header {
  background: linear-gradient(180deg, var(--qq-primary) 0%, var(--qq-bg-dark) 100%);
  padding: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--qq-border-gold);
}

.qq-nav-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.qq-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.qq-logo-icon {
  width: 42px;
  height: 42px;
  background: radial-gradient(circle at 30% 30%, var(--qq-secondary), #B8860B);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.sp-logo-text {
  font-family: var(--qq-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--qq-secondary);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.qq-nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.qq-nav-links li a {
  display: block;
  padding: 14px 18px;
  color: var(--qq-text);
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
  transition: all var(--qq-transition);
}

.qq-nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--qq-secondary);
  transition: width var(--qq-transition);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.qq-nav-links li a:hover {
  color: var(--qq-secondary);
}

.qq-nav-links li a:hover::after {
  width: 60%;
}

/* Hamburger Menu */
.qq-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.qq-hamburger span {
  width: 28px;
  height: 3px;
  background: var(--qq-secondary);
  border-radius: 2px;
  transition: all var(--qq-transition);
}

.qq-hamburger.qq-active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.qq-hamburger.qq-active span:nth-child(2) {
  opacity: 0;
}

.qq-hamburger.qq-active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Slide Menu */
.qq-mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: linear-gradient(135deg, var(--qq-primary) 0%, var(--qq-bg-darker) 100%);
  border-left: 3px solid var(--qq-secondary);
  z-index: 1050;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 80px 30px 30px;
  overflow-y: auto;
}

.qq-mobile-menu.qq-open {
  right: 0;
}

.qq-mobile-menu a {
  display: block;
  padding: 16px 0;
  color: var(--qq-text);
  font-size: 1.1rem;
  border-bottom: 1px solid var(--qq-border-gold);
  transition: all var(--qq-transition);
}

.qq-mobile-menu a:hover {
  color: var(--qq-secondary);
  padding-left: 12px;
}

.qq-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--qq-transition);
}

.qq-overlay.qq-visible {
  opacity: 1;
  visibility: visible;
}

/* === Hero Section === */
.qq-hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.qq-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.qq-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 24px;
}

.qq-hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--qq-secondary);
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
}

.qq-hero-content p {
  font-size: 1.2rem;
  color: var(--qq-text);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  max-width: 600px;
  margin: 0 auto 30px;
}

.qq-hero-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--qq-primary);
  color: var(--qq-secondary);
  border: 2px solid var(--qq-secondary);
  border-radius: var(--qq-radius);
  font-family: var(--qq-font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--qq-transition);
  text-shadow: none;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.qq-hero-btn:hover {
  background: var(--qq-secondary);
  color: var(--qq-primary);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  text-shadow: none;
}

/* === Section Common === */
.qq-section {
  padding: 80px 24px;
  max-width: 1440px;
  margin: 0 auto;
}

.qq-section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--qq-secondary);
  margin-bottom: 16px;
  position: relative;
}

.qq-section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--qq-secondary), transparent);
  margin: 16px auto 0;
}

.qq-section-desc {
  text-align: center;
  font-size: 1.05rem;
  color: var(--qq-text);
  max-width: 700px;
  margin: 0 auto 50px;
  opacity: 0.9;
}

/* === Full-width Section with BG === */
.qq-section-full {
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.qq-section-full .qq-section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25);
  z-index: 0;
}

.qq-section-full .qq-section-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
}

/* === Card Grid === */
.qq-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.qq-card {
  background: var(--qq-bg-card);
  border: 1px solid var(--qq-border-gold);
  border-radius: var(--qq-radius);
  overflow: hidden;
  transition: all var(--qq-transition);
  box-shadow: var(--qq-shadow-curtain);
}

.qq-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.15), var(--qq-shadow-curtain);
  border-color: var(--qq-secondary);
}

.qq-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: filter var(--qq-transition);
}

.qq-card:hover .qq-card-img {
  filter: brightness(1.1);
}

.qq-card-body {
  padding: 24px;
}

.qq-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--qq-secondary);
}

.qq-card-body p {
  font-size: 0.95rem;
  color: var(--qq-text);
  opacity: 0.85;
}

/* === Timeline === */
.qq-timeline {
  position: relative;
  padding: 20px 0;
}

.qq-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--qq-secondary), var(--qq-primary), var(--qq-secondary));
  transform: translateX(-50%);
}

.qq-timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.qq-timeline-item:nth-child(odd) {
  flex-direction: row;
}

.qq-timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.qq-timeline-content {
  width: 45%;
  background: var(--qq-bg-card);
  border: 1px solid var(--qq-border-gold);
  border-radius: var(--qq-radius);
  padding: 24px;
  box-shadow: var(--qq-shadow-curtain);
}

.qq-timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--qq-secondary);
  border-radius: 50%;
  border: 3px solid var(--qq-primary);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
  z-index: 1;
}

.qq-timeline-date {
  font-family: var(--qq-font-heading);
  font-size: 0.9rem;
  color: var(--qq-secondary);
  margin-bottom: 8px;
}

.qq-timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.qq-timeline-content p {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* === Mood Tags === */
.qq-mood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.qq-mood-tag {
  padding: 8px 24px;
  border: 1px solid var(--qq-secondary);
  border-radius: 30px;
  color: var(--qq-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--qq-transition);
  background: transparent;
}

.qq-mood-tag:hover,
.qq-mood-tag.qq-active {
  background: var(--qq-secondary);
  color: var(--qq-primary);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* === Price Compare Table === */
.qq-price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.qq-price-table th,
.qq-price-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--qq-border-gold);
}

.qq-price-table th {
  background: rgba(139, 0, 0, 0.4);
  color: var(--qq-secondary);
  font-family: var(--qq-font-heading);
  font-weight: 600;
}

.qq-price-table tr:hover {
  background: rgba(255, 215, 0, 0.05);
}

/* === Seat Picker === */
.qq-seat-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 40px auto;
  max-width: 600px;
}

.qq-screen {
  width: 80%;
  height: 30px;
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.3), transparent);
  border-radius: 50% 50% 0 0;
  margin-bottom: 30px;
  text-align: center;
  color: var(--qq-secondary);
  font-size: 0.85rem;
  padding-top: 4px;
}

.qq-seat-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.qq-seat-label {
  width: 24px;
  font-size: 0.75rem;
  color: var(--qq-secondary);
  text-align: center;
}

.qq-seat {
  width: 32px;
  height: 28px;
  border-radius: 6px 6px 2px 2px;
  cursor: pointer;
  transition: all var(--qq-transition);
  border: 1px solid var(--qq-border-gold);
}

.qq-seat-normal {
  background: var(--qq-primary);
}

.qq-seat-vip {
  background: linear-gradient(135deg, #8B0000, #B22222);
  border-color: var(--qq-secondary);
}

.qq-seat-couple {
  width: 68px;
  background: linear-gradient(135deg, #660033, #8B0000);
  border-color: #FF69B4;
}

.qq-seat:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  border-color: var(--qq-secondary);
}

.qq-seat.qq-selected {
  background: var(--qq-secondary) !important;
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

/* === Modal === */
.qq-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.qq-modal-overlay.qq-show {
  display: flex;
}

.qq-modal {
  background: linear-gradient(135deg, var(--qq-bg-dark), var(--qq-primary));
  border: 2px solid var(--qq-secondary);
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 60px rgba(255, 215, 0, 0.3);
  animation: qq-fadeIn 0.4s ease;
}

@keyframes qq-fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.qq-modal h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.qq-modal .qq-ticket-stub {
  background: linear-gradient(135deg, #2a0a0a, var(--qq-primary));
  border: 1px dashed var(--qq-secondary);
  border-radius: var(--qq-radius);
  padding: 24px;
  margin: 20px 0;
}

.qq-modal .qq-movie-title {
  font-family: var(--qq-font-heading);
  font-size: 1.4rem;
  color: var(--qq-secondary);
  margin-bottom: 12px;
}

.qq-modal .qq-movie-desc {
  font-size: 0.9rem;
  color: var(--qq-text);
  opacity: 0.85;
  line-height: 1.7;
}

.qq-modal-close {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 30px;
  background: transparent;
  border: 2px solid var(--qq-secondary);
  color: var(--qq-secondary);
  border-radius: var(--qq-radius);
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--qq-transition);
}

.qq-modal-close:hover {
  background: var(--qq-secondary);
  color: var(--qq-primary);
}

/* === Footer === */
#qq-footer {
  background: linear-gradient(0deg, var(--qq-bg-darker), var(--qq-primary));
  border-top: 2px solid var(--qq-border-gold);
  padding: 60px 24px 30px;
}

.qq-footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--qq-border-gold);
}

.qq-footer-col h4 {
  font-family: var(--qq-font-heading);
  font-size: 1.1rem;
  color: var(--qq-secondary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.qq-footer-col a {
  display: block;
  color: var(--qq-text);
  padding: 6px 0;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all var(--qq-transition);
}

.qq-footer-col a:hover {
  opacity: 1;
  color: var(--qq-secondary);
  padding-left: 6px;
}

.qq-footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--qq-text);
  opacity: 0.7;
}

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

.qq-footer-bottom a {
  color: var(--qq-secondary);
  opacity: 0.8;
}

.qq-footer-honor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-size: 0.85rem;
  color: var(--qq-secondary);
}

/* === Page Banner (Subpages) === */
.qq-page-banner {
  position: relative;
  width: 100%;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.qq-page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.qq-page-banner-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
}

.qq-page-banner-content h1 {
  font-size: 2.8rem;
  color: var(--qq-secondary);
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.8);
}

/* === Article Content === */
.qq-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}

.qq-article h2 {
  font-size: 1.8rem;
  margin: 40px 0 16px;
}

.qq-article h3 {
  font-size: 1.4rem;
  margin: 30px 0 12px;
}

.qq-article p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.qq-article img {
  width: 100%;
  border-radius: var(--qq-radius);
  margin: 24px 0;
  border: 1px solid var(--qq-border-gold);
}

/* === QR Code Section === */
.qq-qr-section {
  text-align: center;
  padding: 80px 24px;
}

.qq-qr-box {
  display: inline-block;
  background: var(--qq-bg-card);
  border: 2px solid var(--qq-secondary);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.15);
}

.qq-qr-placeholder {
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: var(--qq-radius);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #333;
}

.qq-app-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.qq-app-btn {
  padding: 12px 28px;
  background: var(--qq-primary);
  color: var(--qq-secondary);
  border: 2px solid var(--qq-secondary);
  border-radius: var(--qq-radius);
  font-weight: 600;
  transition: all var(--qq-transition);
}

.qq-app-btn:hover {
  background: var(--qq-secondary);
  color: var(--qq-primary);
}

/* === Seat Legend === */
.qq-seat-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
}

.qq-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.qq-legend-box {
  width: 20px;
  height: 16px;
  border-radius: 4px 4px 2px 2px;
  border: 1px solid var(--qq-border-gold);
}

/* === Responsive Design === */

/* 1440px */
@media (max-width: 1440px) {
  .qq-section {
    max-width: 1200px;
  }
}

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

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

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

  .qq-timeline::before {
    left: 20px;
  }

  .qq-timeline-item,
  .qq-timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 50px;
  }

  .qq-timeline-content {
    width: 100%;
  }

  .qq-timeline-dot {
    left: 20px;
  }
}

/* 768px */
@media (max-width: 768px) {
  .qq-nav-links {
    display: none;
  }

  .qq-hamburger {
    display: flex;
  }

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

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

  .qq-section-title {
    font-size: 1.8rem;
  }

  .qq-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .qq-page-banner-content h1 {
    font-size: 2rem;
  }

  .qq-section {
    padding: 50px 16px;
  }

  .qq-price-table {
    font-size: 0.85rem;
  }

  .qq-price-table th,
  .qq-price-table td {
    padding: 10px 12px;
  }
}

/* 360px */
@media (max-width: 360px) {
  .qq-hero-content h1 {
    font-size: 1.6rem;
  }

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

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

  .qq-seat {
    width: 24px;
    height: 22px;
  }

  .qq-seat-couple {
    width: 52px;
  }

  .qq-modal {
    padding: 24px;
  }
}
