/* Engagement Popup Styles */
.engagement-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.engagement-popup-overlay.show {
    display: flex;
    opacity: 1;
}

.engagement-popup-content {
    background: linear-gradient(182deg, #f2b46d 0%, #172e35 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 550px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
    color: white;
}

.engagement-popup-overlay.show .engagement-popup-content {
    transform: scale(1);
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.popup-header {
    text-align: center;
    margin-bottom: 25px;
}

.popup-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.popup-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.popup-header p {
    font-size: 16px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.95);
}

.popup-offers {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
}

.offer-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.offer-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.offer-item:last-child {
    margin-bottom: 0;
}

.offer-icon {
    font-size: 24px;
    margin-right: 15px;
}

.offer-text {
    flex: 1;
}

.offer-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 3px;
}

.offer-text span {
    font-size: 14px;
    opacity: 0.9;
}

.popup-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.popup-btn {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.popup-btn-primary {
    background: white;
    color: #667eea;
}

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

.popup-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.popup-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .engagement-popup-content {
        padding: 30px 20px;
        width: 95%;
    }

    .popup-header h2 {
        font-size: 24px;
    }

    .popup-icon {
        font-size: 50px;
    }

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

    .offer-item {
        flex-direction: column;
        text-align: center;
    }

    .offer-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Animation for popup entrance */
@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.engagement-popup-overlay.show .engagement-popup-content {
    animation: slideInUp 0.5s ease;
}
