:root {
      --main: #dc2626;
      --accent: #fb923c;
      --bg: #141013;
      --text: #fef2f2;
      --text-dim: #c9b8b8;
      --border: #3a2a2a;
      --card-bg: #1e181c;
    }

    * { border-radius: 0 !important; }
    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: 'Noto Sans SC', 'Inter', sans-serif;
      letter-spacing: 0.2px;
      line-height: 1.7;
    }

    h1,h2,h3,h4,.font-serif {
      font-family: 'Noto Serif SC', serif;
      font-weight: 700;
    }

    /* 无阴影，纯描边 */
    .card, .movie-card, .list-group-item, .accordion-item {
      box-shadow: none !important;
      border: 1px solid var(--border) !important;
      background-color: var(--card-bg);
    }

    .navbar, .footer, .category-bar {
      background: #0f0b0e !important;
      border-bottom: 1px solid var(--border);
    }

    /* 导航栏 */
    .navbar-brand {
      font-weight: 900;
      font-size: 1.8rem;
      color: var(--main) !important;
      font-family: 'Noto Serif SC', serif;
    }
    .navbar-brand i { color: var(--accent); margin-right: 8px; }

    .nav-link {
      color: var(--text) !important;
      font-weight: 500;
      margin: 0 0.5rem;
      border-bottom: 2px solid transparent;
    }
    .nav-link:hover { color: var(--accent) !important; border-bottom-color: var(--accent); }

    /* 按钮渐变流动 */
    .btn-custom {
      background: linear-gradient(120deg, var(--main), var(--accent));
      background-size: 200% 200%;
      color: #fff;
      border: none;
      padding: 0.5rem 1.5rem;
      transition: background-position 0.4s ease;
      font-weight: 600;
    }
    .btn-custom:hover {
      background-position: 100% 50%;
      color: #fff;
    }

    /* 海报卡片 */
    .movie-card {
      background: var(--card-bg);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      border: 1px solid var(--border) !important;
      overflow: hidden;
      cursor: pointer;
    }
    .movie-card:hover {
      transform: scale(1.03) translateY(-4px);
      box-shadow: 0 10px 24px rgba(220, 38, 38, 0.15) !important;
      border-color: var(--main) !important;
      z-index: 10;
    }
    .movie-card img {
      width: 100%;
      aspect-ratio: 2 / 3;
      object-fit: cover;
      background: #2a1f24;
    }
    .quality-badge {
      position: absolute;
      top: 8px;
      right: 8px;
      background: rgba(0,0,0,0.75);
      color: var(--accent);
      font-size: 0.7rem;
      padding: 2px 8px;
      border: 1px solid var(--accent);
      font-weight: 600;
      z-index: 5;
    }
    .card-title { font-weight: 600; font-size: 1rem; }
    .card-subtitle { color: var(--text-dim); font-size: 0.85rem; }

    /* 超大标题 */
    .display-hero {
      font-size: clamp(3rem, 8vw, 4.5rem);
      font-weight: 900;
      font-family: 'Noto Serif SC', serif;
      line-height: 1.2;
    }

    /* 区块标题 */
    .section-title {
      font-size: 2.2rem;
      border-left: 6px solid var(--main);
      padding-left: 1rem;
      margin: 2.5rem 0 1.5rem;
      font-weight: 700;
    }
    .section-title i { color: var(--accent); margin-right: 10px; }

    /* 左侧分类 */
    .category-sidebar {
      border-right: 1px solid var(--border);
    }
    .category-list a {
      display: block;
      padding: 0.6rem 0;
      color: var(--text-dim);
      text-decoration: none;
      border-bottom: 1px dashed #2a2226;
      font-size: 0.95rem;
    }
    .category-list a:hover { color: var(--accent); padding-left: 8px; }

    /* 打字机动画 */
    .typewriter {
      overflow: hidden;
      white-space: nowrap;
      border-right: 3px solid var(--main);
      display: inline-block;
      animation: typing 3.5s steps(30, end) infinite, blink-caret 0.7s step-end infinite;
    }
    @keyframes typing {
      0%, 100% { width: 0; }
      20%, 80% { width: 100%; }
    }
    @keyframes blink-caret { 50% { border-color: transparent; } }

    /* 数字滚动 */
    .stat-number {
      font-size: 2.8rem;
      font-weight: 800;
      color: var(--accent);
      font-family: 'Noto Serif SC', serif;
    }

    /* 错落渐显 */
    .reveal-card {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal-card.visible {
      opacity: 1;
      transform: translateY(0);
    }
    /* 延迟效果用JS添加 */

    /* 底部抽屉弹窗 */
    .drawer-overlay {
      position: fixed;
      top:0; left:0; width:100%; height:100%;
      background: rgba(0,0,0,0.6);
      z-index: 999;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
    }
    .drawer-panel {
      position: fixed;
      bottom: 0; left:0; width:100%;
      max-height: 70vh;
      background: #1b1419;
      border-top: 3px solid var(--main);
      z-index: 1000;
      transform: translateY(100%);
      transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
      padding: 1.5rem 2rem;
      overflow-y: auto;
      border: 1px solid var(--border);
    }
    .drawer-panel.open { transform: translateY(0); }
    .drawer-overlay.open { opacity: 1; visibility: visible; }
    .drawer-close {
      float: right;
      font-size: 1.8rem;
      color: var(--accent);
      background: none;
      border: none;
      cursor: pointer;
    }

    .accordion-button:not(.collapsed) {
      background-color: #241c20;
      color: var(--accent);
    }
    .accordion-button { background-color: #1a1216; color: var(--text); }

    footer { border-top: 1px solid var(--border); }
    .friend-links a {
      color: var(--text-dim);
      margin-right: 1.2rem;
      text-decoration: none;
    }
    .friend-links a:hover { color: var(--accent); }

    /* 响应式 */
    @media (max-width: 992px) {
      .category-sidebar { border-right: 0; }
    }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .movie-hero {
            background: linear-gradient(135deg, rgba(20,16,19,.95) 0%, rgba(220,38,38,.15) 100%);
            border-bottom: 1px solid var(--border);
            padding: 4rem 0 3rem;
        }
.movie-filter-bar {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1.2rem 1.5rem;
            margin-bottom: 2rem;
            display: flex;
            flex-wrap: wrap;
            gap: .8rem;
            align-items: center;
        }
.filter-btn {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-dim);
            padding: .35rem 1rem;
            border-radius: 50px;
            font-size: .9rem;
            cursor: pointer;
            transition: all .3s;
            font-family: 'Inter', sans-serif;
        }
.filter-btn:hover, .filter-btn.active {
            background: var(--main);
            border-color: var(--main);
            color: #fff;
        }
.movie-grid-item {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            transition: transform .3s, box-shadow .3s;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
.movie-grid-item:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 28px rgba(220,38,38,.15);
            border-color: var(--main);
        }
.movie-poster-wrap {
            position: relative;
            padding-top: 140%;
            overflow: hidden;
        }
.movie-poster-wrap img {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            object-fit: cover;
        }
.movie-info {
            padding: 1rem 1rem 1.2rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
.movie-title {
            font-weight: 600;
            font-size: 1rem;
            color: var(--text);
            margin-bottom: .3rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.movie-meta {
            font-size: .82rem;
            color: var(--text-dim);
            margin-bottom: .5rem;
        }
.movie-rating {
            color: var(--accent);
            font-weight: 700;
            font-size: .9rem;
        }
.section-title span {
            color: var(--accent);
        }
.feature-banner {
            background: linear-gradient(90deg, rgba(220,38,38,.1) 0%, rgba(251,146,60,.05) 100%);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 2rem;
            margin: 2.5rem 0;
        }
.feature-icon {
            width: 56px;
            height: 56px;
            background: var(--main);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            color: #fff;
            margin-bottom: 1rem;
        }
.stat-label {
            font-size: .9rem;
            color: var(--text-dim);
        }
.movie-hero { padding: 2.5rem 0 2rem; }
.feature-banner { padding: 1.2rem; }

/* --- 子页面追加 --- */
/* 页面专属微调样式 */
    .tv-hero { background: linear-gradient(135deg, rgba(220,38,38,0.15) 0%, rgba(251,146,60,0.08) 100%); border-bottom: 1px solid var(--border); }
.tv-hero h1 { color: var(--main); }
.category-chip { display: inline-block; padding: 6px 18px; margin: 4px 6px 4px 0; border: 1px solid var(--border); border-radius: 30px; color: var(--text-dim); font-size: 14px; cursor: pointer; transition: all 0.3s; background: transparent; }
.category-chip:hover, .category-chip.active { background: var(--main); color: #fff; border-color: var(--main); }
.episode-badge { background: rgba(220,38,38,0.2); color: var(--main); padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.tv-card { transition: transform 0.3s, box-shadow 0.3s; }
.tv-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.pagination-custom .page-link { background: var(--card-bg); border-color: var(--border); color: var(--text); }
.pagination-custom .page-link:hover { background: var(--main); color: #fff; }
.pagination-custom .page-item.active .page-link { background: var(--main); border-color: var(--main); }
.update-badge { background: var(--accent); color: #1a1a1a; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }

/* --- 子页面追加 --- */
/* 动漫页面专属样式 */
        .anime-hero {
            background: linear-gradient(135deg, var(--bg) 0%, #2a1a2e 100%);
            padding: 4rem 0;
            border-bottom: 1px solid var(--border);
            position: relative;
            overflow: hidden;
        }
.anime-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
            border-radius: 50%;
        }
.anime-hero h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 1rem;
            position: relative;
            z-index: 1;
        }
.anime-hero p {
            color: var(--text-dim);
            font-size: 1.1rem;
            max-width: 600px;
            position: relative;
            z-index: 1;
        }
.anime-tag {
            display: inline-block;
            background: rgba(220, 38, 38, 0.15);
            color: var(--accent);
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin: 4px;
            border: 1px solid rgba(220, 38, 38, 0.3);
        }
.anime-section-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 2rem;
            position: relative;
            padding-left: 18px;
        }
.anime-section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 28px;
            background: var(--main);
            border-radius: 2px;
        }
.anime-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            height: 100%;
        }
.anime-card:hover {
            transform: translateY(-5px);
            border-color: var(--main);
            box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        }
.anime-card-cover {
            width: 100%;
            height: 260px;
            object-fit: cover;
            border-bottom: 1px solid var(--border);
        }
.anime-card-body {
            padding: 1.2rem;
        }
.anime-card-title {
            color: var(--text);
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.anime-card-meta {
            color: var(--text-dim);
            font-size: 0.85rem;
            margin-bottom: 0.5rem;
        }
.anime-card-desc {
            color: var(--text-dim);
            font-size: 0.9rem;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
.anime-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: var(--main);
            color: #fff;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 6px;
            z-index: 2;
        }
.anime-category-sidebar {
            position: sticky;
            top: 90px;
        }
.anime-cat-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.anime-cat-list li {
            margin-bottom: 8px;
        }
.anime-cat-list a {
            display: block;
            padding: 10px 16px;
            color: var(--text-dim);
            text-decoration: none;
            border-radius: 8px;
            border: 1px solid transparent;
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }
.anime-cat-list a:hover,
        .anime-cat-list a.active {
            color: var(--text);
            background: var(--card-bg);
            border-color: var(--main);
        }
.anime-cat-list i {
            margin-right: 8px;
            width: 20px;
            text-align: center;
            color: var(--accent);
        }
.episode-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
        }
.episode-btn {
            background: var(--card-bg);
            border: 1px solid var(--border);
            color: var(--text-dim);
            padding: 6px 14px;
            border-radius: 6px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }
.episode-btn:hover {
            background: var(--main);
            color: #fff;
            border-color: var(--main);
        }
.featured-banner {
            background: linear-gradient(90deg, rgba(220,38,38,0.2) 0%, transparent 100%);
            border: 1px solid var(--border);
            border-left: 4px solid var(--main);
            padding: 1.5rem 2rem;
            border-radius: 12px;
            margin-bottom: 3rem;
        }
.featured-banner h3 {
            color: var(--text);
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
.featured-banner p {
            color: var(--text-dim);
            margin-bottom: 0;
        }

/* --- 子页面追加 --- */
/* 本页专属补充样式 */
        .about-hero {
            padding: 100px 0 60px;
            background: linear-gradient(180deg, rgba(20,16,19,.8) 0%, var(--bg) 100%);
            position: relative;
            overflow: hidden;
        }
.about-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(220,38,38,.15) 0%, transparent 70%);
            pointer-events: none;
        }
.about-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 2;
        }
.about-section {
            padding: 60px 0;
            border-bottom: 1px solid var(--border);
        }
.about-section:last-child {
            border-bottom: none;
        }
.about-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 20px;
            transition: transform .3s, box-shadow .3s;
        }
.about-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,.3);
        }
.about-icon {
            font-size: 2rem;
            color: var(--accent);
            margin-bottom: 15px;
        }
.about-stats {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 20px;
            margin: 40px 0;
        }
.stat-item {
            text-align: center;
            padding: 20px;
            min-width: 150px;
        }
.about-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
.feature-item {
            padding: 20px;
            border-left: 3px solid var(--main);
            background: rgba(220,38,38,.05);
        }
.about-timeline {
            position: relative;
            padding-left: 30px;
        }
.about-timeline::before {
            content: '';
            position: absolute;
            left: 10px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--border);
        }
.timeline-item {
            position: relative;
            padding: 20px 0;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -25px;
            top: 25px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--main);
        }
.about-hero {
                padding: 60px 0 40px;
            }
.about-section {
                padding: 40px 0;
            }
.about-stats {
                gap: 10px;
            }
.stat-item {
                min-width: 120px;
                padding: 15px;
            }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.card-body { background:transparent !important; color:#fef2f2 !important; }
.card-text { color:#fef2f2 !important; }
.form-select { background-color:rgba(0,0,0,.35) !important; color:#fef2f2 !important; border-color:rgba(255,255,255,.12) !important; }
.table { color:#fef2f2 !important; border-color:rgba(255,255,255,.12) !important; --bs-table-bg:transparent !important; --bs-table-color:#fef2f2 !important; }
.accordion-body { background:transparent !important; color:#fef2f2 !important; }
.accordion-header { background:transparent !important; }
.pagination { --bs-pagination-bg:rgba(255,255,255,.04) !important; --bs-pagination-color:#fef2f2 !important; }
