/* ==========================================================================
   极速影视 (JISU CINEMA) - 淡黑金奢华企业品牌站样式
   纯CSS架构，响应式栅格，无外部前端框架依赖
   ========================================================================== */

:root {
  --bg-canvas: #0b0c0e;
  --bg-surface: #13151c;
  --bg-surface-elevated: #1a1c26;
  --bg-surface-active: #222533;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-sub: #6b7280;
  
  /* 淡黑金主色调 */
  --gold-primary: #d4af37;
  --gold-light: #f5e5b5;
  --gold-dark: #aa8214;
  --gold-glow: rgba(212, 175, 55, 0.28);
  --border-gold: rgba(212, 175, 55, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --font-serif: 'Cinzel', serif;
  --font-sans: 'Noto Sans SC', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Plus Jakarta Sans', monospace, tabular-nums;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, #151824 0%, #0b0c0e 65%);
  overflow-x: hidden;
}

/* 容器与版心 */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 按钮与交互基础 */
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   导航顶栏 (Top Bar Contract: 3-Zone)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 14, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 72px;
}

.brand-zone {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo-text {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 0.08em;
  font-style: italic;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.nav-zone {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
  border-radius: 2px;
}

.action-zone {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, #b8860b 100%);
  color: #0b0c0e;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px var(--gold-glow);
  white-space: nowrap;
}

.btn-gold:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

/* 移动端菜单抽屉 */
.mobile-drawer {
  display: none;
  flex-direction: column;
  background: #101217;
  border-bottom: 1px solid var(--border-gold);
  padding: 16px 24px;
  gap: 12px;
}

.mobile-drawer.open {
  display: flex;
}

/* ==========================================================================
   页面视图管理 (Single-Page Switcher)
   ========================================================================== */
.view-section {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.view-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   首页 (Home Page) 模块样式
   ========================================================================== */
/* Hero Section */
.hero-section {
  padding: 60px 0 40px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.gold-gradient-text {
  background: linear-gradient(90deg, #d4af37, #f7e7b5, #c5a059);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

/* KPI 统计条 */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding: 24px 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
}

.kpi-item {
  text-align: left;
}

.kpi-label {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 4px;
}

.kpi-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-light);
  font-family: var(--font-mono);
}

.kpi-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 聚光灯大卡 */
.spotlight-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  cursor: pointer;
  transition: all 0.3s;
}

.spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  border-color: var(--gold-primary);
}

.spotlight-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

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

.spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(11,12,14,0.9) 100%);
}

.spotlight-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--gold-primary);
  color: #0b0c0e;
  font-weight: 700;
  font-size: 11px;
}

.spotlight-content {
  padding: 20px;
}

/* 核心产品板块 */
.section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

.section-h2 {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
}

.product-tabs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.prod-tab-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.prod-tab-card.active, .prod-tab-card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--gold-primary);
}

.prod-tab-num {
  color: var(--gold-primary);
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 12px;
  margin-bottom: 4px;
}

.prod-tab-name {
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
}

.product-detail-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
}

/* 电影海报网格 (通用电影卡片 Movie Card) */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

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

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

.movie-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.movie-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.movie-poster-box {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #151820;
}

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

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

.movie-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 12, 14, 0.95) 100%);
}

.movie-quality-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 600;
}

.movie-rank-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--gold-primary);
  color: #0b0c0e;
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.movie-poster-bottom {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.movie-score {
  color: #fbbf24;
  font-weight: 700;
}

.movie-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.movie-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.movie-meta-unboxed {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.movie-actors {
  font-size: 10px;
  color: var(--text-sub);
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 会员合伙人与收益板块 */
.member-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.member-plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.member-plan-card.featured {
  border-color: var(--gold-primary);
  background: #171a25;
}

.plan-price-row {
  margin: 14px 0;
}

.plan-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold-primary);
  font-family: var(--font-mono);
}

.plan-commission-box {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  margin-bottom: 16px;
}

/* 佣金计算器 */
.calc-box {
  background: #0d0f14;
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

/* 新闻与行业动态列表 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.news-card:hover {
  border-color: var(--gold-primary);
}

.dynamics-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: #101217;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
}

.dynamic-item {
  background: #151720;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px;
  transition: border-color 0.2s;
}

.dynamic-item:hover {
  border-color: var(--border-gold);
}

/* ==========================================================================
   产品页 (Products Page) 筛选样式
   ========================================================================== */
.filter-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  width: 72px;
  flex-shrink: 0;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
  background: var(--gold-primary);
  color: #0b0c0e;
  font-weight: 700;
}

.search-toolbar {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.search-input {
  flex-grow: 1;
  background: #101217;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 16px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
}

.search-input:focus {
  border-color: var(--gold-primary);
}

/* 分页控件 */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.page-btn.active {
  background: var(--gold-primary);
  color: #0b0c0e;
  font-weight: 800;
}

/* ==========================================================================
   关于我们与联系我们
   ========================================================================== */
.timeline-wrap {
  position: relative;
  border-left: 2px solid var(--border-gold);
  padding-left: 28px;
  margin-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-dot {
  position: absolute;
  left: -35px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 2px solid #0b0c0e;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
}

.contact-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: #0f1116;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
}

.form-control:focus {
  border-color: var(--gold-primary);
}

/* ==========================================================================
   通用弹窗 (Modal)
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-dialog {
  background: #13151c;
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  position: relative;
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d0f14;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-sub);
  font-size: 22px;
  cursor: pointer;
}

.modal-body {
  padding: 24px;
}

/* 浮动下载胶囊 */
.floating-download-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.pill-btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, #aa8214 100%);
  color: #0b0c0e;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 24px var(--gold-glow);
  cursor: pointer;
  transition: all 0.2s;
}

.pill-btn-dl:hover {
  transform: scale(1.05);
}

.pill-btn-service {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 24px;
  background: #171922;
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 12px;
  cursor: pointer;
}

/* 页脚 */
.site-footer {
  margin-top: auto;
  background: #08090b;
  border-top: 1px solid var(--border-gold);
  padding: 48px 0 24px;
  font-size: 12px;
  color: var(--text-sub);
}

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

/* ==========================================================================
   响应式断点适配 (Responsive Design)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .movie-grid { grid-template-columns: repeat(4, 1fr); }
  .movie-grid-6 { grid-template-columns: repeat(4, 1fr); }
  .product-detail-box { grid-template-columns: 1fr; }
  .calc-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-zone { display: none; }
  .action-zone { display: none; }
  .menu-toggle { display: block; }
  .movie-grid { grid-template-columns: repeat(2, 1fr); }
  .movie-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .movie-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .product-tabs-row { grid-template-columns: repeat(2, 1fr); }
  .member-plans-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .dynamics-list-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
}
