.deposit_bonus {
    border-radius: 24px;
    border: 1px solid rgba(128, 55, 242, 0.20);
    box-shadow: 0px 0px 32.1px 0px rgba(128, 55, 242, 0.20);
    height: 113px;
    width: 100%;
    max-width: calc(1380px);
    margin-top: 30px;
} 

.deposit_bonus .gift {
    width: 113px;
    height: 113px;
    background-image: url(../../system/deposit_bonus/gift.png);
    background-size: 100%;
}



.deposit_bonus .layer {
    width: calc(100% - 40px);
    padding: 0px 20px;
    height: 113px;
    margin-top: -113px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    gap: 20px;
    border-radius: 24px;
}

.deposit_bonus .layer:first-child {
    margin-top: 0;
}

.deposit_bonus .layer:nth-child(1) .gift {
    transform: rotate(59deg) scale(2) translate(-46px, 47px);
    filter: blur(2px);
    opacity: 0.7;
    animation: 10s first-gift-animation linear infinite;
}

.deposit_bonus .layer:nth-child(2) .gift {
    transform: rotate(0deg) scale(2) translate(85px, 27px);
    filter: blur(2px);
    opacity: 0.7;
    animation: 10s second-gift-animation linear infinite;
}


.deposit_bonus .layer.details {
    justify-content: space-between;
    position: relative;
    z-index: 2;
    transform: translate(0px, 0px);
}
.deposit_bonus .layer.details .left {
    display: flex;
    align-items: center;
    gap: 6px;
}
.deposit_bonus .layer.details .left .gift {background-size: 112%;background-position: center center;background-repeat: no-repeat;}
.deposit_bonus .layer.details .left .text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.deposit_bonus .layer.details .left .text .title {
    color: #FFF;
    font-size: 24px;
    font-weight: 500;
     /* 26.4px */
}
.deposit_bonus .layer.details .left .text .descriptions {
    color: rgba(255, 255, 255, 0.58);
    font-family: Lufga;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; /* 17.6px */
}

.deposit_bonus .layer.details .right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.deposit_bonus .layer.details .right .timer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.deposit_bonus .layer.details .right .timer .top {
    color: #FFF;
    font-family: 'Lufga';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-direction: row;
}
.deposit_bonus .layer.details .right .timer .progress {
    width: 138px;
    height: 8px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.10);
}

.deposit_bonus .layer.details .right .timer .progress .line {
    max-width: 172px;
    border-radius: 24px;
    background: url(../../system/slider/deposit/progress-mask.png), linear-gradient(84deg, #AF7138 -7.08%, #FFA555 132.64%), linear-gradient(84deg, #4FACFE -7.08%, #00D1DB 132.64%);
    height: 8px;
    animation: 10s progress-line-mask linear infinite;
}

@keyframes progress-line-mask {
    to {
        background-position-y: 500%;
    }
}  

.deposit_bonus .layer.details .right .timer .time {
    color: #FFF;
    font-family: 'Lufga';
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    opacity: 0.58   ;
}

.deposit_bonus .layer.details .button {
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    border-radius: 14px;
    background: linear-gradient(97.97deg, #4FACFE 0.49%, #4FACFE 36.66%, #71BDFF 50.41%, #6BBAFF 52.96%, #4FACFE 64.67%, #4FACFE 102.37%);
    background-size: 500%;
    box-shadow: 0px 0px 32.1px -2px rgb(54 183 243 / 10%);
    animation: 10s shine linear infinite;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    transition: all 300ms;
    cursor: pointer;
}

.deposit_bonus .layer.details .button:hover {
    box-shadow: 0px 0px 32.1px -2px rgb(54 183 243 / 30%);
    transition: all 300ms;
}

@media (max-width: 823px) {
    .deposit_bonus .layer.details .left .text .title {
        font-size: 18px;
    }
    
    .deposit_bonus .layer.details .left .text .descriptions {
        font-size: 14px;
    }
}

@media (max-width: 735px) {
    .deposit_bonus {
        height: 189px;
    }

    .deposit_bonus .layer {
        height: 189px;
        margin-top: -189px;
    }

    .deposit_bonus .layer.details {
        width: calc(100% - 40px);
        flex-direction: column;
        gap: 15px;
        padding: 0px 20px;
        justify-content: center;
    }

    .deposit_bonus .layer.details .left {
        gap: 20px;
        justify-content: center;
    }

    .deposit_bonus .layer.details .left .gift {
        width: 70px;
        height: 70px;
        background-size: 166%;
    }

    .deposit_bonus .layer.details .left .text .title {
        font-size: 18px;
    }
    
    .deposit_bonus .layer.details .left .text .descriptions {
        font-size: 14px;
    }

    .deposit_bonus .layer.details .right {
        justify-content: center;
    }
}

@keyframes first-gift-animation {
    0% {transform: rotate(59deg) scale(2) translate(-46px, 47px);}
    50% {transform: rotate(59deg) scale(2) translate(-52px, 44px);}
    100% {transform: rotate(59deg) scale(2) translate(-46px, 47px);}
}

@keyframes second-gift-animation {
    0% {transform: rotate(0deg) scale(2) translate(85px, 27px);}
    50% {transform: rotate(0deg) scale(2) translate(91px, 33px);}
    100% {transform: rotate(0deg) scale(2) translate(85px, 27px);}
}