
/* ==========================================
   DIWALI FIREWORKS - TRANSPARENT OVERLAY
   ========================================== */

#diwali-fireworks-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background: transparent;
    overflow: hidden;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease, visibility 1s ease;
    font-family: Arial, sans-serif;
}

#diwali-fireworks-overlay.diwali-hidden {
    opacity: 0;
    visibility: hidden;
}

#diwali-fireworks-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.diwali-message {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 94%;
    text-align: center;
    pointer-events: none;
    animation: diwaliMessageIn 1.5s ease both;
}

.diwali-message h1 {
    margin: 0;
    color: #cfa610;
    font-size: clamp(30px, 6vw, 65px);
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow:
        0 0 10px #ffae00,
        0 0 25px #ff6600,
        0 0 45px #ff3300;
}

.diwali-message p {
    color: #ffffff;
    font-size: clamp(13px, 2.5vw, 22px);
    margin-top: 15px;
    text-shadow: 0 0 12px #ffae00;
}

.diwali-skip {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    padding: 10px 20px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    cursor: pointer;
    pointer-events: auto;
    font-size: 14px;
}

.diwali-skip:hover {
    background: rgba(0, 0, 0, 0.8);
}

@keyframes diwaliMessageIn {
    from {
        opacity: 0;
        transform: translate(-50%, -35%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 600px) {
    .diwali-message h1 {
        letter-spacing: 0;
    }

    .diwali-skip {
        top: 12px;
        right: 12px;
        padding: 8px 14px;
    }
}
