
/* cash back & red packet */
.cnr-div{
    position: fixed;
    right: clamp(0px, 2.5vw, 10.35px);
    bottom: clamp(0px, 20vw, 82.8px);
    z-index: 1;
    display: flex;
    flex-direction: column-reverse;
    gap: clamp(0px, 0.5vw, 2.07px);
}

.rebate-img{
    width: clamp(0px, 15vw, 62.1px);
}

.cnr-animate-zoom-div {
    animation: scaleAnimation 2s infinite alternate;
}

@keyframes scaleAnimation {
    0% {
        transform: scale(0.9); 
    }
    100% {
        transform: scale(1.1); 
    }
}

.angpao-img{
    width: clamp(0px, 15vw, 62.1px);
}

.cnr-animate-bounce-div {
    animation: bounceAnimation 2s infinite alternate; 
}
/* 
@keyframes bounceAnimation {
    0% {
        transform: translateY(0); 
    }
    30% {
        transform: translateY(-2vw); 
    }
    50% {
        transform: translateY(0); 
    }
    65% {
        transform: translateY(-1vw); 
    }
    80% {
        transform: translateY(0); 
    }
    90% {
        transform: translateY(-0.5vw); 
    }
    100% {
        transform: translateY(0); 
    }
} */

@keyframes bounceAnimation {
    0% {
        transform: translateY(0); 
    }
    25% {
        transform: translateY(-2vw); 
    }
    50% {
        transform: translateY(0); 
    }
    75% {
        transform: translateY(-1vw); 
    }
    100% {
        transform: translateY(0); 
    }
}

.red-packet-div{
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.red-packet-div .angpao-img{
    width: clamp( 0px, 85vw, 351.9px);
}

@keyframes scaleAnimationAngpao {
    0% {
        transform: scale(1); 
    }
    100% {
        transform: scale(1.2); 
    }
}

.red-packet-inner-div{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.red-packet-content{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: clamp(0px, 5vw, 20.7px);
    margin-top: clamp(0px, 10vw, 41.4px);
}

.red-packet-content .congrats-text-img{
    height: clamp(0px, 12vw, 49.68px);
    
}

.red-packet-content .money-frame-div{
    position: relative;
    justify-content: center;
    align-items: center;
    display: flex;
}

.red-packet-content .money-frame-img{
    width: clamp(0px, 60vw, 248.4px);
}


.red-packet-content .money-frame-pool{
    position: absolute;
}

.red-packet-content .angpao-claim-img{
    height: clamp(0px, 12vw, 49.68px);
}

.red-packet-content .claim-btn{
    min-height: clamp(0px, 10vw, 41.4px);
    min-width: clamp(0px, 30vw, 124.2px);
    padding: 0 clamp(0px, 2vw, 8.28px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: clamp(0px, 2vw, 8.28px);
    background-image: linear-gradient(180deg, #fff3b9, #dc4509);
}


.red-packet-content .claim-btn2{
    min-height: clamp(0px, 10vw, 41.4px);
    min-width: clamp(0px, 30vw, 124.2px);
    padding: 0 clamp(0px, 2vw, 8.28px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: clamp(0px, 2vw, 8.28px);
    background-image: linear-gradient(180deg, #770503, #bb3a02);
}

.rcb-close-btn{
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(0px, 7vw, 37.4px);
    height: clamp(0px, 7vw, 37.4px);
    cursor: pointer;
}