/* =========================================================
   AyushAura Premium Lottery Result Popup & Animations
   ========================================================= */

@keyframes resultModalPopIn {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    65% {
        transform: translate(-50%, -50%) scale(1.04);
        opacity: 1;
    }
    85% {
        transform: translate(-50%, -50%) scale(0.98);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes goldGlowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.9));
    }
}

@keyframes badgeShine {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

.WinningTip__C {
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    transition: opacity 0.3s ease !important;
}

.WinningTip__C-body {
    animation: resultModalPopIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 170, 0, 0.35) !important;
    border-radius: 20px !important;
}

.WinningTip__C-body.isL {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(100, 140, 200, 0.25) !important;
}

/* Header Text (Congratulations / Sorry) */
.WinningTip__C-body-l1,
.WinningTip__C-body .WinningTip__C-body-l1 {
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

/* Result Badges (Color, Number, Big/Small) */
.WinningTip__C-body-l2 > div {
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    font-size: 0.32rem !important;
}

.WinningTip__C-body-l2 > div.WinningNum {
    font-size: 0.36rem !important;
    font-weight: 800 !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8) !important;
}

/* Winning Bonus Amount */
.WinningTip__C-body-l3 .bonus {
    font-size: 0.68rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px !important;
    color: #ffeb3b !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 215, 0, 0.8) !important;
    animation: goldGlowPulse 2s infinite ease-in-out !important;
}

.WinningTip__C-body-l3 .head {
    font-size: 0.38rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

.WinningTip__C-body-l3 .gameDetail {
    font-size: 0.32rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    opacity: 0.9 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.WinningTip__C-body.isL .WinningTip__C-body-l3 .isLose {
    color: #dbe7f5 !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) !important;
}

/* Auto Shut Off 3s Button */
.WinningTip__C-body-l4 {
    font-size: 0.34rem !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
    cursor: pointer !important;
}

.WinningTip__C-body-l4 .acitveBtn {
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5) !important;
}

.WinningTip__C-body-l4 .acitveBtn.active {
    background-color: #28a745 !important;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.8) !important;
}

/* Close Button */
.WinningTip__C .closeBtn {
    cursor: pointer !important;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.2s !important;
}

.WinningTip__C .closeBtn:active,
.WinningTip__C .closeBtn:hover {
    transform: translateX(-50%) translateY(100%) scale(1.15) !important;
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) !important;
}