:root {
  --primary: #e50914;
  --accent: #f5c518;
  --bg: #0b0b0f;
  --text: #f5f5f7;
  --card-bg: #16161d;
  --border: #2a2a33;
  --shadow: 8px 8px 0 rgba(0,0,0,0.6);
}
* { border-radius: 0 !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
h1,h2,h3,h4,.navbar-brand { font-weight: 900; letter-spacing: 0.5px; }
h2 { font-size: 1.6rem; margin-bottom: 1rem; border-left: 6px solid var(--accent); padding-left: 12px; }
p { color: #b0b0b8; }
a { text-decoration: none; color: inherit; }
.navbar {
  background: rgba(11,11,15,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border);
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  z-index: 999;
}
.navbar.scrolled {
  background: rgba(11,11,15,0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.navbar-brand { font-size: 1.4rem; color: var(--text) !important; }
.navbar-brand i { color: var(--accent); margin-right: 6px; }
.nav-link { font-weight: 600; color: #ccc !important; padding: 0.6rem 1rem !important; }
.nav-link:hover { color: var(--accent) !important; }
.navbar-toggler { border-color: var(--border); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='%23f5c518' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('{随机图片}') center/cover no-repeat, linear-gradient(145deg, #0b0b0f 0%, #1a1a24 100%);
  border-bottom: 4px solid var(--primary);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,15,0.3) 0%, rgba(11,11,15,0.7) 70%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--text);
  text-shadow: 4px 4px 0 rgba(0,0,0,0.7);
  min-height: 3.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: pre-wrap;
}
.hero .lead { font-size: 1.1rem; color: #ccc; margin-top: 1rem; }
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 6px 16px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.section-block { padding: 4rem 0; border-bottom: 2px solid var(--border); }
.section-alt { background: #0e0e14; }
.cat-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  padding: 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.2s;
}
.cat-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(0,0,0,0.6); border-color: var(--accent); }
.cat-card i { font-size: 2rem; color: var(--accent); display: block; margin-bottom: 8px; }
.cat-card span { font-weight: 700; font-size: 1rem; }

.movie-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s;
}
.movie-card.visible { opacity: 1; transform: translateY(0); }
.movie-card:hover { box-shadow: 6px 6px 0 rgba(229,9,20,0.3); border-color: var(--accent); }
.movie-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/3;
  background: #1e1e28;
}
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.movie-card:hover .movie-poster img { transform: scale(1.05); }
.movie-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 50%);
  opacity: 0.6;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn {
  width: 56px;
  height: 56px;
  background: rgba(229,9,20,0.9);
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s;
}
.movie-card:hover .play-btn { opacity: 1; transform: scale(1); }
.movie-card:hover .movie-overlay { opacity: 0.9; }
.movie-info { padding: 0.8rem; }
.movie-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movie-meta { font-size: 0.75rem; color: #888; display: flex; justify-content: space-between; }
.movie-rating { color: var(--accent); font-weight: 700; font-family: 'Courier New', monospace; }

.rank-list {
  background: var(--card-bg);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}
.rank-item {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: rgba(245,197,24,0.05); }
.rank-num {
  font-family: 'Courier New', monospace;
  font-weight: 900;
  font-size: 1.2rem;
  width: 40px;
  color: var(--accent);
}
.rank-poster {
  width: 45px;
  height: 60px;
  background: #1e1e28;
  margin-right: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.rank-poster img { width: 100%; height: 100%; object-fit: cover; }
.rank-name { font-weight: 600; font-size: 0.9rem; flex: 1; }
.rank-score { color: var(--accent); font-family: 'Courier New', monospace; font-weight: 700; }

.feature-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--primary); }
.feature-card i { color: var(--accent); font-size: 2rem; margin-bottom: 10px; display: block; }
.feature-card h5 { font-weight: 800; }
.feature-card p { font-size: 0.85rem; margin-bottom: 0; }

.special-banner {
  background: linear-gradient(135deg, #1a1a24 0%, #0e0e14 100%);
  border: 3px solid var(--accent);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.special-banner::after {
  content: '★';
  position: absolute;
  right: 20px;
  bottom: -20px;
  font-size: 6rem;
  color: rgba(245,197,24,0.1);
}

.step-box {
  background: var(--card-bg);
  border: 2px solid var(--border);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  height: 100%;
}
.step-num {
  font-family: 'Courier New', monospace;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}
.step-box h6 { font-weight: 700; margin-bottom: 6px; }
.step-box p { font-size: 0.8rem; margin: 0; }

.friend-links {
  background: #0e0e14;
  border-top: 2px solid var(--border);
  padding: 2rem 0;
}
.friend-links h3 { font-size: 1rem; font-weight: 700; color: var(--accent); margin-bottom: 1rem; }
.friend-links a { color: #888; margin-right: 1.5rem; font-size: 0.85rem; }
.friend-links a:hover { color: var(--accent); }

footer {
  background: #06060a;
  padding: 3rem 0 2rem;
  border-top: 3px solid var(--primary);
}
footer h5 { font-weight: 800; margin-bottom: 1rem; }
footer a { color: #888; font-size: 0.85rem; display: block; margin-bottom: 0.4rem; }
footer a:hover { color: var(--accent); }
.copyright { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: 1.5rem; color: #666; font-size: 0.8rem; }

.modal-content {
  background: var(--card-bg);
  border: 2px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  border-radius: 0 !important;
}
.modal-header { border-bottom: 2px solid var(--border); }
.modal-title { font-weight: 800; }
.modal-body { padding: 1.5rem; }
.modal-poster { width: 100%; border: 2px solid var(--border); box-shadow: 4px 4px 0 rgba(0,0,0,0.4); }
.movie-detail-info { font-size: 0.9rem; }
.movie-detail-info strong { color: var(--accent); font-weight: 700; }
.plot-text { color: #b0b0b8; font-size: 0.85rem; margin-top: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
.btn-close { filter: invert(1); }

.typewriter-cursor { color: var(--accent); font-weight: 300; animation: blink 0.8s infinite; }
@keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

@media (max-width: 768px) {
  .section-block { padding: 2.5rem 0; }
  .hero { min-height: 60vh; }
  .navbar-nav { background: rgba(11,11,15,0.98); padding: 1rem; border: 1px solid var(--border); }
}

/* --- 子页面追加 --- */
/* 本页专属样式:覆盖 Bootstrap 默认白底黑字,并补充少量页面独有样式 */
    .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
      background: var(--card-bg);
      color: var(--text);
      border-color: var(--border);
    }
.form-control, .form-select {
      background: rgba(0,0,0,.35);
      color: var(--text);
      border-color: var(--border);
    }
.form-control::placeholder { color: rgba(255,255,255,.45); }
.form-label { color: var(--text); }
.table, .list-group-item, .accordion-item, .accordion-button, .accordion-body,
    .modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item {
      background: var(--card-bg);
      color: var(--text);
      border-color: var(--border);
    }
.accordion-button:not(.collapsed) {
      background: rgba(229, 9, 20, .15);
      color: var(--text);
    }
.nav-link:hover, .nav-link.active { color: var(--accent); }
/* 关于页专属 */
    .about-hero {
      padding: 80px 0 50px;
      text-align: center;
      border-bottom: 1px solid var(--border);
    }
.about-hero h1 {
      font-size: 2.8rem;
      font-weight: 900;
      color: var(--text);
      margin-bottom: 15px;
    }
.about-hero h1 span { color: var(--primary); }
.about-hero p { color: rgba(255,255,255,.7); max-width: 700px; margin: 0 auto; font-size: 1.1rem; }
.about-section { padding: 50px 0; }
.about-section h2 {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--accent);
      margin-bottom: 25px;
      border-left: 4px solid var(--primary);
      padding-left: 15px;
    }
.about-section p, .about-section li { color: rgba(255,255,255,.8); line-height: 1.8; }
.about-section ul { list-style: none; padding: 0; }
.about-section li { padding: 6px 0; }
.about-section li i { color: var(--primary); margin-right: 10px; }
.stat-box {
      background: var(--card-bg);
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      padding: 25px;
      text-align: center;
      border-radius: 8px;
      transition: transform .2s;
    }
.stat-box:hover { transform: translateY(-4px); }
.stat-box .num { font-size: 2.5rem; font-weight: 900; color: var(--primary); }
.stat-box .label { color: rgba(255,255,255,.7); margin-top: 8px; font-size: .95rem; }
.about-mid { background: var(--card-bg); border: 1px solid var(--border); box-shadow: var(--shadow); padding: 30px; border-radius: 8px; }
.about-mid h3 { color: var(--accent); font-weight: 700; margin-bottom: 15px; font-size: 1.3rem; }
.about-mid h3 i { margin-right: 8px; color: var(--primary); }
.about-mid p { margin-bottom: 15px; }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件默认白底，保持深色风格 */
    .card, .card-body {
      background: var(--card-bg);
      color: var(--text);
      border: 1px solid var(--border);
      border-radius: 14px;
      box-shadow: var(--shadow);
    }
.card-title {
      color: var(--accent);
      font-weight: 700;
    }
.card-text {
      color: var(--text);
      opacity: 0.9;
    }
.list-group-item {
      background: var(--card-bg);
      color: var(--text);
      border-color: var(--border);
    }
.form-control:focus, .form-select:focus {
      background: rgba(0,0,0,.5);
      color: var(--text);
      border-color: var(--primary);
      box-shadow: none;
    }
/* 本页列表/段落细节 */
    .disclaimer-section {
      margin-bottom: 2.8rem;
    }
.disclaimer-section h2 {
      font-weight: 800;
      font-size: 1.7rem;
      letter-spacing: -0.01em;
      border-left: 6px solid var(--primary);
      padding-left: 1rem;
      margin-bottom: 1.5rem;
      color: var(--text);
    }
.disclaimer-section h3 {
      font-weight: 700;
      font-size: 1.25rem;
      color: var(--accent);
      margin-top: 1.5rem;
      margin-bottom: 0.8rem;
    }
.disclaimer-section p, .disclaimer-section li {
      color: rgba(245,245,247,.85);
      line-height: 1.7;
    }
.disclaimer-section ul {
      padding-left: 1.2rem;
    }
.highlight-box {
      background: rgba(229,9,20,.08);
      border-left: 4px solid var(--primary);
      padding: 1.2rem 1.5rem;
      border-radius: 0 12px 12px 0;
      margin: 2rem 0;
    }
.footer-links a {
      color: var(--text);
      text-decoration: none;
      margin-right: 1.5rem;
      opacity: 0.8;
      transition: 0.2s;
    }
.footer-links a:hover {
      opacity: 1;
      color: var(--accent);
    }

/* --- 子页面追加 --- */
.privacy-hero {
            padding: 60px 0 40px;
            border-bottom: 1px solid var(--border);
        }
.privacy-hero h1 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 15px;
        }
.privacy-hero .last-updated {
            color: rgba(245,245,247,.6);
            font-size: .9rem;
            margin-bottom: 20px;
        }
.privacy-content {
            padding: 40px 0 60px;
        }
.privacy-section {
            margin-bottom: 40px;
        }
.privacy-section h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 18px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--border);
        }
.privacy-section h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text);
            margin: 20px 0 12px;
        }
.privacy-section p {
            color: rgba(245,245,247,.85);
            line-height: 1.8;
            margin-bottom: 15px;
        }
.privacy-section ul {
            padding-left: 20px;
            margin-bottom: 15px;
        }
.privacy-section ul li {
            color: rgba(245,245,247,.85);
            line-height: 1.8;
            margin-bottom: 8px;
            position: relative;
            padding-left: 10px;
        }
.privacy-section ul li::before {
            content: "▸";
            position: absolute;
            left: -12px;
            color: var(--accent);
        }
.highlight-box p {
            margin-bottom: 0;
        }
.contact-info {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 25px;
            margin-top: 20px;
        }
.contact-info h3 {
            margin-top: 0;
        }
.contact-info p {
            margin-bottom: 8px;
        }
.contact-info i {
            color: var(--accent);
            margin-right: 10px;
        }