/* Soul币充值中心 · www.soulbicz.com */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --c-brand: #1677ff;
    --c-brand-deep: #0958d9;
    --c-brand-soft: #e6f4ff;
    --c-ink: #1a1a1a;
    --c-ink-2: #4a4a4a;
    --c-ink-3: #8c8c8c;
    --c-line: #e8e8e8;
    --c-line-soft: #f5f5f5;
    --c-surface: #ffffff;
    --c-canvas: #f5f7fa;
    --c-danger: #ff4d4f;
    --r-md: 6px;
    --r-lg: 10px;
    --shadow-bar: 0 1px 0 rgba(0, 0, 0, 0.06);
    --shadow-panel: 0 2px 12px rgba(15, 35, 80, 0.05);
    --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--c-canvas);
    color: var(--c-ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    width: min(1040px, 100%);
    margin-inline: auto;
    padding-inline: 24px;
}

/* —— 顶栏 —— */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-bar);
    border-bottom: 1px solid var(--c-line);
}

.topbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand img { height: 28px; display: block; }

.brand__name {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--c-ink);
}

.nav a {
    margin-left: 32px;
    font-size: 14px;
    color: var(--c-ink-2);
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav a:hover,
.nav a.is-current {
    color: var(--c-brand);
}

.nav a.is-current { font-weight: 500; }

/* —— 品牌横幅 —— */
.banner {
    position: relative;
    overflow: hidden;
    padding: 36px 0 72px;
    background:
        linear-gradient(180deg, #eef5ff 0%, #f5f7fa 100%);
    border-bottom: 1px solid rgba(22, 119, 255, 0.06);
}

.banner__mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 80% at 0% 0%, rgba(22, 119, 255, 0.12), transparent 60%),
        radial-gradient(ellipse 40% 70% at 100% 20%, rgba(64, 150, 255, 0.1), transparent 55%),
        linear-gradient(90deg, transparent 0%, transparent 49%, rgba(22, 119, 255, 0.03) 50%, transparent 51%);
    background-size: auto, auto, 48px 100%;
}

.banner__inner {
    position: relative;
    z-index: 1;
    text-align: left;
}

.banner__crumb {
    font-size: 12px;
    color: var(--c-ink-3);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
    text-align: left;
}

.banner__title {
    font-size: clamp(26px, 3.6vw, 32px);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
    color: var(--c-ink);
    margin-bottom: 10px;
    text-align: left;
}

.banner__desc {
    font-size: 15px;
    color: var(--c-ink-2);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 520px;
    text-align: left;
}

.banner__points {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 12px;
    list-style: none;
}

.banner__points li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-brand-deep);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(22, 119, 255, 0.16);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 35, 80, 0.04);
}

.banner__points li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-brand);
    flex-shrink: 0;
}

/* —— 主区域 —— */
.page-body {
    padding-block: 0 32px;
}

.block {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-panel);
    padding: 32px 36px;
    margin-top: 24px;
}

.block--lift {
    margin-top: -40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 28px rgba(15, 35, 80, 0.08);
}

.block__head {
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--c-line-soft);
}

.block__head h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--c-ink);
}

.block__head p {
    font-size: 13px;
    color: var(--c-ink-3);
    max-width: 640px;
}

/* —— 表单 —— */
.form-row { margin-bottom: 28px; }

.form-row > label,
.form-row__label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-ink-2);
}

.form-row input[type="text"] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d9d9d9;
    border-radius: var(--r-md);
    font-size: 14px;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-row input[type="text"]:focus {
    border-color: var(--c-brand);
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.form-row input[type="text"]::placeholder { color: #bfbfbf; }

/* —— 档位 —— */
.pkg-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.pkg {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 18px 8px 14px;
    border: 1px solid #d9d9d9;
    border-radius: var(--r-md);
    background: #fff;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.pkg:hover:not(.is-on) { border-color: #91caff; }

.pkg.is-on {
    border-color: var(--c-brand);
    background: var(--c-brand-soft);
    box-shadow: inset 0 0 0 1px var(--c-brand);
}

.pkg__gift {
    position: absolute;
    top: 0;
    right: 0;
    padding: 2px 8px;
    font-size: 11px;
    font-style: normal;
    line-height: 1.45;
    color: #fff;
    background: linear-gradient(135deg, #ff7875, var(--c-danger));
    border-radius: 0 var(--r-md) 0 var(--r-md);
}

.pkg b {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.pkg.is-on b { color: var(--c-brand); }

.pkg small {
    font-size: 12px;
    color: var(--c-ink-3);
    margin-top: 2px;
}

.pkg.is-on small { color: var(--c-brand-deep); }

.pkg em {
    margin-top: 8px;
    font-size: 13px;
    font-style: normal;
    color: var(--c-ink-3);
}

/* —— 支付渠道 —— */
.channel-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.channel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    border-radius: var(--r-md);
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.channel:hover:not(.is-on) {
    border-color: #91caff;
    background: #fff;
}

.channel.is-on {
    border-color: var(--c-brand);
    background: var(--c-brand-soft);
    box-shadow: inset 0 0 0 1px var(--c-brand);
}

.channel.is-on::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 28px 28px 0;
    border-color: transparent var(--c-brand) transparent transparent;
}

.channel.is-on::before {
    content: "";
    position: absolute;
    top: 4px;
    right: 5px;
    width: 8px;
    height: 5px;
    border-left: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(-45deg);
    z-index: 1;
}

.channel__face {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.channel__face img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.channel__face span {
    font-size: 14px;
    font-weight: 500;
}

.channel.is-on .channel__face span { color: var(--c-brand); }

.channel input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.btn-primary {
    display: block;
    width: 100%;
    height: 46px;
    margin-top: 4px;
    border: none;
    border-radius: var(--r-md);
    background: var(--c-brand);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover { background: var(--c-brand-deep); }
.btn-primary:active { transform: translateY(1px); }

.trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--c-line-soft);
    list-style: none;
}

.trust-line li {
    position: relative;
    padding-left: 18px;
    font-size: 13px;
    color: var(--c-ink-3);
}

.trust-line li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-brand);
    opacity: 0.55;
}

/* —— 帮助 —— */
.qa-stack { display: grid; gap: 8px; }

.qa {
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    background: #fafafa;
    overflow: hidden;
    transition: border-color 0.15s, background 0.15s;
}

.qa:hover,
.qa[open] {
    background: #fff;
    border-color: #c6dbff;
}

.qa summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-ink);
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary span {
    flex-shrink: 0;
    min-width: 28px;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-brand);
    font-variant-numeric: tabular-nums;
}

.qa summary::after {
    content: "";
    margin-left: auto;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid var(--c-ink-3);
    border-bottom: 1.5px solid var(--c-ink-3);
    transform: rotate(45deg);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.qa[open] summary::after {
    transform: rotate(-135deg);
    border-color: var(--c-brand);
}

.qa__body {
    padding: 0 16px 16px 56px;
    font-size: 13px;
    color: var(--c-ink-2);
    line-height: 1.75;
}

/* —— 下载 —— */
.app-row {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 12px 0 4px;
}

.app-cell {
    position: relative;
    margin: 0;
    text-align: center;
}

.app-badge {
    height: 40px;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s;
}

.app-badge:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

.app-qr {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 148px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 5;
}

.app-qr img {
    width: 120px;
    height: 120px;
    display: block;
    margin-inline: auto;
}

.app-qr p {
    margin-top: 8px;
    font-size: 12px;
    color: var(--c-ink-3);
}

.app-cell:hover .app-qr { display: block; }

/* —— 页脚 —— */
.site-foot {
    margin-top: 40px;
    padding: 40px 0 36px;
    background: #111;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    font-size: 12px;
    line-height: 1.9;
}

.site-foot__links {
    display: flex;
    justify-content: center;
    gap: 8px 20px;
    margin-bottom: 14px;
}

.site-foot__links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.15s;
}

.site-foot__links a:hover { color: rgba(255, 255, 255, 0.9); }

/* —— 响应式 —— */
@media (max-width: 768px) {
    .wrap { padding-inline: 16px; }

    .topbar { height: 54px; }

    .nav { display: none; }

    .brand__name { font-size: 15px; }
    .brand img { height: 24px; }

    .banner { padding: 28px 0 56px; }

    .banner__title { font-size: 24px; }
    .banner__desc { font-size: 13px; margin-bottom: 16px; }

    .banner__points { gap: 8px; }
    .banner__points li { font-size: 11px; padding: 4px 10px 4px 8px; }

    .block {
        padding: 22px 16px;
        margin-top: 16px;
    }

    .block--lift { margin-top: -28px; }

    .pkg-list { grid-template-columns: repeat(2, 1fr); }

    .channel-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .trust-line { gap: 10px 20px; }

    .qa summary { padding: 12px; font-size: 13px; }
    .qa__body { padding: 0 12px 14px 12px; }

    .app-row {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .app-qr {
        position: static;
        transform: none;
        display: block;
        margin-top: 12px;
        box-shadow: none;
        border: none;
        width: 132px;
        padding: 0;
    }
}
