/* বিজ্ঞাপন স্লট */
.ad-slot { max-width: 100%; clear: both; }
.ad-slot.ad-center { text-align: center; }
.ad-slot.ad-left { text-align: left; }
.ad-slot.ad-right { text-align: right; }
.ad-slot .ad-body { display: inline-block; max-width: 100%; overflow: hidden; vertical-align: top; }
.ad-slot .ad-body > * { max-width: 100%; }
.ad-slot .ad-body img, .ad-slot .ad-body iframe, .ad-slot .ad-body video { max-width: 100%; height: auto; }
.ad-slot .ad-label { font-size: .68rem; line-height: 1; color: var(--text-muted, #6b7390); margin-bottom: 4px; letter-spacing: .02em; }
.ad-grid-col { width: 100%; }
.ad-pos-after_header, .ad-pos-home_top, .ad-pos-home_mid, .ad-pos-before_footer { padding: 0 1rem; }

/* অ্যাডমিন: পজিশন প্রিভিউ */
.ad-placeholder { margin: 8px 1rem; padding: .7rem 1rem; border: 2px dashed #f59e0b; background: rgba(245,158,11,.08); color: #f59e0b; border-radius: 10px; font-size: .8rem; text-align: center; }
.ad-placeholder b { font-family: var(--font-en, monospace); }

/* স্টিকি ব্যানার */
.ad-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: flex; justify-content: center;
    background: rgba(10,13,20,.94); backdrop-filter: blur(8px); border-top: 1px solid var(--border, rgba(255,255,255,.1));
    padding: 6px 40px 6px 10px; animation: ad-up .4s cubic-bezier(.22,1,.36,1);
}
.ad-sticky .ad-slot { margin: 0 !important; }
.ad-sticky-close, .ad-popup-close, .ad-ov-close {
    position: absolute; width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer; line-height: 1;
    background: rgba(255,255,255,.14); color: #fff; font-size: 1rem;
}
.ad-sticky-close:hover, .ad-popup-close:hover, .ad-ov-close:hover { background: var(--accent, #e63e3e); }
.ad-sticky-close { top: 6px; right: 8px; }
@keyframes ad-up { from { transform: translateY(100%); } }

/* পপআপ */
.ad-popup-back { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: rgba(4,6,12,.78); backdrop-filter: blur(4px); padding: 1rem; animation: ad-fade .25s ease; }
.ad-popup-box { position: relative; max-width: min(92vw, 720px); max-height: 88vh; overflow: auto; background: var(--bg-card, #161b2e); border: 1px solid var(--border-hover, rgba(255,255,255,.15)); border-radius: 16px; padding: 2rem 1rem 1rem; animation: ad-pop .3s cubic-bezier(.22,1,.36,1); }
.ad-popup-close { top: 8px; right: 8px; }
@keyframes ad-fade { from { opacity: 0; } }
@keyframes ad-pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }

/* প্লেয়ার ওভারলে */
.ad-ov {
    position: absolute; z-index: 5; left: 50%; bottom: 74px; transform: translateX(-50%); max-width: 92%;
    background: rgba(8,10,18,.85); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 22px 8px 8px;
    animation: ad-fade .3s ease; transition: bottom .35s cubic-bezier(.22,1,.36,1);
}
.lp-stage.hide-ui .ad-ov { bottom: 14px; }
.ad-ov .ad-slot { margin: 0 !important; }
.ad-ov-close { top: -10px; right: -10px; width: 24px; height: 24px; font-size: .85rem; }
@media (prefers-reduced-motion: reduce) { .ad-sticky, .ad-popup-back, .ad-popup-box, .ad-ov { animation: none; } }
