﻿/* 🎁 Gift image */
.gift {
    width: 150px;
    animation: shake .5s infinite;
    position: relative;
    z-index: 10;
}

/* ✨ Reward text */
.reward-text {
    margin-top: 20px;
    font-size: 22px;
    font-weight: bold;
    color: #FFD700;
    text-align: center;
}

/* 🎶 Shake animation */
@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-15deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* 🎊 Confetti */
.confetti {
    position: absolute;
    width: 8px;
    height: 12px;
    background-color: red;
    opacity: 0.9;
    top: -10px;
    animation: fall linear forwards;
}

@keyframes fall {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    to {
        transform: translateY(110vh) scale(0.5);
        opacity: 0;
    }
}
