/* ── install-popup.css v5 ── */

/* Esconde o modal Vue nativo (popup antigo de download) */
ion-modal#modal-install-download,
#modal-install-download {
    display: none !important;
}

/* Overlay */
#cip-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, 0.55);
}

/* Card */
#cip-card {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(135deg, #FFB347 0%, #FF7B00 100%);
    border-radius: 24px 24px 0 0;
    padding: 20px 20px 28px;
    box-shadow: 0 -4px 32px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
    overflow: hidden;
}

#cip-card.cip-open {
    transform: translateY(0);
}

/* Astronauta no canto superior direito */
#cip-banner {
    position: absolute;
    right: -8px;
    top: -10px;
    width: 160px;
    pointer-events: none;
    z-index: 1;
}

/* Fechar */
#cip-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(0,0,0,0.18);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    z-index: 2;
}

/* Header */
#cip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

#cip-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255,255,255,0.15);
}

#cip-house-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Título */
#cip-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    position: relative;
    z-index: 2;
    line-height: 1.25;
}

/* Descrição */
#cip-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.92);
    margin: 0 0 20px;
    position: relative;
    z-index: 2;
    line-height: 1.5;
}

/* Pílula de bônus */
#cip-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 2px 8px 2px 4px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    vertical-align: middle;
}

/* Ações */
#cip-actions {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 2;
}

#cip-btn-install {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FF1F1F;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    padding: 14px 20px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255,31,31,0.35);
    letter-spacing: 0.3px;
    text-decoration: none;
}

#cip-btn-support {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFC53D;
    color: #222;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255,197,61,0.35);
    text-decoration: none;
}
