:root {
    --bg: #000000;
    --card: #121212;
    --yellow: #facc15;
    --red: #dc2626;
    --text: #e5e5e5;
    --muted: #a3a3a3;
    --border: #262626;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }

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

  /* 首屏 Hero */
  .hero {
    position: relative;
    padding: 160px 20px 80px;
    text-align: center;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .spotlight {
    position: absolute;
    top: -20%;
    width: 300px;
    height: 150%;
    background: radial-gradient(ellipse at top, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
    transform-origin: top center;
    pointer-events: none;
    z-index: 0;
  }
  .spotlight.left { left: 10%; animation: swing 8s ease-in-out infinite alternate; }
  .spotlight.right { right: 10%; animation: swing 8s ease-in-out infinite alternate-reverse; }
  @keyframes swing {
    0% { transform: rotate(-15deg); }
    100% { transform: rotate(15deg); }
  }
  .hero h1 {
    position: relative;
    z-index: 1;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
  }
  .hero h1 span { color: var(--yellow); text-shadow: 0 0 20px rgba(250, 204, 21, 0.5); }
  .hero p {
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
  }
  .hero-cta {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
  }
  .btn-primary {
    background-color: var(--yellow);
    color: #000;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 5px 20px rgba(250, 204, 21, 0.4); }
  .btn-outline {
    background-color: transparent;
    color: var(--yellow);
    border: 1px solid var(--yellow);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.2s;
  }
  .btn-outline:hover { background-color: rgba(250, 204, 21, 0.1); }

  .ticket-row {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .ticket {
    background: rgba(18, 18, 18, 0.8);
    border: 1px dashed rgba(250, 204, 21, 0.4);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--yellow);
  }

  /* 通用区块 */
  .section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .section-title {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 40px;
    border-left: 4px solid var(--red);
    padding-left: 15px;
  }
  .section-title span { color: var(--yellow); }

  /* 剧场上新 - 纵向时间轴 */
  .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
  }
  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 2px;
    background: var(--border);
  }
  .timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 40px;
    padding-left: 80px;
  }
  .timeline-item::before {
    content: '';
    position: absolute;
    left: 34px;
    top: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #333;
    border: 2px solid var(--border);
    transition: all 0.3s;
    z-index: 2;
  }
  .timeline-item.active::before {
    background: var(--red);
    border-color: var(--yellow);
    box-shadow: 0 0 10px var(--yellow);
  }
  .timeline-date {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 1.2rem;
    color: var(--yellow);
    margin-bottom: 5px;
  }
  .timeline-content {
    background: var(--card);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    transition: border-color 0.3s;
  }
  .timeline-item:hover .timeline-content { border-color: var(--red); }
  .timeline-content img { width: 60px; height: 80px; object-fit: cover; border-radius: 4px; }
  .timeline-info h3 { font-size: 1.1rem; color: #fff; margin-bottom: 5px; }
  .timeline-info p { font-size: 0.9rem; color: var(--muted); }

  /* 午夜放映机 - 横向滚动 */
  .scroll-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .scroll-wrapper::-webkit-scrollbar { display: none; }
  .movie-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    text-align: center;
    padding-bottom: 15px;
    transform: perspective(600px) rotateX(0deg);
  }
  .movie-card:hover {
    transform: perspective(600px) rotateX(5deg) translateY(-5px);
    border-color: var(--yellow);
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.2);
  }
  .movie-card img { width: 100%; height: 300px; object-fit: cover; border-bottom: 1px solid var(--border); }
  .movie-card h4 { font-size: 1rem; margin: 15px 10px 5px; color: #fff; }
  .movie-card p { font-size: 0.85rem; color: var(--muted); }

  /* AI放映室 */
  .ai-section {
    background: linear-gradient(135deg, rgba(220,38,38,0.1) 0%, transparent 50%, rgba(250,204,21,0.05) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 20px;
  }
  .ai-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
  }
  .ai-left, .ai-right { flex: 1; }
  .ai-left h2 { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2.5rem; color: var(--yellow); margin-bottom: 20px; }
  .ai-left p { color: var(--muted); margin-bottom: 30px; }
  .vote-box {
    background: var(--card);
    border: 1px solid var(--red);
    border-radius: 8px;
    padding: 20px;
  }
  .vote-option {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    margin-bottom: 10px;
    background: #1a1a1a;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
  }
  .vote-option:hover { border-color: var(--yellow); background: #222; }
  .vote-option span { color: var(--yellow); font-weight: 600; }
  .film-reel {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px dashed var(--red);
    margin: 0 auto;
    transition: transform 0.5s ease-out;
    position: relative;
    background: radial-gradient(circle, transparent 20%, rgba(220,38,38,0.1) 100%);
  }
  .film-reel::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 20px; height: 20px;
    background: var(--yellow);
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }

  /* 片库分类 - 手风琴 */
  .library-flex {
    display: flex;
    height: 400px;
    gap: 10px;
  }
  .lib-item {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: flex 0.4s ease, border-color 0.3s;
    border: 1px solid var(--border);
    background: var(--card);
    cursor: pointer;
  }
  .lib-item:hover {
    flex: 3;
    border-color: var(--red);
  }
  .lib-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity 0.3s;
  }
  .lib-item:hover .lib-bg { opacity: 0.6; }
  .lib-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
  }
  .lib-content h3 { color: var(--yellow); font-size: 1.5rem; margin-bottom: 20px; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
  .lib-list { display: none; }
  .lib-item:hover .lib-list { display: block; }
  .lib-list li { color: #fff; font-size: 0.9rem; margin-bottom: 10px; background: rgba(0,0,0,0.5); padding: 5px 10px; border-radius: 4px; }

  /* 票根榜单 */
  .ranking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .rank-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-right: 2px dashed var(--border);
    position: relative;
  }
  .rank-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    flex-direction: column;
    text-align: center;
    border-right: none;
    border-bottom: 2px dashed var(--border);
  }
  .rank-1 img { width: 100%; height: 250px; object-fit: cover; border-radius: 6px; }
  .rank-card img { width: 60px; height: 80px; object-fit: cover; border-radius: 4px; }
  .rank-num {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 2rem;
    color: var(--yellow);
    opacity: 0.5;
  }
  .rank-1 .rank-num { position: absolute; top: 10px; left: 10px; font-size: 4rem; color: var(--red); opacity: 0.8; }
  .rank-info h4 { color: #fff; margin-bottom: 5px; }
  .rank-info p { font-size: 0.85rem; color: var(--muted); }

  /* 影院规则 */
  .rule-bar {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer;
  }
  .rule-bar:hover {
    transform: translateX(10px);
    border-color: var(--yellow);
  }
  .rule-icon { font-size: 1.5rem; }
  .rule-title { font-weight: 600; color: #fff; min-width: 100px; }
  .rule-desc {
    color: var(--muted);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
  }
  .rule-bar:hover .rule-desc { opacity: 1; transform: translateX(0); }

  /* 下载与FAQ */
  .download-section {
    display: flex;
    gap: 50px;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
  }
  .dl-left, .dl-right { flex: 1; }
  .dl-left h2 { font-size: 3rem; font-family: 'Bebas Neue', Impact, sans-serif; color: #fff; margin-bottom: 20px; }
  .dl-btns { display: flex; gap: 15px; }
  .dl-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #000;
    border-radius: 6px;
    font-weight: 600;
    transition: opacity 0.2s;
  }
  .dl-btn:hover { opacity: 0.8; }
  .faq-item {
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
  }
  .faq-q {
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .faq-a {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 10px;
    display: none;
  }
  .faq-item.open .faq-a { display: block; }
  .faq-item.open .faq-q { color: var(--yellow); }

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

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .ai-container { flex-direction: column; }
    .ranking-grid { grid-template-columns: 1fr; }
    .rank-1 { grid-row: auto; }
    .download-section { flex-direction: column; }
    .library-flex { flex-direction: column; height: auto; }
    .lib-item { height: 120px; }
    .lib-item:hover { flex: 1; }
    .lib-list { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
    .lib-item:hover .lib-list { display: flex; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 50px; }
    .timeline-item::before { left: 14px; }
    .hero-cta { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
  }