:root {
            --primary: #4f46e5;
            --accent: #7c3aed;
            --bg: #f5f3ff;
            --text: #1e1b4b;
            --radius-lg: 24px;
            --radius-md: 18px;
            --shadow-soft: 0 8px 30px rgba(79, 70, 229, 0.10);
            --shadow-hover: 0 16px 40px rgba(124, 58, 237, 0.16);
        }

        * {
            box-sizing: border-box;
        }

        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            line-height: 1.6;
            font-size: 0.95rem;
            overflow-x: hidden;
        }

        /* 滚动进度条 */
        #scrollProgress {
            position: fixed;
            top: 0;
            left: 0;
            height: 4px;
            width: 0%;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            z-index: 9999;
            border-radius: 0 4px 4px 0;
        }

        /* 几何装饰背景 */
        .geo-bg {
            position: absolute;
            pointer-events: none;
            border-radius: 50%;
            opacity: 0.2;
            filter: blur(1px);
        }

        .hero-geo-container {
            position: relative;
            overflow: hidden;
        }
        .geo-circle {
            width: 220px;
            height: 220px;
            background: var(--accent);
            border-radius: 50%;
            top: -40px;
            right: -60px;
        }
        .geo-square {
            width: 100px;
            height: 100px;
            background: var(--primary);
            border-radius: 20px;
            bottom: 30px;
            left: 5%;
            transform: rotate(15deg);
        }
        .geo-triangle {
            width: 0;
            height: 0;
            border-left: 50px solid transparent;
            border-right: 50px solid transparent;
            border-bottom: 80px solid var(--accent);
            border-radius: 10px;
            top: 20%;
            left: 12%;
            transform: rotate(10deg);
            background: transparent;
        }

        /* 卡片悬浮 */
        .card-hover {
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            border-radius: var(--radius-lg);
            background: white;
            border: 1px solid rgba(79, 70, 229, 0.1);
        }
        .card-hover:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }

        /* 圆角统一 */
        .rounded-custom {
            border-radius: var(--radius-lg) !important;
        }

        .btn-custom {
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 40px;
            padding: 10px 24px;
            font-weight: 600;
            transition: 0.2s;
        }
        .btn-custom:hover {
            background: var(--accent);
            color: white;
        }

        /* 标签云 */
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
        }
        .tag-cloud .badge-tag {
            background: white;
            padding: 8px 18px;
            border-radius: 40px;
            font-weight: 600;
            color: var(--primary);
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(79,70,229,0.2);
            font-size: 0.9rem;
        }

        /* 对比表格 */
        .compare-table {
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-soft);
        }
        .compare-table th {
            background: var(--primary);
            color: white;
            font-weight: 600;
            padding: 16px;
        }
        .compare-table td {
            padding: 14px 16px;
            background: white;
            border-bottom: 1px solid #e9e5f5;
        }

        /* 编号列表 */
        .step-list {
            counter-reset: step-counter;
            list-style: none;
            padding-left: 0;
        }
        .step-list li {
            counter-increment: step-counter;
            margin-bottom: 20px;
            position: relative;
            padding-left: 48px;
            font-weight: 500;
        }
        .step-list li::before {
            content: counter(step-counter);
            background: var(--accent);
            color: white;
            width: 32px;
            height: 32px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            position: absolute;
            left: 0;
            top: 2px;
        }

        /* 手写标题 */
        .hand-title {
            font-family: 'Segoe Print', 'Comic Sans MS', 'Bradley Hand', cursive;
            letter-spacing: 1px;
            font-weight: 700;
        }

        /* 回到顶部按钮 */
        #backToTop {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            border: none;
            box-shadow: var(--shadow-hover);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: 0.2s;
            z-index: 999;
        }
        #backToTop.show {
            opacity: 1;
            visibility: visible;
        }

        /* 导航品牌 */
        .navbar-brand {
            font-weight: 800;
            color: var(--primary) !important;
            font-size: 1.6rem;
        }
        .navbar {
            background: rgba(245, 243, 255, 0.85);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(79,70,229,0.15);
        }

        footer a {
            color: var(--text);
            text-decoration: none;
        }
        footer a:hover {
            color: var(--accent);
        }

        /* 友链区 */
        .friend-links {
            background: white;
            border-radius: var(--radius-lg);
            padding: 18px 24px;
            box-shadow: var(--shadow-soft);
        }

        /* 字体紧凑调整 */
        .small-text { font-size: 0.9rem; }
        h2, h3 { color: var(--text); }
        .text-accent { color: var(--accent); }

/* --- 子页面追加 --- */
/* 页面专属样式 - 关于我们页 */
        .about-hero {
            background: linear-gradient(135deg, var(--bg) 0%, #ede9fe 100%);
            padding: 80px 0 60px;
            position: relative;
            overflow: hidden;
        }
.about-content-section {
            padding: 60px 0;
        }
.about-card {
            background: rgba(255,255,255,0.7);
            border-radius: var(--radius-lg);
            padding: 32px;
            margin-bottom: 24px;
            box-shadow: var(--shadow-soft);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.about-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
.section-title {
            font-weight: 800;
            color: var(--text);
            margin-bottom: 24px;
            position: relative;
            padding-left: 16px;
        }
.section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 28px;
            background: linear-gradient(180deg, var(--primary), var(--accent));
            border-radius: 4px;
        }
.feature-icon {
            font-size: 32px;
            color: var(--primary);
            margin-bottom: 16px;
        }
.about-text {
            color: #4b4585;
            line-height: 1.8;
            font-size: 16px;
        }
.stat-number {
            font-size: 36px;
            font-weight: 900;
            color: var(--primary);
        }
.stat-label {
            color: #6b668f;
            font-size: 14px;
            font-weight: 500;
        }
.timeline-item {
            border-left: 3px solid var(--primary);
            padding-left: 24px;
            margin-bottom: 32px;
            position: relative;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -8px;
            top: 4px;
            width: 13px;
            height: 13px;
            background: var(--primary);
            border-radius: 50%;
            border: 3px solid var(--bg);
        }
.timeline-year {
            font-weight: 800;
            color: var(--primary);
            font-size: 18px;
        }
.timeline-desc {
            color: #4b4585;
            margin-top: 8px;
            line-height: 1.7;
        }
.value-list {
            padding: 0;
            list-style: none;
        }
.value-list li {
            padding: 10px 0;
            color: #4b4585;
            line-height: 1.6;
        }
.value-list li i {
            color: var(--primary);
            margin-right: 10px;
        }
.team-quote {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: var(--radius-lg);
            padding: 40px;
            color: white;
            text-align: center;
            margin-top: 40px;
        }
.team-quote blockquote {
            font-size: 20px;
            font-weight: 500;
            font-style: italic;
            line-height: 1.6;
            margin-bottom: 16px;
        }
.team-quote cite {
            font-size: 14px;
            opacity: 0.9;
        }
.about-badge {
            display: inline-block;
            background: rgba(79, 70, 229, 0.1);
            color: var(--primary);
            border-radius: 50px;
            padding: 6px 16px;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 20px;
        }
.about-hero {
                padding: 60px 0 40px;
            }
.about-card {
                padding: 24px;
            }
.stat-number {
                font-size: 28px;
            }
.team-quote {
                padding: 28px;
            }

/* --- 子页面追加 --- */
/* 保证所有卡片、表单、列表等组件跟随站点配色，避免白块黑字 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .form-control, .form-select, .form-label, .input-group-text,
        .table, .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item,
        .nav-link, .navbar, .navbar-brand, .btn-light, .btn-outline-* {
            background-color: var(--bg) !important;
            color: var(--text) !important;
            border-color: var(--primary) !important;
        }
.form-control::placeholder {
            color: rgba(30, 27, 75, 0.5) !important;
        }
/* 本页专用微调 */
        .disclaimer-section {
            margin-top: 2.5rem;
            margin-bottom: 2.5rem;
        }
.disclaimer-title {
            color: var(--primary);
            font-weight: 700;
            margin-bottom: 1.2rem;
            position: relative;
            padding-left: 1.2rem;
        }
.disclaimer-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.2rem;
            width: 6px;
            height: 80%;
            background: var(--accent);
            border-radius: 4px;
        }
.border-soft {
            border: 1px solid rgba(79, 70, 229, 0.15);
            border-radius: var(--radius-md);
            padding: 1.5rem;
            background: rgba(255,255,255,0.4);
            box-shadow: var(--shadow-soft);
        }
.list-check {
            list-style: none;
            padding-left: 0;
        }
.list-check li {
            padding-left: 2rem;
            position: relative;
            margin-bottom: 0.8rem;
        }
.list-check li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 0.1rem;
            color: var(--accent);
        }
.friend-links a {
            color: var(--primary);
            text-decoration: none;
            margin-right: 1.5rem;
        }
.friend-links a:hover {
            text-decoration: underline;
        }
/* 高亮当前导航 */
        .navbar .nav-link.active-page {
            color: var(--accent) !important;
            font-weight: 600;
        }

/* --- 子页面追加 --- */
/* 排行榜专属样式 */
        .rank-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.rank-table th { background: var(--primary); color: #fff; padding: 12px 16px; text-align: left; font-weight: 600; }
.rank-table th:first-child { border-radius: 12px 0 0 0; }
.rank-table th:last-child { border-radius: 0 12px 0 0; }
.rank-table td { padding: 14px 16px; border-bottom: 1px solid rgba(79, 70, 229, 0.1); background: rgba(255,255,255,0.5); }
.rank-table tr:hover td { background: rgba(124, 58, 237, 0.05); }
.rank-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 800; color: #fff; background: var(--primary); margin-right: 8px; }
.rank-num.top1 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.rank-num.top2 { background: linear-gradient(135deg, #94a3b8, #64748b); }
.rank-num.top3 { background: linear-gradient(135deg, #b45309, #92400e); }
.rank-title { font-weight: 600; color: var(--text); }
.rank-tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; background: var(--accent); color: #fff; margin-left: 8px; }
.rank-tag.tag-hot { background: #ef4444; }
.rank-tag.tag-new { background: #22c55e; }
.rank-tag.tag-classic { background: #6366f1; }
.rank-score { font-weight: 700; color: var(--accent); font-size: 1.1em; }
.rank-chart { background: rgba(79, 70, 229, 0.08); border-radius: var(--radius-lg); padding: 30px; margin: 30px 0; border: 1px solid rgba(79, 70, 229, 0.15); }
.chart-item { display: flex; align-items: center; margin-bottom: 18px; }
.chart-label { width: 120px; font-weight: 600; color: var(--text); font-size: 14px; }
.chart-bar-wrap { flex: 1; height: 24px; background: rgba(255,255,255,0.6); border-radius: 12px; overflow: hidden; margin: 0 12px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.06); }
.chart-bar { height: 100%; border-radius: 12px; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width 0.6s ease; }
.chart-value { width: 80px; text-align: right; font-weight: 700; color: var(--primary); }
.rank-category { display: inline-block; padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; margin: 0 6px 10px 0; border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.rank-category.active { background: var(--primary); color: #fff; }
.rank-category:hover { background: var(--primary); color: #fff; }
.rank-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-right: 8px; }
.rank-badge.bg-primary { background: var(--primary) !important; }
.rank-badge.bg-accent { background: var(--accent) !important; }
.chart-label { width: 80px; font-size: 12px; }
.chart-value { width: 50px; font-size: 12px; }
.rank-table { font-size: 14px; }
.rank-tag { display: none; }

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