:root {
    --bx-blue: #3B8FDE;
    --bx-blue-deep: #2F78C4;
    --bx-blue-soft: rgba(59, 143, 222, 0.1);
    --bx-blue-mist: #EAF4FC;
    --bx-blue-wash: #F3F8FD;
    --bx-ink: #1A2332;
    --bx-ink-2: #4A5568;
    --bx-ink-3: #8A94A6;
    --bx-line: #D9E4F0;
    --bx-white: #FFFFFF;
    --bx-gold: #F0A020;
    --bx-green: #18A058;
    --bx-radius: 14px;
    --bx-radius-sm: 10px;
    --bx-shadow: 0 8px 28px rgba(26, 55, 90, 0.07);
    --bx-shadow-sm: 0 2px 8px rgba(26, 55, 90, 0.05);
    --bx-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--bx-font);
    color: var(--bx-ink);
    background:
        radial-gradient(1200px 480px at 12% -10%, rgba(59, 143, 222, 0.16), transparent 60%),
        radial-gradient(900px 420px at 88% 0%, rgba(59, 143, 222, 0.1), transparent 55%),
        var(--bx-blue-wash);
    line-height: 1.6;
    min-width: 0;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

input, button, summary {
    font: inherit;
    border: none;
    background: none;
    outline: none;
}

.bx-wrap {
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
}

/* —— 顶栏 —— */
.bx-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(217, 228, 240, 0.9);
}

.bx-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.bx-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.bx-brand__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(59, 143, 222, 0.28);
}

.bx-brand__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.bx-brand__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--bx-ink);
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.bx-brand__sub {
    font-size: 12px;
    color: var(--bx-blue);
    font-weight: 500;
}

.bx-menu {
    display: flex;
    gap: 28px;
}

.bx-menu__item a {
    font-size: 14px;
    font-weight: 500;
    color: var(--bx-ink-2);
    padding: 6px 0;
    position: relative;
}

.bx-menu__item a:hover,
.bx-menu__item--on a {
    color: var(--bx-blue);
}

.bx-menu__item--on a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--bx-blue);
    border-radius: 2px;
}

.bx-burger,
.bx-shade,
.bx-drawer__cap {
    display: none;
}

body.bx-nav-open {
    overflow: hidden;
}

/* —— Hero —— */
.bx-hero {
    padding: 36px 0 8px;
}

.bx-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
    padding: 28px 36px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(234, 244, 252, 0.92) 100%);
    border: 1px solid rgba(59, 143, 222, 0.14);
    border-radius: 20px;
    box-shadow: var(--bx-shadow);
}

.bx-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bx-blue);
    margin-bottom: 12px;
}

.bx-hero__eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bx-blue);
    box-shadow: 0 0 0 4px var(--bx-blue-soft);
}

.bx-hero__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--bx-ink);
    line-height: 1.2;
    margin-bottom: 14px;
}

.bx-hero__lead {
    font-size: 15px;
    color: var(--bx-ink-2);
    max-width: 34em;
    margin-bottom: 22px;
}

.bx-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bx-trust li {
    font-size: 12px;
    font-weight: 600;
    color: var(--bx-blue-deep);
    background: var(--bx-white);
    border: 1px solid var(--bx-line);
    border-radius: 999px;
    padding: 6px 12px;
}

.bx-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
    background: var(--bx-white);
    border-radius: 16px;
    border: 1px solid var(--bx-line);
}

.bx-hero__logo {
    width: min(100%, 360px);
    height: auto;
    display: block;
}

/* —— 主内容 —— */
.bx-main {
    padding: 28px 0 72px;
}

.bx-h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--bx-ink);
    margin-bottom: 8px;
}

.bx-console {
    background: var(--bx-white);
    border: 1px solid var(--bx-line);
    border-radius: var(--bx-radius);
    padding: 32px 36px;
    box-shadow: var(--bx-shadow);
    margin-bottom: 28px;
}

.bx-console__head {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--bx-line);
}

.bx-console__hint {
    font-size: 13px;
    color: var(--bx-ink-3);
}

.bx-field {
    margin-bottom: 26px;
}

.bx-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--bx-ink-2);
    margin-bottom: 10px;
}

.bx-input {
    width: min(100%, 440px);
    height: 48px;
    padding: 0 16px;
    border: 1.5px solid var(--bx-line);
    border-radius: var(--bx-radius-sm);
    background: var(--bx-blue-wash);
    color: var(--bx-ink);
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bx-input:focus {
    border-color: var(--bx-blue);
    background: var(--bx-white);
    box-shadow: 0 0 0 4px var(--bx-blue-soft);
}

.bx-denoms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.bx-denom {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 108px;
    padding: 18px 12px 14px;
    border: 1.5px solid var(--bx-line);
    border-radius: var(--bx-radius-sm);
    background: var(--bx-blue-wash);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.bx-denom:hover {
    border-color: #B7CFE8;
    transform: translateY(-1px);
}

.bx-denom--active {
    border-color: var(--bx-blue);
    background: var(--bx-blue-soft);
    box-shadow: 0 0 0 1px var(--bx-blue), var(--bx-shadow-sm);
}

.bx-denom input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bx-denom__coin {
    font-size: 22px;
    font-weight: 800;
    color: var(--bx-ink);
    line-height: 1.1;
}

.bx-denom__coin::after {
    content: " 比心币";
    font-size: 11px;
    font-weight: 500;
    color: var(--bx-ink-3);
}

.bx-denom__tag {
    font-size: 12px;
    color: var(--bx-gold);
    font-weight: 600;
}

.bx-denom__yen {
    font-size: 13px;
    color: var(--bx-ink-3);
}

.bx-denom__ribbon {
    position: absolute;
    top: 0;
    right: 0;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #F5B041, #E8910F);
    padding: 3px 8px;
    border-radius: 0 var(--bx-radius-sm) 0 var(--bx-radius-sm);
    line-height: 1.35;
}

.bx-denom--bonus {
    padding-top: 22px;
}

.bx-pays {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bx-pay {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 148px;
    padding: 12px 20px;
    border: 1.5px solid var(--bx-line);
    border-radius: var(--bx-radius-sm);
    background: var(--bx-blue-wash);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--bx-ink-2);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.bx-pay input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bx-pay__icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.bx-pay--on[data-pay="alipay"] {
    border-color: #1677FF;
    background: rgba(22, 119, 255, 0.06);
    color: var(--bx-ink);
}

.bx-pay--on[data-pay="wechat"] {
    border-color: var(--bx-green);
    background: rgba(24, 160, 88, 0.07);
    color: var(--bx-ink);
}

.bx-checkout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--bx-line);
}

.bx-checkout__row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 14px;
    color: var(--bx-ink-2);
    margin-bottom: 4px;
}

.bx-checkout__price {
    font-size: 28px;
    font-weight: 800;
    color: var(--bx-blue);
    letter-spacing: 0.3px;
}

.bx-checkout__coins {
    font-size: 14px;
    color: var(--bx-ink-3);
}

.bx-checkout__coins b {
    color: var(--bx-ink);
    font-size: 16px;
}

.bx-gift {
    color: var(--bx-gold);
    font-size: 13px;
    margin-left: 4px;
}

.bx-submit {
    height: 50px;
    padding: 0 44px;
    border-radius: var(--bx-radius-sm);
    background: linear-gradient(180deg, #4A9BE5 0%, var(--bx-blue) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(59, 143, 222, 0.32);
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.bx-submit:hover {
    filter: brightness(1.04);
    box-shadow: 0 10px 24px rgba(59, 143, 222, 0.4);
    transform: translateY(-1px);
}

.bx-submit:active {
    transform: translateY(0);
}

/* —— 须知 / FAQ —— */
.bx-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bx-panel {
    background: var(--bx-white);
    border: 1px solid var(--bx-line);
    border-radius: var(--bx-radius);
    padding: 28px 30px;
    box-shadow: var(--bx-shadow-sm);
}

.bx-panel .bx-h2 {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bx-line);
}

.bx-steps {
    counter-reset: bxstep;
}

.bx-steps li {
    counter-increment: bxstep;
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 12px;
    margin-bottom: 16px;
}

.bx-steps li:last-child {
    margin-bottom: 0;
}

.bx-steps li::before {
    content: counter(bxstep);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--bx-blue-soft);
    color: var(--bx-blue);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-row: 1 / span 2;
}

.bx-steps strong {
    font-size: 14px;
    color: var(--bx-ink);
    grid-column: 2;
}

.bx-steps p {
    grid-column: 2;
    font-size: 13px;
    color: var(--bx-ink-2);
    margin-top: 4px;
    line-height: 1.7;
}

.bx-faq__item {
    border-bottom: 1px solid var(--bx-line);
    padding: 12px 0;
}

.bx-faq__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bx-faq__item summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--bx-ink);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bx-faq__item summary::-webkit-details-marker {
    display: none;
}

.bx-faq__item summary::after {
    content: "+";
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--bx-blue-mist);
    color: var(--bx-blue);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bx-faq__item[open] summary::after {
    content: "–";
}

.bx-faq__item p {
    margin-top: 8px;
    font-size: 13px;
    color: var(--bx-ink-2);
    line-height: 1.7;
    padding-right: 28px;
}

/* —— 页脚 —— */
.bx-foot {
    background: linear-gradient(180deg, #1E2A3A 0%, #16202C 100%);
    color: #8A97A8;
    padding: 40px 0 32px;
    font-size: 13px;
}

.bx-foot__links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-bottom: 18px;
}

.bx-foot__links a:hover {
    color: #D0D8E2;
}

.bx-foot__beian {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
}

.bx-foot__beian a:hover {
    color: #C5CFDA;
}

.bx-foot__copy,
.bx-foot__health {
    text-align: center;
    line-height: 1.8;
}

.bx-foot__health {
    margin-top: 6px;
    font-size: 12px;
    color: #6E7A8A;
}

/* —— 响应式 —— */
@media (max-width: 992px) {
    .bx-denoms {
        grid-template-columns: repeat(3, 1fr);
    }

    .bx-hero__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }

    .bx-hero__visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .bx-wrap {
        width: calc(100% - 32px);
    }

    .bx-topbar__inner {
        height: 58px;
    }

    .bx-brand__name {
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .bx-brand__sub {
        display: none;
    }

    .bx-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        border: 1px solid var(--bx-line);
        background: var(--bx-white);
        cursor: pointer;
        z-index: 202;
        -webkit-tap-highlight-color: transparent;
    }

    .bx-burger i {
        display: block;
        width: 18px;
        height: 2px;
        background: var(--bx-ink);
        border-radius: 2px;
        transition: transform 0.28s ease, opacity 0.2s ease;
    }

    body.bx-nav-open .bx-burger {
        border-color: var(--bx-blue);
        background: var(--bx-blue-soft);
    }

    body.bx-nav-open .bx-burger i:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.bx-nav-open .bx-burger i:nth-child(2) {
        opacity: 0;
    }

    body.bx-nav-open .bx-burger i:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .bx-shade {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(18, 28, 42, 0.42);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 199;
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }

    body.bx-nav-open .bx-shade {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .bx-drawer {
        position: fixed;
        top: 0;
        right: 0;
        width: min(280px, 82vw);
        height: 100dvh;
        height: 100vh;
        background: var(--bx-white);
        border-left: 1px solid var(--bx-line);
        box-shadow: -10px 0 36px rgba(20, 40, 70, 0.12);
        z-index: 200;
        transform: translateX(100%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    body.bx-nav-open .bx-drawer {
        transform: translateX(0);
    }

    .bx-drawer__cap {
        display: flex;
        align-items: center;
        height: 58px;
        padding: 0 20px;
        border-bottom: 1px solid var(--bx-line);
        font-size: 13px;
        font-weight: 700;
        color: var(--bx-ink-3);
        letter-spacing: 1px;
    }

    .bx-menu {
        flex-direction: column;
        gap: 4px;
        padding: 12px;
    }

    .bx-menu__item a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0 14px;
        border-radius: 10px;
        font-size: 15px;
    }

    .bx-menu__item--on a {
        background: var(--bx-blue-soft);
    }

    .bx-menu__item--on a::after {
        display: none;
    }

    .bx-hero {
        padding-top: 20px;
    }

    .bx-hero__title {
        font-size: 26px;
    }

    .bx-console {
        padding: 22px 18px;
    }

    .bx-denoms {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .bx-denom {
        min-height: 96px;
        padding: 16px 8px 12px;
    }

    .bx-denom__coin {
        font-size: 18px;
    }

    .bx-pay {
        width: 100%;
        justify-content: center;
    }

    .bx-checkout {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .bx-checkout__row {
        justify-content: center;
    }

    .bx-submit {
        width: 100%;
    }

    .bx-split {
        grid-template-columns: 1fr;
    }

    .bx-panel {
        padding: 22px 18px;
    }
}

@media (max-width: 480px) {
    .bx-wrap {
        width: calc(100% - 24px);
    }

    .bx-brand__icon {
        width: 34px;
        height: 34px;
    }

    .bx-hero__grid {
        padding: 18px;
        border-radius: 16px;
    }

    .bx-hero__lead {
        font-size: 14px;
    }

    .bx-trust li {
        font-size: 11px;
        padding: 5px 10px;
    }

    .bx-input {
        width: 100%;
        height: 44px;
        font-size: 14px;
    }

    .bx-checkout__price {
        font-size: 24px;
    }

    .bx-foot__links {
        gap: 8px 14px;
        font-size: 12px;
    }

    .bx-foot__beian {
        flex-direction: column;
        align-items: center;
        font-size: 11px;
    }

    .bx-foot__copy,
    .bx-foot__health {
        font-size: 11px;
        padding: 0 6px;
    }
}
