:root {
    --bg: #000000;
    --surface: #121212;
    --yellow: #facc15;
    --red: #dc2626;
    --text-main: #f5f5f5;
    --text-sub: #a3a3a3;
    --border: #2a2a2a;
    --font-display: 'Impact', 'Arial Black', 'Microsoft YaHei', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background-color: var(--bg);
    color: var(--text-main);
    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: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
  }
  header.scrolled {
    border-bottom: 1px solid var(--yellow);
    box-shadow: 0 4px 20px rgba(250, 204, 21, 0.1);
  }
  .nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center; height: 72px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: 1px; }
  .brand img { height: 32px; width: 32px; object-fit: contain; }
  .brand span { color: #fff; }
  .brand span em { color: var(--yellow); font-style: normal; }
  .nav-links { display: flex; gap: 28px; }
  .nav-links a { font-size: 14px; color: var(--text-sub); transition: color 0.2s; }
  .nav-links a:hover { color: var(--yellow); }
  .btn-download {
    background: var(--red); color: #fff; padding: 8px 20px; border-radius: 4px;
    font-size: 14px; font-weight: 700; letter-spacing: 1px;
    animation: pulse-red 2s infinite;
  }
  @keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
  }

  /* 首屏 Hero */
  .hero {
    position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
    overflow: hidden; padding-top: 72px; text-align: center;
  }
  .spotlight-left, .spotlight-right {
    position: absolute; top: 0; width: 50%; height: 100%; pointer-events: none;
    background: radial-gradient(ellipse at top left, rgba(250, 204, 21, 0.15), transparent 60%);
    mix-blend-mode: screen;
  }
  .spotlight-left { left: 0; transform-origin: top left; animation: swing-left 8s infinite alternate ease-in-out; }
  .spotlight-right { right: 0; transform-origin: top right; animation: swing-right 8s infinite alternate ease-in-out; background: radial-gradient(ellipse at top right, rgba(220, 38, 38, 0.15), transparent 60%);}
  @keyframes swing-left { 0% { transform: rotate(-10deg); } 100% { transform: rotate(20deg); } }
  @keyframes swing-right { 0% { transform: rotate(10deg); } 100% { transform: rotate(-20deg); } }

  .hero-content { position: relative; z-index: 10; max-width: 800px; padding: 0 24px; }
  .hero h1 {
    font-family: var(--font-display); font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1; margin-bottom: 20px; color: #fff;
    text-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
  }
  .hero h1 em { color: var(--yellow); font-style: normal; text-shadow: 0 0 30px rgba(250, 204, 21, 0.6); }
  .hero p { font-size: 18px; color: var(--text-sub); margin-bottom: 40px; }
  .hero-cta { display: flex; gap: 16px; justify-content: center; }
  .btn-primary {
    background: var(--yellow); color: #000; padding: 14px 32px; border-radius: 4px;
    font-weight: 800; font-size: 16px; transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(250, 204, 21, 0.4); }
  .btn-outline {
    border: 1px solid var(--yellow); color: var(--yellow); padding: 14px 32px; border-radius: 4px;
    font-weight: 700; font-size: 16px; transition: all 0.2s;
  }
  .btn-outline:hover { background: rgba(250, 204, 21, 0.1); }

  .ticket-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 60px; position: relative; z-index: 10; }
  .ticket {
    position: relative; background: rgba(18, 18, 18, 0.8); border: 1px solid var(--border);
    padding: 12px 24px; border-radius: 6px; font-size: 14px; color: var(--text-main);
    font-weight: 600; letter-spacing: 1px; backdrop-filter: blur(4px);
  }
  .ticket::before, .ticket::after {
    content: ''; position: absolute; width: 12px; height: 12px; background: var(--bg); border-radius: 50%;
  }
  .ticket::before { top: 50%; left: -6px; transform: translateY(-50%); border-right: 1px solid var(--border); }
  .ticket::after { top: 50%; right: -6px; transform: translateY(-50%); border-left: 1px solid var(--border); }

  /* 通用 Section */
  section { padding: 100px 0; }
  .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
  .section-header { margin-bottom: 50px; }
  .section-header h2 {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--yellow);
    letter-spacing: 2px; margin-bottom: 12px;
  }
  .section-header p { color: var(--text-sub); font-size: 16px; }

  /* 今晚上新 */
  .timeline { position: relative; padding-left: 40px; }
  .timeline::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--border); border-radius: 3px;
  }
  .timeline-item { position: relative; margin-bottom: 40px; }
  .timeline-item::before {
    content: ''; position: absolute; left: -47px; top: 12px; width: 14px; height: 14px;
    border-radius: 50%; background: var(--border); border: 2px solid var(--bg);
    transition: all 0.3s ease;
  }
  .timeline-item.active::before { background: var(--red); box-shadow: 0 0 12px var(--red); }
  .timeline-date { font-size: 14px; font-weight: 700; color: var(--yellow); margin-bottom: 8px; }
  .timeline-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
    padding: 20px; display: flex; gap: 20px; align-items: flex-start;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  .timeline-card:hover { border-color: var(--red); box-shadow: 0 0 20px rgba(220, 38, 38, 0.1); }
  .timeline-card img { width: 100px; height: 140px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
  .timeline-info h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
  .timeline-info p { font-size: 14px; color: var(--text-sub); }

  /* 午夜放映机 */
  .carousel-wrapper { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
  .carousel-wrapper::-webkit-scrollbar { display: none; }
  .movie-card {
    flex: 0 0 calc(25% - 15px); scroll-snap-align: start; background: var(--surface);
    border: 1px solid var(--border); border-radius: 8px; overflow: hidden; position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    perspective: 1000px;
  }
  .movie-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,0.8); border-color: var(--yellow); }
  .movie-card img { width: 100%; height: 380px; object-fit: cover; }
  .movie-card-inner { padding: 16px; transform: translateZ(20px); }
  .movie-card h3 { font-size: 16px; margin-bottom: 6px; color: #fff; }
  .movie-card p { font-size: 12px; color: var(--text-sub); }
  .moon-icon { position: absolute; top: 12px; right: 12px; font-size: 18px; z-index: 2;}

  /* AI放映室 */
  .ai-room { background: #0a0a0a; position: relative; overflow: hidden; }
  .ai-bg-shapes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.1; pointer-events: none; }
  .shape-yellow { position: absolute; top: -20%; left: -10%; width: 60%; height: 80%; background: var(--yellow); transform: skewX(-20deg); }
  .shape-red { position: absolute; bottom: -20%; right: -10%; width: 60%; height: 80%; background: var(--red); transform: skewX(-20deg); }
  .ai-content { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .ai-left { background: var(--surface); padding: 30px; border: 1px solid var(--red); border-radius: 8px; }
  .ai-left h3 { font-size: 20px; margin-bottom: 10px; }
  .ai-left p { font-size: 14px; color: var(--text-sub); margin-bottom: 20px; }
  .vote-option { background: #1a1a1a; border: 1px solid var(--border); padding: 12px; border-radius: 4px; margin-bottom: 10px; cursor: pointer; transition: border-color 0.2s; }
  .vote-option:hover { border-color: var(--yellow); }
  .ai-right { display: flex; justify-content: center; align-items: center; }
  .film-reel {
    width: 200px; height: 200px; border-radius: 50%; border: 8px dashed #333;
    display: flex; justify-content: center; align-items: center; position: relative;
    transition: transform 0.1s linear;
  }
  .film-reel::before, .film-reel::after {
    content: ''; position: absolute; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); border: 2px solid var(--yellow);
  }
  .film-reel::before { top: 20px; left: 20px; }
  .film-reel::after { bottom: 20px; right: 20px; }
  .film-center { width: 20px; height: 20px; background: var(--red); border-radius: 50%; }

  /* 午夜片库 */
  .accordion-gallery { display: flex; height: 400px; gap: 10px; }
  .gallery-panel {
    flex: 1; background-size: cover; background-position: center; border-radius: 8px;
    transition: flex 0.5s ease; position: relative; overflow: hidden; cursor: pointer; border: 1px solid var(--border);
  }
  .gallery-panel:hover { flex: 3; border-color: var(--yellow); }
  .gallery-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.9)); padding: 20px; }
  .gallery-overlay h3 { font-size: 18px; color: #fff; margin-bottom: 8px; }
  .gallery-list { display: none; color: var(--text-sub); font-size: 14px; }
  .gallery-panel:hover .gallery-list { display: block; }

  /* 午夜票房榜 */
  .ranking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .rank-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 20px; display: flex; gap: 20px; align-items: center; border-right: 2px dashed #444; }
  .rank-card img { width: 80px; height: 110px; object-fit: cover; border-radius: 4px; }
  .rank-num { font-family: var(--font-display); font-size: 40px; color: rgba(250, 204, 21, 0.2); position: absolute; top: 10px; right: 15px; }
  .rank-1 { grid-row: span 2; flex-direction: column; align-items: flex-start; border-right: none; border-bottom: 2px dashed #444; }
  .rank-1 img { width: 100%; height: 300px; }
  .rank-1 h3 { font-size: 24px; margin-top: 15px; }

  /* 影院守则 */
  .rules-list { display: flex; flex-direction: column; gap: 15px; }
  .rule-item {
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 20px;
    display: flex; align-items: center; gap: 20px; transition: all 0.3s ease; cursor: default;
  }
  .rule-item:hover { transform: translateX(10px); border-color: var(--red); box-shadow: -4px 0 0 var(--red); }
  .rule-icon { font-size: 24px; color: var(--yellow); }
  .rule-text { font-size: 18px; font-weight: 700; }
  .rule-desc { display: none; color: var(--text-sub); font-size: 14px; margin-left: 20px; }
  .rule-item:hover .rule-desc { display: block; }

  /* 下载与FAQ */
  .download-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
  .dl-left h2 { font-family: var(--font-display); font-size: 40px; margin-bottom: 20px; color: #fff; }
  .dl-btns { display: flex; gap: 15px; flex-direction: column; }
  .dl-btn { background: #fff; color: #000; padding: 15px 20px; border-radius: 8px; text-align: center; font-weight: 700; transition: background 0.2s; }
  .dl-btn:hover { background: #e5e5e5; }
  .faq-list details { border-bottom: 1px solid var(--border); padding: 15px 0; }
  .faq-list summary { font-size: 16px; font-weight: 600; cursor: pointer; color: #fff; list-style: none; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list p { font-size: 14px; color: var(--text-sub); margin-top: 10px; line-height: 1.8; }

  /* 页脚 */
  footer { background: #050505; border-top: 1px solid var(--border); padding: 60px 0 30px; font-size: 14px; color: var(--text-sub); }
  .footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
  .footer-col h4 { color: var(--yellow); margin-bottom: 15px; font-size: 16px; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul li a { color: var(--text-sub); transition: color 0.2s; }
  .footer-col ul li a:hover { color: #fff; }
  .footer-bottom { text-align: center; border-top: 1px solid #1a1a1a; padding-top: 20px; font-size: 12px; color: #555; }
  .footer-bottom a { color: #555; }
  .footer-bottom a:hover { color: #888; }
  .footer-gradient-line { width: 100%; height: 2px; background: linear-gradient(90deg, var(--red), var(--yellow), var(--red)); margin-bottom: 30px; }

  /* 响应式 */
  @media (max-width: 1024px) {
    .movie-card { flex: 0 0 calc(33.33% - 15px); }
    .ai-content { grid-template-columns: 1fr; }
    .ranking-grid { grid-template-columns: 1fr; }
    .rank-1 { flex-direction: row; align-items: center; border-bottom: none;}
    .rank-1 img { width: 80px; height: 110px; }
    .download-faq { grid-template-columns: 1fr; gap: 40px; }
  }
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .accordion-gallery { flex-direction: column; height: auto; }
    .gallery-panel { height: 150px; }
    .gallery-panel:hover { flex: none; height: 250px; }
    .gallery-list { display: block; }
    .movie-card { flex: 0 0 calc(80% - 15px); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .ticket-row { margin-top: 30px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; }
  }