:root {
        --primary: #38bdf8;
        --accent: #a78bfa;
        --bg: #0f172a;
        --text: #e2e8f0;
        --bg-card: #1e293b;
        --bg-light: #16213a;
        --radius-card: 18px;
        --radius-pill: 999px;
        --shadow-card: 0 8px 30px rgba(0,0,0,0.35);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
        background-color: var(--bg);
        color: var(--text);
        font-family: 'Inter', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
        overflow-x: hidden;
    }
    /* 思源宋体标题 */
    h1, h2, h3, .font-serif {
        font-family: 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
        font-weight: 800;
    }
    /* 点阵背景 */
    .dot-bg {
        background-image: radial-gradient(circle, rgba(56,189,248,0.12) 1px, transparent 1px);
        background-size: 24px 24px;
    }
    /* 细网格线 */
    .grid-bg {
        background-image: linear-gradient(rgba(56,189,248,0.05) 1px, transparent 1px),
                          linear-gradient(90deg, rgba(56,189,248,0.05) 1px, transparent 1px);
        background-size: 40px 40px;
    }
    /* 布局 */
    .layout-wrapper {
        display: flex;
        min-height: 100vh;
    }
    /* 左侧固定侧栏 */
    .sidebar {
        width: 260px;
        position: fixed;
        top: 0; left: 0;
        height: 100vh;
        background: rgba(15,23,42,0.92);
        backdrop-filter: blur(12px);
        z-index: 1000;
        padding: 2rem 1.5rem;
        border-right: 1px solid rgba(56,189,248,0.1);
        display: flex;
        flex-direction: column;
    }
    .sidebar .brand {
        font-size: 1.8rem;
        font-weight: 900;
        color: var(--primary);
        letter-spacing: 2px;
        text-decoration: none;
        margin-bottom: 2.5rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .sidebar .brand i {
        color: var(--accent);
        font-size: 1.6rem;
    }
    .sidebar nav {
        display: flex;
        flex-direction: column;
        gap: 4px;
        flex-grow: 1;
    }
    .sidebar nav a {
        color: var(--text);
        text-decoration: none;
        padding: 10px 16px;
        border-radius: var(--radius-pill);
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .sidebar nav a i {
        width: 20px;
        text-align: center;
        color: var(--primary);
        opacity: 0.8;
    }
    .sidebar nav a:hover, .sidebar nav a.active {
        background: rgba(56,189,248,0.1);
        color: var(--primary);
        padding-left: 22px;
    }
    .sidebar .side-footer {
        font-size: 0.75rem;
        color: rgba(226,232,240,0.4);
        text-align: center;
        border-top: 1px solid rgba(56,189,248,0.1);
        padding-top: 1.5rem;
    }
    /* 右侧主内容 */
    .main-content {
        margin-left: 260px;
        flex: 1;
        width: calc(100% - 260px);
    }
    /* 移动端侧栏 */
    .mobile-topbar {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 999;
        background: rgba(15,23,42,0.95);
        backdrop-filter: blur(12px);
        padding: 14px 20px;
        border-bottom: 1px solid rgba(56,189,248,0.1);
    }
    .mobile-topbar .brand {
        color: var(--primary);
        font-size: 1.4rem;
        font-weight: 900;
        text-decoration: none;
    }
    .mobile-topbar .hamburger {
        background: transparent;
        border: 1px solid rgba(56,189,248,0.3);
        color: var(--text);
        border-radius: 50%;
        width: 40px; height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .mobile-nav {
        display: none;
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: rgba(15,23,42,0.98);
        padding: 10px 20px 20px;
        z-index: 998;
        border-bottom: 1px solid rgba(56,189,248,0.2);
        backdrop-filter: blur(12px);
    }
    .mobile-nav a {
        display: block;
        padding: 12px 16px;
        color: var(--text);
        text-decoration: none;
        border-radius: var(--radius-pill);
        font-weight: 500;
        border-bottom: 1px solid rgba(56,189,248,0.05);
    }
    .mobile-nav a i { margin-right: 10px; color: var(--primary); }
    /* Hero 区 */
    .hero {
        min-height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 3rem 2rem;
        position: relative;
        overflow: hidden;
    }
    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 30% 50%, rgba(56,189,248,0.12), transparent 60%),
                    radial-gradient(ellipse at 70% 30%, rgba(167,139,250,0.12), transparent 50%);
        z-index: 0;
    }
    .hero .inner { position: relative; z-index: 1; max-width: 800px; }
    .hero h1 {
        font-size: clamp(3rem, 7vw, 4.5rem);
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 0.8rem;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .hero p.subtitle {
        font-size: 1.15rem;
        color: rgba(226,232,240,0.7);
        max-width: 600px;
        margin: 1rem auto 2rem;
        line-height: 1.7;
    }
    /* 关键词标签云 */
    .tag-cloud {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 14px;
        margin: 1.5rem 0 2.5rem;
        max-width: 680px;
    }
    .tag-cloud .tag {
        padding: 6px 18px;
        border-radius: var(--radius-pill);
        font-size: 0.85rem;
        font-weight: 500;
        background: rgba(30,41,59,0.7);
        border: 1px solid rgba(56,189,248,0.2);
        color: var(--text);
        transition: all 0.3s;
        cursor: default;
        animation: floatTag 3s ease-in-out infinite;
    }
    .tag-cloud .tag:nth-child(2n) { animation-delay: 0.3s; border-color: rgba(167,139,250,0.3); }
    .tag-cloud .tag:nth-child(3n) { animation-delay: 0.6s; }
    .tag-cloud .tag:hover { background: rgba(56,189,248,0.15); transform: translateY(-3px); }
    @keyframes floatTag {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-6px); }
    }
    .btn-glow {
        display: inline-block;
        padding: 12px 32px;
        border-radius: var(--radius-pill);
        background: linear-gradient(135deg, var(--primary), var(--accent));
        color: #fff;
        font-weight: 600;
        text-decoration: none;
        font-size: 1rem;
        position: relative;
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
        box-shadow: 0 4px 20px rgba(56,189,248,0.3);
    }
    .btn-glow::after {
        content: '';
        position: absolute;
        top: 0; left: -100%;
        width: 100%; height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
        transition: left 0.5s;
    }
    .btn-glow:hover::after { left: 100%; }
    .btn-glow:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(167,139,250,0.4); }
    /* 区块通用 */
    .section {
        padding: 4.5rem 2.5rem;
        position: relative;
    }
    .section-title {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        position: relative;
        display: inline-block;
    }
    .section-title::after {
        content: '';
        position: absolute;
        bottom: -8px; left: 0;
        width: 40px; height: 4px;
        border-radius: 4px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
    }
    .section-desc {
        color: rgba(226,232,240,0.6);
        margin-top: 1.2rem;
        font-size: 1rem;
    }
    /* 瀑布流卡片 */
    .masonry {
        column-count: 3;
        column-gap: 20px;
        margin-top: 2.5rem;
    }
    .masonry-card {
        break-inside: avoid;
        background: var(--bg-card);
        border-radius: var(--radius-card);
        padding: 1.5rem;
        margin-bottom: 20px;
        box-shadow: var(--shadow-card);
        transition: transform 0.3s, box-shadow 0.3s;
        border: 1px solid rgba(56,189,248,0.08);
    }
    .masonry-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(56,189,248,0.15);
    }
    .masonry-card .card-title {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.8rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .masonry-card .card-title i { color: var(--accent); }
    .masonry-card p {
        color: rgba(226,232,240,0.75);
        font-size: 0.92rem;
        line-height: 1.7;
    }
    /* 对比表格 */
    .compare-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        margin-top: 2rem;
        background: var(--bg-card);
        border-radius: var(--radius-card);
        overflow: hidden;
        box-shadow: var(--shadow-card);
    }
    .compare-table th, .compare-table td {
        padding: 1rem 1.5rem;
        text-align: center;
        border-bottom: 1px solid rgba(56,189,248,0.1);
    }
    .compare-table th {
        background: rgba(56,189,248,0.1);
        font-weight: 700;
        font-size: 1rem;
        color: var(--primary);
    }
    .compare-table td {
        font-size: 0.95rem;
        color: var(--text);
    }
    .compare-table tr:last-child td { border-bottom: none; }
    .compare-table td:first-child { text-align: left; font-weight: 600; }
    /* 编号清单 */
    .numbered-list {
        counter-reset: item;
        list-style: none;
        padding: 0;
        margin: 2rem 0 0;
        max-width: 800px;
    }
    .numbered-list li {
        counter-increment: item;
        position: relative;
        padding: 0.8rem 0 0.8rem 3.5rem;
        font-size: 1rem;
        color: var(--text);
        border-bottom: 1px solid rgba(56,189,248,0.07);
        line-height: 1.7;
    }
    .numbered-list li::before {
        content: counter(item, decimal-leading-zero);
        position: absolute;
        left: 0; top: 0.6rem;
        width: 36px; height: 36px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        color: #fff;
        font-weight: 700;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(56,189,248,0.3);
    }
    /* FAQ 手风琴 */
    .faq-item {
        background: var(--bg-card);
        border-radius: var(--radius-card);
        padding: 1.3rem 1.8rem;
        margin-bottom: 14px;
        border-left: 4px solid var(--primary);
        transition: background 0.3s;
    }
    .faq-item:hover { background: #243247; }
    .faq-item h4 {
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .faq-item h4 i { color: var(--accent); }
    .faq-item p {
        color: rgba(226,232,240,0.7);
        font-size: 0.95rem;
        margin-top: 10px;
        line-height: 1.7;
    }
    /* CTA */
    .cta-section {
        background: linear-gradient(135deg, rgba(56,189,248,0.08), rgba(167,139,250,0.08));
        border-radius: 24px;
        margin: 2rem 2.5rem 4rem;
        padding: 3rem;
        text-align: center;
        border: 1px solid rgba(56,189,248,0.15);
    }
    .cta-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .cta-section p {
        color: rgba(226,232,240,0.7);
        margin-bottom: 2rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    /* 友情链接 */
    .friend-links {
        padding: 2rem 2.5rem 1.5rem;
        border-top: 1px solid rgba(56,189,248,0.1);
        margin-top: 2rem;
    }
    .friend-links h4 {
        font-size: 1.2rem;
        color: var(--primary);
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    /* 页脚 */
    .footer {
        text-align: center;
        padding: 2rem 1rem 3rem;
        border-top: 1px solid rgba(56,189,248,0.1);
        margin-top: 2rem;
        color: rgba(226,232,240,0.5);
        font-size: 0.9rem;
    }
    .footer .brand-footer {
        color: var(--primary);
        font-weight: 800;
        font-size: 1.2rem;
    }
    .footer a {
        color: rgba(226,232,240,0.6);
        text-decoration: none;
        margin: 0 8px;
    }
    .footer a:hover { color: var(--primary); }
    /* 滚动渐显动画 */
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    /* 卡片错落延迟 */
    .masonry-card.reveal:nth-child(1) { transition-delay: 0.1s; }
    .masonry-card.reveal:nth-child(2) { transition-delay: 0.2s; }
    .masonry-card.reveal:nth-child(3) { transition-delay: 0.3s; }
    .masonry-card.reveal:nth-child(4) { transition-delay: 0.4s; }
    /* 响应式 */
    @media (max-width: 992px) {
        .sidebar { display: none; }
        .main-content { margin-left: 0; width: 100%; }
        .mobile-topbar { display: flex; justify-content: space-between; align-items: center; }
        .masonry { column-count: 2; }
        .section { padding: 3rem 1.5rem; }
        .cta-section { margin: 1.5rem; padding: 2rem; }
    }
    @media (max-width: 576px) {
        .masonry { column-count: 1; }
        .hero h1 { font-size: 2.5rem; }
        .section-title { font-size: 1.6rem; }
        .tag-cloud .tag { font-size: 0.75rem; padding: 4px 12px; }
    }

/* --- 子页面追加 --- */
/* 本页专属补充样式 - 关于页 */
        .about-hero { padding: 80px 0 40px; position: relative; overflow: hidden; }
.about-hero::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 999px; }
.about-stat { text-align: center; padding: 30px 20px; background: var(--bg-card); border-radius: var(--radius-card); border: 1px solid rgba(255,255,255,.06); box-shadow: var(--shadow-card); transition: transform .3s ease, border-color .3s ease; }
.about-stat:hover { transform: translateY(-6px); border-color: var(--primary); }
.stat-number { font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: block; margin-bottom: 8px; }
.stat-label { color: var(--text); opacity: .75; font-size: .95rem; }
.timeline-item { position: relative; padding-left: 28px; margin-bottom: 32px; }
.timeline-item::before { content: ''; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 4px rgba(56,189,248,.15); }
.timeline-item::after { content: ''; position: absolute; left: 5px; top: 22px; width: 2px; height: calc(100% - 16px); background: linear-gradient(180deg, var(--primary), transparent); }
.timeline-item:last-child::after { display: none; }
.timeline-year { font-weight: 700; color: var(--primary); font-size: 1.1rem; display: block; margin-bottom: 4px; }
.value-card { padding: 28px 24px; background: var(--bg-card); border-radius: var(--radius-card); border: 1px solid rgba(255,255,255,.06); box-shadow: var(--shadow-card); height: 100%; transition: border-color .3s ease, transform .3s ease; }
.value-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.value-card .icon-wrap { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: rgba(56,189,248,.12); color: var(--primary); border-radius: 14px; font-size: 1.4rem; margin-bottom: 16px; }
.member-card { background: var(--bg-card); border-radius: var(--radius-card); border: 1px solid rgba(255,255,255,.06); box-shadow: var(--shadow-card); padding: 32px 24px; text-align: center; transition: border-color .3s ease, transform .3s ease; }
.member-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.member-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 16px; color: #fff; }
.member-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.member-role { font-size: .9rem; color: var(--primary); margin-bottom: 12px; }
.member-desc { font-size: .9rem; color: var(--text); opacity: .7; }
.philosophy-block { background: linear-gradient(135deg, rgba(56,189,248,.06), rgba(167,139,250,.06)); border: 1px solid rgba(56,189,248,.15); border-radius: var(--radius-card); padding: 40px; margin: 40px 0; }
.philosophy-quote { font-size: 1.25rem; line-height: 1.8; font-weight: 500; color: var(--text); border-left: 4px solid var(--primary); padding-left: 20px; margin-bottom: 20px; }
.about-hero { padding: 40px 0 24px; }
.philosophy-block { padding: 24px; }
.philosophy-quote { font-size: 1.05rem; }

/* --- 子页面追加 --- */
/* 确保任何 bootstrap 组件都融入暗色主题 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .form-control, .form-select, .accordion-item, .accordion-button, .accordion-body,
        .modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item {
            background: var(--bg-card);
            color: var(--text);
            border-color: var(--bg-light);
        }
.accordion-button:not(.collapsed) {
            background: var(--bg-light);
            color: var(--primary);
        }
.accordion-button:focus {
            box-shadow: none;
            border-color: var(--primary);
        }
.list-group-item {
            background: var(--bg-card);
            color: var(--text);
            border-color: var(--bg-light);
        }
/* 链接高亮覆盖 */
        .nav-link.active, .navbar .nav-link.active {
            color: var(--primary) !important;
            font-weight: 700;
        }
.navbar, .mobile-nav {
            background: rgba(15, 23, 42, 0.9) !important;
            backdrop-filter: blur(6px);
        }
.navbar .nav-link, .mobile-nav a {
            color: var(--text) !important;
        }
.navbar .nav-link:hover, .mobile-nav a:hover {
            color: var(--primary) !important;
        }
.navbar-brand, .mobile-nav .brand {
            color: var(--text) !important;
            font-weight: 800;
        }
/* 下拉/手风琴细节 */
        .faq-item {
            background: var(--bg-card);
            border: 1px solid var(--bg-light);
            border-radius: var(--radius-card);
            padding: 1.5rem;
            margin-bottom: 1rem;
        }
.faq-item h3 {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.25rem;
        }
.masonry-card h3 {
            color: var(--accent);
            font-weight: 700;
            font-size: 1.4rem;
            margin-bottom: 1rem;
            border-left: 4px solid var(--primary);
            padding-left: 0.8rem;
        }
.masonry-card ul, .masonry-card ol {
            padding-left: 1.2rem;
            color: var(--text);
        }
.masonry-card li {
            margin-bottom: 0.5rem;
        }
.masonry-card .highlight {
            color: var(--primary);
            font-weight: 600;
        }
.friend-links a {
            color: var(--primary);
            margin-right: 1rem;
        }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件不影响本站配色 —— 只使用栅格工具类，全部组件自写类 */
        /* 覆盖可能用到的原生按钮/表单 (实际本页极少用) */
        .btn-glow { background: var(--primary); border: none; color: #0b1120; font-weight: 600; }
.text-glow { color: var(--primary); }
.guidelines-hero { background: radial-gradient(circle at 20% 30%, rgba(56,189,248,0.08), transparent 60%), var(--bg); }
.step-icon { width: 40px; height: 40px; background: rgba(56,189,248,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 600; }
.tip-card { background: var(--bg-card); border: 1px solid rgba(148,163,184,0.15); border-radius: var(--radius-card); padding: 1.5rem; }
.tip-card h3 { color: var(--text); font-weight: 600; }
.tip-card p { color: rgba(226,232,240,0.8); }
.accordion-item { background: var(--bg-card); border: 1px solid rgba(148,163,184,0.2); border-radius: 12px; margin-bottom: 1rem; }
.accordion-button { background: var(--bg-card); color: var(--text); }
.accordion-button::after { filter: invert(0.8); }
.accordion-body { color: var(--text); }

/* --- 子页面追加 --- */
/* 确保Bootstrap组件不会破坏深色风格 */
        .card, .card-body, .list-group-item, .accordion-item, .accordion-button {
            background: var(--bg-card);
            color: var(--text);
            border-color: #2d3a4f;
        }
.form-control, .form-select {
            background: #0b1622;
            color: var(--text);
            border-color: #2d3a4f;
        }
.form-control::placeholder {
            color: rgba(226, 232, 240, 0.4);
        }
/* 按钮统一光效 */
        .btn-glow {
            transition: all 0.3s ease;
        }
/* 排行榜条目hover微动效 */
        .rank-item {
            transition: transform 0.2s ease, background 0.2s ease;
        }
.rank-item:hover {
            transform: translateY(-2px);
            background: #253349;
        }
/* 数字徽章样式 */
        .rank-badge {
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

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