.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: popupFade 0.4s ease;
}

.popup-top img {
    width: 100%;
    height: auto;
    display: block;
}

.popup-bottom {
    padding: 20px;
    text-align: center;
}

.popup-bottom h2 {
    margin: 0 0 10px;
    font-size: 1.5em;
}

.popup-bottom p {
    font-size: 1em;
    color: #555;
    margin-bottom: 15px;
}

.popup-bottom button {
    background-color: #a41f36;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.popup-bottom button:hover {
    background-color: #a41f36;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        max-width: 350px;
    }

    .popup-bottom h2 {
        font-size: 1.3em;
    }

    .popup-bottom p {
        font-size: 0.9em;
    }
}