/* Festival Shower Container */
#festival-shower-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
    display: none; /* Hidden by default */
}

/* Falling Items */
.falling-item {
    position: absolute;
    top: -100px;
    user-select: none;
    will-change: transform;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.festival-wish-emoji {
    font-size: 80px;
    text-align: center;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
    display: block;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* Festival Wish Modal/Overlay */
#festival-wish-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

#festival-wish-overlay.show {
    opacity: 1;
    visibility: visible;
}

.festival-wish-card {
    background: linear-gradient(135deg, #fff, #f0f0f0);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #ffd700;
}

#festival-wish-overlay.show .festival-wish-card {
    transform: scale(1);
}

.festival-wish-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d35400;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.festival-wish-message {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.festival-wish-btn {
    background: linear-gradient(to right, #e67e22, #d35400);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.4);
}

.festival-wish-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 84, 0, 0.6);
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}
