﻿ 

/* Background overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    animation: fadeIn 1s ease;
}

/* Popup image styling */
.popup img {
    width: 90%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(255, 200, 0, 0.9), 0 0 80px rgba(255, 140, 0, 0.6);
    animation: zoomIn 1s ease, glowPulse 2s ease-in-out infinite alternate;
    cursor: pointer;
}

/* Floating diyas */
.diya {
    position: absolute;
    bottom: -50px;
    width: 50px;
    animation: floatUp 12s linear infinite;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px #ffbb33);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes glowPulse {
    from {
        box-shadow: 0 0 20px rgba(255,180,0,0.9), 0 0 50px rgba(255,120,0,0.6);
    }

    to {
        box-shadow: 0 0 60px rgba(255,220,0,1), 0 0 100px rgba(255,140,0,0.7);
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-120vh);
        opacity: 0;
    }
}
 
