:root{
  --primary:#6d5dfc;
  --accent:#22d3ee;
  --bg:#0f1020;
  --text:#e8eaf6;
  --text-muted:#8a8f98;
  --border:rgba(232,234,246,0.08);
  --card-bg:#1a1b2e;
  --card-bg-hover:#232543;
  --radius:8px;
  --shadow:0 8px 30px rgba(0,0,0,0.3);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter','PingFang SC','Microsoft YaHei',sans-serif;
  background-color:var(--bg);
  color:var(--text);
  line-height:1.7;
  font-weight:400;
  letter-spacing:0.01em;
}
h1,h2,h3,h4,h5,h6{font-weight:800;letter-spacing:-0.02em;}
a{text-decoration:none;color:inherit;transition:all .2s ease;}
::selection{background:var(--primary);color:#fff;}
::-webkit-scrollbar{width:8px;height:8px;}
::-webkit-scrollbar-track{background:var(--bg);}
::-webkit-scrollbar-thumb{background:var(--primary);border-radius:10px;}

/* ===== NAVBAR ===== */
.navbar-private{
  background:rgba(15,16,32,0.85);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  padding:0.8rem 0;
  z-index:1000;
}
.navbar-private .navbar-brand{
  font-weight:900;
  font-size:1.5rem;
  color:var(--text);
  letter-spacing:-0.03em;
  display:flex;
  align-items:center;
  gap:8px;
}
.navbar-private .navbar-brand i{
  background:linear-gradient(135deg,var(--primary),var(--accent));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  font-size:1.4rem;
}
.navbar-private .nav-link{
  color:var(--text-muted);
  font-weight:500;
  font-size:0.95rem;
  padding:0.5rem 1rem !important;
  border-radius:var(--radius);
  transition:all .2s;
}
.navbar-private .nav-link:hover{
  color:var(--text);
  background:rgba(109,93,252,0.1);
}
.navbar-toggler{
  border:1px solid var(--border);
  background:transparent;
}
.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='%23e8eaf6' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO ===== */
.hero{
  position:relative;
  min-height:70vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  background:
    linear-gradient(rgba(15,16,32,0.75), rgba(15,16,32,0.9)),
    url('{随机图片}') center/cover fixed;
  padding:120px 0 80px;
}
.hero::before{
  content:'';
  position:absolute;
  top:0;left:0;right:0;bottom:0;
  background:radial-gradient(ellipse at center, transparent 0%, rgba(15,16,32,0.4) 100%);
  pointer-events:none;
}
.hero-content{
  position:relative;
  z-index:2;
  max-width:900px;
  padding:0 20px;
}
.hero h1{
  font-size:3.2rem;
  font-weight:900;
  margin-bottom:1.2rem;
  line-height:1.15;
  text-shadow:0 4px 30px rgba(0,0,0,0.5);
}
.hero p{
  font-size:1.15rem;
  color:var(--text-muted);
  max-width:640px;
  margin:0 auto 2.5rem;
  font-weight:300;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:linear-gradient(135deg,var(--primary),var(--accent));
  padding:6px 16px;
  border-radius:50px;
  font-size:0.8rem;
  font-weight:700;
  color:#fff;
  letter-spacing:0.06em;
  text-transform:uppercase;
  margin-bottom:1.5rem;
}

/* ===== SECTION TITLES ===== */
.section-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:0.8rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:0.5rem;
}
.section-tag i{font-size:0.9rem;}
.section-title{
  font-size:2rem;
  font-weight:900;
  margin-bottom:0.5rem;
}
.section-desc{
  color:var(--text-muted);
  font-size:0.95rem;
  margin-bottom:2rem;
}
.section{
  padding:70px 0;
  border-bottom:1px solid var(--border);
}
.section-alt{
  background:rgba(109,93,252,0.03);
}

/* ===== RANKING LIST ===== */
.rank-list{
  background:var(--card-bg);
  border-radius:var(--radius);
  padding:1rem;
  transition:transform .2s;
  height:100%;
}
.rank-list:hover{transform:translateY(-4px);}
.rank-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 8px;
  border-radius:var(--radius);
  transition:background .2s;
  cursor:pointer;
  border-bottom:1px solid rgba(255,255,255,0.03);
}
.rank-item:last-child{border-bottom:none;}
.rank-item:hover{background:rgba(109,93,252,0.08);}
.rank-number{
  font-family:'SF Mono','Fira Code',monospace;
  font-weight:700;
  font-size:1.2rem;
  width:32px;
  text-align:center;
  color:var(--text-muted);
}
.rank-item:nth-child(1) .rank-number,
.rank-item:nth-child(2) .rank-number,
.rank-item:nth-child(3) .rank-number{color:var(--primary);}
.rank-thumb{
  width:50px;height:68px;
  border-radius:6px;
  object-fit:cover;
  background:linear-gradient(135deg,var(--primary),var(--accent));
  flex-shrink:0;
}
.rank-info{
  flex:1;
  min-width:0;
}
.rank-info .name{
  font-weight:600;
  font-size:0.95rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.rank-info .meta{
  font-size:0.8rem;
  color:var(--text-muted);
  font-family:'SF Mono','Fira Code',monospace;
}

/* ===== MOVIE CARDS ===== */
.movie-card{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  cursor:pointer;
  transition:transform .3s ease, box-shadow .3s ease;
  background:var(--card-bg);
  border:1px solid var(--border);
}
.movie-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow);
  border-color:rgba(109,93,252,0.4);
}
.movie-poster{
  position:relative;
  aspect-ratio:2/3;
  overflow:hidden;
}
.movie-poster img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .5s ease;
}
.movie-card:hover .movie-poster img{
  transform:scale(1.05);
}
.movie-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(15,16,32,0.95) 0%, transparent 60%);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:14px;
  opacity:0.9;
  transition:opacity .3s;
}
.movie-play{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) scale(0.8);
  width:50px;
  height:50px;
  background:rgba(109,93,252,0.9);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
  color:#fff;
  opacity:0;
  transition:all .3s ease;
  backdrop-filter:blur(4px);
  border:2px solid rgba(255,255,255,0.2);
}
.movie-card:hover .movie-play{
  opacity:1;
  transform:translate(-50%,-50%) scale(1);
}
.movie-info{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:14px;
  background:linear-gradient(to top, rgba(15,16,32,1) 0%, transparent 100%);
}
.movie-info .title{
  font-weight:700;
  font-size:0.95rem;
  margin-bottom:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.movie-info .sub{
  font-size:0.78rem;
  color:var(--text-muted);
  font-family:'SF Mono','Fira Code',monospace;
}

/* ===== HORIZONTAL SCROLL ===== */
.hscroll{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding:10px 2px 20px;
  scroll-snap-type:x mandatory;
}
.hscroll::-webkit-scrollbar{height:4px;}
.hscroll::-webkit-scrollbar-thumb{background:var(--primary);border-radius:10px;}
.hscroll .movie-card{
  flex:0 0 180px;
  scroll-snap-align:start;
}

/* ===== FILTER TAGS ===== */
.filter-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:1.5rem;
}
.filter-tag{
  padding:6px 16px;
  border-radius:50px;
  font-size:0.85rem;
  font-weight:500;
  background:var(--card-bg);
  color:var(--text-muted);
  border:1px solid var(--border);
  cursor:pointer;
  transition:all .2s;
}
.filter-tag:hover,.filter-tag.active{
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
}

/* ===== GRID CARDS ===== */
.card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(160px, 1fr));
  gap:16px;
}
.card-grid .movie-card .movie-info .title{font-size:0.9rem;}
.card-grid .movie-card .movie-info .sub{font-size:0.75rem;}

/* ===== SIDE DRAWER ===== */
.drawer-overlay{
  position:fixed;
  top:0;left:0;right:0;bottom:0;
  background:rgba(0,0,0,0.6);
  z-index:2000;
  opacity:0;
  visibility:hidden;
  transition:all .3s ease;
  backdrop-filter:blur(2px);
}
.drawer-overlay.open{opacity:1;visibility:visible;}
.drawer{
  position:fixed;
  top:0;
  right:-420px;
  width:400px;
  max-width:100vw;
  height:100vh;
  background:var(--card-bg);
  z-index:2001;
  transition:right .4s cubic-bezier(0.22,1,0.36,1);
  box-shadow:-10px 0 40px rgba(0,0,0,0.5);
  overflow-y:auto;
  border-left:1px solid var(--border);
}
.drawer.open{right:0;}
.drawer-content{padding:2rem;}
.drawer-close{
  position:absolute;
  top:16px;
  right:16px;
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(255,255,255,0.1);
  border:none;
  color:var(--text);
  font-size:1rem;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background .2s;
  z-index:2;
}
.drawer-close:hover{background:rgba(255,255,255,0.2);}
.drawer-poster{
  width:100%;
  aspect-ratio:2/3;
  border-radius:var(--radius);
  object-fit:cover;
  margin-bottom:1.5rem;
  background:linear-gradient(135deg,var(--primary),var(--accent));
}
.drawer h3{font-size:1.5rem;margin-bottom:0.5rem;font-weight:900;}
.drawer .d-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:1rem;
}
.drawer .badge{
  background:rgba(109,93,252,0.2);
  color:var(--accent);
  border:1px solid rgba(109,93,252,0.3);
  font-weight:500;
  padding:4px 12px;
  font-size:0.8rem;
}
.drawer .d-label{
  font-size:0.8rem;
  font-weight:700;
  color:var(--text-muted);
  text-transform:uppercase;
  letter-spacing:0.05em;
  margin-top:1.2rem;
  margin-bottom:0.3rem;
}
.drawer .d-value{
  font-size:0.95rem;
  line-height:1.6;
  color:var(--text);
}

/* ===== COMPARISON TABLE ===== */
.compare-table{
  width:100%;
  border-collapse:collapse;
  background:var(--card-bg);
  border-radius:var(--radius);
  overflow:hidden;
}
.compare-table th,.compare-table td{
  padding:14px 16px;
  text-align:left;
  border-bottom:1px solid var(--border);
  font-size:0.9rem;
}
.compare-table th{
  background:rgba(109,93,252,0.15);
  font-weight:700;
  color:var(--accent);
  font-size:0.85rem;
  text-transform:uppercase;
  letter-spacing:0.04em;
}
.compare-table tr:last-child td{border-bottom:none;}
.compare-table td:first-child{font-weight:600;}
.compare-table i{color:var(--accent);margin-right:6px;}

/* ===== NUMBERED LIST ===== */
.steps-list{
  counter-reset:step;
  list-style:none;
  padding:0;
}
.steps-list li{
  counter-increment:step;
  padding:14px 0;
  border-bottom:1px solid var(--border);
  display:flex;
  gap:16px;
  align-items:flex-start;
}
.steps-list li:last-child{border-bottom:none;}
.steps-list li::before{
  content:counter(step);
  font-family:'SF Mono','Fira Code',monospace;
  font-size:1rem;
  font-weight:700;
  background:linear-gradient(135deg,var(--primary),var(--accent));
  color:#fff;
  width:28px;
  height:28px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  margin-top:4px;
}

/* ===== FOOTER ===== */
.footer{
  background:var(--bg);
  padding:50px 0 0;
  border-top:1px solid var(--border);
}
.footer-brand{
  font-size:1.6rem;
  font-weight:900;
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:1rem;
}
.footer-brand i{
  background:linear-gradient(135deg,var(--primary),var(--accent));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin-bottom:1.5rem;
}
.footer-links a{
  color:var(--text-muted);
  font-size:0.9rem;
}
.footer-links a:hover{color:var(--accent);}
.footer-copyright{
  border-top:1px solid var(--border);
  padding:20px 0;
  margin-top:20px;
  font-size:0.85rem;
  color:var(--text-muted);
  text-align:center;
}

/* ===== BACK TO TOP ===== */
.back-top{
  position:fixed;
  bottom:30px;
  right:30px;
  width:46px;
  height:46px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--accent));
  color:#fff;
  font-size:1.1rem;
  display:flex;
  align-items:center;
  justify-content:center;
  border:none;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(20px);
  transition:all .4s ease;
  z-index:999;
  box-shadow:0 8px 24px rgba(109,93,252,0.4);
}
.back-top.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* ===== FRIENDLY LINKS ===== */
.friend-links{
  background:var(--card-bg);
  border-radius:var(--radius);
  padding:20px;
  margin:30px 0;
}
.friend-links h4{
  font-size:1rem;
  font-weight:700;
  margin-bottom:12px;
  color:var(--accent);
  display:flex;
  align-items:center;
  gap:8px;
}
.friend-links .links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px){
  .hero{min-height:60vh;padding:100px 0 60px;}
  .hero h1{font-size:2.2rem;}
  .section{padding:50px 0;}
  .section-title{font-size:1.6rem;}
  .drawer{width:90vw;}
  .card-grid{grid-template-columns:repeat(auto-fill, minmax(130px, 1fr));gap:12px;}
  .hscroll .movie-card{flex:0 0 140px;}
  .compare-table{font-size:0.8rem;}
  .compare-table th,.compare-table td{padding:10px;}
  .footer-links{gap:12px;}
}

/* --- 子页面追加 --- */
/* 确保Bootstrap组件不会破坏深色主题 (只用了栅格与工具类，这里作为保险) */
        .card, .card-body, .form-control, .table, .list-group-item, .accordion-item, .modal-content {
            background: var(--card-bg);
            color: var(--text-light, #e8eaf6);
            border-color: var(--border);
        }
/* 导航栏高亮当前页 */
        .navbar-private .nav-link.active {
            color: var(--accent);
            font-weight: 600;
        }
/* 关于页特有细节 */
        .about-hero {
            padding: 80px 0 40px;
            border-bottom: 1px solid var(--border);
        }
.about-section {
            padding: 60px 0;
            border-bottom: 1px solid var(--border);
        }
.about-section:last-of-type {
            border-bottom: none;
        }
.feature-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: rgba(109, 93, 252, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 1.4rem;
            margin-bottom: 16px;
        }
.stat-number {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1;
        }
.stat-label {
            color: var(--text-muted);
            font-size: .9rem;
            margin-top: 6px;
        }
.accent-text {
            color: var(--accent);
        }
.list-bullet {
            list-style: none;
            padding-left: 0;
        }
.list-bullet li {
            padding-left: 24px;
            position: relative;
            margin-bottom: 10px;
            color: var(--text);
        }
.list-bullet li::before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--primary);
            font-size: .85rem;
        }
/* 小卡片 */
        .value-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 24px 20px;
            height: 100%;
            transition: all .2s ease;
        }
.value-card:hover {
            background: var(--card-bg-hover);
            transform: translateY(-3px);
        }
.value-card h3 {
            font-size: 1.15rem;
            font-weight: 600;
            margin-top: 12px;
        }
.value-card p {
            color: var(--text-muted);
            font-size: .9rem;
            margin-bottom: 0;
        }

/* --- 子页面追加 --- */
/* 本页专属样式 - 免责声明页面 */
        .disclaimer-hero {
            padding: 100px 0 60px;
            background: linear-gradient(180deg, rgba(13, 14, 32, 0.9) 0%, var(--bg) 100%);
            border-bottom: 1px solid var(--border);
        }
.disclaimer-hero h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }
.disclaimer-hero h1 span {
            color: var(--primary);
        }
.disclaimer-hero .hero-sub {
            color: var(--text-muted);
            font-size: 1.05rem;
            max-width: 700px;
            line-height: 1.7;
        }
.disclaimer-section {
            padding: 60px 0;
        }
.disclaimer-section + .disclaimer-section {
            border-top: 1px solid var(--border);
        }
.disclaimer-section .section-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: rgba(109, 93, 252, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
.disclaimer-section h2 {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 20px;
            line-height: 1.4;
        }
.disclaimer-section h2 .highlight {
            color: var(--primary);
        }
.disclaimer-section p {
            color: var(--text-muted);
            line-height: 1.8;
            margin-bottom: 16px;
            font-size: 0.95rem;
        }
.disclaimer-section p strong {
            color: var(--text);
            font-weight: 600;
        }
.disclaimer-list {
            margin: 20px 0;
            padding: 0;
            list-style: none;
        }
.disclaimer-list li {
            position: relative;
            padding-left: 28px;
            margin-bottom: 12px;
            color: var(--text-muted);
            line-height: 1.7;
            font-size: 0.95rem;
        }
.disclaimer-list li::before {
            content: '\f058';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--accent);
            font-size: 0.9rem;
        }
.disclaimer-note {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 24px;
            margin-top: 24px;
            border-left: 3px solid var(--primary);
        }
.disclaimer-note p {
            margin-bottom: 0;
            font-size: 0.9rem;
        }
.disclaimer-note p i {
            color: var(--primary);
            margin-right: 8px;
        }
.last-updated {
            display: inline-block;
            background: rgba(109, 93, 252, 0.08);
            border: 1px solid rgba(109, 93, 252, 0.2);
            color: var(--primary);
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 20px;
        }
.disclaimer-hero {
                padding: 80px 0 40px;
            }
.disclaimer-hero h1 {
                font-size: 1.8rem;
            }
.disclaimer-section h2 {
                font-size: 1.3rem;
            }

/* --- 子页面追加 --- */
/* 确保隐私政策页面与首页深色风格完全一致，覆盖Bootstrap默认白底 */
    .privacy-wrapper {
      background: var(--bg);
      color: var(--text);
    }
.privacy-wrapper .container {
      max-width: 1140px;
    }
.privacy-section {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.8rem 2rem;
      margin-bottom: 1.8rem;
      box-shadow: var(--shadow);
    }
.privacy-section h2, .privacy-section h3 {
      color: var(--primary);
      font-weight: 700;
      letter-spacing: -0.01em;
      border-left: 4px solid var(--accent);
      padding-left: 0.9rem;
      margin-bottom: 1.2rem;
      font-size: 1.5rem;
    }
.privacy-section p, .privacy-section li {
      color: var(--text);
      line-height: 1.75;
    }
.privacy-section strong {
      color: var(--accent);
      font-weight: 600;
    }
.privacy-section a {
      color: var(--accent);
      text-decoration: underline;
      text-underline-offset: 3px;
    }
.privacy-section ul, .privacy-section ol {
      padding-left: 1.5rem;
      margin-bottom: 1rem;
    }
.privacy-section li {
      margin-bottom: 0.5rem;
    }
.privacy-section .small-note {
      color: var(--text-muted);
      font-size: 0.9rem;
    }
.privacy-section .badge-soft {
      background: rgba(109, 93, 252, 0.15);
      color: var(--accent);
      padding: 0.2rem 0.7rem;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
      display: inline-block;
      margin-bottom: 1rem;
    }
/* 覆盖Bootstrap的列表组/卡片等, 保证深色 */
    .privacy-section .list-group-item {
      background: transparent;
      color: var(--text);
      border-color: var(--border);
    }
/* 导航高亮当前页 */
    .navbar .nav-link.active {
      color: var(--accent) !important;
      font-weight: 600;
    }
/* 页脚与首页一致 */
    .footer-private {
      background: var(--card-bg);
      border-top: 1px solid var(--border);
      color: var(--text-muted);
    }
.footer-private a {
      color: var(--text-muted);
    }
.footer-private a:hover {
      color: var(--accent);
    }