.festival-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    cursor: auto;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 4px solid transparent;
    background-clip: padding-box;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -4px; 
    bottom: -4px; 
    left: -4px; 
    right: -4px;
    background: linear-gradient(45deg, #ff0055, #00ffff, #ffcc00);
    z-index: -1;
    border-radius: 22px;
}

.modal-emoji {
    font-size: 4em;
    display: block;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

.modal-title {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 800;
}

.modal-date {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.close-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-btn:hover {
    transform: scale(1.05);
}

@keyframes popIn {
    from { 
        transform: scale(0.5); 
        opacity: 0; 
    }
    to { 
        transform: scale(1); 
        opacity: 1; 
    }
}

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

/* ── Scroll Emoji Particles ────────────────────────────────────────────────── */
.scroll-emoji-particle {
    position: fixed;
    pointer-events: none;
    user-select: none;
    z-index: 99999;
    animation: scrollEmojiFloat 1s ease-out forwards;
    transform-origin: center bottom;
    line-height: 1;
    --drift: 0px;
}

@keyframes scrollEmojiFloat {
    0% {
        opacity: 1;
        transform: translateY(0) translateX(0) scale(1) rotate(0deg);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-90px) translateX(calc(var(--drift) * 0.6)) scale(1.1) rotate(8deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-150px) translateX(var(--drift)) scale(0.6) rotate(20deg);
    }
}