.app-promo-dialog {
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: flex-end; 
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
}

.custom-promo-modal {
    border: none;
    border-radius: 24px 24px 0 0; 
    overflow: visible; 
    text-align: center;
    background-color: #fff;
    width: 100%;
    height: auto; 
    max-height: 85vh; 
    padding-bottom: 24px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12); 
}

.promo-close-btn {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1055;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.promo-img-wrapper {
    position: relative;
    border-radius: 24px 24px 0 0;
    background-color: #fcebeb; 
}

.promo-banner-img {
    width: 100%;
    height: 140px; 
    object-fit: cover; 
    display: block;
    border-radius: 24px 24px 0 0;
}

.promo-logo-wrapper {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 50px;
    padding: 6px 16px 6px 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.promo-logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.promo-brand-text {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #000;
}

.promo-content {
    padding: 40px 20px 10px; 
}

.promo-heading {
    font-size: 1.25rem; 
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.3;
}

.promo-heading .text-highlight {
    color: #e6194b; 
}

.promo-subtext {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
}

.promo-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.promo-btn-primary {
    background-color: #409287; 
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 20px; 
    border-radius: 12px; 
    width: 90%; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border: none;
}

.promo-btn-secondary {
    color: #888;
    font-size: 0.9rem;
    background: transparent;
    border: none;
    padding: 8px;
    text-decoration: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .app-promo-dialog {
        justify-content: center; 
        padding-bottom: 20px;
    }
    
    .custom-promo-modal {
        max-width: 400px; 
        border-radius: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .promo-img-wrapper, .promo-banner-img {
        border-radius: 24px 24px 0 0;
    }
}

@media (min-width: 1025px) {
    .app-promo-dialog {
        display: none !important;
    }
}