.gmsl-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.gmsl-popup-box {
    width: 90%;
    max-width: 850px;
    /* Aspect Ratio fix kore dewa hoyeche jate box jump na kore */
    aspect-ratio: 16/9; 
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.gmsl-popup-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.gmsl-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* Default bhabe sob slide invisible thakbe */
    opacity: 0;
    z-index: 1;
    /* Smooth Transition logic */
    transition: opacity 0.8s ease-in-out;
}

.gmsl-slide.gmsl-active {
    /* Active slide upore thakbe ebong visible hobe */
    opacity: 1;
    z-index: 2;
}

.gmsl-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Zoom effect remove kora hoyeche tumar requirement onujayi */
    display: block;
}

/* UI Controls */
.gmsl-prev, .gmsl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    user-select: none;
}
.gmsl-next { right: 15px; }
.gmsl-prev { left: 15px; }

.gmsl-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 10;
}
.gmsl-dots span {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    display: inline-block;
    border-radius: 50%;
    cursor: pointer;
}
.gmsl-dots span.active { background-color: #41993A; }

.gmsl-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    background: #41993A;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
}