/* Overlay */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

/* Actif */
.popup-overlay.active {
    display: flex;
}

/* Box */
.popup-box {
    background: #111;
    border: 1px solid #ff2aa8;
    border-radius: 14px;
    max-width: 500px;
    width: 100%;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 42, 168, 0.4);
    animation: popupFade 0.3s ease;
}

/* Animation */
@keyframes popupFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Titre */
.popup-box h2 {
    color: #ff2aa8;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Texte */
.popup-box p {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
}

/* Bouton */
.popup-btn {
    display: inline-block;
    background: #ff2aa8;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s ease;
}

.popup-btn:hover {
    background: #ff4cc0;
}

/* Close */
/* Close */
.popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none !important;
    border: none !important;
    color: #ff2aa8;
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    outline: none !important;
    box-shadow: none !important;
}

.popup-close:hover,
.popup-close:focus,
.popup-close:active {
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Mobile */
@media (max-width: 600px) {
    .popup-box {
        padding: 20px 18px;
        border-radius: 10px;
    }

    .popup-box h2 {
        font-size: 1.2rem;
    }

    .popup-box p {
        font-size: 0.95rem;
    }

    .popup-btn {
        width: 60%;
        padding: 14px;
    }
}