/* =====================================================
   HEYAT ALMAHDI ADVERTISEMENT
===================================================== */

#heyatAdvertisement {
    position: fixed;

    right: 24px;
    bottom: 24px;

    width: 360px;

    z-index: 999999;

    direction: rtl;

    background: rgba(6, 19, 15, 0.97);

    border: 1px solid rgba(32, 214, 178, 0.35);

    border-radius: 18px;

    padding: 16px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(32, 214, 178, 0.08);

    backdrop-filter: blur(15px);

    transform: translateY(140px);
    opacity: 0;

    pointer-events: none;

    transition:
        transform 0.5s ease,
        opacity 0.5s ease;
}


#heyatAdvertisement.show {
    transform: translateY(0);
    opacity: 1;

    pointer-events: auto;
}


#heyatAdvertisement.hide {
    transform: translateY(140px);
    opacity: 0;

    pointer-events: none;
}


.heyat-ad-close {

    position: absolute;

    top: 8px;
    left: 8px;

    width: 28px;
    height: 28px;

    border: none;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    color: white;

    font-size: 18px;

    cursor: pointer;

    z-index: 2;
}


.heyat-ad-close:hover {

    background: rgba(255,70,70,0.8);

}


.heyat-ad-profile {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 12px;

}


.heyat-ad-profile img {

    width: 55px;
    height: 55px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid #20d6b2;

}


.heyat-ad-title {

    color: white;

    font-size: 17px;

    font-weight: 800;

    margin-bottom: 5px;
}


.heyat-ad-description {

    color: rgba(255,255,255,0.68);

    font-size: 13px;

    line-height: 1.8;

}


.heyat-ad-button {

    display: block;

    width: 100%;

    margin-top: 13px;

    padding: 10px;

    border-radius: 11px;

    background: #20d6b2;

    color: #06130f;

    text-align: center;

    text-decoration: none;

    font-weight: 800;

    transition: 0.2s;
}


.heyat-ad-button:hover {

    transform: translateY(-2px);

    filter: brightness(1.08);

}


@media (max-width: 600px) {

    #heyatAdvertisement {

        right: 12px;
        left: 12px;

        bottom: 12px;

        width: auto;

    }

}