@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-Bold.ttf');
}

body {
    background: url('images/index/bg.png') no-repeat center top;
    background-size: cover;
    line-height: 1.5;
    font-size: 100%;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

a {
    color:#19BEFF;
}

.container {
    margin: 0 auto;
    width: 1200px;
}

.page {
    padding: 120px 0 170px;
}

.page-content {
    margin-top: 200px;
}

.page-footer {
    margin-top: 144px;
    text-align: center;
}

.logo {
    margin: 0 auto;
    width: 426px;
    height: 120px;
    background: url('images/index/logo-white.png') no-repeat center center;
    background-size: cover;
}

.goods-list {
    display: flex;
    justify-content: center;
    align-items: center;
}

.goods-list-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-left: 16px;
    padding: 8px;
    width: 235px;
    height: 300px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 205px 270px;
    border: 4px solid transparent;
    border-radius: 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.goods-list-item .goods-name {
    line-height: 60px;
    font-family: 'Kanit';
    font-size: 56px;
    font-weight: 700;
}

.goods-list-item .goods-validity {
    margin-top: 12px;
    line-height: 26px;
    font-family: 'Ping Fang';
    font-size: 24px;
    font-weight: 600;
}

.goods-list-item:first-child {
    margin-left: 0;
}

.goods-list-item.selected {
    border-color: #FCE380;
}

.weekly {
    background-image: url('images/goods/weekly.png');
}

.monthly {
    background-image: url('images/goods/monthly.png');
}

.quarterly {
    background-image: url('images/goods/quarterly.png');
}

.yearly {
    background-image: url('images/goods/yearly.png');
}

.lifetime {
    background-image: url('images/goods/lifetime.png');
}

.lifetime .goods-name {
    color: #FFD939;
}

.custom-amount {
    position: relative;
    margin: 32px auto 0;
    width: 840px;
}

.custom-amount-bd {
    padding: 8px 180px 8px 50px;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-sizing: border-box;
}

.custom-amount-bd .input-amount {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
    outline: none;
    appearance: none;
    font-size: 36px;
    color: #fff;
}

.custom-amount-bd .input-amount:focus {
    outline: none;
}

.custom-amount .amount-unit,
.custom-amount .btn-deposit {
    position: absolute;
    top: 8px;
}

.custom-amount .amount-unit {
    left: 24px;
    top: 22px;
    line-height: 1;
    font-size: 36px;
    font-weight: 900;
    color: #fff;
}

.custom-amount .btn-deposit {
    right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 60px;
    background-color: #19BEFF;
    border: none;
    border-radius: 12px;
    font-size: 25px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
}

.custom-amount .help {
    display: none;
    font-size: 22px;
    color: #E1527C;
}

.custom-amount .help-custom-amount {
    font-size: 22px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.help-login {
    font-size: 14px;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    body {
        background-image: url('images/index/bg-mobile.png');
        font-size: 14px;
    }

    .container {
        width: 100%;
    }

    .page {
        padding: 50px 0;
    }

    .page-content {
        margin-top: 86px;
    }

    .page-footer {
        margin-top: 92px;
    }

    .logo {
        width: 142px;
        height: 40px;
    }

    .goods-list {
        flex-wrap: wrap;
    }

    .goods-list-item {
        margin-left: 0;
        margin-bottom: 22px;
        width: 114px;
        height: 146px;
        background-size: 100px 132px;
        border-width: 2px;
        border-radius: 6px;
    }

    .goods-list-item .goods-name {
        line-height: 28px;
        font-size: 28px;
    }

    .goods-list-item .goods-validity {
        margin-top: 5px;
        line-height: 12px;
        font-size: 12px;
    }

    .custom-amount {
        margin-top: 24px;
        width: 332px;
    }
    
    .custom-amount-bd {
        padding: 4px 90px 4px 25px;
        height: 40px;
        border-radius: 8px;
    }
    
    .custom-amount-bd .input-amount {
        font-size: 18px;
    }
    
    .custom-amount .amount-unit,
    .custom-amount .btn-deposit {
        top: 4px;
    }
    
    .custom-amount .amount-unit {
        left: 12px;
        top: 12px;
        font-size: 18px;
    }
    
    .custom-amount .btn-deposit {
        right: 4px;
        width: 100px;
        height: 30px;
        border-radius: 5px;
        font-size: 12px;
    }
    
    .custom-amount .help {
        font-size: 11px;
    }
    
    .custom-amount .help-custom-amount {
        font-size: 11px;
    }
}
