﻿/* এন্ট্রি অ্যানিমেশন */
@keyframes adEntry {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* এক্সিট অ্যানিমেশন */
@keyframes adExit {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    100% {
        opacity: 0;
        transform: scale(0.5) translateY(30px);
    }
}

/* প্রাইস সার্কেল এনিমেশন */
@keyframes pricePulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

#selfad-floating-wrap {
    position: fixed;
    bottom: 30px;
    left: 25px;
    z-index: 999999;
    width: 290px;
    display: none;
}

.ad-exit-active {
    animation: adExit 0.4s ease-in forwards !important;
}

@media only screen and (max-width: 767px), (max-height: 500px) {
    #selfad-floating-wrap {
        display: none !important;
    }
}

.selfad-card {
    position: relative;
    padding: 15px 20px 20px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    color: #000;
    box-shadow: 0 15px 45px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    border-top: 6px solid #00d4ff;
    border-left: 1px solid rgba(0,0,0,0.05);
    border-right: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    animation: adEntry 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.selfad-close-btn {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) scale(1);
    background: #ff4757;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .selfad-close-btn:hover {
        transform: translateX(-50%) scale(1.3);
        background: #ff1f33;
    }

.selfad-promo-badge {
    background: #f1c40f;
    color: #000;
    font-size: 12.5px;
    font-weight: 800;
    padding: 6px 0;
    border-radius: 8px;
    text-align: center;
    display: block;
    margin-top: 0;
    margin-bottom: 12px;
}

.selfad-title {
    font-size: 21px;
    font-weight: 800;
    text-align: center;
    margin: 0;
	color: #000;
}

.selfad-address {
    font-size: 13px;
    text-align: center;
    display: block;
    font-weight: 600;
    color: #000;
}

.selfad-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #999, transparent);
    margin: 10px auto;
    width: 85%;
}

.selfad-slogan {
    font-size: 13px;
    line-height: 1.5;
    text-align: justify;
    display: block;
    margin-bottom: 12px;
	color: #000;
}

.selfad-property-info {
    background: rgba(0, 0, 0, 0.05);
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 15px;
	color: #000;
}

.selfad-info-data {
    display: flex;
    font-size: 12.5px;
    margin-bottom: 4px;
	color: #000;
}

.selfad-info-icon {
    margin-right: 10px;
}

.selfad-price-circle {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border: 2px solid #d63031;
    animation: pricePulse 1.5s infinite;
}

.selfad-price-amt {
    font-size: 15px;
    font-weight: 900;
    color: #d63031;
    line-height: 1;
}

.selfad-contact-box {
    font-size: 12px;
    font-weight: bold;
    margin-right: 80px;
    line-height: 1.5;
}
