body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #0b0d11;
}

.bg-wrapper {
    position: relative;
    height: 100vh;
    background: url('../image/bg.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 遮罩层 */
.bg-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8); /* 80% 黑色透明 */
    z-index: 1;
}

/* 内容要在遮罩上面 */
.recharge-modal {
    position: relative;
    z-index: 2;
}

/* 主弹窗 */
.recharge-modal {
    width: 420px;
    background: #111317;
    border-radius: 10px;
    padding: 20px 24px;
    color: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

/* 头部 */
.modal-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.title {
    font-size: 17px;
    font-weight: 600;
}

.subtitle {
    font-size: 12px;
    color: #8e8d92;
    margin-top: 4px;
}

.close-btn {
    font-size: 18px;
    cursor: pointer;
    color: #aaa;
}

/* 金额 */
.amount {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin:15px 0 10px;
}

/* 二维码 */
.qr-box {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.qr-box img {
    width: 168px;
    height: 168px;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
}

/* 信息 */
.info {
    font-size: 12px;
    color: #ccc;
}

.row-item {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.row-item .item2 {
    text-align: right;
    color:#888;
}

/* 按钮 */
.done-btn {
    background: #1677ff;
    border: none;
    padding: 6px 16px;
    font-size: 12px;
    border-radius: 4px;
}

.done-btn:hover {
    background: #4096ff;
}
#cropImage {
    max-width: 90%;
    max-height:400px;
}