:root {
  --primary: #f97316;
  --accent: #facc15;
  --bg-dark: #1a1410;
  --bg-card: #241c16;
  --text-light: #fff7ed;
  --text-muted: #c9a88e;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 12px 40px rgba(0,0,0,0.45);
  --shadow-hover: 0 24px 60px rgba(249, 115, 22, 0.25);
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 8px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.navbar-custom {
  background: rgba(26, 20, 16, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
  padding: 12px 0;
  z-index: 1000;
}
.navbar-brand {
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--primary) !important;
  letter-spacing: -0.5px;
}
.navbar-brand i { color: var(--accent); margin-right: 4px; }
.nav-link {
  color: var(--text-light) !important;
  font-weight: 600;
  margin: 0 8px;
  font-size: 0.95rem;
  transition: 0.2s;
}
.nav-link:hover { color: var(--primary) !important; }
.navbar-toggler { border-color: rgba(255,247,237,0.3); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff7ed' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.hero-section {
  position: relative;
  padding: 100px 0 80px;
  background: radial-gradient(circle at 70% 20%, rgba(249,115,22,0.25), transparent 50%), radial-gradient(circle at 10% 90%, rgba(250,204,21,0.1), transparent 40%);
  overflow: hidden;
}
.hero-stats {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.stat-item {
  text-align: left;
}
.stat-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 8px;
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 30px;
}
.btn-primary-custom {
  background: var(--primary);
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  color: #1a1410;
  transition: 0.3s;
  box-shadow: 0 8px 30px rgba(249,115,22,0.4);
}
.btn-primary-custom:hover { background: var(--accent); transform: translateY(-3px); color: #1a1410; }
.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
}
.section-title i { color: var(--primary); margin-right: 10px; }
.scroll-row {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
}
.scroll-row::-webkit-scrollbar { height: 6px; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.movie-card {
  min-width: 200px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  flex-shrink: 0;
}
.movie-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-hover);
}
.movie-poster {
  position: relative;
  aspect-ratio: 2/3;
  background: #2a221a;
  overflow: hidden;
}
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.movie-card:hover .movie-poster img { transform: scale(1.1); }
.quality-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(26, 20, 16, 0.85);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  backdrop-filter: blur(4px);
}
.rating-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(26, 20, 16, 0.85);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}
.movie-info {
  padding: 12px 14px;
}
.movie-info h3 {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.movie-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}
.rank-list {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.rank-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 247, 237, 0.08);
}
.rank-item:last-child { border-bottom: none; }
.rank-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  width: 60px;
  flex-shrink: 0;
}
.rank-item .rank-title { font-weight: 700; font-size: 1.1rem; flex: 1; }
.rank-item .rank-score { color: var(--accent); font-weight: 800; margin-right: 20px; }
.rank-item .rank-cat { font-size: 0.8rem; color: var(--text-muted); padding: 4px 12px; background: rgba(249,115,22,0.2); border-radius: 20px; }
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 15px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}
.faq-q:hover { background: rgba(249,115,22,0.1); }
.faq-q i { transition: transform 0.3s; color: var(--primary); }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.active .faq-a { max-height: 300px; padding: 0 24px 18px; }
.faq-item.active .faq-q i { transform: rotate(180deg); }
.footer {
  background: #120d0a;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(249,115,22,0.15);
}
.footer a { color: var(--text-muted); transition: 0.2s; }
.footer a:hover { color: var(--primary); }
.friend-links {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 25px;
  margin: 40px 0;
}
.friend-links h4 {
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--primary);
}
.friend-links .links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 0.9rem;
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bg-dark);
  margin-bottom: 16px;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.feature-item {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: 0.3s;
}
.feature-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.feature-item h4 { font-weight: 800; margin-bottom: 10px; }
.feature-item p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.pick-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 30px 0;
}
.pick-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,247,237,0.06);
}
.pick-item:last-child { border-bottom: none; }
.pick-num {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
  flex-shrink: 0;
}
.pick-item p { color: var(--text-muted); line-height: 1.7; }
.modal-movie {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-movie.show { display: flex; }
.modal-content-card {
  background: #fff;
  color: #1a1410;
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  display: flex;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  max-height: 90vh;
}
.modal-poster {
  width: 35%;
  background: #2a221a;
  flex-shrink: 0;
}
.modal-poster img { width: 100%; height: 100%; object-fit: cover; }
.modal-info {
  padding: 30px;
  flex: 1;
  overflow-y: auto;
}
.modal-info h2 { font-weight: 900; font-size: 1.6rem; margin-bottom: 12px; }
.modal-info .meta-row { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 15px; font-size: 0.9rem; color: #555; }
.modal-info .meta-row span { background: #f3ece5; padding: 4px 12px; border-radius: 20px; font-weight: 600; }
.modal-info .rating { font-size: 2rem; font-weight: 900; color: #f97316; }
.modal-info p { line-height: 1.8; color: #444; font-size: 0.95rem; }
.modal-close {
  position: absolute;
  top: 15px; right: 15px;
  background: #f3ece5;
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  color: #555;
  cursor: pointer;
  transition: 0.2s;
  z-index: 5;
}
.modal-close:hover { background: #f97316; color: #fff; }
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .stat-number { font-size: 2.8rem; }
  .hero-stats { gap: 30px; }
  .modal-content-card { flex-direction: column; }
  .modal-poster { width: 100%; height: 200px; }
  .section-title { font-size: 1.8rem; }
  .movie-card { min-width: 150px; }
  .rank-num { font-size: 1.4rem; width: 45px; }
  .rank-item .rank-title { font-size: 0.95rem; }
}

/* --- 子页面追加 --- */
/* 本页专属样式：关于我们页面的布局与卡片美化 */
        .about-hero {
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(250, 204, 21, 0.05) 50%, transparent 100%);
            border-bottom: 1px solid rgba(249, 115, 22, 0.15);
        }
.about-card {
            background: var(--bg-card);
            border: 1px solid rgba(249, 115, 22, 0.12);
            border-radius: var(--radius-lg);
            padding: 2rem;
            height: 100%;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.about-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }
.about-icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
.value-list li {
            padding: 0.4rem 0;
            color: var(--text-muted);
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
        }
.value-list li i {
            color: var(--primary);
            margin-top: 0.3rem;
        }
.about-section-divider {
            border-top: 1px solid rgba(249, 115, 22, 0.15);
            margin: 3rem 0;
        }
.about-text-highlight {
            color: var(--accent);
            font-weight: 600;
        }
.about-card { padding: 1.25rem; }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件不会破坏深色背景 */
    .disclaimer-card {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      padding: 2rem 2rem;
      box-shadow: var(--shadow-soft);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      height: 100%;
      border: 1px solid rgba(249, 115, 22, 0.15);
    }
.disclaimer-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
.disclaimer-icon {
      color: var(--primary);
      font-size: 2rem;
      margin-bottom: 1rem;
    }
.disclaimer-list {
      list-style: none;
      padding-left: 0;
    }
.disclaimer-list li {
      padding-left: 1.8rem;
      position: relative;
      margin-bottom: 0.8rem;
      color: var(--text-muted);
      line-height: 1.7;
    }
.disclaimer-list li::before {
      content: "\f058";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      position: absolute;
      left: 0;
      top: 0.2rem;
      color: var(--primary);
      font-size: 1rem;
    }
.legal-note {
      background: rgba(249, 115, 22, 0.06);
      border-left: 4px solid var(--primary);
      padding: 1rem 1.5rem;
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      color: var(--text-muted);
    }
/* 覆盖bootstrap默认白色卡片背景 (以防万一) */
    .card, .card-body {
      background: var(--bg-card);
      color: var(--text-light);
      border-color: #3a2e24;
    }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 卡片/表单等组件配色，确保与深色站点一致 */
    .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
      background: var(--bg-card) !important;
      color: var(--text-light) !important;
      border-color: rgba(249, 115, 22, 0.25) !important;
    }
.form-control, .form-select {
      background: rgba(0,0,0,0.35) !important;
      color: var(--text-light) !important;
      border: 1px solid rgba(249, 115, 22, 0.4) !important;
    }
.form-control::placeholder {
      color: rgba(255, 255, 255, 0.5) !important;
    }
.accordion-item, .accordion-button {
      background: var(--bg-card) !important;
      color: var(--text-light) !important;
      border-color: rgba(249, 115, 22, 0.25) !important;
    }
.accordion-button:not(.collapsed) {
      background: rgba(249, 115, 22, 0.15) !important;
      color: var(--accent) !important;
    }
.list-group-item {
      background: var(--bg-card) !important;
      color: var(--text-light) !important;
      border-color: rgba(249, 115, 22, 0.2) !important;
    }
/* 导航高亮当前页 */
    .navbar-custom .nav-link.active {
      color: var(--accent) !important;
      font-weight: 600;
    }
/* 本页自定义小工具 */
    .guide-hero {
      background: linear-gradient(135deg, rgba(249,115,22,0.12) 0%, rgba(250,204,21,0.05) 100%);
      border-radius: var(--radius-lg);
      padding: 3rem 2rem;
      margin-bottom: 3rem;
      border: 1px solid rgba(249,115,22,0.2);
    }
.step-icon {
      background: var(--primary);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 1.3rem;
      color: #1a1410;
      margin-right: 1rem;
      flex-shrink: 0;
    }
.guide-section {
      margin-bottom: 3.5rem;
    }
.tip-box {
      background: rgba(249,115,22,0.06);
      border-left: 4px solid var(--primary);
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      padding: 1.5rem 1.8rem;
      margin: 1.8rem 0;
    }
.device-icon {
      font-size: 2.2rem;
      color: var(--primary);
      margin-bottom: 0.6rem;
    }

/* --- 子页面追加 --- */
/* 强制覆盖 bootstrap 白底组件，保证与暗色主题一致 */
    .card, .card-body, .card-header, .card-footer,
    .form-control, .form-select, .list-group-item,
    .accordion-item, .accordion-button, .accordion-body,
    .modal-content, .dropdown-menu, .dropdown-item,
    .nav-link, .navbar, .navbar-brand {
      background-color: var(--bg-card) !important;
      color: var(--text-light) !important;
      border-color: var(--bg-card) !important;
    }
.card {
      background: var(--bg-card) !important;
      border: 1px solid rgba(249,115,22,0.2) !important;
      box-shadow: var(--shadow-soft);
    }
/* 表格覆盖 */
    .table {
      --bs-table-bg: transparent !important;
      --bs-table-color: var(--text-light) !important;
      border-color: rgba(249,115,22,0.2) !important;
    }
.table th, .table td {
      background: transparent !important;
      color: var(--text-light) !important;
    }
.accordion-button::after {
      filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(10deg);
    }
.dropdown-item:hover {
      background: rgba(249,115,22,0.1) !important;
      color: var(--accent) !important;
    }
/* 小修 navbar-toggler */
    .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,247,237,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
.rank-list .rank-item {
      background: var(--bg-card);
      border-bottom: 1px solid rgba(249,115,22,0.15);
    }
.rank-list .rank-item:hover {
      background: rgba(249,115,22,0.08);
      transform: translateY(-2px);
      box-shadow: var(--shadow-hover);
    }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.input-group-text { background:rgba(255,255,255,.04) !important; color:#fff7ed !important; border-color:rgba(255,255,255,.12) !important; }
.accordion-header { background:transparent !important; }
