.sa-promo-overlay {
    position:        fixed;
    inset:           0;
    z-index:         999998;
    display:         flex;
    align-items:     center;
    justify-content: center;
    padding:         16px;
    box-sizing:      border-box;
    background:      rgba( 0, 0, 0, 0 );
    backdrop-filter: blur( 0px );
    -webkit-backdrop-filter: blur( 0px );
    opacity:         0;
    visibility:      hidden;
    pointer-events:  none;
    transition:
        opacity         0.5s cubic-bezier( 0.22, 1, 0.36, 1 ),
        background      0.5s cubic-bezier( 0.22, 1, 0.36, 1 ),
        backdrop-filter 0.5s cubic-bezier( 0.22, 1, 0.36, 1 ),
        -webkit-backdrop-filter 0.5s cubic-bezier( 0.22, 1, 0.36, 1 ),
        visibility      0s linear 0.5s;
}

.sa-promo-overlay--visible {
    background:      rgba( 0, 0, 0, 0.55 );
    backdrop-filter: blur( 7px );
    -webkit-backdrop-filter: blur( 7px );
    opacity:         1;
    visibility:      visible;
    pointer-events:  auto;
    transition:
        opacity         0.5s cubic-bezier( 0.22, 1, 0.36, 1 ),
        background      0.5s cubic-bezier( 0.22, 1, 0.36, 1 ),
        backdrop-filter 0.5s cubic-bezier( 0.22, 1, 0.36, 1 ),
        -webkit-backdrop-filter 0.5s cubic-bezier( 0.22, 1, 0.36, 1 );
}

.sa-promo-modal {
    background:    #ffffff;
    border-radius: 20px;
    width:         100%;
    max-width:     460px;
    padding:       36px 32px 28px;
    box-sizing:    border-box;
    box-shadow:    0 32px 80px rgba( 0, 0, 0, 0.30 );
    text-align:    center;
    transform:     translateY( 40px ) scale( 0.95 );
    opacity:       0;
    transition:
        transform 0.55s cubic-bezier( 0.22, 1, 0.36, 1 ),
        opacity   0.45s cubic-bezier( 0.22, 1, 0.36, 1 );
}

.sa-promo-overlay--visible .sa-promo-modal {
    transform: translateY( 0 ) scale( 1 );
    opacity:   1;
}

.sa-promo-title {
    font-size:   22px;
    font-weight: 800;
    color:       #1a1a2e;
    line-height: 1.3;
    margin:      0 0 14px;
}

.sa-promo-subtitle {
    font-size:   15px;
    color:       #555;
    line-height: 1.6;
    margin:      0 0 26px;
}

.sa-promo-cta-wrap {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    gap:            10px;
}

.sa-promo-cta-btn {
    display:         flex;
    align-items:     center;
    justify-content: center;
    gap:             14px;
    width:           100%;
    padding:         18px 28px;
    border:          none;
    border-radius:   50px;
    color:           #ffffff !important;
    font-size:       17px;
    font-weight:     800;
    letter-spacing:  1.5px;
    text-decoration: none !important;
    text-transform:  uppercase;
    cursor:          pointer;
    box-sizing:      border-box;
    position:        relative;
    overflow:        hidden;
    transition:
        transform  0.22s cubic-bezier( 0.34, 1.56, 0.64, 1 ),
        box-shadow 0.22s ease;
    animation:       sa-promo-pulse 2.4s ease-in-out infinite;
    -webkit-tap-highlight-color: transparent;
    user-select:     none;
}

.sa-promo-cta-btn::after {
    content:       '';
    position:      absolute;
    top:           0;
    left:          0;
    right:         0;
    height:        50%;
    background:    linear-gradient( to bottom, rgba( 255, 255, 255, 0.22 ), rgba( 255, 255, 255, 0 ) );
    border-radius: 50px 50px 0 0;
    pointer-events: none;
}

.sa-promo-cta-btn span {
    position: relative;
    z-index:  1;
    color:    #ffffff !important;
}

.sa-promo-cta-btn:hover {
    transform:       translateY( -3px ) scale( 1.02 );
    box-shadow:      0 14px 40px rgba( 0, 0, 0, 0.30 ) !important;
    color:           #ffffff !important;
    text-decoration: none !important;
    animation:       none;
}

.sa-promo-cta-btn:hover span {
    color: #ffffff !important;
}

.sa-promo-cta-btn:active {
    transform: scale( 0.97 );
    animation: none;
}

.sa-promo-cta-play {
    display:         flex;
    align-items:     center;
    justify-content: center;
    width:           36px;
    height:          36px;
    border-radius:   50%;
    background:      rgba( 255, 255, 255, 0.28 );
    font-size:       15px;
    flex-shrink:     0;
    position:        relative;
    z-index:         1;
}

.sa-promo-cta-note {
    font-size:  12px;
    color:      #999;
    margin:     0;
    text-align: center;
}

@keyframes sa-promo-pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba( 0, 0, 0, 0.22 );
    }
    50% {
        box-shadow: 0 8px 28px rgba( 0, 0, 0, 0.28 ), 0 0 16px var( --sa-cta-color, #8e44ad );
    }
}

@media ( max-width: 480px ) {
    .sa-promo-modal {
        border-radius: 16px;
        padding:       28px 20px 22px;
    }

    .sa-promo-title {
        font-size: 19px;
    }

    .sa-promo-subtitle {
        font-size: 14px;
    }

    .sa-promo-cta-btn {
        font-size: 14px;
        padding:   13px 18px;
    }
}
