/* ==========================================================================
   前台样式 · 现代清新 · 毛玻璃质感 · 最大宽度 640px 自适应
   ========================================================================== */

:root {
    --ink: #23283b;
    --muted: #7a8095;
    --brand: #6366f1;
    --brand-2: #a855f7;
    --brand-soft: rgba(99, 102, 241, .1);
    --accent: #ff7a45;
    --green: #16a34a;
    --glass: rgba(255, 255, 255, .66);
    --glass-strong: rgba(255, 255, 255, .82);
    --glass-border: rgba(255, 255, 255, .78);
    --shadow: 0 8px 28px rgba(84, 89, 160, .10);
    --shadow-lg: 0 18px 44px rgba(84, 89, 160, .16);
    --radius: 20px;
}

* { -webkit-tap-highlight-color: transparent; }

body {
    min-height: 100vh;
    color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    background: linear-gradient(160deg, #eef2ff 0%, #fdf2f8 52%, #ecfeff 100%);
    background-attachment: fixed;
}

a { text-decoration: none; color: inherit; }
a:hover { text-decoration: none; }

/* 背景光斑 */
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-blobs i {
    position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
}
.bg-blobs i:nth-child(1) { width: 340px; height: 340px; background: #c7d2fe; top: -80px; left: -90px; animation: float 14s ease-in-out infinite; }
.bg-blobs i:nth-child(2) { width: 300px; height: 300px; background: #fbcfe8; top: 30%; right: -110px; animation: float 18s ease-in-out infinite reverse; }
.bg-blobs i:nth-child(3) { width: 280px; height: 280px; background: #a5f3fc; bottom: -90px; left: 20%; animation: float 16s ease-in-out infinite 2s; }
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(26px) scale(1.06); } }

/* 页面容器：最大 640px */
.page-wrap { max-width: 640px; margin: 0 auto; padding: 0 16px; }
.page-main { padding: 18px; }

/* 毛玻璃卡片 */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* 顶部导航（容器与正文完全同参：max-width 640 + padding 16，必然对齐） */
.site-topbar {
    position: sticky; top: 10px; z-index: 100;
    max-width: 640px; margin: 0 auto; padding: 0 16px;
}
.topbar-inner {
    padding: 10px 14px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: 0 6px 22px rgba(84, 89, 160, .10);
    transition: background .25s ease, box-shadow .25s ease;
}
.topbar-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.08rem; color: var(--ink); }
.topbar-brand > span:last-child {
    background: linear-gradient(120deg, #3b3f66, #6366f1 65%, #a855f7);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.topbar-brand img { height: 32px; border-radius: 8px; }
.brand-badge {
    width: 34px; height: 34px; border-radius: 11px; flex: 0 0 34px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.05rem; box-shadow: 0 6px 16px rgba(99, 102, 241, .35);
}
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.topbar-ico {
    width: 36px; height: 36px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .72); border: 1px solid var(--glass-border);
    color: #5b6072; box-shadow: 0 2px 10px rgba(84, 89, 160, .08);
}
.topbar-ico:hover { color: var(--brand); transform: translateY(-1px); }

/* 底部悬浮导航 */
.site-tabbar {
    position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%);
    width: calc(100% - 32px); max-width: 608px; z-index: 100;
    display: flex; justify-content: space-around;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(84, 89, 160, .22);
    padding: 8px 6px;
}
.tabbar-item {
    flex: 1; text-align: center; padding: 6px 0 4px; border-radius: 14px;
    color: #8a8fa3; font-size: .72rem; line-height: 1;
    transition: color .15s ease, background .15s ease;
}
.tabbar-item i { display: block; font-size: 1.25rem; margin-bottom: 5px; }
.tabbar-item.active, .tabbar-item:hover { color: var(--brand); }
.tabbar-item.active { background: var(--brand-soft); font-weight: 700; }

/* 入场动画 */
.fade-up { animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .12s; } .d3 { animation-delay: .19s; }

/* ---------------------------------------------------------------- 横幅 */
.hero-card {
    position: relative; overflow: hidden;
    border-radius: 26px; padding: 30px 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, .94) 0%, rgba(168, 85, 247, .92) 58%, rgba(236, 72, 153, .88) 130%);
    color: #fff; box-shadow: 0 20px 46px rgba(99, 102, 241, .35);
    border: 1px solid rgba(255, 255, 255, .28);
}
.hero-card::after {
    content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .35), transparent 65%);
    top: -90px; right: -60px;
}
.hero-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35);
    padding: 5px 13px; border-radius: 999px; font-size: .76rem; margin-bottom: 14px;
}
.hero-card h1 { font-size: 1.65rem; font-weight: 800; letter-spacing: .5px; margin-bottom: 8px; }
.hero-card p { color: rgba(255, 255, 255, .88); font-size: .95rem; line-height: 1.7; position: relative; z-index: 1; }
.hero-stat { display: flex; gap: 26px; margin-top: 22px; position: relative; z-index: 1; }
.hero-stat div b { display: block; font-size: 1.45rem; font-weight: 800; }
.hero-stat div span { font-size: .78rem; color: rgba(255, 255, 255, .82); }
.hero-btns { display: flex; gap: 10px; margin-top: 22px; position: relative; z-index: 1; }
.btn-hero {
    flex: 1; text-align: center; padding: 12px;
    border-radius: 999px; font-weight: 700; font-size: .95rem;
    background: rgba(255, 255, 255, .95); color: var(--brand);
    box-shadow: 0 10px 24px rgba(17, 24, 39, .16);
    transition: transform .15s ease;
}
.btn-hero:active { transform: scale(.97); }
.btn-hero.ghost { background: rgba(255, 255, 255, .18); color: #fff; border: 1px solid rgba(255, 255, 255, .45); box-shadow: none; }

/* 公告条 */
.notice-bar {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border); border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 12px 16px; font-size: .85rem; color: #5c6275; line-height: 1.6;
}
.notice-bar i { color: #f59e0b; font-size: 1.05rem; flex: 0 0 auto; }
.notice-bar > div { flex: 1; min-width: 0; }

/* ---------------------------------------------------------------- 区块标题 */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 26px 0 14px; }
.sec-title {
    font-weight: 800; font-size: 1.22rem; margin: 0;
    background: linear-gradient(120deg, #3b3f66, #6366f1 60%, #a855f7);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sec-sub { color: var(--muted); font-size: .85rem; margin: 4px 0 0; }
.sec-more { color: var(--brand); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.sec-more i { font-size: .75rem; }

/* ---------------------------------------------------------------- 测试卡片 */
.test-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.test-card {
    background: var(--glass);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); height: 100%;
    transition: transform .22s ease, box-shadow .22s ease;
}
.test-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.test-cover {
    height: 118px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #818cf8, #c084fc); color: #fff;
    font-size: 1.9rem; font-weight: 800;
}
.test-cover img { width: 100%; height: 100%; object-fit: cover; }
.test-body { padding: 12px 14px 14px; }
.test-title { font-weight: 700; font-size: .98rem; margin-bottom: 5px; line-height: 1.4; }
.test-desc { color: var(--muted); font-size: .8rem; line-height: 1.55; min-height: 37px; }
.price { color: var(--accent); font-weight: 800; font-size: 1.1rem; }
.price-old { color: #a8adbd; text-decoration: line-through; font-size: .78rem; margin-left: 5px; }
.price-free { color: var(--green); font-weight: 800; font-size: .95rem; }
.badge-soft {
    background: var(--brand-soft); color: var(--brand);
    font-weight: 600; font-size: .74rem;
    padding: .32em .7em; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px;
}

/* 流程步骤 */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.step-box { padding: 16px 12px; text-align: center; height: 100%; }
.step-no {
    width: 38px; height: 38px; border-radius: 12px; margin: 0 auto 10px;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff); color: var(--brand);
    border: 1px solid rgba(99, 102, 241, .18);
    display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.step-box h6 { font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.step-box p { color: var(--muted); font-size: .76rem; line-height: 1.6; margin: 0; }

/* ---------------------------------------------------------------- 资讯 */
.news-card {
    display: flex; gap: 12px; padding: 12px; margin-bottom: 12px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.news-cover {
    width: 108px; height: 84px; flex: 0 0 108px; border-radius: 14px; overflow: hidden;
    background: linear-gradient(135deg, #67e8f9, #818cf8);
}
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-body { flex: 1; min-width: 0; }
.news-title { font-weight: 700; font-size: .92rem; line-height: 1.5; margin: 0 0 4px; }
.news-title:hover { color: var(--brand); }
.news-summary { color: var(--muted); font-size: .78rem; line-height: 1.55; }
.news-meta { display: flex; gap: 12px; color: #9ba0b3; font-size: .72rem; margin-top: 6px; }
.news-meta span { display: inline-flex; align-items: center; gap: 3px; }

/* 分类 chips 横向滚动 */
.chip-scroll {
    display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chip-scroll::-webkit-scrollbar { display: none; }
.chip {
    flex: 0 0 auto; padding: 7px 16px; border-radius: 999px; font-size: .84rem; font-weight: 600;
    background: rgba(255, 255, 255, .72); border: 1px solid var(--glass-border);
    color: #5c6275; box-shadow: 0 2px 10px rgba(84, 89, 160, .06);
}
.chip.active { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(99, 102, 241, .35); }

/* ---------------------------------------------------------------- 内容页 */
.content-box { padding: 22px 18px; }
.content-title { font-size: 1.3rem; font-weight: 800; line-height: 1.5; margin-bottom: 10px; }
.content-meta {
    display: flex; flex-wrap: wrap; gap: 12px; color: #9ba0b3; font-size: .78rem;
    padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px dashed rgba(84, 89, 160, .18);
}
.content-meta span { display: inline-flex; align-items: center; gap: 4px; }

.article-content { font-size: .93rem; line-height: 1.95; color: #3c4257; word-break: break-word; }
.article-content p { margin-bottom: 1em; }
.article-content img { max-width: 100%; border-radius: 14px; }
.article-content h1, .article-content h2, .article-content h3 { font-weight: 700; margin: 1.2em 0 .6em; }
.article-content h2 { font-size: 1.15rem; } .article-content h3 { font-size: 1.02rem; }
.article-content blockquote {
    border-left: 3px solid var(--brand); background: var(--brand-soft);
    padding: 10px 14px; border-radius: 0 12px 12px 0; color: #5b6072; margin: 1em 0;
}
.article-content ul, .article-content ol { padding-left: 1.4em; margin-bottom: 1em; }
.article-content code { background: rgba(99, 102, 241, .1); color: var(--brand); padding: .1em .4em; border-radius: 6px; font-size: .85em; }
.article-content table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.article-content table td, .article-content table th { border: 1px solid rgba(84, 89, 160, .15); padding: 8px 10px; font-size: .88rem; }

/* 详情页头图 */
.detail-hero { display: flex; gap: 14px; align-items: center; padding: 18px; }
.detail-cover {
    width: 88px; height: 88px; flex: 0 0 88px; border-radius: 18px; overflow: hidden;
    background: linear-gradient(135deg, #818cf8, #c084fc); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.9rem; font-weight: 800;
    box-shadow: 0 10px 24px rgba(99, 102, 241, .28);
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-name { font-size: 1.18rem; font-weight: 800; margin-bottom: 4px; }
.detail-sub { color: var(--muted); font-size: .82rem; line-height: 1.6; }

/* 悬浮购买栏（详情页） */
.buy-bar {
    position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%);
    width: calc(100% - 32px); max-width: 608px; z-index: 99;
    display: flex; align-items: center; gap: 12px;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 18px; box-shadow: 0 14px 36px rgba(84, 89, 160, .25);
    padding: 10px 12px 10px 16px;
}
.buy-price .p-now { font-size: 1.3rem; font-weight: 800; color: var(--accent); }
.buy-price .p-tip { display: block; font-size: .7rem; color: var(--muted); }
.btn-buy {
    flex: 1; text-align: center; padding: 12px; border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff; font-weight: 700; font-size: .98rem;
    box-shadow: 0 10px 24px rgba(99, 102, 241, .4);
}
.btn-buy:active { transform: scale(.98); }

/* 侧卡 */
.side-card { padding: 16px 18px; }
.side-title { font-weight: 800; font-size: .98rem; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.side-title::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, var(--brand), var(--brand-2)); }
.hot-item { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(84, 89, 160, .14); }
.hot-item:last-of-type { border-bottom: none; }
.hot-item .t { font-size: .86rem; font-weight: 600; flex: 1; min-width: 0; }
.hot-item .t:hover { color: var(--brand); }
.hot-item .v { font-size: .78rem; color: var(--muted); white-space: nowrap; }

/* 上下篇 */
.prevnext { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.prevnext a {
    flex: 1; min-width: 0; padding: 11px 14px; border-radius: 14px; font-size: .82rem; color: #5c6275;
    background: rgba(255, 255, 255, .72); border: 1px solid var(--glass-border);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    box-shadow: 0 2px 10px rgba(84, 89, 160, .06);
}
.prevnext a:hover { color: var(--brand); }
.prevnext .next { text-align: right; }

/* ---------------------------------------------------------------- 收银台 */
.pay-card { padding: 26px 20px; }
.pay-amount-box {
    border-radius: 16px; padding: 14px 16px; margin: 16px 0;
    background: rgba(255, 255, 255, .6); border: 1px solid var(--glass-border);
}
.pay-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: .88rem; }
.pay-row .k { color: var(--muted); font-size: .82rem; }
.pay-method {
    display: flex; align-items: center; gap: 12px;
    border: 1.5px solid var(--glass-border); border-radius: 16px;
    padding: 14px; background: rgba(255, 255, 255, .7); margin-bottom: 10px;
}
.pay-method.active { border-color: var(--brand); background: var(--brand-soft); }
.pay-logo {
    width: 38px; height: 38px; border-radius: 12px; flex: 0 0 38px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: .95rem;
}
.pay-logo.ali { background: linear-gradient(135deg, #38bdf8, #1677ff); box-shadow: 0 6px 14px rgba(22, 119, 255, .35); }
.pay-logo.crypto { background: linear-gradient(135deg, #f7931a, #f59e0b); box-shadow: 0 6px 14px rgba(247, 147, 26, .35); }
.pay-logo.pp { background: linear-gradient(135deg, #0070ba, #003087); box-shadow: 0 6px 14px rgba(0, 112, 186, .35); }
.pay-logo.ps { background: linear-gradient(135deg, #2dd4bf, #0d9488); box-shadow: 0 6px 14px rgba(13, 148, 136, .35); }

/* 通用按钮 */
.btn-brand {
    display: inline-block; text-align: center; border: none; cursor: pointer;
    padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem;
    background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
    box-shadow: 0 10px 24px rgba(99, 102, 241, .38);
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(99, 102, 241, .46); color: #fff; }
.btn-brand:active { transform: scale(.98); }
.btn-ghost {
    display: inline-block; text-align: center; padding: 11px 24px; border-radius: 999px;
    font-weight: 600; font-size: .92rem; color: #5c6275;
    background: rgba(255, 255, 255, .72); border: 1px solid var(--glass-border);
    box-shadow: 0 2px 10px rgba(84, 89, 160, .06);
}
.btn-ghost:hover { color: var(--brand); }
.btn-block { display: block; width: 100%; }

/* ---------------------------------------------------------------- 状态页 */
.state-box { padding: 44px 24px; text-align: center; }
.state-box .state-ico { font-size: 2.8rem; margin-bottom: 12px; }
.state-box h5 { font-weight: 800; margin-bottom: 8px; }
.state-box p { color: var(--muted); font-size: .88rem; }
.state-actions { display: grid; gap: 10px; margin-top: 22px; }

/* 空状态 */
.empty-box { padding: 46px 20px; text-align: center; color: #9ba0b3; font-size: .88rem; }
.empty-box i { display: block; font-size: 2.4rem; color: #c9cde0; margin-bottom: 10px; }

/* ---------------------------------------------------------------- 分页 */
.pagination { margin: 0; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination .page-item .page-link {
    border: 1px solid var(--glass-border); border-radius: 12px !important;
    color: #5c6275; padding: .4rem .75rem; font-size: .86rem; min-width: 38px; text-align: center;
    background: rgba(255, 255, 255, .72);
}
.pagination .page-item .page-link:hover { background: var(--brand-soft); border-color: #c7d2fe; color: var(--brand); }
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(99, 102, 241, .35);
}
.pagination .page-item.disabled .page-link { color: #c3c7d2; background: rgba(255, 255, 255, .5); }

/* ---------------------------------------------------------------- 页脚 */
.site-footer { padding: 8px 0 120px; text-align: center; }
.footer-line { font-size: .76rem; color: #9ba0b3; line-height: 1.9; }
.footer-line a { color: #7d83a0; }
.footer-line a:hover { color: var(--brand); }

/* 面包屑 */
.crumb { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: .78rem; color: #9ba0b3; margin-bottom: 14px; }
.crumb a { color: #7d83a0; }
.crumb a:hover { color: var(--brand); }
.crumb i { font-size: .65rem; }

/* 订单查询 */
.query-label { display: block; font-size: .85rem; font-weight: 700; color: #5c6275; margin-bottom: 8px; }
.query-input {
    width: 100%; padding: 13px 16px; border-radius: 14px;
    border: 1.5px solid var(--glass-border);
    background: rgba(255, 255, 255, .78);
    font-size: .95rem; color: var(--ink); outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.query-input::placeholder { color: #b6bac9; }
.query-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(99, 102, 241, .15); }

/* ---------------------------------------------------------------- 美化增强 */

::selection { background: rgba(99, 102, 241, .25); }
html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(99, 102, 241, .3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99, 102, 241, .5); }
::-webkit-scrollbar-track { background: transparent; }

body { animation: bodyIn .45s ease both; }
@keyframes bodyIn { from { opacity: 0; } to { opacity: 1; } }

/* 测试封面渐变轮换（按排列位置） */
.test-grid > a:nth-child(4n+1) .test-cover { background: linear-gradient(135deg, #818cf8, #c084fc); }
.test-grid > a:nth-child(4n+2) .test-cover { background: linear-gradient(135deg, #38bdf8, #818cf8); }
.test-grid > a:nth-child(4n+3) .test-cover { background: linear-gradient(135deg, #fb7185, #f472b6); }
.test-grid > a:nth-child(4n)   .test-cover { background: linear-gradient(135deg, #34d399, #22d3ee); }
.test-card:hover .test-cover img { transform: scale(1.06); }
.test-cover img { transition: transform .4s ease; }

/* Hero 浮动徽章 */
.hero-float {
    position: absolute; z-index: 1; font-size: 1.5rem; opacity: .92;
    animation: floaty 4.5s ease-in-out infinite;
    filter: drop-shadow(0 6px 14px rgba(17, 24, 39, .25));
    pointer-events: none;
}
.hero-float.f1 { top: 24px; right: 80px; }
.hero-float.f2 { bottom: 30px; right: 26px; font-size: 1.15rem; animation-delay: 1.3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-9px) rotate(7deg); } }

/* 顶栏滚动状态 */
body.scrolled .topbar-inner {
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 12px 32px rgba(84, 89, 160, .18);
}

/* 返回顶部 */
.back-top {
    position: fixed; right: 16px; bottom: 96px; z-index: 99;
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--brand); font-size: 1.05rem;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: #fff; }

/* 页脚玻璃卡 */
.footer-card { padding: 22px 18px; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; margin-bottom: 8px; font-size: 1.02rem; }
.footer-links-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: .8rem; margin: 12px 0 10px; }
.footer-links-row a { color: #7d83a0; }
.footer-links-row a:hover { color: var(--brand); }
.footer-disclaim { font-size: .74rem; color: #a9aec2; }

/* 资讯封面占位图标 */
.news-cover { display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .9); font-size: 1.7rem; }

/* 金额渐变文字 */
.amount-grad {
    background: linear-gradient(120deg, #ff7a45, #f43f5e);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 工具类 */
.text-muted-2 { color: var(--muted); }
.mt-section { margin-top: 26px; }
