/* 靛蓝紫罗兰 浅色主题 */
    :root {
      --main: #4f46e5;
      --accent: #7c3aed;
      --bg: #f5f3ff;
      --text: #1e1b4b;
      --white: #ffffff;
      --card-bg: #ffffff;
      --border-light: rgba(79, 70, 229, 0.15);
      --shadow-sm: 0 8px 20px rgba(79, 70, 229, 0.08);
      --shadow-hover: 0 14px 30px rgba(124, 58, 237, 0.15);
      --radius-lg: 24px;
      --radius-md: 18px;
      --radius-pill: 50rem;
    }
    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      line-height: 1.8;
      letter-spacing: 0.01em;
      overflow-x: hidden;
    }
    h1, h2, h3, h4, h5, .navbar-brand, .display-lead {
      font-weight: 800;
      letter-spacing: -0.02em;
    }
    .text-muted-soft { color: rgba(30, 27, 75, 0.7); }

    /* 渐变光晕背景 */
    .glow-background {
      position: relative;
      background: 
        radial-gradient(circle at 10% 30%, rgba(124, 58, 237, 0.10), transparent 28%),
        radial-gradient(circle at 90% 70%, rgba(79, 70, 229, 0.12), transparent 35%);
    }

    /* 胶囊导航 */
    .navbar-capsule {
      background: rgba(255,255,255,0.7);
      backdrop-filter: blur(10px);
      border-radius: var(--radius-pill);
      padding: 0.5rem 1.2rem;
      box-shadow: var(--shadow-sm);
      margin-top: 1rem;
    }
    .navbar-capsule .navbar-brand {
      font-weight: 900;
      color: var(--main);
      font-size: 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.35rem;
    }
    .navbar-capsule .nav-link {
      color: var(--text);
      font-weight: 500;
      border-radius: var(--radius-pill);
      padding: 0.5rem 1.1rem;
      transition: 0.2s;
    }
    .navbar-capsule .nav-link:hover {
      background-color: rgba(79, 70, 229, 0.08);
      color: var(--main);
    }
    .navbar-toggler {
      border: none;
      color: var(--main);
    }

    /* 关键词标签云 hero */
    .tagcloud-hero {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.8rem 1.2rem;
      margin-bottom: 2rem;
    }
    .tagcloud-hero .badge-tag {
      background: var(--white);
      color: var(--main);
      padding: 0.4rem 1.2rem;
      border-radius: var(--radius-pill);
      font-weight: 600;
      font-size: 0.9rem;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border-light);
      transition: all 0.2s;
      animation: float 6s ease-in-out infinite;
    }
    .tagcloud-hero .badge-tag:nth-child(2) { animation-delay: 0.8s; }
    .tagcloud-hero .badge-tag:nth-child(3) { animation-delay: 1.6s; }
    .tagcloud-hero .badge-tag:nth-child(4) { animation-delay: 2.2s; }
    .tagcloud-hero .badge-tag:nth-child(5) { animation-delay: 3s; }
    @keyframes float {
      0%,100%{ transform: translateY(0); }
      50%{ transform: translateY(-6px); }
    }

    /* 卡片区域 */
    .card-custom {
      background: var(--card-bg);
      border-radius: var(--radius-md);
      border: 1px solid transparent;
      box-shadow: var(--shadow-sm);
      transition: transform 0.2s ease, border-color 0.2s, box-shadow 0.2s;
    }
    .card-custom:hover {
      transform: scale(1.02);
      border-color: var(--accent);
      box-shadow: var(--shadow-hover);
    }
    /* 滚动渐显 */
    .reveal-group {
      opacity: 0;
      transform: translateY(25px);
      transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s;
    }
    .reveal-group.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }

    /* 手风琴定制 */
    .accordion-custom .accordion-item {
      border: none;
      background: transparent;
      border-radius: var(--radius-md) !important;
      margin-bottom: 0.8rem;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border-light);
      overflow: hidden;
    }
    .accordion-custom .accordion-button {
      background: var(--white);
      color: var(--text);
      font-weight: 600;
      padding: 1.2rem 1.5rem;
      font-size: 1rem;
      box-shadow: none;
    }
    .accordion-custom .accordion-button:not(.collapsed) {
      background: var(--white);
      color: var(--main);
    }
    .accordion-custom .accordion-button:focus {
      box-shadow: none;
    }
    .accordion-custom .accordion-body {
      background: var(--white);
      color: var(--text);
      line-height: 1.8;
    }

    /* 等宽字体数据 */
    .data-number {
      font-family: 'SF Mono', 'Fira Code', monospace;
      font-weight: 600;
      font-size: 2rem;
      color: var(--main);
    }

    /* 回到顶部按钮 */
    #backTop {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--main);
      color: white;
      border: none;
      box-shadow: 0 8px 18px rgba(79,70,229,0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
      z-index: 999;
    }
    #backTop.show {
      opacity: 1;
      visibility: visible;
    }

    /* 区块间距 */
    .section-block {
      padding: 4.5rem 0;
    }
    .fake-link, .footer a {
      color: var(--main);
      text-decoration: none;
    }

    /* 分隔装饰 */
    .soft-rule {
      width: 90px;
      height: 4px;
      background: linear-gradient(90deg, var(--main), var(--accent));
      border-radius: var(--radius-pill);
      margin: 0.5rem 0 1.2rem;
    }

/* --- 子页面追加 --- */
.about-hero { padding: 3rem 0 4rem; }
.about-card { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-sm); transition: all .35s ease; }
.about-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.about-icon { width: 64px; height: 64px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(124,58,237,.12)); color: var(--main); margin-bottom: 1.25rem; }
.timeline-item { position: relative; padding-left: 2rem; padding-bottom: 2.25rem; border-left: 2px solid var(--border-light); }
.timeline-item::before { content: ''; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--main); box-shadow: 0 0 0 4px rgba(79,70,229,.15); }
.timeline-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-year { font-weight: 800; color: var(--main); font-size: 1.05rem; letter-spacing: .02em; }
.badge-soft { display: inline-block; background: rgba(79,70,229,.08); color: var(--main); border-radius: var(--radius-pill); padding: .3rem .9rem; font-size: .85rem; font-weight: 600; border: 1px solid var(--border-light); }
.quote-block { background: linear-gradient(135deg, rgba(79,70,229,.05), rgba(124,58,237,.05)); border-left: 4px solid var(--main); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 1.5rem 2rem; font-style: italic; color: var(--text); font-size: 1.05rem; line-height: 1.8; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-grid { grid-template-columns: repeat(2, 1fr); }
.about-card { padding: 1.75rem; }

/* --- 子页面追加 --- */
.rank-badge { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--radius-pill); background: linear-gradient(135deg, var(--main), var(--accent)); color: #fff; font-weight: 700; font-size: .9rem; margin-right: 12px; flex-shrink: 0; }
.rank-item { background: var(--card-bg); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm); transition: all .3s ease; }
.rank-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.rank-number { font-size: 2rem; font-weight: 900; color: var(--main); opacity: .2; line-height: 1; margin-right: 1rem; min-width: 48px; }
.rank-tag { display: inline-block; padding: 2px 12px; border-radius: var(--radius-pill); font-size: .75rem; font-weight: 600; margin-right: 8px; }
.rank-tag-hot { background: rgba(239, 68, 68, .1); color: #ef4444; }
.rank-tag-new { background: rgba(16, 185, 129, .1); color: #10b981; }
.rank-tag-up { background: rgba(79, 70, 229, .1); color: var(--main); }
.rank-tag-rating { background: rgba(245, 158, 11, .1); color: #f59e0b; }
.rank-category { display: inline-block; padding: 4px 14px; border-radius: var(--radius-pill); background: var(--bg); color: var(--main); font-size: .85rem; font-weight: 600; margin-right: 6px; margin-bottom: 6px; border: 1px solid var(--border-light); }
.rank-category.active { background: linear-gradient(135deg, var(--main), var(--accent)); color: #fff; }
.rank-card { background: var(--card-bg); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); height: 100%; transition: all .3s ease; }
.rank-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.rank-star { color: #f59e0b; }
.rank-progress { height: 6px; background: var(--bg); border-radius: var(--radius-pill); overflow: hidden; }
.rank-progress-bar { height: 100%; background: linear-gradient(90deg, var(--main), var(--accent)); border-radius: var(--radius-pill); }
.rank-thumb { width: 64px; height: 64px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--main), var(--accent)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; flex-shrink: 0; }
.rank-list-item { display: flex; align-items: center; padding: 1rem 1.25rem; background: var(--card-bg); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: all .3s ease; }
.rank-list-item:hover { box-shadow: var(--shadow-hover); transform: translateX(6px); }
.rank-list-item + .rank-list-item { margin-top: .75rem; }
.rank-info { flex: 1; min-width: 0; }
.rank-info h6 { margin-bottom: 4px; font-weight: 700; }
.rank-info p { margin: 0; font-size: .85rem; }
.rank-meta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.rank-meta i { color: var(--main); margin-right: 4px; }
.rank-period { display: inline-flex; align-items: center; padding: 8px 20px; border-radius: var(--radius-pill); background: var(--card-bg); box-shadow: var(--shadow-sm); font-weight: 600; font-size: .9rem; color: var(--text); }
.rank-period i { color: var(--main); margin-right: 8px; }
.glow-background::before { content: ''; position: absolute; top: -120px; right: -120px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(124, 58, 237, .15), transparent 70%); border-radius: 50%; pointer-events: none; }
.glow-background::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 250px; height: 250px; background: radial-gradient(circle, rgba(79, 70, 229, .12), transparent 70%); border-radius: 50%; pointer-events: none; }

/* --- 子页面追加 --- */
.privacy-section {
            padding: 60px 0;
        }
.privacy-card {
            background: var(--card-bg);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-md);
            padding: 32px;
            margin-bottom: 24px;
            box-shadow: var(--shadow-sm);
            transition: box-shadow 0.3s ease;
        }
.privacy-card:hover {
            box-shadow: var(--shadow-hover);
        }
.privacy-card h2 {
            color: var(--main);
            font-weight: 700;
            font-size: 1.4rem;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.privacy-card h2 i {
            color: var(--accent);
        }
.privacy-card p {
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 12px;
        }
.privacy-card ul, .privacy-card ol {
            color: var(--text);
            line-height: 1.8;
            padding-left: 24px;
            margin-bottom: 12px;
        }
.privacy-card li {
            margin-bottom: 8px;
        }
.privacy-badge {
            display: inline-block;
            background: linear-gradient(135deg, var(--main), var(--accent));
            color: #fff;
            padding: 4px 14px;
            border-radius: var(--radius-pill);
            font-size: 0.8rem;
            font-weight: 600;
            margin-right: 8px;
        }
.privacy-highlight {
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(124, 58, 237, 0.08));
            border-left: 4px solid var(--main);
            padding: 16px 20px;
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            margin: 16px 0;
        }
.privacy-highlight p {
            margin-bottom: 0;
        }
.privacy-meta {
            background: var(--bg);
            border-radius: var(--radius-md);
            padding: 16px 20px;
            margin-bottom: 32px;
            border: 1px solid var(--border-light);
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            align-items: center;
        }
.privacy-meta span {
            font-size: 0.9rem;
            color: var(--text);
        }
.privacy-meta i {
            color: var(--main);
            margin-right: 6px;
        }
.privacy-updated {
            background: linear-gradient(135deg, var(--main), var(--accent));
            color: #fff;
            padding: 2px 12px;
            border-radius: var(--radius-pill);
            font-weight: 600;
            font-size: 0.8rem;
        }
.privacy-contact {
            background: linear-gradient(135deg, var(--main), var(--accent));
            color: #fff;
            border-radius: var(--radius-lg);
            padding: 40px;
            margin-top: 40px;
            text-align: center;
        }
.privacy-contact h3 {
            font-weight: 700;
            margin-bottom: 16px;
        }
.privacy-contact p {
            color: rgba(255,255,255,0.9);
            margin-bottom: 16px;
        }
.privacy-contact a {
            color: #fff;
            text-decoration: underline;
        }
.privacy-card {
                padding: 24px;
            }
.privacy-contact {
                padding: 24px;
            }

/* --- 子页面追加 --- */
/* 本页仅微调间距与强调色, 沿用 :root 变量, 不覆盖任何 bootstrap 组件 */
    .legal-section { margin-top: 2.5rem; }
.legal-section h2 { margin-bottom: 1.2rem; }
.legal-section p { color: var(--text); opacity: 0.9; }
.legal-highlight { background: rgba(79, 70, 229, 0.04); border-left: 4px solid var(--main); padding: 1rem 1.5rem; border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.legal-list { list-style: none; padding-left: 0; }
.legal-list li { padding: 0.4rem 0 0.4rem 1.8rem; position: relative; }
.legal-list li::before { content: "◆"; color: var(--accent); position: absolute; left: 0; font-size: 0.8rem; top: 0.6rem; }
.fake-link { color: var(--main); text-decoration: underline; text-underline-offset: 4px; cursor: default; }
.footer-legal-links a { color: var(--text); opacity: 0.7; text-decoration: none; }
.footer-legal-links a:hover { color: var(--main); opacity: 1; }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.table { color:#1e1b4b !important; border-color:rgba(0,0,0,.12) !important; --bs-table-bg:transparent !important; --bs-table-color:#1e1b4b !important; }
.accordion-header { background:transparent !important; }
