:root {
  --primary: #dc2626;
  --accent: #fb923c;
  --bg-dark: #141013;
  --text-light: #fef2f2;
  --card-bg: #1f1a1f;
  --border-light: rgba(254, 242, 242, 0.1);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.3);
}
* { box-sizing: border-box; }
body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}
a { color: var(--text-light); text-decoration: none; }
a:hover { color: var(--accent); }
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  transition: width 0.1s ease;
}
.navbar {
  background: rgba(20, 16, 19, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.6rem 0;
}
.navbar-brand {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--text-light);
}
.navbar-brand i { color: var(--primary); margin-right: 4px; }
.navbar .nav-link {
  color: rgba(254, 242, 242, 0.85);
  font-weight: 500;
  margin: 0 6px;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.navbar .nav-link:hover { color: var(--accent); }
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(20,16,19,0.85) 0%, rgba(20,16,19,0.4) 100%), url("{随机图片}") center/cover no-repeat;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}
.hero p {
  font-size: 1.2rem;
  color: rgba(254, 242, 242, 0.9);
  max-width: 600px;
  margin: 1rem auto;
}
.hero .btn-hero {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: all 0.3s;
  display: inline-block;
}
.hero .btn-hero:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(251, 146, 60, 0.3);
}
.section {
  padding: 4rem 0;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
}
.section-sub {
  color: rgba(254, 242, 242, 0.7);
  margin-bottom: 2rem;
}
.movie-card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  height: 100%;
}
.movie-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(220, 38, 38, 0.5);
}
.movie-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/3;
}
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.movie-card:hover .movie-poster img { transform: scale(1.05); }
.quality-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.score-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.movie-info {
  padding: 12px 14px;
}
.movie-title {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.movie-meta {
  color: rgba(254, 242, 242, 0.6);
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
}
.horizontal-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--card-bg);
}
.horizontal-scroll::-webkit-scrollbar { height: 6px; }
.horizontal-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.horizontal-scroll .movie-card { min-width: 160px; max-width: 160px; }
.hot-list .list-group-item {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  color: var(--text-light);
  padding: 14px 16px;
  margin-bottom: 8px;
  border-radius: 8px !important;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hot-list .list-group-item:hover {
  background: rgba(220, 38, 38, 0.15);
  transform: translateX(6px);
  border-color: var(--primary);
}
.hot-rank {
  font-weight: 900;
  color: var(--accent);
  font-size: 1.2rem;
  width: 30px;
  text-align: center;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(220, 38, 38, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  margin-right: 14px;
  flex-shrink: 0;
}
.accordion-item {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  margin-bottom: 10px;
  border-radius: 8px !important;
}
.accordion-button {
  background: var(--card-bg);
  color: var(--text-light);
  font-weight: 600;
  padding: 16px;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: rgba(220, 38, 38, 0.15);
  color: var(--accent);
}
.accordion-button::after {
  filter: invert(0.8);
}
.accordion-body {
  padding: 16px;
  color: rgba(254, 242, 242, 0.85);
  border-top: 1px solid var(--border-light);
}
.friend-links {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-light);
  padding: 3rem 0;
}
.friend-links h4 { margin-bottom: 1.5rem; font-weight: 700; }
.friend-links .links-row { display: flex; flex-wrap: wrap; gap: 12px; }
.footer {
  background: #0d0a0d;
  border-top: 1px solid var(--border-light);
  padding: 2rem 0;
  text-align: center;
  color: rgba(254, 242, 242, 0.6);
}
.flip-card {
  perspective: 1000px;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}
.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
}
.flip-back {
  transform: rotateY(180deg);
  background: var(--card-bg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border-light);
}
.flip-back h5 { font-weight: 800; margin-bottom: 8px; color: var(--accent); }
.flip-back p { font-size: 0.8rem; margin-bottom: 6px; color: rgba(254,242,242,0.9); }
.close-flip {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  z-index: 10;
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero { min-height: 60vh; }
  .section { padding: 2.5rem 0; }
  .navbar-collapse { background: rgba(20,16,19,0.98); padding: 10px; border-radius: 8px; }
}

/* --- 子页面追加 --- */
/* 关于我们页面专属补充样式 —— 仅补充,主样式继承站点 style.css */
    .about-hero {
      background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(20, 16, 19, 0.9) 100%), var(--bg-dark);
      padding: 100px 0 60px;
      border-bottom: 1px solid var(--border-light);
    }
.about-hero h1 {
      color: var(--text-light);
      font-weight: 800;
      font-size: 2.8rem;
      letter-spacing: -0.02em;
      margin-bottom: 20px;
    }
.about-hero h1 span {
      color: var(--primary);
    }
.about-hero .lead {
      color: rgba(254, 242, 242, 0.8);
      font-size: 1.15rem;
      max-width: 720px;
      line-height: 1.8;
    }
.about-section {
      padding: 70px 0;
      border-bottom: 1px solid var(--border-light);
    }
.about-section:last-of-type {
      border-bottom: none;
    }
.about-section h2 {
      color: var(--text-light);
      font-weight: 700;
      font-size: 1.9rem;
      margin-bottom: 30px;
      position: relative;
      padding-bottom: 15px;
    }
.about-section h2::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 60px;
      height: 3px;
      background: var(--primary);
      border-radius: 2px;
    }
.about-section h3 {
      color: var(--text-light);
      font-weight: 600;
      font-size: 1.3rem;
      margin: 30px 0 15px;
    }
.about-section p {
      color: rgba(254, 242, 242, 0.75);
      line-height: 1.9;
      font-size: 1.02rem;
      margin-bottom: 18px;
    }
.about-section ul {
      color: rgba(254, 242, 242, 0.75);
      line-height: 2;
      padding-left: 20px;
    }
.about-section li {
      margin-bottom: 8px;
    }
.about-section li::marker {
      color: var(--primary);
    }
.about-section strong {
      color: var(--text-light);
      font-weight: 600;
    }
.about-card {
      background: var(--card-bg);
      border: 1px solid var(--border-light);
      border-radius: 16px;
      padding: 28px 24px;
      height: 100%;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
.about-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-card);
    }
.about-card .icon-wrap {
      width: 52px;
      height: 52px;
      background: rgba(220, 38, 38, 0.12);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 18px;
    }
.about-card .icon-wrap i {
      color: var(--primary);
      font-size: 1.4rem;
    }
.about-card h4 {
      color: var(--text-light);
      font-weight: 600;
      font-size: 1.15rem;
      margin-bottom: 12px;
    }
.about-card p {
      color: rgba(254, 242, 242, 0.7);
      font-size: 0.95rem;
      line-height: 1.8;
      margin: 0;
    }
.about-quote {
      background: rgba(220, 38, 38, 0.08);
      border-left: 3px solid var(--primary);
      padding: 24px 28px;
      border-radius: 0 12px 12px 0;
      margin: 30px 0;
    }
.about-quote p {
      font-style: italic;
      color: rgba(254, 242, 242, 0.9);
      font-size: 1.1rem;
      margin: 0;
      line-height: 1.8;
    }
.about-quote .author {
      display: block;
      margin-top: 12px;
      color: var(--accent);
      font-style: normal;
      font-weight: 500;
      font-size: 0.95rem;
    }
.stats-row {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      margin: 40px 0;
    }
.stat-item {
      flex: 1;
      min-width: 140px;
      text-align: center;
      background: var(--card-bg);
      border: 1px solid var(--border-light);
      border-radius: 12px;
      padding: 24px 16px;
    }
.stat-item .num {
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--primary);
      line-height: 1.2;
    }
.stat-item .label {
      color: rgba(254, 242, 242, 0.7);
      font-size: 0.9rem;
      margin-top: 8px;
    }
.about-hero { padding: 60px 0 40px; }
.about-hero h1 { font-size: 2rem; }
.about-section { padding: 50px 0; }
.about-section h2 { font-size: 1.5rem; }
.stats-row { gap: 12px; }
.stat-item { min-width: 100px; padding: 16px 10px; }
.stat-item .num { font-size: 1.6rem; }

/* --- 子页面追加 --- */
/* 确保任何潜在的 Bootstrap 白底被覆盖 */
        .card, .card-body, .list-group-item, .accordion-item, .accordion-button, .accordion-body {
            background: var(--card-bg);
            color: var(--text-light);
            border-color: var(--border-light);
        }
/* 微调标题颜色 */
        .legal-section h2 {
            color: var(--accent);
            border-left: 4px solid var(--primary);
            padding-left: 1rem;
        }
.legal-section h3 {
            color: var(--text-light);
            font-weight: 600;
            margin-top: 2rem;
        }
.legal-section a {
            color: var(--accent);
        }
.legal-section a:hover {
            color: var(--primary);
        }
/* 小卡片点缀 */
        .info-box {
            background: rgba(220, 38, 38, 0.08);
            border: 1px solid rgba(251, 146, 60, 0.3);
            border-radius: 12px;
            padding: 1.25rem 1.5rem;
            margin: 1.5rem 0;
        }

/* --- 子页面追加 --- */
.privacy-hero {
      background: linear-gradient(145deg, rgba(220,38,38,.12) 0%, rgba(251,146,60,.05) 100%);
      border-bottom: 1px solid var(--border-light);
      padding: 4rem 0 2.5rem;
      margin-bottom: 2rem;
    }
.privacy-hero h1 {
      font-weight: 800;
      letter-spacing: -0.02em;
    }
.privacy-hero .lead {
      color: rgba(254,242,242,.7);
      max-width: 720px;
    }
.privacy-section {
      padding: 1.5rem 0 2rem;
    }
.privacy-card {
      background: var(--card-bg);
      border: 1px solid var(--border-light);
      border-radius: 1rem;
      padding: 1.8rem 2rem;
      margin-bottom: 1.8rem;
      box-shadow: var(--shadow-card);
      transition: transform .2s ease, border-color .2s;
    }
.privacy-card:hover {
      border-color: rgba(220,38,38,.35);
      transform: translateY(-2px);
    }
.privacy-card h2 {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text-light);
      display: flex;
      align-items: center;
      gap: .75rem;
      margin-bottom: 1.2rem;
      border-left: 4px solid var(--primary);
      padding-left: 1rem;
    }
.privacy-card h2 i {
      color: var(--accent);
      font-size: 1.3rem;
      width: 1.8rem;
    }
.privacy-card p, .privacy-card li {
      color: rgba(254,242,242,.8);
      line-height: 1.8;
      font-size: .98rem;
    }
.privacy-card ul, .privacy-card ol {
      padding-left: 1.2rem;
      margin: .8rem 0;
    }
.privacy-card li {
      margin-bottom: .5rem;
    }
.privacy-card strong {
      color: var(--text-light);
      font-weight: 600;
    }
.privacy-card .tag {
      background: rgba(220,38,38,.15);
      border-radius: 4px;
      padding: .15rem .6rem;
      font-size: .8rem;
      color: var(--accent);
      font-weight: 500;
      margin-left: .4rem;
    }
.privacy-updated {
      font-size: .9rem;
      color: rgba(254,242,242,.5);
      border-bottom: 1px dashed var(--border-light);
      padding-bottom: 1rem;
      margin-bottom: 2rem;
    }
.friend-links a {
      color: rgba(254,242,242,.6);
      text-decoration: none;
      transition: color .2s;
    }
.friend-links a:hover {
      color: var(--accent);
    }
/* 覆盖 bootstrap 默认可能带来的白底（若组件被复用） */
    .privacy-card, .privacy-card * { background: transparent; color: var(--text-light); }
.privacy-card h2 { background: transparent; }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-header { background:transparent !important; }
