:root {
      --bg: #000000;
      --card-bg: #121212;
      --accent-yellow: #facc15;
      --accent-red: #dc2626;
      --text-main: #f3f4f6;
      --text-sub: #9ca3af;
      --border-red: rgba(220, 38, 38, 0.4);
      --border-yellow: rgba(250, 204, 21, 0.4);
    }

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

    body {
      background-color: var(--bg);
      color: var(--text-main);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* 字体设定 */
    .heading-font {
      font-family: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
      letter-spacing: 1px;
    }

    /* 背景探照灯特效 */
    .spotlight-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }
    .spotlight-beam {
      position: absolute;
      top: -20%;
      width: 50vw;
      height: 150vh;
      background: radial-gradient(ellipse at top, rgba(250, 204, 21, 0.08) 0%, transparent 70%);
      transform-origin: top center;
      mix-blend-mode: screen;
    }
    .beam-left {
      left: 10%;
      transform: rotate(15deg);
      animation: sweep-left 12s infinite alternate ease-in-out;
    }
    .beam-right {
      right: 10%;
      transform: rotate(-15deg);
      animation: sweep-right 14s infinite alternate ease-in-out;
    }
    @keyframes sweep-left {
      0% { transform: rotate(10deg) scaleX(1); opacity: 0.6; }
      100% { transform: rotate(25deg) scaleX(1.2); opacity: 1; }
    }
    @keyframes sweep-right {
      0% { transform: rotate(-10deg) scaleX(1); opacity: 0.5; }
      100% { transform: rotate(-25deg) scaleX(1.2); opacity: 1; }
    }

    /* 通用容器 */
    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      position: relative;
      z-index: 10;
    }

    /* 顶部导航 */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 70px;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(10px);
      z-index: 100;
      display: flex;
      align-items: center;
      transition: border-bottom 0.3s;
      border-bottom: 1px solid transparent;
    }
    header.scrolled {
      border-bottom: 1px solid var(--accent-yellow);
      box-shadow: 0 4px 15px rgba(250, 204, 21, 0.15);
    }
    .nav-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
    .logo-group {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.2rem;
      color: #fff;
    }
    .logo-group img {
      height: 32px;
    }
    .nav-links {
      display: flex;
      gap: 30px;
    }
    .nav-links a {
      color: var(--text-sub);
      text-decoration: none;
      font-size: 0.95rem;
      transition: color 0.3s;
    }
    .nav-links a:hover {
      color: var(--accent-yellow);
    }
    .btn-nav-download {
      background: var(--accent-red);
      color: #fff;
      text-decoration: none;
      padding: 8px 20px;
      border-radius: 4px;
      font-weight: 600;
      font-size: 0.9rem;
      box-shadow: 0 0 10px rgba(220, 38, 38, 0.4);
      animation: pulse-red 2s infinite;
      transition: transform 0.2s;
    }
    .btn-nav-download:hover {
      transform: scale(1.05);
    }
    @keyframes pulse-red {
      0% { box-shadow: 0 0 5px rgba(220, 38, 38, 0.4); }
      50% { box-shadow: 0 0 20px rgba(220, 38, 38, 0.8); }
      100% { box-shadow: 0 0 5px rgba(220, 38, 38, 0.4); }
    }

    /* 首屏 Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding-top: 80px;
      padding-bottom: 60px;
    }
    .hero h1 {
      font-size: clamp(3rem, 8vw, 6rem);
      line-height: 1.1;
      margin-bottom: 20px;
      text-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
    }
    .hero h1 span {
      color: var(--accent-yellow);
    }
    .hero p {
      font-size: 1.2rem;
      color: var(--text-sub);
      max-width: 600px;
      margin-bottom: 40px;
    }
    .hero-actions {
      display: flex;
      gap: 20px;
      margin-bottom: 60px;
    }
    .btn-primary {
      background: var(--accent-yellow);
      color: #000;
      text-decoration: none;
      padding: 14px 32px;
      border-radius: 8px;
      font-weight: 700;
      font-size: 1.1rem;
      transition: all 0.3s;
    }
    .btn-primary:hover {
      background: #fff;
      box-shadow: 0 0 20px rgba(250, 204, 21, 0.6);
      transform: translateY(-2px);
    }
    .btn-secondary {
      background: transparent;
      color: var(--text-main);
      text-decoration: none;
      padding: 14px 32px;
      border-radius: 8px;
      font-weight: 600;
      border: 1px solid var(--border-red);
      transition: all 0.3s;
    }
    .btn-secondary:hover {
      border-color: var(--accent-red);
      background: rgba(220, 38, 38, 0.1);
    }
    /* 悬浮电影票根 */
    .ticket-strip {
      display: flex;
      gap: 15px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .mini-ticket {
      background: rgba(18, 18, 18, 0.7);
      border: 1px dashed var(--border-yellow);
      padding: 8px 16px;
      border-radius: 4px;
      font-size: 0.85rem;
      color: var(--accent-yellow);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .mini-ticket::before, .mini-ticket::after {
      content: '';
      display: block;
      width: 6px;
      height: 6px;
      background: var(--bg);
      border-radius: 50%;
    }
    .mini-ticket::before { margin-left: -19px; border-right: 1px solid var(--border-yellow); }
    .mini-ticket::after { margin-right: -19px; border-left: 1px solid var(--border-yellow); }

    /* 通用区块标题 */
    .section-title {
      font-size: 2.5rem;
      color: var(--text-main);
      margin-bottom: 10px;
      text-align: center;
    }
    .section-title span {
      color: var(--accent-red);
    }
    .section-subtitle {
      text-align: center;
      color: var(--text-sub);
      margin-bottom: 50px;
      font-size: 1rem;
    }
    section {
      padding: 80px 0;
      position: relative;
      z-index: 10;
    }

    /* 今夜上新 - 垂直时间轴 */
    .timeline-section {
      background: linear-gradient(to bottom, #000 0%, #050505 100%);
    }
    .timeline-track {
      position: relative;
      max-width: 800px;
      margin: 0 auto;
    }
    .timeline-track::before {
      content: '';
      position: absolute;
      top: 0;
      left: 30px;
      height: 100%;
      width: 2px;
      background: repeating-linear-gradient(to bottom, #333 0, #333 10px, transparent 10px, transparent 20px);
    }
    .timeline-item {
      display: flex;
      margin-bottom: 40px;
      position: relative;
      align-items: center;
    }
    .timeline-node {
      width: 60px;
      height: 60px;
      background: var(--card-bg);
      border: 2px solid #333;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 2;
      flex-shrink: 0;
      transition: all 0.5s;
    }
    .timeline-node .dot {
      width: 12px;
      height: 12px;
      background: #444;
      border-radius: 50%;
      transition: all 0.5s;
    }
    .timeline-item.active .timeline-node {
      border-color: var(--accent-red);
      box-shadow: 0 0 15px var(--accent-red);
    }
    .timeline-item.active .timeline-node .dot {
      background: var(--accent-yellow);
      box-shadow: 0 0 10px var(--accent-yellow);
    }
    .timeline-content {
      margin-left: 30px;
      background: var(--card-bg);
      border: 1px solid #222;
      border-radius: 8px;
      padding: 20px;
      display: flex;
      align-items: center;
      gap: 20px;
      flex: 1;
      transition: border-color 0.3s, transform 0.3s;
    }
    .timeline-content:hover {
      border-color: var(--border-yellow);
      transform: translateX(5px);
    }
    .timeline-date {
      color: var(--accent-yellow);
      font-weight: 700;
      font-size: 0.9rem;
      white-space: nowrap;
    }
    .timeline-img {
      width: 60px;
      height: 80px;
      object-fit: cover;
      border-radius: 4px;
      flex-shrink: 0;
    }
    .timeline-info h3 {
      font-size: 1.1rem;
      margin-bottom: 5px;
      color: #fff;
    }
    .timeline-info p {
      font-size: 0.85rem;
      color: var(--text-sub);
    }

    /* 午夜放映机 - 横向滚动 */
    .theater-section {
      overflow: hidden;
    }
    .horizontal-scroll {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding-bottom: 20px;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .horizontal-scroll::-webkit-scrollbar {
      display: none;
    }
    .movie-card {
      flex: 0 0 280px;
      scroll-snap-align: start;
      background: var(--card-bg);
      border: 1px solid #222;
      border-radius: 12px;
      overflow: hidden;
      transition: transform 0.4s, box-shadow 0.4s;
      transform-style: preserve-3d;
    }
    .movie-card:hover {
      transform: translateY(-10px) perspective(600px) rotateX(4deg);
      box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
      border-color: var(--border-red);
    }
    .movie-poster {
      width: 100%;
      height: 400px;
      object-fit: cover;
      border-bottom: 1px solid #222;
    }
    .movie-info {
      padding: 15px;
    }
    .movie-info h3 {
      font-size: 1.1rem;
      margin-bottom: 8px;
      color: #fff;
    }
    .movie-info p {
      font-size: 0.85rem;
      color: var(--text-sub);
    }
    .movie-tag {
      display: inline-block;
      background: rgba(250, 204, 21, 0.1);
      color: var(--accent-yellow);
      font-size: 0.75rem;
      padding: 2px 8px;
      border-radius: 4px;
      margin-bottom: 10px;
    }

    /* AI放映室 - 交互 */
    .ai-section {
      background: #080808;
      position: relative;
    }
    .ai-diagonal {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, transparent 40%, transparent 60%, rgba(250, 204, 21, 0.1) 100%);
      border: 1px solid #222;
      border-radius: 16px;
      padding: 40px;
      position: relative;
      overflow: hidden;
    }
    .ai-vote-box {
      background: rgba(0, 0, 0, 0.6);
      border: 1px solid #333;
      border-radius: 8px;
      padding: 25px;
    }
    .ai-vote-box h3 {
      color: var(--accent-yellow);
      margin-bottom: 20px;
    }
    .vote-option {
      display: block;
      width: 100%;
      background: transparent;
      border: 1px solid #444;
      color: #fff;
      padding: 12px 15px;
      border-radius: 6px;
      text-align: left;
      margin-bottom: 15px;
      cursor: pointer;
      transition: all 0.3s;
    }
    .vote-option:hover {
      background: rgba(250, 204, 21, 0.1);
      border-color: var(--accent-yellow);
    }
    .vote-option.selected {
      background: var(--accent-red);
      border-color: var(--accent-red);
    }
    
    .film-reel {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      border: 8px dashed #444;
      position: absolute;
      top: 20px;
      right: 20px;
      transition: transform 0.1s linear;
      opacity: 0.5;
    }
    .film-reel::before, .film-reel::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      background: #333;
      border-radius: 50%;
      transform: translate(-50%, -50%);
    }
    .film-reel::before { width: 40px; height: 40px; }
    .film-reel::after { width: 10px; height: 10px; background: #000; }

    .ai-data-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
      align-content: start;
    }
    .data-cell {
      background: #111;
      border: 1px solid #222;
      border-radius: 6px;
      height: 80px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      font-size: 0.8rem;
      color: var(--text-sub);
    }
    .data-cell strong {
      color: var(--accent-yellow);
      font-size: 1.2rem;
      display: block;
    }

    /* 午夜片库 - 手风琴 */
    .library-section {
      padding: 80px 0;
    }
    .accordion-container {
      display: flex;
      height: 450px;
      gap: 15px;
      max-width: 1000px;
      margin: 0 auto;
    }
    .accordion-item {
      flex: 1;
      background: var(--card-bg);
      border: 1px solid #222;
      border-radius: 12px;
      overflow: hidden;
      position: relative;
      transition: flex 0.5s ease, border-color 0.3s;
      cursor: pointer;
      display: flex;
      align-items: flex-end;
    }
    .accordion-item:hover {
      flex: 4;
      border-color: var(--border-yellow);
    }
    .accordion-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.6;
      transition: opacity 0.5s;
    }
    .accordion-item:hover .accordion-img {
      opacity: 0.3;
    }
    .accordion-content {
      position: relative;
      z-index: 2;
      padding: 30px 20px;
      width: 100%;
      background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    }
    .accordion-title {
      font-size: 1.5rem;
      color: #fff;
      white-space: nowrap;
      transform-origin: left bottom;
      transition: transform 0.3s;
    }
    .accordion-item:hover .accordion-title {
      color: var(--accent-yellow);
    }
    .accordion-desc {
      opacity: 0;
      max-height: 0;
      overflow: hidden;
      transition: all 0.4s;
      color: var(--text-sub);
      font-size: 0.9rem;
      margin-top: 10px;
    }
    .accordion-item:hover .accordion-desc {
      opacity: 1;
      max-height: 100px;
    }

    /* 午夜票房榜 - 错落布局 */
    .ranking-section {
      padding-bottom: 100px;
    }
    .ranking-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      grid-template-rows: auto auto;
      gap: 20px;
      max-width: 1000px;
      margin: 0 auto;
    }
    .rank-card {
      background: var(--card-bg);
      border: 1px solid #222;
      border-right: 3px dashed var(--border-red);
      border-radius: 8px;
      padding: 20px;
      display: flex;
      align-items: center;
      gap: 20px;
      transition: transform 0.3s, border-color 0.3s;
    }
    .rank-card:hover {
      transform: translateX(-5px);
      border-color: var(--border-yellow);
    }
    .rank-1 { grid-column: 1 / 2; grid-row: 1 / 3; flex-direction: column; text-align: center; justify-content: center; }
    .rank-1 .rank-img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; margin-bottom: 15px; }
    .rank-1 h3 { font-size: 1.8rem; color: var(--accent-yellow); }
    
    .rank-grid-small {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .rank-small-card {
      background: var(--card-bg);
      border: 1px solid #222;
      border-right: 2px dashed var(--border-yellow);
      border-radius: 8px;
      padding: 15px;
      display: flex;
      align-items: center;
      gap: 15px;
      transition: transform 0.3s;
    }
    .rank-small-card:hover {
      transform: translateX(-5px);
    }
    .rank-small-card img {
      width: 80px;
      height: 110px;
      object-fit: cover;
      border-radius: 4px;
    }
    .rank-small-card h3 { font-size: 1.2rem; color: #fff; }
    .rank-small-card .rank-num { color: var(--accent-red); font-weight: bold; font-size: 1.2rem; }

    .rank-list {
      grid-column: 2 / 3;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    .rank-list-item {
      background: #0a0a0a;
      border: 1px solid #222;
      border-radius: 6px;
      padding: 12px 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background 0.3s;
    }
    .rank-list-item:hover {
      background: #1a1a1a;
    }
    .rank-list-item span { color: var(--text-sub); font-size: 0.9rem; }
    .rank-list-item h3 { font-size: 1rem; color: #fff; margin: 0; }

    /* 影院守则 - 悬停展开 */
    .rules-section {
      padding: 80px 0;
      background: linear-gradient(to bottom, #000 0%, #050505 100%);
    }
    .rule-bar {
      background: var(--card-bg);
      border: 1px solid #222;
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
      transition: all 0.4s;
    }
    .rule-header {
      padding: 20px 30px;
      display: flex;
      align-items: center;
      gap: 20px;
      cursor: pointer;
      position: relative;
      z-index: 2;
    }
    .rule-icon {
      color: var(--accent-yellow);
      font-size: 1.5rem;
    }
    .rule-title {
      font-size: 1.2rem;
      font-weight: 600;
      color: #fff;
    }
    .rule-desc {
      max-height: 0;
      opacity: 0;
      padding: 0 30px;
      color: var(--text-sub);
      transition: all 0.4s ease;
      transform: translateX(-20px);
    }
    .rule-bar:hover {
      border-color: var(--border-yellow);
      background: #181818;
    }
    .rule-bar:hover .rule-desc {
      max-height: 100px;
      opacity: 1;
      padding-bottom: 20px;
      transform: translateX(0);
    }

    /* 下载与FAQ */
    .download-section {
      padding: 80px 0;
    }
    .download-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: start;
    }
    .download-left h2 {
      font-size: 3rem;
      line-height: 1.2;
      margin-bottom: 30px;
    }
    .btn-store {
      display: flex;
      align-items: center;
      gap: 12px;
      background: #fff;
      color: #000;
      text-decoration: none;
      padding: 12px 24px;
      border-radius: 8px;
      font-weight: 600;
      margin-bottom: 15px;
      transition: transform 0.3s;
    }
    .btn-store:hover {
      transform: scale(1.02);
    }
    .btn-store svg {
      width: 24px;
      height: 24px;
    }
    
    .faq-list {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    .faq-item {
      border-bottom: 1px solid #333;
      padding-bottom: 15px;
    }
    .faq-question {
      background: none;
      border: none;
      color: #fff;
      font-size: 1.1rem;
      text-align: left;
      width: 100%;
      padding: 10px 0;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .faq-question::after {
      content: '+';
      color: var(--accent-yellow);
      font-size: 1.2rem;
    }
    .faq-item.open .faq-question::after {
      content: '-';
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-sub);
      font-size: 0.95rem;
      line-height: 1.6;
    }
    .faq-item.open .faq-answer {
      max-height: 150px;
      padding-top: 10px;
    }

    /* 页脚 */
    footer {
      background: #050505;
      border-top: 1px solid #1a1a1a;
      padding: 60px 0 20px;
      position: relative;
      z-index: 10;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
      margin-bottom: 40px;
    }
    .footer-col h4 {
      color: var(--accent-yellow);
      margin-bottom: 15px;
      font-size: 1rem;
    }
    .footer-col a {
      display: block;
      color: #6b7280;
      text-decoration: none;
      font-size: 0.9rem;
      margin-bottom: 10px;
      transition: color 0.3s;
    }
    .footer-col a:hover {
      color: var(--accent-red);
    }
    .footer-bottom {
      border-top: 1px solid #1a1a1a;
      padding-top: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      font-size: 0.8rem;
      color: #555;
      text-align: center;
      position: relative;
    }
    .footer-bottom::before {
      content: '';
      position: absolute;
      top: -1px;
      left: 0;
      width: 100%;
      height: 1px;
      background: linear-gradient(to right, var(--accent-red), var(--accent-yellow), transparent);
    }
    .footer-bottom a {
      color: #555;
      text-decoration: none;
    }
    .footer-bottom a:hover {
      color: var(--accent-yellow);
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      .ai-diagonal { grid-template-columns: 1fr; }
      .ranking-grid { grid-template-columns: 1fr; }
      .rank-1 { grid-row: auto; }
      .rank-grid-small { flex-direction: row; }
      .rank-list { grid-column: 1 / 2; }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hero h1 { font-size: 3rem; }
      .hero-actions { flex-direction: column; width: 100%; max-width: 300px; }
      .timeline-track::before { left: 20px; }
      .timeline-node { width: 40px; height: 40px; }
      .timeline-content { flex-direction: column; align-items: flex-start; }
      .accordion-container { flex-direction: column; height: auto; }
      .accordion-item { height: 120px; align-items: center; justify-content: center; }
      .accordion-item:hover { flex: 1; }
      .accordion-desc { display: none; }
      .rank-grid-small { flex-direction: column; }
      .download-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }