:root {
    --primary: #dc2626;
    --accent: #fb923c;
    --bg-dark: #141013;
    --bg-card: #1e181e;
    --text-light: #fef2f2;
    --border-thick: 3px solid var(--primary);
    --shadow-hard: 8px 8px 0px 0px rgba(220, 38, 38, 0.3);
    --shadow-hard-hover: 12px 12px 0px 0px rgba(251, 146, 60, 0.4);
  }
  * { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
  body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    letter-spacing: 0.02em;
  }
  /* 全直角硬朗风 */
  .square-card, .navbar, .btn, .badge, .accordion-item, .movie-card, .modal-content {
    border-radius: 0 !important;
  }
  /* 粗边框和硬阴影 */
  .movie-card {
    background: var(--bg-card);
    border: 2px solid #3a2a3a;
    box-shadow: var(--shadow-hard);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .movie-card:hover {
    transform: translate(-4px, -4px) scale(1.02);
    box-shadow: var(--shadow-hard-hover);
    border-color: var(--accent);
  }
  .movie-poster { position: relative; overflow: hidden; }
  .movie-poster img { width: 100%; height: auto; display: block; transition: transform 0.3s; }
  .movie-card:hover .movie-poster img { transform: scale(1.08); }
  .play-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.3s;
  }
  .movie-card:hover .play-overlay { opacity: 1; }
  .play-btn {
    width: 60px; height: 60px; border: 3px solid #fff; display: flex; align-items: center; justify-content: center;
    background: var(--primary); font-size: 24px; color: #fff; box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  }
  .hd-badge {
    position: absolute; top: 8px; left: 8px; background: var(--primary); color: #fff;
    font-weight: 800; font-size: 12px; padding: 2px 8px; border: 2px solid #fff;
  }
  .section-title {
    font-weight: 900; font-size: 2.2rem; text-transform: uppercase;
    border-left: 8px solid var(--primary); padding-left: 15px; margin-bottom: 25px;
    display: flex; align-items: center; gap: 10px;
  }
  .section-title i { color: var(--accent); }
  /* 轮播样式 */
  .hero-carousel { position: relative; border-bottom: 4px solid var(--primary); }
  .hero-carousel .carousel-item { height: 500px; background-size: cover; background-position: center; position: relative; }
  .hero-carousel .carousel-caption { background: rgba(20,16,19,0.8); border: 3px solid var(--primary); padding: 20px; text-align: left; bottom: 40px; left: 50px; right: auto; max-width: 500px; box-shadow: var(--shadow-hard); }
  .hero-carousel .carousel-caption h3 { font-weight: 900; font-size: 2rem; }
  /* 关键词标签云 */
  .keyword-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 0; }
  .keyword-tag {
    border: 2px solid var(--primary); background: transparent; color: var(--text-light);
    padding: 8px 16px; font-weight: 700; text-transform: uppercase; font-size: 14px;
    transition: all 0.2s; cursor: default;
  }
  .keyword-tag:hover { background: var(--primary); color: #fff; transform: scale(1.1); }
  /* 导航 */
  .navbar {
    background: var(--bg-dark) !important; border-bottom: 3px solid var(--primary);
    padding: 12px 0; z-index: 1000;
  }
  .navbar-brand { font-weight: 900; font-size: 1.8rem; color: var(--text-light) !important; }
  .navbar-brand i { color: var(--primary); margin-right: 5px; }
  .nav-link { color: var(--text-light) !important; font-weight: 600; margin: 0 8px; font-size: 15px; }
  .nav-link:hover { color: var(--accent) !important; }
  /* 排行榜 */
  .rank-item {
    background: var(--bg-card); border: 2px solid #3a2a3a; margin-bottom: 12px;
    padding: 12px 15px; display: flex; align-items: center; gap: 15px; transition: all 0.2s;
  }
  .rank-item:hover { border-color: var(--accent); transform: translateX(-5px); }
  .rank-num {
    font-size: 2rem; font-weight: 900; color: var(--primary); width: 60px; text-align: center;
  }
  .rank-info { flex: 1; }
  .rank-info h5 { font-weight: 700; margin-bottom: 2px; }
  .rank-info span { font-size: 14px; color: #ccc; }
  .rank-score { font-size: 1.8rem; font-weight: 900; color: var(--accent); }
  /* 分类导航锚点卡片 */
  .category-link {
    display: block; background: var(--bg-card); border: 2px solid #3a2a3a;
    padding: 20px; text-align: center; font-weight: 800; font-size: 1.1rem;
    color: var(--text-light) !important; text-decoration: none !important;
    transition: all 0.2s; margin-bottom: 15px;
  }
  .category-link:hover { border-color: var(--primary); background: var(--primary); color: #fff !important; transform: scale(1.05); }
  .category-link i { font-size: 2rem; margin-bottom: 8px; display: block; color: var(--accent); }
  /* 手风琴 */
  .accordion-item { background: var(--bg-card); border: 2px solid #3a2a3a; margin-bottom: 10px; }
  .accordion-button { background: var(--bg-card); color: var(--text-light); font-weight: 700; border: none; }
  .accordion-button:not(.collapsed) { background: var(--primary); color: #fff; box-shadow: none; }
  .accordion-body { background: var(--bg-dark); border-top: 2px solid var(--primary); }
  /* 底部 */
  .footer { border-top: 4px solid var(--primary); padding: 40px 0 20px; margin-top: 60px; background: #1a141a; }
  .footer a { color: #ccc; text-decoration: none; }
  .footer a:hover { color: var(--accent); }
  .friend-links { border: 2px solid #3a2a3a; padding: 20px; margin-top: 30px; background: var(--bg-card); }
  /* 侧边弹窗 */
  .side-panel {
    position: fixed; top: 0; right: -100%; width: 100%; max-width: 420px; height: 100%;
    background: var(--bg-card); z-index: 9999; transition: right 0.4s ease;
    border-left: 4px solid var(--primary); overflow-y: auto; padding: 30px;
  }
  .side-panel.active { right: 0; }
  .side-panel .close-btn {
    position: absolute; top: 15px; right: 15px; font-size: 1.8rem; color: var(--text-light);
    background: transparent; border: none; cursor: pointer; z-index: 10;
  }
  .side-panel img { width: 100%; border: 3px solid var(--primary); margin-bottom: 20px; }
  .side-panel .detail-field { margin-bottom: 15px; border-bottom: 1px solid #3a2a3a; padding-bottom: 10px; }
  .side-panel .detail-field .label { font-weight: 700; color: var(--accent); font-size: 14px; text-transform: uppercase; }
  .side-panel .detail-field .value { font-size: 1.1rem; font-weight: 500; }
  .overlay-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 9998; display: none; }
  /* 滚动淡入 */
  .fade-in-section { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .fade-in-section.visible { opacity: 1; transform: translateY(0); }
  /* 心情选片标签 */
  .mood-tag {
    border: 2px solid var(--accent); color: var(--accent); background: transparent;
    padding: 8px 20px; font-weight: 700; margin: 5px; cursor: pointer; transition: all 0.2s;
  }
  .mood-tag:hover, .mood-tag.active { background: var(--accent); color: var(--bg-dark); }
  /* 随机推荐 */
  .random-recommend {
    border: 3px dashed var(--accent); padding: 25px; text-align: center; cursor: pointer;
    transition: all 0.3s; background: rgba(251,146,60,0.1);
  }
  .random-recommend:hover { background: rgba(251,146,60,0.2); transform: scale(1.02); }
  @media (max-width: 768px) {
    .hero-carousel .carousel-item { height: 350px; }
    .hero-carousel .carousel-caption { left: 15px; right: 15px; bottom: 20px; max-width: none; padding: 15px; }
    .section-title { font-size: 1.6rem; }
  }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .about-hero {
            background: linear-gradient(135deg, var(--bg-dark) 0%, #2a1a1a 100%);
            border-bottom: var(--border-thick);
            padding: 60px 0 40px;
            margin-bottom: 40px;
        }
.about-hero h1 {
            font-size: 2.5rem;
            font-weight: 900;
            color: var(--text-light);
            margin-bottom: 15px;
        }
.about-hero h1 span {
            color: var(--primary);
        }
.about-hero p {
            color: rgba(254, 242, 242, 0.75);
            font-size: 1.1rem;
            max-width: 700px;
        }
.about-section {
            padding: 30px 0;
        }
.about-section h2 {
            color: var(--primary);
            font-weight: 800;
            font-size: 1.6rem;
            margin-bottom: 20px;
            padding-left: 15px;
            border-left: 4px solid var(--accent);
        }
.about-section p {
            color: rgba(254, 242, 242, 0.85);
            line-height: 1.8;
            margin-bottom: 15px;
        }
.about-section .lead {
            font-size: 1.1rem;
            color: var(--text-light);
        }
.feature-box {
            background: var(--bg-card);
            border: 1px solid rgba(220, 38, 38, 0.3);
            border-radius: 8px;
            padding: 25px;
            height: 100%;
            transition: transform 0.3s, box-shadow 0.3s;
        }
.feature-box:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hard-hover);
        }
.feature-box i {
            color: var(--accent);
            font-size: 2rem;
            margin-bottom: 15px;
        }
.feature-box h3 {
            color: var(--text-light);
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 10px;
        }
.feature-box p {
            color: rgba(254, 242, 242, 0.7);
            font-size: 0.9rem;
            line-height: 1.6;
        }
.stats-row {
            background: var(--bg-card);
            border-radius: 8px;
            padding: 30px 20px;
            margin: 30px 0;
            border-left: 4px solid var(--primary);
        }
.stat-item {
            text-align: center;
            padding: 10px;
        }
.stat-item .num {
            font-size: 2rem;
            font-weight: 900;
            color: var(--primary);
        }
.stat-item .label {
            color: rgba(254, 242, 242, 0.7);
            font-size: 0.85rem;
            margin-top: 5px;
        }
.timeline {
            position: relative;
            padding-left: 30px;
            margin: 20px 0;
        }
.timeline::before {
            content: '';
            position: absolute;
            left: 8px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--primary);
        }
.timeline-item {
            position: relative;
            margin-bottom: 25px;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -26px;
            top: 5px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--accent);
            border: 2px solid var(--bg-dark);
        }
.timeline-item .year {
            color: var(--accent);
            font-weight: 700;
            font-size: 0.9rem;
        }
.timeline-item .desc {
            color: rgba(254, 242, 242, 0.85);
            font-size: 0.95rem;
            line-height: 1.6;
        }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件默认白底黑字 —— 确保任何组件与深色主题一致 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .form-control, .form-select, .form-label, .input-group-text,
        .modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item,
        .nav-link, .navbar, .navbar-brand, .btn-light, .btn-outline-* {
            background-color: var(--bg-card) !important;
            color: var(--text-light) !important;
            border-color: var(--primary) !important;
        }
/* 更精细的覆盖，保证可读性 */
        .accordion-button:not(.collapsed) {
            background-color: rgba(220, 38, 38, 0.15) !important;
            color: var(--text-light) !important;
        }
.accordion-button::after {
            filter: invert(1);
        }
/* 页内导航高亮当前页 */
        .navbar .nav-link.active {
            color: var(--accent) !important;
            font-weight: 700;
        }
/* 免责声明排版优化 */
        .disclaimer-section {
            background-color: var(--bg-dark);
            border: 1px solid rgba(220,38,38,0.2);
            border-radius: 0.5rem;
            padding: 2rem 1.8rem;
            margin-bottom: 1.8rem;
            box-shadow: var(--shadow-hard);
        }
.disclaimer-section h2 {
            color: var(--accent);
            border-left: 5px solid var(--primary);
            padding-left: 1rem;
            margin-bottom: 1.2rem;
            font-weight: 700;
            letter-spacing: 0.5px;
        }
.disclaimer-section p, .disclaimer-section li {
            color: rgba(254, 242, 242, 0.85);
            line-height: 1.8;
        }
.disclaimer-section a {
            color: var(--accent);
            text-decoration: underline;
            text-underline-offset: 3px;
        }
.disclaimer-section a:hover {
            color: var(--primary);
        }
/* 强化列表样式 */
        .custom-list {
            padding-left: 1.2rem;
            list-style: none;
        }
.custom-list li {
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 0.6rem;
        }
.custom-list li::before {
            content: "\f058";  /* check-circle icon */
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--accent);
            font-size: 1rem;
        }
/* 在深色背景上让导航栏更醒目 */
        .navbar {
            background-color: var(--bg-card) !important;
            border-bottom: var(--border-thick);
        }
.navbar-brand, .navbar .nav-link {
            color: var(--text-light) !important;
        }
.navbar .nav-link:hover {
            color: var(--accent) !important;
        }

/* --- 子页面追加 --- */
/* 本页专属小样式 */
        .privacy-section {
            background: var(--bg-card);
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 2rem;
            border-left: 4px solid var(--primary);
            box-shadow: var(--shadow-hard);
        }
.privacy-section h2 {
            color: var(--accent);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
.privacy-section p {
            color: var(--text-light);
            opacity: 0.85;
            line-height: 1.8;
            margin-bottom: 1rem;
        }
.privacy-section ul {
            color: var(--text-light);
            opacity: 0.85;
            padding-left: 1.5rem;
            margin-bottom: 1rem;
        }
.privacy-section li {
            margin-bottom: 0.5rem;
            line-height: 1.7;
        }
.privacy-header {
            background: linear-gradient(135deg, rgba(220,38,38,0.3), rgba(251,146,60,0.2));
            border-radius: 16px;
            padding: 3rem 2rem;
            margin-bottom: 3rem;
            border: var(--border-thick);
            box-shadow: var(--shadow-hard);
        }
.privacy-header h1 {
            color: var(--text-light);
            font-size: 2.2rem;
            font-weight: 900;
            margin-bottom: 1rem;
        }
.privacy-header p {
            color: var(--text-light);
            opacity: 0.8;
            font-size: 1.1rem;
            max-width: 800px;
        }
.last-updated {
            display: inline-block;
            background: rgba(220,38,38,0.2);
            color: var(--accent);
            padding: 0.3rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            margin-top: 1rem;
        }
.contact-email {
            color: var(--accent);
            text-decoration: none;
            border-bottom: 2px solid var(--primary);
        }
.contact-email:hover {
            color: var(--primary);
            border-bottom-color: var(--accent);
        }
.back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: var(--primary);
            color: var(--text-light);
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-hard);
            z-index: 999;
            text-decoration: none;
            transition: all 0.3s ease;
        }
.back-to-top:hover {
            background: var(--accent);
            transform: translateY(-3px);
        }

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