/* 官网充值中心 */
.rc-page {
    background: #f5f6f8;
    padding-bottom: 60px;
}

.rc-banner {
    height: 200px;
    background: linear-gradient(135deg, #ff5b7f 0%, #ff2d55 45%, #c81e4a 100%);
    color: #fff;
}

.rc-banner-inner {
    width: 1000px;
    margin: 0 auto;
    padding-top: 52px;
    box-sizing: border-box;
}

.rc-banner-inner h1 {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2px;
}

.rc-banner-inner p {
    margin-top: 14px;
    font-size: 15px;
    opacity: .92;
}

.rc-wrap {
    width: 1000px;
    margin: -70px auto 0;
    position: relative;
}

.rc-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    padding: 10px 40px 0;
}

.rc-step {
    padding: 26px 0 6px;
    border-bottom: 1px solid #f0f0f0;
}

.rc-step:last-of-type {
    border-bottom: 0;
}

.rc-step-hd {
    font-size: 17px;
    color: #333;
    font-weight: 700;
    margin-bottom: 18px;
}

.rc-step-hd .num {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #ff2d55;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    margin-right: 8px;
    font-weight: 400;
}

/* 账号查询 */
.rc-account {
    display: flex;
    align-items: center;
}

.rc-input {
    height: 44px;
    line-height: 44px;
    border: 1px solid #e2e4e9;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    background: #fff;
    transition: border-color .2s;
}

.rc-input:focus {
    border-color: #ff2d55;
}

.rc-account .rc-input {
    flex: none;
    width: 340px;
}

.rc-btn {
    flex: none;
    display: inline-block;
    height: 44px;
    line-height: 44px;
    padding: 0 30px;
    border-radius: 6px;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
}

.rc-btn-check {
    margin-left: 12px;
    background: #fff;
    border: 1px solid #ff2d55;
    color: #ff2d55;
}

.rc-btn-check:hover {
    background: #fff5f7;
}

.rc-btn-submit {
    background: linear-gradient(90deg, #ff5b7f, #ff2d55);
    color: #fff;
    border: 0;
    padding: 0 60px;
    font-weight: 700;
}

.rc-btn-submit:hover {
    opacity: .9;
}

.rc-btn-submit.disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 查询结果 */
.rc-user {
    display: flex;
    align-items: center;
    margin-top: 18px;
    padding: 14px 18px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
}

.rc-user img {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.rc-user-info {
    flex: 1;
    margin-left: 14px;
}

.rc-user-nick {
    font-size: 16px;
    color: #333;
    font-weight: 700;
    margin-bottom: 6px;
}

.rc-user-sub {
    font-size: 13px;
    color: #999;
}

.rc-user-sub em {
    margin: 0 10px;
    font-style: normal;
    color: #ddd;
}

.rc-user-sub b {
    color: #ff2d55;
}

.rc-user-change {
    font-size: 13px;
    color: #999;
    text-decoration: underline;
}

/* 套餐 */
.rc-packages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.rc-pkg {
    position: relative;
    padding: 20px 10px 16px;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    background: #fff;
}

.rc-pkg:hover {
    border-color: #ffb3c1;
}

.rc-pkg.active {
    border-color: #ff2d55;
    background: #fff8f9;
    box-shadow: 0 4px 16px rgba(255, 45, 85, .12);
}

.rc-pkg-coin {
    display: block;
    font-size: 22px;
    color: #333;
    font-weight: 700;
}

.rc-pkg-coin span {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    margin-left: 2px;
}

.rc-pkg-price {
    display: block;
    margin-top: 10px;
    font-size: 15px;
    color: #ff2d55;
}

.rc-pkg-give {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff2d55;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 0 8px 0 8px;
    font-style: normal;
}

.rc-pkg-custom .rc-pkg-coin {
    font-size: 18px;
    line-height: 30px;
}

/* 自由输入金额 */
.rc-custom {
    margin-top: 20px;
    padding: 18px 20px;
    background: #fafafa;
    border-radius: 8px;
}

.rc-custom-label {
    font-size: 14px;
    color: #666;
    margin-right: 12px;
}

.rc-custom-input {
    display: inline-flex;
    align-items: center;
}

.rc-custom-input .rc-input {
    width: 200px;
}

.rc-custom-input span {
    margin-left: 10px;
    font-size: 14px;
    color: #666;
}

.rc-tip {
    margin-top: 10px;
    font-size: 13px;
    color: #999;
}

.rc-tip b {
    color: #ff2d55;
    font-size: 15px;
}

.rc-tip-warn {
    color: #e0342c;
}

/* 支付方式 */
.rc-pays {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.rc-pay {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 48px;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all .2s;
    background: #fff;
}

.rc-pay:hover {
    border-color: #ffb3c1;
}

.rc-pay.active {
    border-color: #ff2d55;
    background: #fff8f9;
}

.rc-pay img {
    flex: none;
    height: 30px;
    width: auto;
    max-width: 100%;
    display: block;
}

.rc-captcha {
    display: flex;
    align-items: center;
    margin-top: 18px;
}

.rc-captcha .rc-input {
    width: 200px;
    height: 48px;
    line-height: 48px;
}

.rc-captcha img {
    flex: none;
    height: 48px;
    width: 160px;
    margin-left: 12px;
    border: 1px solid #e2e4e9;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
}

/* 底部提交栏 */
.rc-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 24px 0 30px;
    border-top: 1px solid #f0f0f0;
}

.rc-amount {
    font-size: 14px;
    color: #666;
    margin-right: 24px;
}

.rc-amount b {
    color: #ff2d55;
    font-size: 26px;
    font-weight: 700;
}

/* 说明 */
.rc-notice {
    margin-top: 20px;
    padding: 22px 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
}

.rc-notice h3 {
    font-size: 15px;
    color: #333;
    margin-bottom: 12px;
}

.rc-notice p {
    font-size: 13px;
    color: #999;
    line-height: 24px;
}

/* 支付弹层 */
.rc-modal {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.rc-modal-mask {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
}

.rc-modal-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    padding: 30px 30px 24px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    box-sizing: border-box;
}

.rc-modal-close {
    position: absolute;
    right: 14px;
    top: 10px;
    font-size: 24px;
    color: #bbb;
    cursor: pointer;
    font-style: normal;
    line-height: 1;
}

.rc-modal-close:hover {
    color: #666;
}

.rc-modal-box h3 {
    font-size: 18px;
    color: #333;
    font-weight: 700;
}

.rc-modal-money {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.rc-modal-money b {
    color: #ff2d55;
    font-size: 20px;
}

.rc-qrcode {
    width: 200px;
    height: 200px;
    margin: 18px auto 0;
    padding: 8px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    box-sizing: content-box;
}

.rc-qrcode img,
.rc-qrcode canvas,
.rc-qrcode table {
    width: 200px !important;
    height: 200px !important;
}

.rc-scan-tip {
    margin-top: 14px;
    font-size: 13px;
    color: #666;
}

.rc-modal-status {
    margin-top: 8px;
    font-size: 14px;
    color: #ff2d55;
}

.rc-modal-status.success {
    color: #09bb07;
}

.rc-modal-tip {
    margin-top: 10px;
    font-size: 12px;
    color: #bbb;
}

.rc-alipay-link {
    padding-top: 62px;
    font-size: 14px;
    color: #666;
    line-height: 28px;
}

.rc-alipay-link a {
    color: #ff2d55;
    text-decoration: underline;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .rc-card {
        padding: 10px 20px 0;
    }

    .rc-packages {
        grid-template-columns: repeat(2, 1fr);
    }

    .rc-account .rc-input {
        flex: 1;
        width: auto;
    }
}

@media (max-width: 640px) {
    .rc-packages {
        grid-template-columns: 1fr;
    }

    .rc-account {
        flex-wrap: wrap;
        gap: 10px;
    }

    .rc-account .rc-input {
        width: 100%;
    }

    .rc-btn-check {
        margin-left: 0;
    }

    .rc-pay {
        width: 100%;
    }
}
