:root {
    --primary: #b45309;
    --accent: #ca8a04;
    --bg: #fefce8;
    --text: #451a03;
    --shadow-heavy: 8px 8px 24px rgba(69, 26, 3, 0.25);
    --shadow-light: 4px 4px 12px rgba(69, 26, 3, 0.12);
  }

  * {
    font-family: 'Inter', '思源黑体', 'Noto Sans SC', sans-serif;
  }

  body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
  }

  /* 点阵背景 */
  body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(var(--accent) 0.8px, transparent 0.8px);
    background-size: 24px 24px;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
  }

  .container, .container-fluid {
    position: relative;
    z-index: 1;
  }

  /* 吸顶导航 */
  .navbar {
    background: rgba(254, 252, 232, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(69, 26, 3, 0.12);
    border-bottom: 2px solid var(--accent);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .navbar-brand {
    font-family: '思源宋体', 'Noto Serif SC', serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--primary) !important;
    letter-spacing: 0.05em;
  }

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

  .nav-link {
    font-weight: 600;
    color: var(--text) !important;
    margin: 0 8px;
    padding: 6px 12px !important;
    border-radius: 6px;
    transition: all 0.3s;
  }

  .nav-link:hover {
    background: var(--accent);
    color: var(--bg) !important;
    box-shadow: var(--shadow-light);
  }

  /* Hero */
  .hero-section {
    min-height: 92vh;
    background: linear-gradient(135deg, rgba(69, 26, 3, 0.85), rgba(180, 83, 9, 0.4)), url('{随机图片}') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-bottom: 0;
    border-bottom: 4px solid var(--accent);
    box-shadow: var(--shadow-heavy);
  }

  .hero-content {
    max-width: 850px;
    padding: 40px 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  }

  .hero-content h1 {
    font-family: '思源宋体', 'Noto Serif SC', serif;
    font-size: 4.2rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    color: #fff;
  }

  .hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 32px;
    font-weight: 300;
  }

  .btn-hero {
    background: linear-gradient(145deg, var(--primary), var(--accent));
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 40px;
    border-radius: 40px;
    border: none;
    box-shadow: 0 6px 20px rgba(202, 138, 4, 0.4);
    transition: all 0.3s;
  }

  .btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.5);
    color: white;
  }

  /* 区块标题 */
  .section-title {
    font-family: '思源宋体', 'Noto Serif SC', serif;
    font-weight: 900;
    font-size: 2.8rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 16px;
    position: relative;
  }

  .section-subtitle {
    text-align: center;
    color: var(--text);
    opacity: 0.75;
    font-size: 1.1rem;
    margin-bottom: 40px;
  }

  /* 特色卡片区 */
  .feature-card {
    background: white;
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 30px 24px;
    height: 100%;
    box-shadow: var(--shadow-heavy);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
  }

  .feature-card::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
  }

  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(69, 26, 3, 0.3);
  }

  .feature-card .icon-wrap {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 18px;
  }

  .feature-card h3 {
    font-family: '思源宋体', 'Noto Serif SC', serif;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.4rem;
  }

  /* 标签页切换 */
  .nav-tabs-custom {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
  }

  .nav-tabs-custom .tab-btn {
    background: white;
    border: 2px solid var(--accent);
    color: var(--text);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
  }

  .nav-tabs-custom .tab-btn.active,
  .nav-tabs-custom .tab-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-light);
  }

  .tab-pane-content {
    display: none;
    animation: fadeIn 0.5s;
  }

  .tab-pane-content.active {
    display: block;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* 时间线 */
  .timeline {
    position: relative;
    padding-left: 32px;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 3px;
  }

  .timeline-item {
    position: relative;
    margin-bottom: 40px;
    background: white;
    border-radius: 12px;
    padding: 24px 28px;
    border: 1px solid rgba(202, 138, 4, 0.3);
    box-shadow: var(--shadow-light);
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 24px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border: 3px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(180, 83, 9, 0.6);
  }

  .timeline-item .time {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .timeline-item h4 {
    font-family: '思源宋体', 'Noto Serif SC', serif;
    margin-top: 6px;
    font-weight: 700;
  }

  /* CTA 区块 */
  .cta-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 80px 20px;
    text-align: center;
    border-radius: 24px;
    margin: 60px 0;
    box-shadow: var(--shadow-heavy);
    color: white;
  }

  .cta-section h2 {
    font-family: '思源宋体', 'Noto Serif SC', serif;
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 16px;
  }

  .cta-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 32px;
  }

  .btn-cta {
    background: white;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 16px 48px;
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
  }

  .btn-cta:hover {
    transform: scale(1.05);
    color: var(--accent);
  }

  /* 友情链接 */
  .friend-links {
    background: white;
    border-top: 3px solid var(--accent);
    padding: 36px 0;
    margin-top: 50px;
    box-shadow: var(--shadow-light);
  }

  .friend-links h4 {
    font-family: '思源宋体', 'Noto Serif SC', serif;
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
  }

  .friend-links .links-row {
    text-align: center;
    color: var(--text);
    opacity: 0.85;
  }

  /* Footer */
  .site-footer {
    background: #2d1406;
    color: rgba(255,255,255,0.8);
    padding: 32px 0 20px;
    border-top: 4px solid var(--accent);
  }

  .site-footer .footer-links a {
    color: rgba(255,255,255,0.7);
    margin: 0 14px;
    text-decoration: none;
    transition: color 0.3s;
  }

  .site-footer .footer-links a:hover {
    color: var(--accent);
  }

  /* 滚动渐显 */
  .fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* 延迟 */
  .delay-1 { transition-delay: 0.1s; }
  .delay-2 { transition-delay: 0.2s; }
  .delay-3 { transition-delay: 0.3s; }
  .delay-4 { transition-delay: 0.4s; }

  /* 图片 hover */
  .img-hover-zoom {
    overflow: hidden;
    border-radius: 12px;
  }

  .img-hover-zoom img {
    transition: transform 0.6s;
    width: 100%;
    height: auto;
  }

  .img-hover-zoom:hover img {
    transform: scale(1.08);
  }

  /* 长文区块 */
  .long-article {
    background: white;
    border-radius: 20px;
    padding: 48px;
    border: 1px solid rgba(202, 138, 4, 0.3);
    box-shadow: var(--shadow-heavy);
    margin: 60px 0;
  }

  .long-article h3 {
    font-family: '思源宋体', 'Noto Serif SC', serif;
    font-weight: 900;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .long-article p {
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 20px;
  }

  .long-article .lead {
    font-size: 1.2rem;
    font-weight: 500;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    font-style: italic;
  }

  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 2.8rem;
    }
    .section-title {
      font-size: 2rem;
    }
    .navbar-brand {
      font-size: 1.4rem;
    }
    .long-article {
      padding: 24px;
    }
  }

/* --- 子页面追加 --- */
/* 本页专属样式：热榜特有元素 */
        .ranking-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            font-weight: 800;
            font-size: 1.1rem;
            background: var(--primary);
            color: var(--bg);
            box-shadow: var(--shadow-light);
            flex-shrink: 0;
        }
.ranking-badge.top-1 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.ranking-badge.top-2 { background: linear-gradient(135deg, #94a3b8, #64748b); }
.ranking-badge.top-3 { background: linear-gradient(135deg, #d97706, #92400e); }
.rank-item {
            background: var(--bg);
            border: 1px solid rgba(180, 83, 9, 0.2);
            border-radius: 16px;
            padding: 1.2rem 1.2rem;
            margin-bottom: 1rem;
            transition: transform .2s ease, box-shadow .2s ease;
            box-shadow: var(--shadow-light);
        }
.rank-item:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-heavy);
        }
.rank-cover {
            width: 68px;
            height: 92px;
            border-radius: 10px;
            object-fit: cover;
            background: var(--primary);
            flex-shrink: 0;
        }
.rank-info { flex: 1; min-width: 0; }
.rank-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: .2rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.rank-tag {
            display: inline-block;
            font-size: .75rem;
            font-weight: 600;
            color: var(--primary);
            background: rgba(180, 83, 9, .1);
            padding: 2px 10px;
            border-radius: 20px;
            margin-right: 6px;
        }
.rank-stats {
            font-size: .85rem;
            color: rgba(69, 26, 3, .7);
        }
.rank-stats i { margin-right: 4px; color: var(--accent); }
.rank-trend-up { color: #16a34a; font-weight: 700; }
.rank-trend-down { color: #dc2626; font-weight: 700; }
.rank-trend-flat { color: #6b7280; font-weight: 700; }
.weekly-highlight {
            background: linear-gradient(135deg, rgba(180,83,9,.08), rgba(202,138,4,.08));
            border: 1px dashed var(--accent);
            border-radius: 20px;
            padding: 2rem;
            margin: 2.5rem 0;
        }
.highlight-num { font-size: 3rem; font-weight: 900; color: var(--primary); line-height: 1; }
.highlight-label { font-size: .85rem; color: var(--text); font-weight: 600; }
.filter-pill {
            display: inline-block;
            padding: 6px 18px;
            border-radius: 30px;
            font-size: .9rem;
            font-weight: 600;
            background: var(--bg);
            border: 1px solid rgba(180, 83, 9, .3);
            color: var(--text);
            cursor: pointer;
            transition: all .2s ease;
            margin-right: 8px;
            margin-bottom: 8px;
        }
.filter-pill.active {
            background: var(--primary);
            color: var(--bg);
            border-color: var(--primary);
        }
.filter-pill:hover { background: var(--primary); color: var(--bg); }
.rank-cover { width: 56px; height: 76px; }
.rank-title { font-size: .95rem; }
.ranking-badge { width: 34px; height: 34px; font-size: .9rem; }

/* --- 子页面追加 --- */
/* 本页专属补充样式 */
        .disclaimer-section {
            padding: 80px 0 60px;
            background: var(--bg);
        }
.disclaimer-container {
            max-width: 900px;
            margin: 0 auto;
        }
.disclaimer-card {
            background: rgba(255, 252, 232, 0.7);
            border: 2px solid rgba(180, 83, 9, 0.15);
            border-radius: 16px;
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: var(--shadow-light);
            backdrop-filter: blur(4px);
        }
.disclaimer-card h2 {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.6rem;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 3px solid var(--accent);
            display: inline-block;
        }
.disclaimer-card h3 {
            color: var(--primary);
            font-weight: 600;
            font-size: 1.25rem;
            margin: 24px 0 12px;
        }
.disclaimer-card p {
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 16px;
            font-size: 1rem;
        }
.disclaimer-card ul {
            padding-left: 20px;
            margin-bottom: 16px;
        }
.disclaimer-card li {
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 8px;
        }
.disclaimer-card a {
            color: var(--primary);
            text-decoration: underline;
            transition: color 0.3s ease;
        }
.disclaimer-card a:hover {
            color: var(--accent);
        }
.highlight-box {
            background: rgba(180, 83, 9, 0.08);
            border-left: 4px solid var(--primary);
            padding: 16px 20px;
            border-radius: 0 8px 8px 0;
            margin: 20px 0;
        }
.highlight-box p {
            margin-bottom: 0;
            font-weight: 500;
        }
.update-date {
            font-size: 0.9rem;
            color: rgba(69, 26, 3, 0.7);
            font-style: italic;
            margin-top: 30px;
            text-align: right;
        }
.disclaimer-card {
                padding: 24px;
            }
.disclaimer-card h2 {
                font-size: 1.35rem;
            }
.disclaimer-card h3 {
                font-size: 1.1rem;
            }

/* --- 子页面追加 --- */
/* 所有覆盖/新增样式基于 :root 变量，与首页视觉完全一致 */
        .guide-hero {
            background: linear-gradient(145deg, var(--bg) 0%, #fef9e0 100%);
            border-bottom: 2px solid rgba(180, 83, 9, 0.15);
        }
.step-card {
            background: rgba(255, 252, 235, 0.75);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(180, 83, 9, 0.2);
            border-radius: 24px;
            padding: 1.8rem 1.5rem;
            box-shadow: var(--shadow-light);
            transition: transform .2s ease, box-shadow .2s ease;
            height: 100%;
        }
.step-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-heavy);
        }
.step-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 16px;
            background: var(--primary);
            color: #fff7e6;
            font-weight: 800;
            font-size: 1.4rem;
            margin-bottom: 1rem;
            box-shadow: 0 6px 14px rgba(180, 83, 9, 0.3);
        }
.guide-tip {
            background: #fff8e5;
            border-left: 5px solid var(--accent);
            padding: 1rem 1.5rem;
            border-radius: 12px;
            color: var(--text);
            font-weight: 500;
            margin: 1.8rem 0;
            box-shadow: var(--shadow-light);
        }
.faq-qa {
            background: rgba(255, 251, 230, 0.6);
            border-radius: 20px;
            padding: 1.5rem 1.8rem;
            border: 1px solid rgba(202, 138, 4, 0.15);
            margin-bottom: 1.2rem;
        }
.faq-qa h4 {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: .5rem;
            letter-spacing: -.2px;
        }
.faq-qa p {
            margin-bottom: 0;
            color: #5a2e0b;
        }
.badge-guide {
            background: var(--accent);
            color: #fff7e6;
            padding: 0.25rem 1rem;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: .4px;
        }
.table-of-contents a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            border-bottom: 2px dotted var(--accent);
        }
.table-of-contents a:hover {
            color: var(--accent);
            border-bottom-style: solid;
        }
/* 避免bootstrap卡片自带白底 —— 不使用 .card 组件类，全部自写容器 */
        .list-unstyled-custom li {
            padding: 0.4rem 0;
            border-bottom: 1px dashed rgba(180, 83, 9, 0.15);
        }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-item { background:rgba(0,0,0,.03) !important; color:#451a03 !important; border-color:rgba(0,0,0,.12) !important; }
.accordion-button { background:rgba(0,0,0,.03) !important; color:#451a03 !important; }
.accordion-body { background:transparent !important; color:#451a03 !important; }
.accordion-header { background:transparent !important; }
