/* ============================================
   POPUP GRUPOS ESPECIAIS
   ============================================ */

/* Overlay do popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.popup-overlay.hidden {
    display: none;
}

/* Container do popup */
.popup-container {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popup-bounce-in 0.5s ease-out;
}

/* Animação de entrada */
@keyframes popup-bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

/* Botão fechar */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.popup-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

/* Header */
.popup-header {
    text-align: center;
    margin-bottom: 25px;
}

.popup-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.popup-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px 0;
}

.popup-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Botões */
.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.popup-btn-icon {
    font-size: 20px;
    margin-right: 10px;
}

.popup-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.popup-btn-whatsapp:hover {
    background: linear-gradient(135deg, #20BA5A 0%, #0E7A6E 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.popup-btn-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #005f99 100%);
}

.popup-btn-telegram:hover {
    background: linear-gradient(135deg, #0077b3 0%, #004d7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.4);
}

.popup-btn-download {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.popup-btn-download:hover {
    background: linear-gradient(135deg, #5558e3 0%, #4338ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.popup-btn:active {
    transform: translateY(0);
}

/* Footer */
.popup-footer {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* Responsividade */
@media (max-width: 480px) {
    .popup-container {
        padding: 25px 20px;
        max-width: calc(100% - 40px);
    }
    
    .popup-title {
        font-size: 20px;
    }
    
    .popup-btn {
        font-size: 15px;
        padding: 12px 18px;
    }
}
