 

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Lato:wght@400;700&display=swap');

/* Container modal */
.modal-container-dynamic {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: none;
    animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-container-dynamic.show {
    animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-container-dynamic.hide {
    animation: slideOut 0.3s ease-out forwards;
}

/* Animations */
/* @keyframes slideIn {
    from {
        transform: translateX(120%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(120%) scale(0.9);
        opacity: 0;
    }
} */

/* @keyframes pulse {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(194, 178, 128, 0.3), 
                    0 0 0 0 rgba(194, 178, 128, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 25px 70px rgba(194, 178, 128, 0.4), 
                    0 0 0 10px rgba(194, 178, 128, 0.1),
                    inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
} */

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Modal body */
.event-modal-dynamic {
    position: relative;
    width: 380px;
    background: linear-gradient(135deg, #212529 0%, rgb(194, 178, 128) 100%);
    border-radius: 24px;
    padding: 32px;
    color: white;
    animation: pulse 3s ease-in-out infinite;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.event-modal-dynamic:hover {
    transform: scale(1.02);
}

.event-modal-dynamic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    pointer-events: none;
}

.event-modal-dynamic::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 4s ease-in-out infinite;
    pointer-events: none;
}

/* Bouton fermer */
.close-button-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.close-button-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

/* Emoji */
.event-emoji-modal {
    font-size: 40px;
    margin-bottom: 12px;
    display: inline-block;
    animation: float 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

/* Date */
.event-dates-modal {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.event-months-modal {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Divider */
.divider-modal {
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    margin: 20px 0;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

/* Titre */
.event-title-modal {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.event-subtitle-modal {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

/* Badge à confirmer */
.tentative-badge-modal {
    background: #ffc107;
    color: #333;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7em;
    font-weight: 600;
    margin-left: 8px;
    text-transform: uppercase;
    display: inline-block;
}

/* Description */
.event-description-modal {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 480px) {
    .event-modal-dynamic {
        width: calc(100vw - 48px);
        max-width: 380px;
    }
}