/* ── App Install Prompt Modal ───────────────────────────────────── */

.aip-overlay {
    position: fixed;
    inset: 0;
    z-index: 10500;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: aipFadeIn .25s ease;
}
@keyframes aipFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.aip-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 380px;
    width: 100%;
    padding: 32px 28px 24px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    animation: aipSlideUp .3s ease;
}
@keyframes aipSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.aip-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color .15s;
}
.aip-close:hover {
    color: #334155;
}

.aip-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(233,30,140,.1), rgba(233,30,140,.04));
}
.aip-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aip-icon i {
    font-size: 2rem;
    color: #e91e8c;
}

.aip-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

.aip-desc {
    font-size: .82rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 16px;
}

.aip-perks {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.aip-perk {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .72rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 5px 10px;
    border-radius: 20px;
}
.aip-perk i {
    font-size: .85rem;
    color: #e91e8c;
}

.aip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px 20px;
    background: #e91e8c;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, transform .15s;
}
.aip-btn:hover {
    background: #d4187f;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.aip-skip {
    display: inline-block;
    margin-top: 12px;
    background: none;
    border: none;
    font-size: .78rem;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
    transition: color .15s;
}
.aip-skip:hover {
    color: #475569;
}

@media (max-width: 400px) {
    .aip-modal {
        padding: 24px 20px 20px;
    }
    .aip-title {
        font-size: 1.05rem;
    }
}
