.aha-mobile-app-prompt-backdrop {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.aha-mobile-app-prompt-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.aha-mobile-app-prompt {
    position: relative;
    width: min(100%, 368px);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 24px 72px rgba(15, 23, 42, 0.28);
    overflow: hidden;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.22s ease;
    color: #0f172a;
    font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
}

.aha-mobile-app-prompt-backdrop.is-visible .aha-mobile-app-prompt {
    transform: translateY(0) scale(1);
}

.aha-mobile-app-prompt__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.aha-mobile-app-prompt__hero {
    padding: 22px 22px 16px;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.24), transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #111827 100%);
    color: #f8fafc;
}

.aha-mobile-app-prompt[data-space="bds"] .aha-mobile-app-prompt__hero {
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.24), transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
}

.aha-mobile-app-prompt[data-space="xe"] .aha-mobile-app-prompt__hero {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.24), transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #172554 100%);
}

.aha-mobile-app-prompt[data-space="gianhang"] .aha-mobile-app-prompt__hero {
    background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.22), transparent 50%),
        linear-gradient(135deg, #111827 0%, #312e81 100%);
}

.aha-mobile-app-prompt__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.aha-mobile-app-prompt__title {
    margin: 14px 0 8px;
    padding-right: 34px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    color: #86efac;
}

.aha-mobile-app-prompt__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(248, 250, 252, 0.9);
}

.aha-mobile-app-prompt__body {
    padding: 18px 22px 22px;
}

.aha-mobile-app-prompt__points {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.aha-mobile-app-prompt__points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: #334155;
}

.aha-mobile-app-prompt__points li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
    flex: 0 0 auto;
}

.aha-mobile-app-prompt[data-space="bds"] .aha-mobile-app-prompt__points li::before {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.aha-mobile-app-prompt[data-space="xe"] .aha-mobile-app-prompt__points li::before {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.aha-mobile-app-prompt[data-space="gianhang"] .aha-mobile-app-prompt__points li::before {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.14);
}

.aha-mobile-app-prompt__actions {
    display: grid;
    gap: 10px;
}

.aha-mobile-app-prompt__btn {
    appearance: none;
    border: 0;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.aha-mobile-app-prompt__btn:hover,
.aha-mobile-app-prompt__btn:focus {
    transform: translateY(-1px);
}

.aha-mobile-app-prompt__btn--primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(16, 185, 129, 0.26);
}

.aha-mobile-app-prompt[data-space="bds"] .aha-mobile-app-prompt__btn--primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.24);
}

.aha-mobile-app-prompt[data-space="xe"] .aha-mobile-app-prompt__btn--primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.aha-mobile-app-prompt[data-space="gianhang"] .aha-mobile-app-prompt__btn--primary {
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
    box-shadow: 0 14px 28px rgba(219, 39, 119, 0.24);
}

.aha-mobile-app-prompt__btn--secondary {
    background: #e2e8f0;
    color: #0f172a;
}

.aha-mobile-app-prompt__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.aha-mobile-app-prompt__dismiss {
    padding: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 420px) {
    .aha-mobile-app-prompt-backdrop {
        padding: 18px;
    }

    .aha-mobile-app-prompt__hero,
    .aha-mobile-app-prompt__body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .aha-mobile-app-prompt__foot {
        flex-direction: column;
        align-items: flex-start;
    }
}
