:root {
        --primary: #f97316;
        --accent: #facc15;
        --bg: #1a1410;
        --text: #fff7ed;
        --card-bg: #2d241c;
        --border: #4a3a2c;
        --hard-shadow: 8px 8px 0px rgba(249, 115, 22, 0.25);
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        border-radius: 0 !important;
    }

    body {
        background-color: var(--bg);
        color: var(--text);
        font-family: 'Inter', '思源黑体', 'Source Han Sans CN', 'Noto Sans CJK SC', sans-serif;
        line-height: 1.6;
        overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, .title-font {
        font-family: '思源宋体', 'Source Han Serif CN', 'Noto Serif CJK SC', Georgia, serif;
        font-weight: 900;
        letter-spacing: 0.02em;
    }

    /* 导航 */
    .navbar-mx {
        background: var(--bg);
        border-bottom: 3px solid var(--primary);
        padding: 0.8rem 0;
    }

    .navbar-brand-mx {
        font-family: '思源宋体', serif;
        font-size: 2rem;
        font-weight: 900;
        color: var(--primary) !important;
        text-decoration: none;
        letter-spacing: 2px;
    }

    .navbar-brand-mx i {
        margin-right: 8px;
        color: var(--accent);
    }

    .nav-link-mx {
        color: var(--text) !important;
        font-weight: 600;
        padding: 0.5rem 1rem !important;
        transition: all 0.3s ease;
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .nav-link-mx:hover {
        color: var(--primary) !important;
        background: rgba(249, 115, 22, 0.1);
    }

    .navbar-toggler {
        border: 2px solid var(--primary);
    }

    .navbar-toggler-icon {
        filter: invert(50%) sepia(90%) saturate(1000%) hue-rotate(350deg);
    }

    /* Hero */
    .hero-section {
        padding: 5rem 0 3rem;
        border-bottom: 3px solid var(--border);
        background: linear-gradient(145deg, #1a1410 0%, #2a1d12 100%);
        position: relative;
    }

    .hero-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 2.5rem;
        margin-bottom: 2rem;
    }

    .hero-stat {
        text-align: left;
    }

    .hero-stat-number {
        font-size: 3.8rem;
        font-weight: 900;
        color: var(--accent);
        font-family: 'Inter', sans-serif;
        line-height: 1;
        text-shadow: 3px 3px 0 rgba(249, 115, 22, 0.4);
    }

    .hero-stat-label {
        font-size: 1rem;
        color: var(--text);
        opacity: 0.8;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 3.2rem;
        font-weight: 900;
        color: var(--text);
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-title span {
        color: var(--primary);
    }

    .hero-sub {
        font-size: 1.15rem;
        color: rgba(255, 247, 237, 0.8);
        max-width: 700px;
        margin-bottom: 2.5rem;
    }

    .hero-badge {
        display: inline-block;
        background: var(--primary);
        color: #fff;
        padding: 0.5rem 1.5rem;
        font-weight: 700;
        font-size: 0.9rem;
        margin-right: 1rem;
        box-shadow: 4px 4px 0 rgba(250, 204, 21, 0.4);
    }

    /* 侧边栏 + 内容布局 */
    .content-wrapper {
        display: flex;
        gap: 2rem;
        padding: 3rem 0;
    }

    .sidebar-mx {
        width: 220px;
        flex-shrink: 0;
        background: var(--card-bg);
        padding: 1.5rem 1rem;
        border: 3px solid var(--border);
        box-shadow: var(--hard-shadow);
        height: fit-content;
        position: sticky;
        top: 100px;
    }

    .sidebar-title {
        color: var(--accent);
        font-weight: 800;
        font-size: 1.1rem;
        padding-bottom: 0.8rem;
        border-bottom: 2px solid var(--primary);
        margin-bottom: 1rem;
    }

    .sidebar-link {
        display: block;
        padding: 0.6rem 1rem;
        color: var(--text);
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
        margin-bottom: 4px;
    }

    .sidebar-link:hover {
        color: var(--primary);
        background: rgba(249, 115, 22, 0.1);
        border-left-color: var(--primary);
    }

    .sidebar-link i {
        width: 24px;
        color: var(--primary);
    }

    .main-content {
        flex: 1;
        min-width: 0;
    }

    /* 区块标题 */
    .section-title {
        font-size: 2rem;
        font-weight: 900;
        color: var(--text);
        margin-bottom: 1.5rem;
        padding-bottom: 0.8rem;
        border-bottom: 3px solid var(--primary);
        display: inline-block;
        position: relative;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--accent);
    }

    /* 海报卡片 */
    .movie-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .movie-card {
        background: var(--card-bg);
        border: 3px solid var(--border);
        transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .movie-card:hover {
        transform: scale(1.05);
        border-color: var(--primary);
        box-shadow: 6px 6px 0 rgba(249, 115, 22, 0.3);
        z-index: 5;
    }

    .movie-poster {
        position: relative;
        aspect-ratio: 2 / 3;
        overflow: hidden;
        background: #2d241c;
    }

    .movie-poster img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: opacity 0.3s ease;
    }

    .episode-badge {
        position: absolute;
        top: 8px;
        left: 8px;
        background: var(--primary);
        color: #fff;
        font-size: 0.7rem;
        font-weight: 700;
        padding: 3px 8px;
        box-shadow: 2px 2px 0 rgba(0,0,0,0.5);
        z-index: 2;
    }

    .rating-badge {
        position: absolute;
        bottom: 8px;
        right: 8px;
        background: rgba(0,0,0,0.8);
        color: var(--accent);
        font-size: 0.8rem;
        font-weight: 800;
        padding: 3px 6px;
        display: flex;
        align-items: center;
        gap: 4px;
        z-index: 2;
    }

    .movie-info {
        padding: 0.8rem;
        flex: 1;
    }

    .movie-name {
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--text);
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .movie-meta {
        font-size: 0.78rem;
        color: rgba(255, 247, 237, 0.6);
    }

    /* 榜单卡片 */
    .rank-card {
        display: flex;
        align-items: center;
        background: var(--card-bg);
        border: 2px solid var(--border);
        padding: 0.8rem;
        margin-bottom: 0.8rem;
        transition: all 0.3s ease;
    }

    .rank-card:hover {
        border-color: var(--primary);
        background: rgba(249, 115, 22, 0.08);
    }

    .rank-number {
        font-size: 2rem;
        font-weight: 900;
        color: var(--primary);
        width: 60px;
        text-align: center;
        font-family: 'Inter', sans-serif;
    }

    .rank-info {
        flex: 1;
        padding: 0 1rem;
    }

    .rank-name {
        font-weight: 700;
        font-size: 1rem;
        color: var(--text);
    }

    .rank-meta {
        font-size: 0.8rem;
        color: rgba(255, 247, 237, 0.6);
    }

    .rank-hot {
        color: var(--accent);
        font-weight: 800;
        font-size: 0.9rem;
    }

    /* 即将上线 */
    .upcoming-card {
        background: var(--card-bg);
        border: 3px solid var(--border);
        padding: 1.5rem;
        text-align: center;
        transition: all 0.3s ease;
        height: 100%;
    }

    .upcoming-card:hover {
        border-color: var(--accent);
        transform: translateY(-5px);
        box-shadow: 6px 6px 0 rgba(250, 204, 21, 0.2);
    }

    .upcoming-date {
        font-size: 2rem;
        font-weight: 900;
        color: var(--accent);
        font-family: 'Inter', sans-serif;
    }

    .upcoming-name {
        font-size: 1.1rem;
        font-weight: 700;
        margin: 1rem 0;
        color: var(--text);
    }

    .upcoming-tag {
        display: inline-block;
        background: var(--primary);
        color: #fff;
        padding: 3px 10px;
        font-size: 0.8rem;
        font-weight: 600;
    }

    /* 步骤条 */
    .steps-wrapper {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        margin: 2rem 0;
    }

    .step-item {
        flex: 1;
        min-width: 200px;
        background: var(--card-bg);
        border: 3px solid var(--border);
        padding: 1.5rem;
        text-align: center;
        position: relative;
        box-shadow: 4px 4px 0 rgba(249, 115, 22, 0.2);
    }

    .step-number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        background: var(--primary);
        color: #fff;
        font-size: 1.4rem;
        font-weight: 900;
        margin-bottom: 1rem;
    }

    .step-title {
        font-weight: 800;
        font-size: 1rem;
        color: var(--accent);
        margin-bottom: 0.5rem;
    }

    .step-desc {
        font-size: 0.9rem;
        color: rgba(255, 247, 237, 0.75);
    }

    /* 友情链接 */
    .friend-links {
        background: var(--card-bg);
        border: 3px solid var(--border);
        padding: 2rem;
        margin: 3rem 0;
        box-shadow: var(--hard-shadow);
    }

    .friend-title {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--accent);
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--primary);
    }

    /* 页脚 */
    .footer-mx {
        background: #110d0a;
        border-top: 3px solid var(--primary);
        padding: 3rem 0;
        margin-top: 3rem;
    }

    .footer-logo {
        font-size: 1.8rem;
        font-weight: 900;
        color: var(--primary);
        font-family: '思源宋体', serif;
        text-decoration: none;
    }

    .footer-text {
        color: rgba(255, 247, 237, 0.6);
        font-size: 0.9rem;
    }

    .footer-link {
        color: rgba(255, 247, 237, 0.8);
        text-decoration: none;
        margin: 0 0.8rem;
        transition: color 0.3s ease;
    }

    .footer-link:hover {
        color: var(--primary);
    }

    /* 回到顶部 */
    .back-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        background: var(--primary);
        color: #fff;
        border: none;
        font-size: 1.3rem;
        box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
        cursor: pointer;
        display: none;
        z-index: 999;
        transition: all 0.3s ease;
    }

    .back-to-top:hover {
        background: var(--accent);
        color: var(--bg);
    }

    .back-to-top.visible {
        display: block;
    }

    /* 抽屉弹窗 */
    .drawer-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        z-index: 9999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .drawer-overlay.active {
        display: block;
        opacity: 1;
    }

    .drawer-panel {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background: var(--bg);
        border-top: 4px solid var(--primary);
        z-index: 10000;
        padding: 2rem;
        transition: bottom 0.4s ease;
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    }

    .drawer-panel.open {
        bottom: 0;
    }

    .drawer-close {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 2rem;
        color: var(--text);
        background: none;
        border: none;
        cursor: pointer;
        line-height: 1;
    }

    .drawer-close:hover {
        color: var(--primary);
    }

    .drawer-poster {
        width: 120px;
        height: 180px;
        background: var(--card-bg);
        border: 3px solid var(--primary);
        margin-right: 1.5rem;
        flex-shrink: 0;
    }

    .drawer-poster img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .drawer-title {
        font-size: 1.8rem;
        font-weight: 900;
        color: var(--text);
        margin-bottom: 0.5rem;
    }

    .drawer-info {
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-bottom: 1rem;
    }

    .drawer-tag {
        background: rgba(249, 115, 22, 0.2);
        border: 1px solid var(--primary);
        padding: 3px 12px;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--accent);
    }

    .drawer-plot {
        color: rgba(255, 247, 237, 0.85);
        line-height: 1.8;
        margin-bottom: 1rem;
    }

    .drawer-actors {
        color: rgba(255, 247, 237, 0.7);
        font-size: 0.9rem;
    }

    /* 响应式 */
    @media (max-width: 768px) {
        .content-wrapper {
            flex-direction: column;
            padding: 1rem;
        }

        .sidebar-mx {
            width: 100%;
            position: static;
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            padding: 1rem;
        }

        .sidebar-link {
            padding: 0.4rem 0.8rem;
            font-size: 0.85rem;
        }

        .hero-title {
            font-size: 2.2rem;
        }

        .hero-stat-number {
            font-size: 2.8rem;
        }

        .movie-grid {
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 1rem;
        }

        .section-title {
            font-size: 1.6rem;
        }
    }

    @media (max-width: 576px) {
        .movie-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 0.8rem;
        }

        .drawer-poster {
            width: 90px;
            height: 135px;
        }
    }

    /* 通用 */
    .btn-mx-primary {
        background: var(--primary);
        color: #fff;
        font-weight: 700;
        border: none;
        padding: 0.7rem 1.8rem;
        box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
        transition: all 0.3s ease;
        cursor: pointer;
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 1px;
        text-decoration: none;
        display: inline-block;
    }

    .btn-mx-primary:hover {
        background: var(--accent);
        color: var(--bg);
        box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
        transform: translate(2px, 2px);
        color: #000;
    }

    .divider-mx {
        border-top: 3px solid var(--border);
        margin: 3rem 0;
    }

    .section-wrapper {
        margin-bottom: 3.5rem;
    }

    /* 观影贴士 */
    .tips-card {
        background: var(--card-bg);
        border: 3px solid var(--border);
        padding: 1.5rem;
        margin-bottom: 1rem;
        transition: all 0.3s ease;
    }

    .tips-card:hover {
        border-color: var(--primary);
    }

    .tips-title {
        color: var(--accent);
        font-weight: 700;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .tips-text {
        color: rgba(255, 247, 237, 0.8);
        font-size: 0.95rem;
    }

    /* 专题 */
    .featured-special {
        background: linear-gradient(145deg, #2a1d12 0%, #1a1410 100%);
        border: 3px solid var(--accent);
        padding: 2rem;
        box-shadow: var(--hard-shadow);
    }

    .special-title {
        color: var(--accent);
        font-size: 1.8rem;
        font-weight: 900;
        margin-bottom: 1rem;
    }

    .special-desc {
        color: rgba(255, 247, 237, 0.9);
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }

    .special-list {
        list-style: none;
        padding: 0;
    }

    .special-list li {
        padding: 0.5rem 0;
        color: rgba(255, 247, 237, 0.85);
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

    .special-list li i {
        color: var(--primary);
        margin-top: 4px;
    }

/* --- 子页面追加 --- */
/* 关于页专用微调——保持硬朗阴影与暖色卡片 */
        .about-hero {
            background: var(--card-bg);
            border: 2px solid var(--border);
            box-shadow: var(--hard-shadow);
            padding: 2.5rem 2rem;
            margin-bottom: 2.5rem;
            border-radius: 0; /* 直角更硬朗 */
        }
.about-hero h1 {
            font-weight: 900;
            color: var(--primary);
            letter-spacing: -0.02em;
            margin-bottom: 0.75rem;
        }
.about-hero .lead {
            color: var(--text);
            opacity: 0.9;
            max-width: 720px;
        }
.section-card-mx {
            background: var(--card-bg);
            border: 1px solid var(--border);
            padding: 2rem 1.8rem;
            margin-bottom: 2rem;
            box-shadow: 4px 4px 0px rgba(249, 115, 22, 0.12);
            transition: transform .15s ease;
        }
.section-card-mx:hover {
            transform: translateY(-2px);
        }
.section-card-mx h2, .section-card-mx h3 {
            color: var(--accent);
            font-weight: 800;
            border-left: 6px solid var(--primary);
            padding-left: 1rem;
            margin-bottom: 1.25rem;
            font-size: 1.5rem;
        }
.section-card-mx p {
            color: var(--text);
            line-height: 1.8;
            opacity: 0.92;
        }
.section-card-mx ul {
            color: var(--text);
            padding-left: 1.2rem;
            line-height: 1.9;
        }
.section-card-mx li {
            margin-bottom: 0.4rem;
        }
.badge-mx-custom {
            background: var(--primary);
            color: #1a1410;
            font-weight: 700;
            padding: 0.2rem 0.8rem;
            border-radius: 0;
            display: inline-block;
            margin-bottom: 0.5rem;
            letter-spacing: 0.5px;
        }
.icon-list-mx i {
            color: var(--primary);
            margin-right: 0.6rem;
            width: 1.3rem;
            text-align: center;
        }
.icon-list-mx li {
            list-style: none;
            margin-left: -1.2rem;
        }
.highlight-mx {
            background: rgba(250, 204, 21, 0.12);
            border-left: 4px solid var(--accent);
            padding: 0.75rem 1rem;
            margin: 1.5rem 0;
        }
/* 导航高亮当前页 */
        .nav-link-mx.active-page {
            color: var(--accent) !important;
            border-bottom: 2px solid var(--accent);
        }
/* 保证所有卡片无白底 */
        .card, .card-body, .list-group-item, .accordion-item {
            background: transparent;
            color: var(--text);
            border-color: var(--border);
        }
/* 任何可能白底组件覆盖 */
        .form-control, .form-select {
            background: rgba(0,0,0,0.3);
            color: var(--text);
            border-color: var(--border);
        }

/* --- 子页面追加 --- */
/* 页面专属样式 */
        .disclaimer-wrapper {
            padding: 60px 0;
        }
.disclaimer-card {
            background: var(--card-bg);
            border: 2px solid var(--border);
            border-radius: 16px;
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: var(--hard-shadow);
            transition: transform 0.3s ease;
        }
.disclaimer-card:hover {
            transform: translateY(-4px);
        }
.disclaimer-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
.disclaimer-card h2 {
            color: var(--primary);
            font-weight: 800;
            font-size: 1.6rem;
            margin-bottom: 20px;
            border-left: 4px solid var(--accent);
            padding-left: 16px;
        }
.disclaimer-card h3 {
            color: var(--text);
            font-weight: 600;
            font-size: 1.2rem;
            margin-top: 25px;
            margin-bottom: 12px;
        }
.disclaimer-card p {
            color: rgba(255, 247, 237, 0.85);
            line-height: 1.8;
            margin-bottom: 15px;
        }
.disclaimer-card ul {
            color: rgba(255, 247, 237, 0.85);
            line-height: 1.8;
            padding-left: 20px;
            margin-bottom: 15px;
        }
.disclaimer-card li {
            margin-bottom: 8px;
        }
.disclaimer-card strong {
            color: var(--accent);
        }
.highlight-box {
            background: rgba(249, 115, 22, 0.1);
            border: 1px solid var(--primary);
            border-radius: 12px;
            padding: 20px;
            margin: 25px 0;
        }
.highlight-box p {
            color: var(--text);
            margin-bottom: 0;
        }
.update-time {
            color: rgba(255, 247, 237, 0.6);
            font-size: 0.9rem;
            text-align: right;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid var(--border);
        }
.breadcrumb-mx {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 15px 20px;
            margin-bottom: 30px;
        }
.breadcrumb-mx a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
        }
.breadcrumb-mx a:hover {
            color: var(--accent);
        }
.breadcrumb-mx span {
            color: rgba(255, 247, 237, 0.6);
            margin: 0 8px;
        }
.breadcrumb-mx .current {
            color: var(--text);
            font-weight: 500;
        }
.disclaimer-card {
                padding: 25px;
            }
.disclaimer-card h2 {
                font-size: 1.3rem;
            }

/* --- 子页面追加 --- */
/* 页面专用微调，确保与站点风格完全统一 */
        .privacy-hero {
            background: linear-gradient(145deg, var(--card-bg) 0%, var(--bg) 100%);
            border-bottom: 2px solid var(--border);
            padding: 3rem 0;
        }
.privacy-hero .hero-badge {
            display: inline-block;
            background: var(--primary);
            color: var(--bg);
            font-weight: 700;
            padding: 0.35rem 1rem;
            border-radius: 30px;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
            margin-bottom: 1.2rem;
            border: 2px solid var(--accent);
            box-shadow: var(--hard-shadow);
        }
.privacy-hero h1 {
            font-size: 2.6rem;
            font-weight: 900;
            color: var(--text);
            text-shadow: 3px 3px 0 var(--primary);
            margin-bottom: 0.8rem;
        }
.privacy-hero .lead {
            color: #d8c5b3;
            max-width: 720px;
            margin: 0 auto;
            font-weight: 400;
        }
.privacy-section {
            background: var(--bg);
            padding: 3rem 0;
        }
.privacy-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 18px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 6px 6px 0 rgba(249, 115, 22, 0.12);
            transition: transform 0.2s ease;
        }
.privacy-card:hover {
            transform: translateY(-3px);
        }
.privacy-card h2 {
            color: var(--accent);
            font-weight: 800;
            font-size: 1.5rem;
            margin-bottom: 1.2rem;
            border-left: 5px solid var(--primary);
            padding-left: 1rem;
            letter-spacing: -0.2px;
        }
.privacy-card p, .privacy-card li {
            color: var(--text);
            line-height: 1.8;
            font-weight: 400;
        }
.privacy-card ul, .privacy-card ol {
            padding-left: 1.5rem;
        }
.privacy-card li {
            margin-bottom: 0.5rem;
        }
.privacy-card strong {
            color: var(--accent);
            font-weight: 600;
        }
.privacy-card .highlight-box {
            background: rgba(249, 115, 22, 0.08);
            border-left: 4px solid var(--primary);
            padding: 1rem 1.5rem;
            border-radius: 0 12px 12px 0;
            margin-top: 1.5rem;
        }
.last-updated {
            color: var(--accent);
            font-weight: 500;
            opacity: 0.8;
            font-size: 0.9rem;
            margin-top: 1.5rem;
            border-top: 1px solid var(--border);
            padding-top: 1.2rem;
        }
.footer-mx a {
            color: var(--accent);
            text-decoration: none;
            font-weight: 500;
        }
.footer-mx a:hover {
            color: var(--primary);
        }
.footer-links {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            justify-content: center;
            margin-bottom: 1.5rem;
        }
.copyright {
            opacity: 0.7;
            font-size: 0.85rem;
            letter-spacing: 0.3px;
        }

/* --- 子页面追加 --- */
.contact-hero {
            background: linear-gradient(135deg, var(--bg) 0%, #2d241c 100%);
            padding: 60px 0 40px;
            border-bottom: 3px solid var(--primary);
            position: relative;
            overflow: hidden;
        }
.contact-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
            border-radius: 50%;
        }
.contact-hero-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 12px;
            position: relative;
            z-index: 1;
        }
.contact-hero-sub {
            font-size: 1.05rem;
            color: rgba(255, 247, 237, 0.7);
            max-width: 700px;
            position: relative;
            z-index: 1;
        }
.contact-section {
            padding: 50px 0;
        }
.contact-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 30px;
            height: 100%;
            transition: all 0.3s ease;
            box-shadow: var(--hard-shadow);
        }
.contact-card:hover {
            transform: translateY(-4px);
            border-color: var(--primary);
        }
.contact-card-icon {
            width: 56px;
            height: 56px;
            background: rgba(249, 115, 22, 0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 18px;
            font-size: 1.4rem;
            color: var(--primary);
        }
.contact-card h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 10px;
        }
.contact-card p {
            color: rgba(255, 247, 237, 0.7);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 8px;
        }
.contact-card a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            word-break: break-all;
        }
.contact-card a:hover {
            color: var(--accent);
        }
.contact-form-wrapper {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 30px;
            box-shadow: var(--hard-shadow);
        }
.contact-form-wrapper .form-label {
            color: var(--text);
            font-weight: 600;
            font-size: 0.9rem;
        }
.contact-form-wrapper .form-control {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid var(--border);
            color: var(--text);
            padding: 10px 14px;
            border-radius: 8px;
            font-size: 0.95rem;
        }
.contact-form-wrapper .form-control:focus {
            background: rgba(0, 0, 0, 0.4);
            border-color: var(--primary);
            box-shadow: none;
            color: var(--text);
        }
.contact-form-wrapper .form-control::placeholder {
            color: rgba(255, 247, 237, 0.4);
        }
.contact-form-wrapper .form-select {
            background-color: rgba(0, 0, 0, 0.3);
            border: 1px solid var(--border);
            color: var(--text);
            padding: 10px 14px;
            border-radius: 8px;
            font-size: 0.95rem;
        }
.contact-form-wrapper .form-select option {
            background-color: var(--card-bg);
            color: var(--text);
        }
.contact-form-wrapper .btn-submit {
            background: var(--primary);
            border: none;
            color: #1a1410;
            font-weight: 700;
            padding: 10px 30px;
            border-radius: 8px;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }
.contact-form-wrapper .btn-submit:hover {
            background: var(--accent);
            transform: translateY(-2px);
        }
.contact-info-block {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 25px;
            margin-bottom: 20px;
        }
.contact-info-block h4 {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 12px;
        }
.contact-info-block p {
            color: rgba(255, 247, 237, 0.8);
            font-size: 0.92rem;
            line-height: 1.8;
            margin-bottom: 6px;
        }
.faq-item {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 20px 24px;
            margin-bottom: 14px;
            cursor: pointer;
            transition: border-color 0.3s ease;
        }
.faq-item:hover {
            border-color: var(--primary);
        }
.faq-item h5 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.faq-item h5 i {
            color: var(--primary);
            font-size: 0.85rem;
        }
.faq-item p {
            color: rgba(255, 247, 237, 0.7);
            font-size: 0.9rem;
            line-height: 1.7;
            margin-bottom: 0;
        }
.social-links-contact {
            display: flex;
            gap: 12px;
            margin-top: 10px;
        }
.social-links-contact a {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: rgba(249, 115, 22, 0.1);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text);
            font-size: 1.1rem;
            transition: all 0.3s ease;
        }
.social-links-contact a:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #1a1410;
            transform: translateY(-3px);
        }
.contact-hero-title {
                font-size: 1.8rem;
            }
.contact-card {
                margin-bottom: 20px;
            }

/* --- 子页面追加 --- */
/* 页面专属微调，不改变全局变量 */
        .rank-hero {
            background: linear-gradient(145deg, var(--card-bg) 0%, var(--bg) 100%);
            border: 1px solid var(--border);
            box-shadow: var(--hard-shadow);
            padding: 2.5rem 1.5rem;
            border-radius: 20px;
            margin-bottom: 2.5rem;
        }
.rank-table {
            background: transparent;
        }
.rank-table .table-row {
            display: flex;
            align-items: center;
            padding: 0.9rem 1.2rem;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 16px;
            margin-bottom: 12px;
            transition: all 0.2s ease;
        }
.rank-table .table-row:hover {
            transform: translateY(-2px);
            border-color: var(--primary);
            box-shadow: 0 6px 18px rgba(249, 115, 22, 0.15);
        }
.rank-title {
            font-weight: 700;
            font-size: 1.2rem;
            color: var(--text);
            margin-bottom: 4px;
        }
.rank-score {
            font-weight: 800;
            color: var(--accent);
            font-size: 1.2rem;
            min-width: 70px;
            text-align: right;
        }
.rank-tag {
            background: rgba(249, 115, 22, 0.18);
            color: var(--primary);
            padding: 2px 10px;
            border-radius: 30px;
            font-size: 0.75rem;
            font-weight: 600;
            border: 1px solid rgba(249, 115, 22, 0.3);
        }
.badge-up {
            color: #4ade80;
            font-size: 0.8rem;
            margin-left: 6px;
        }
.badge-down {
            color: #f87171;
            font-size: 0.8rem;
            margin-left: 6px;
        }
.badge-same {
            color: var(--accent);
            font-size: 0.8rem;
            margin-left: 6px;
        }
.category-tabs {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }
.category-tab {
            background: var(--card-bg);
            border: 1px solid var(--border);
            color: var(--text);
            padding: 8px 22px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.2s;
        }
.category-tab.active, .category-tab:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #1a1410;
            box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
        }
.section-sub {
            color: var(--accent);
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-top: 8px;
        }
.update-note {
            background: rgba(250, 204, 21, 0.08);
            border-left: 4px solid var(--accent);
            padding: 12px 20px;
            border-radius: 0 12px 12px 0;
            color: var(--text);
            font-size: 0.95rem;
            margin: 2rem 0 1.5rem;
        }
.rank-title {
                font-size: 1rem;
            }
.rank-score {
                font-size: 1rem;
                min-width: 50px;
            }