:root {
    --mbp-font: 'Noto Sans Bengali', sans-serif;
}

.mbp-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mbp-overlay.active { opacity: 1; }

.mbp-modal {
    background: #fff;
    width: 90%;
    max-width: 850px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.mbp-grid { display: grid; grid-template-columns: 1fr; }

@media (min-width: 768px) {
    .mbp-grid { grid-template-columns: 1fr 1fr; min-height: 450px; }
}

.mbp-col-left { background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mbp-col-left img, .mbp-col-left video, .mbp-col-left iframe { width: 100%; height: 100%; object-fit: cover; display: block; }

.mbp-col-right {
    padding: 40px;
    display: flex;
    flex-direction: column;
    text-align: center; /* Center alignment */
    justify-content: space-between;
}

.mbp-center-aligner {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertical Center */
    align-items: center;    /* Horizontal Center */
}

.bangla-font { font-family: var(--mbp-font) !important; line-height: 1.6; }

.mbp-title { margin: 0 0 15px 0; font-size: 28px; font-weight: 700; }

.mbp-body-text { font-size: 16px; }

.mbp-timer-wrapper {
    text-align: right;
    font-size: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 20px;
}

.mbp-close-btn {
    position: absolute;
    top: 15px; right: 15px;
    background: #fff; border: none; font-size: 24px;
    width: 35px; height: 35px; border-radius: 50%;
    cursor: pointer; z-index: 10; box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s;
}
.mbp-close-btn:hover { transform: scale(1.1) rotate(90deg); }