:root {
  --bg: #000000;
  --card: #121212;
  --yellow: #facc15;
  --red: #dc2626;
  --text: #e5e5e5;
  --muted: #9ca3af;
  --font-title: 'Bebas Neue', 'Impact', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* 顶部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.header.scrolled { border-bottom: 1px solid rgba(250, 204, 21, 0.3); box-shadow: 0 4px 20px rgba(250, 204, 21, 0.1); }
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-area img { height: 32px; width: auto; border-radius: 6px; }
.logo-text { font-family: var(--font-title); font-size: 24px; color: #fff; letter-spacing: 1px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--yellow); }
.nav-cta {
  background: var(--red);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  transition: box-shadow 0.3s, transform 0.3s;
  animation: pulse-red 2s infinite alternate;
}
.nav-cta:hover { transform: scale(1.05); }
@keyframes pulse-red {
  0% { box-shadow: 0 0 5px rgba(220, 38, 38, 0.5); }
  100% { box-shadow: 0 0 20px rgba(220, 38, 38, 0.8); }
}

/* 首屏 Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px 60px;
  overflow: hidden;
}
.spotlight-left, .spotlight-right {
  position: absolute;
  top: -10%;
  width: 60vw;
  height: 120vh;
  background: radial-gradient(ellipse at top, rgba(250, 204, 21, 0.15) 0%, transparent 60%);
  clip-path: polygon(50% 0, 90% 100%, 10% 100%);
  pointer-events: none;
  z-index: 1;
}
.spotlight-left { left: -20vw; transform-origin: top center; animation: swing-left 8s ease-in-out infinite alternate; }
.spotlight-right { right: -20vw; transform-origin: top center; animation: swing-right 8s ease-in-out infinite alternate; }
@keyframes swing-left {
  0% { transform: rotate(-15deg); opacity: 0.6; }
  100% { transform: rotate(10deg); opacity: 1; }
}
@keyframes swing-right {
  0% { transform: rotate(15deg); opacity: 0.6; }
  100% { transform: rotate(-10deg); opacity: 1; }
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(50px, 10vw, 110px);
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #fff;
}
.hero h1 span { color: var(--yellow); }
.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
}
.cta-group { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--yellow);
  color: #000;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(250, 204, 21, 0.4); }
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #333;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: border-color 0.3s, color 0.3s;
}
.btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); }
.ticket-strip {
  margin-top: 60px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 2;
  position: relative;
}
.ticket {
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(5px);
  border: 1px solid #333;
  padding: 10px 25px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--yellow);
  position: relative;
  overflow: hidden;
}
.ticket::before, .ticket::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bg);
  top: 50%;
  transform: translateY(-50%);
}
.ticket::before { left: -3px; }
.ticket::after { right: -3px; }

/* 通用区块 */
section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 {
  font-family: var(--font-title);
  font-size: 40px;
  color: var(--yellow);
  letter-spacing: 1px;
}
.section-head p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* 今夜上新 - 时间轴 */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, #333 0, #333 10px, transparent 10px, transparent 20px);
}
.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}
.timeline-dot {
  position: absolute;
  left: 14px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #333;
  border: 2px solid var(--bg);
  transition: background 0.5s, box-shadow 0.5s;
}
.timeline-item.active .timeline-dot {
  background: var(--yellow);
  box-shadow: 0 0 15px var(--yellow);
}
.timeline-date {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  display: inline-block;
  background: #1a1a1a;
  padding: 4px 12px;
  border-radius: 20px;
}
.timeline-content {
  background: var(--card);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.timeline-item.active .timeline-content {
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.15);
}
.timeline-img {
  width: 70px;
  height: 95px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.timeline-info h3 { font-size: 18px; color: #fff; margin-bottom: 6px; }
.timeline-info p { font-size: 13px; color: var(--muted); }

/* 午夜放映机 - 横向滚动 */
.projector-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: none;
}
.projector-scroll::-webkit-scrollbar { display: none; }
.poster-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  perspective: 1000px;
}
.poster-card:hover {
  transform: translateY(-5px) rotateX(3deg);
  box-shadow: 0 10px 30px rgba(250, 204, 21, 0.2);
  border-color: var(--yellow);
}
.poster-img-wrap {
  width: 100%;
  height: 360px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}
.poster-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.poster-card h3 { font-size: 16px; color: #fff; margin-bottom: 5px; text-align: center; }
.poster-card span { display: block; font-size: 12px; color: var(--yellow); text-align: center; }

/* AI放映室 */
.ai-section {
  position: relative;
  background: #0a0a0a;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  overflow: hidden;
}
.ai-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(250,204,21,0.05) 0%, transparent 40%, rgba(220,38,38,0.05) 100%);
  clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 80%);
  pointer-events: none;
}
.ai-container { display: flex; gap: 40px; align-items: center; position: relative; z-index: 2; }
.ai-left, .ai-right { flex: 1; }
.ai-left h2 { font-family: var(--font-title); font-size: 36px; color: var(--yellow); margin-bottom: 20px; }
.vote-box {
  background: var(--card);
  border: 1px solid var(--red);
  border-radius: 12px;
  padding: 25px;
}
.vote-box h3 { font-size: 18px; margin-bottom: 15px; color: #fff; }
.vote-option {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color 0.3s;
  display: flex;
  justify-content: space-between;
}
.vote-option:hover { border-color: var(--yellow); }
.vote-bar { height: 4px; background: #333; border-radius: 2px; margin-top: 8px; width: 100%; overflow: hidden; }
.vote-fill { height: 100%; background: var(--yellow); width: 60%; }
.ai-right .film-reel {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 10px dashed #333;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.1s linear;
}
.film-reel::before {
  content: '';
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50%;
}
.reel-hole {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--bg);
  border-radius: 50%;
}
.rh1 { top: 10%; left: 50%; transform: translateX(-50%); }
.rh2 { bottom: 10%; left: 50%; transform: translateX(-50%); }
.rh3 { left: 10%; top: 50%; transform: translateY(-50%); }
.rh4 { right: 10%; top: 50%; transform: translateY(-50%); }

/* 午夜片库 - 手风琴 */
.accordion-container { display: flex; gap: 15px; height: 400px; }
.acc-item {
  flex: 1;
  background: var(--card);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: flex 0.5s ease, border-color 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.acc-item:hover { flex: 2.5; border-color: var(--yellow); }
.acc-title {
  font-family: var(--font-title);
  font-size: 28px;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: upright;
  transition: writing-mode 0.3s, opacity 0.3s;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.acc-item:hover .acc-title {
  writing-mode: horizontal-tb;
  opacity: 0;
}
.acc-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s;
}
.acc-item:hover .acc-content { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.acc-content h4 { color: var(--yellow); font-size: 16px; margin-bottom: 10px; }
.acc-content p { font-size: 14px; color: var(--muted); margin-bottom: 8px; border-bottom: 1px solid #333; padding-bottom: 4px; }

/* 午夜票房榜 */
.rank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rank-card {
  background: var(--card);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
  border-right: 2px dashed #444;
  position: relative;
  transition: border-color 0.3s;
}
.rank-card:hover { border-color: var(--red); }
.rank-card.top1 { grid-column: 1 / -1; padding: 25px; }
.rank-num {
  font-family: var(--font-title);
  font-size: 40px;
  color: var(--red);
  width: 60px;
  text-align: center;
}
.rank-card.top1 .rank-num { font-size: 60px; color: var(--yellow); }
.rank-img { width: 80px; height: 110px; border-radius: 6px; object-fit: cover; }
.rank-card.top1 .rank-img { width: 120px; height: 160px; }
.rank-info h3 { font-size: 18px; color: #fff; margin-bottom: 5px; }
.rank-card.top1 .rank-info h3 { font-size: 24px; }
.rank-info p { font-size: 13px; color: var(--muted); }

/* 影院守则 */
.rules-list { display: flex; flex-direction: column; gap: 15px; }
.rule-bar {
  background: var(--card);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s;
  overflow: hidden;
  position: relative;
}
.rule-bar:hover { transform: translateX(15px); border-color: var(--yellow); }
.rule-left { display: flex; align-items: center; gap: 15px; font-size: 18px; font-weight: 600; }
.rule-icon { width: 32px; height: 32px; background: var(--yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #000; font-weight: bold; }
.rule-desc { font-size: 14px; color: var(--muted); position: absolute; right: 30px; opacity: 0; transform: translateX(-20px); transition: opacity 0.3s, transform 0.3s; pointer-events: none; }
.rule-bar:hover .rule-desc { opacity: 1; transform: translateX(0); }

/* 下载与FAQ */
.dl-container { display: flex; gap: 60px; }
.dl-left, .dl-right { flex: 1; }
.dl-left h2 { font-family: var(--font-title); font-size: 48px; color: #fff; margin-bottom: 20px; line-height: 1.1; }
.dl-left p { color: var(--muted); margin-bottom: 30px; }
.dl-btns { display: flex; flex-direction: column; gap: 15px; max-width: 300px; }
.btn-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  border-radius: 12px;
  background: #fff;
  color: #000;
  font-weight: 600;
  transition: transform 0.3s;
}
.btn-dl:hover { transform: scale(1.02); }
.btn-dl.dark { background: #1a1a1a; color: #fff; border: 1px solid #333; }
.faq-item {
  background: var(--card);
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after { content: '+'; color: var(--yellow); font-size: 20px; }
.faq-item.open .faq-q::after { content: '-'; }
.faq-a { padding: 0 20px 20px; font-size: 14px; color: var(--muted); display: none; }
.faq-item.open .faq-a { display: block; }

/* 页脚 */
footer {
  background: #050505;
  border-top: 1px solid #1a1a1a;
  padding: 60px 20px 30px;
  font-size: 13px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 { color: var(--yellow); margin-bottom: 20px; font-size: 15px; }
.footer-col a { display: block; color: #666; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #222;
  padding-top: 20px;
  text-align: center;
  color: #555;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-bottom a { color: #555; }
.footer-bottom a:hover { color: var(--yellow); }
.gradient-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--red));
  margin-bottom: 20px;
}

/* 响应式 */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .ai-container, .dl-container { flex-direction: column; }
  .rank-grid { grid-template-columns: 1fr; }
  .rank-card.top1 { grid-column: auto; }
  .accordion-container { flex-direction: column; height: auto; }
  .acc-item { height: 120px; }
  .acc-title { writing-mode: horizontal-tb; left: 20px; top: 20px; transform: none; }
  .acc-item:hover .acc-title { opacity: 0; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 48px; }
  .cta-group { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .timeline::before { left: 10px; }
  .timeline-dot { left: 4px; }
  .timeline-item { padding-left: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rule-bar:hover .rule-desc { position: static; opacity: 1; transform: none; margin-top: 10px; pointer-events: auto; }
  .rule-bar:hover { transform: none; }
}