.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.popup-container {
    background: white;
    padding: 0;
    border-radius: 15px;
    position: relative;
    width: 90%;
    max-width: 600px;
    animation: popupFadeIn 0.5s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.popup-content {
    padding: 2rem;
    text-align: center;
}

.popup-title {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.popup-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.popup-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.popup-btn-primary {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
}

.popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.popup-btn-secondary {
    background: #f8f9fa;
    color: #2c3e50;
}

.popup-btn-secondary:hover {
    background: #e9ecef;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #2c3e50;
    border: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.popup-close:hover {
    background: white;
    transform: rotate(90deg);
}

.popup-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 1;
}

@media (max-width: 768px) {
    .popup-container {
        width: 95%;
        margin: 1rem;
    }

    .popup-image {
        height: 200px;
    }

    .popup-content {
        padding: 1.5rem;
    }

    .popup-title {
        font-size: 1.5rem;
    }

    .popup-buttons {
        flex-direction: column;
    }
}
