/**
 * Estilos CSS para HMVIP Engage Frontend
 * Design responsivo e animações modernas
 */

/* Container principal */
.hmvip-engage-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Banner principal */
.hmvip-engage-banner {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.hmvip-engage-banner.hmvip-engage-visible {
    opacity: 1;
    transform: scale(1);
}

/* Overlay */
.hmvip-engage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

/* Conteúdo */
.hmvip-engage-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    margin: 20px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    max-height: 80vh;
    overflow-y: auto;
}

/* Botão fechar */
.hmvip-engage-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.hmvip-engage-close:hover {
    background-color: #f5f5f5;
    color: #333;
    transform: scale(1.1);
}

/* Título */
.hmvip-engage-title {
    margin: 0 0 15px 0;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

/* Descrição */
.hmvip-engage-description {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* CTA */
.hmvip-engage-cta {
    display: inline-block;
    padding: 16px 32px;
    background: #e74c3c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 200px;
}

.hmvip-engage-cta:hover {
    background: #c0392b;
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

/* Badge */
.hmvip-engage-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    opacity: 0.8;
}

/* Mobile */
@media (max-width: 768px) {
    .hmvip-engage-mobile .hmvip-engage-content {
        margin: 10px;
        padding: 30px 20px;
        max-width: none;
    }

    .hmvip-engage-mobile .hmvip-engage-title {
        font-size: 24px;
    }

    .hmvip-engage-mobile .hmvip-engage-cta {
        width: 100%;
        padding: 14px 24px;
    }
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.hmvip-engage-fade {
    animation: fadeIn 0.5s ease;
}
