/* Popunder Overlay Styles */
.popunder-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popunder-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popunder-content {
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popunder-content h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 28px;
    font-weight: 700;
}

.popunder-content p {
    margin: 0 0 30px 0;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.popunder-button {
    background: #28a745;
    color: white;
    padding: 16px 50px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito Sans', sans-serif;
}

.popunder-button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.popunder-button:active {
    transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 600px) {
    .popunder-content {
        padding: 40px 30px;
    }

    .popunder-content h2 {
        font-size: 24px;
    }

    .popunder-content p {
        font-size: 15px;
    }

    .popunder-button {
        padding: 14px 40px;
        font-size: 16px;
    }
}
