/* Plugin badge support. The user's supplied CSS below remains the main theme styling. */
.poster{position:relative!important;overflow:hidden!important}
.lcb-dpb-overlay{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:9999!important;pointer-events:none!important;font-family:inherit}
.lcb-dpb-badge{position:absolute!important;z-index:10000!important;display:inline-flex!important;align-items:center!important;box-sizing:border-box!important;margin:0!important;min-height:0!important;padding:3px 6px!important;font-size:11px!important;line-height:1.05!important;font-weight:800!important;letter-spacing:0!important;white-space:nowrap!important;max-width:82%!important;overflow:hidden!important;text-overflow:ellipsis!important;box-shadow:0 1px 5px rgba(0,0,0,.38)!important;pointer-events:none!important;text-shadow:0 1px 1px rgba(0,0,0,.25)!important}
.lcb-dpb-new{top:6px!important;right:5px!important;left:auto!important;padding:2px 5px!important;font-size:9px!important;line-height:1!important;border-radius:3px!important;background:linear-gradient(135deg,var(--lcb-new-bg) 0%,var(--lcb-new-bg2) 100%)!important;color:var(--lcb-new-color)!important}
.lcb-dpb-language{top:6px!important;left:0!important;border-radius:0 3px 3px 0!important;background:linear-gradient(135deg,var(--lcb-lang-bg) 0%,var(--lcb-lang-bg2) 100%)!important;color:var(--lcb-lang-color)!important}
.lcb-dpb-episode{left:0!important;bottom:5px!important;border-radius:0 3px 3px 0!important;background:linear-gradient(135deg,var(--lcb-episode-bg) 0%,var(--lcb-episode-bg2) 100%)!important;color:var(--lcb-episode-color)!important}
.lcb-dpb-episode.lcb-dpb-above-status{bottom:31px!important}
.lcb-dpb-status{left:0!important;bottom:5px!important;border-radius:0 3px 3px 0!important;background:linear-gradient(135deg,var(--lcb-status-bg) 0%,var(--lcb-status-bg2) 100%)!important;color:var(--lcb-status-color)!important}
.lcb-dpb-custom{right:5px!important;bottom:5px!important;left:auto!important;border-radius:3px!important;background:linear-gradient(135deg,var(--lcb-custom-bg) 0%,var(--lcb-custom-bg2) 100%)!important;color:var(--lcb-custom-color)!important}
.lcb-dpb-status.lcb-dpb-ongoing-dot:before{content:''!important;width:7px!important;height:7px!important;min-width:7px!important;margin-right:4px!important;border-radius:50%!important;background:currentColor!important;box-shadow:0 0 0 0 currentColor!important;animation:lcb-dpb-ongoing-pulse 1.7s ease-out infinite!important}
@keyframes lcb-dpb-ongoing-pulse{0%{box-shadow:0 0 0 0 currentColor;opacity:1}65%{box-shadow:0 0 0 5px transparent;opacity:.96}100%{box-shadow:0 0 0 0 transparent;opacity:1}}
.lcb-dpb-category{border-radius:3px!important;background:linear-gradient(135deg,var(--lcb-cat-bg) 0%,var(--lcb-cat-bg2) 100%)!important;color:var(--lcb-cat-color)!important;font-size:var(--lcb-cat-size,11px)!important}
.lcb-dpb-category.lcb-dpb-cat-pos-top-left{top:6px!important;left:0!important;right:auto!important;bottom:auto!important;border-radius:0 3px 3px 0!important}
.lcb-dpb-category.lcb-dpb-cat-pos-top-right{top:6px!important;right:5px!important;left:auto!important;bottom:auto!important}
.lcb-dpb-category.lcb-dpb-cat-pos-bottom-left{bottom:5px!important;left:0!important;right:auto!important;top:auto!important;border-radius:0 3px 3px 0!important}
.lcb-dpb-category.lcb-dpb-cat-pos-bottom-right{bottom:5px!important;right:5px!important;left:auto!important;top:auto!important}
@media (prefers-reduced-motion:reduce){.lcb-dpb-status.lcb-dpb-ongoing-dot:before{animation:none!important}}

.module .content header span
{
font-size:0;
}
/* মডিউলের ব্যাকগ্রাউন্ড লেয়ার (আগের মতোই) */
.module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(to right, #440E03, #034d63, #440E03) !important;
}






/* Mobile Two Column Layout & Featured Spacing Fix - xbabu.shop */
@media only screen and (max-width: 768px) {
    
    /* ১. সাধারণ মুভি এবং টিভি শো পোস্টগুলোকে দুই সারিতে করার জন্য */
    #main-content .items .item, 
    #archive-content .items .item,
    .module .items .item {
        width: 50% !important; 
        float: left !important;
        padding: 8px !important; /* পোস্টের চারপাশে চমৎকার গ্যাপ */
        box-sizing: border-box !important;
    }

    /* পোস্টার ইমেজ সুন্দর দেখানোর জন্য */
    .items .item .poster {
        width: 100% !important;
        height: auto !important;
        border-radius: 5px !important; /* হালকা গোল শেপ */
    }

    /* কন্টেইনার ক্লিয়ার করার জন্য */
    .items {
        display: block !important;
        overflow: hidden !important;
    }

    /* ২. Featured Titles স্লাইডার ঠিক করার জন্য */
    /* এখানে width auto এবং padding বাড়িয়ে দেওয়া হয়েছে যাতে একটার সাথে অন্যটি লেগে না যায় */
    .featured-items .item, 
    #featured-titles .item,
    .sl-wrapper .item {
        width: 140px !important; /* স্লাইডারের মুভির সাইজ */
        float: none !important;
        display: inline-block !important;
        padding: 0 10px !important; /* স্লাইডারের মুভিগুলোর মাঝের গ্যাপ */
        margin: 0 !important;
    }

    /* Featured Section এর টাইটেল এবং বাটন ঠিক রাখা */
    .items.featured-items {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    
    /* টেক্সট এলাইনমেন্ট ঠিক করা */
    .items .item .data h3 {
        font-size: 13px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}


/* ১. পজিশনিং (Positioning Container) */
.mepo {
    position: absolute;
    top: 5px;
    left: 0px;
    z-index: 10;
}

/* ২. মেইন ডিজাইন (Main Badge Styling) */
.mepo span.quality {
    background: linear-gradient(45deg, #0844b1, #fb00ff); /* নীল ও গোলাপি গ্রেডিয়েন্ট */
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    padding: 4px 13px 4px 6px;
    /* ডানদিকের কোনা বাঁকা করার স্টাইল */
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
    line-height: 1;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    border-radius: 0px;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

/* ৩. শাইন এনিমেশন ইফেক্ট (Shine Animation Effect) */
.mepo span.quality::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 20%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3); /* হালকা সাদা আভা */
    transform: skewX(-25deg);
    animation: ribbon-shine 2s infinite;
}

/* ৪. এনিমেশন কি-ফ্রেম (Animation Keyframes) */
@keyframes ribbon-shine {
    0% { left: -75%; }
    100% { left: 125%; }
}


/* ১. পজিশনিং ও মেইন ডিজাইন (Main Badge Styling) */
.featu {
    position: absolute;
    top: 5px;
    left: 0px;
    z-index: 10;
    
    /* ব্যাকগ্রাউন্ড কালার (পিংক থেকে অরেঞ্জ) */
    background: linear-gradient(to right, #e91e63, #ff9800);
    
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    padding: 4px 13px 4px 6px;
    
    /* ডানদিকের কোনা বাঁকা করার স্টাইল */
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
    
    line-height: 1;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    border-radius: 0px;
    overflow: hidden;
}

/* ২. শাইন এনিমেশন ইফেক্ট (Shine Animation Effect) */
.featu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 20%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3); /* হালকা সাদা আভা */
    transform: skewX(-25deg);
    animation: ribbon-shine 2s infinite;
}

/* ৩. এনিমেশন কি-ফ্রেম (Animation Keyframes) */
@keyframes ribbon-shine {
    0% { left: -75%; }
    100% { left: 125%; }
}







/* --- DooPlay Slider - Correct Spacing & Gradient Border (Corrected) --- */

/* ধাপ ১: প্রতিটি স্লাইডার আইটেমের মধ্যে নিরাপদ ফাঁকা জায়গা তৈরি করা (এটি ঠিক ছিল) */
#slider-movies-tvshows .owl-item {
    padding: 0 5px; /* আইটেমগুলোর মধ্যে ডানে-বামে ৫ পিক্সেল ফাঁকা জায়গা */
    box-sizing: border-box;
}

/* ধাপ ২: মূল আইটেম থেকে বর্ডারের স্টাইল সরিয়ে ফেলা হয়েছে */
#slider-movies-tvshows article.item {
    /* এখান থেকে background, border, এবং border-radius মুছে ফেলা হয়েছে */
    /* এখন এটি শুধুমাত্র একটি কন্টেইনার হিসেবে কাজ করবে */
}

/* ধাপ ৩: ছবির কন্টেইনারে গ্রেডিয়েন্ট বর্ডার যুক্ত করা */
#slider-movies-tvshows article.item .image {
    /* গ্রেডিয়েন্ট বর্ডার এবং ব্যাকগ্রাউন্ড এখানে যুক্ত করা হয়েছে */
    background: linear-gradient(#222, #222) padding-box,
                linear-gradient(90deg, #00ffe7, #ffec08) border-box;
    
    border: 2px solid transparent; /* বর্ডারের জন্য ২ পিক্সেল জায়গা তৈরি */
    
    /* ছবির চার কোণাকেই সুন্দরভাবে গোলাকার করতে হবে */
    border-radius: 5px; 

    /* এটি নিশ্চিত করবে যে ভেতরের ছবিটি কন্টেইনারের বাইরে যাবে না */
    overflow: hidden; 
}

/* ধাপ ৪: টেক্সট অংশের জন্য অপ্রয়োজনীয় স্টাইল মুছে ফেলা */
#slider-movies-tvshows article.item .data {
    /* যেহেতু বর্ডারটি এখন আর এখানে নেই, তাই border-radius এর প্রয়োজন নেই */
    border-radius: 0; 
}

/* অতিরিক্ত: ভেতরের <img> ট্যাগ যাতে কন্টেইনারের সাথে ফিট থাকে (যদি প্রয়োজন হয়) */
#slider-movies-tvshows article.item .image img {
    display: block; /* ছবির নিচে অতিরিক্ত ফাঁকা জায়গা দূর করতে */
    width: 100%;
    height: auto;
}







/* === পোস্টার কন্টেইনার এবং বর্ডারের মূল ডিজাইন === */
.module .content .items .item .poster {
    /* --- ১. নতুন চিকন গ্র্যাডিয়েন্ট বর্ডার (v4.3 থেকে নেওয়া) --- */
    background: linear-gradient(#000, #000) padding-box, 
                linear-gradient(to right, #00ffe7, #ffec08) border-box;
    border: 2px solid transparent;
    
    /* --- ২. বর্ডার ও ছবির ফাঁকা জায়গা দূর করার কৌশল --- */
    font-size: 0; 
    
    /* --- ৩. অন্যান্য ডিজাইন (v4 অনুযায়ী) --- */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);

    /* --- ৪. পারফরম্যান্স অপ্টিমাইজেশন --- */
    /* ব্রাউজারকে提前জানানো হচ্ছে যে এই প্রোপার্টিগুলো পরিবর্তন হবে, ফলে অ্যানিমেশন স্মুথ হয় */
    will-change: transform, box-shadow; 
    
    /* --- ৫. স্মুথ ট্রানজিশন (v4 অনুযায়ী) --- */
    /* শুধু প্রয়োজনীয় প্রোপার্টিতে ট্রানজিশন দেওয়া হলো */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}



/* ========================================================
   ৪. অন্যান্য ব্যাজ ডিজাইন time css
   ======================================================== */
.mepo { position: absolute; top: 10px; left: 0px; z-index: 5; }

.ribbon-status { 
    position: absolute; bottom: 8px; left: 0; 
    font-size: 9px; font-weight: bold; color: #fff; 
    padding: 2px 6px; z-index: 6; 
    border-radius: 0 3px 3px 0; 
    box-shadow: 2px 2px 5px rgba(0,0,0,0.5); 
}
.ribbon-ongoing { background: #9c27b0; }
.ribbon-completed { background: #28a745; }

.latest-episode-badge {
    position: absolute; bottom: 8px; right: 5px; 
    background: linear-gradient(135deg, #FF512F 0%, #DD2476 100%);
    color: #fff; font-size: 9px; font-weight: 700; 
    padding: 3px 6px; border-radius: 20px; z-index: 6; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); 
    display: flex; align-items: center; gap: 3px; 
    border: 1px solid rgba(255,255,255,0.3);
}
.dt-time-row {
    display: flex; align-items: center; justify-content: flex-start;
    gap: 6px; margin-bottom: 5px; line-height: 1;
}
.dt-time-row i, .dt-time-row span {
    color: #ffeb3b !important; font-size: 12px; font-weight: bold;
}








/* PC এবং Mobile সব ডিভাইসের জন্য চমৎকার লাইভ এনিমেশন */
.items .item .poster {
    position: relative;
    overflow: hidden; /* এনিমেশনটি পোস্টারের বাইরে যাবে না */
}

.items .item .poster::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -150%;
    width: 60%; /* শাইনের চওড়া অংশ */
    height: 300%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.2) 50%, /* শাইনের উজ্জ্বলতা */
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(35deg);
    
    /* এনিমেশনটি মোট ৮ সেকেন্ডের হবে, যা খুব ধীরে চলবে */
    animation: smoothShineAnimation 8s infinite linear;
    pointer-events: none; /* যাতে মুভিতে ক্লিক করতে সমস্যা না হয় */
}

/* এনিমেশন মুভমেন্ট কন্ট্রোল */
@keyframes smoothShineAnimation {
    0% {
        left: -150%;
    }
    30% {
        left: 150%; /* ৩ সেকেন্ডের মধ্যে ধীরে ধীরে পার হবে */
    }
    100% {
        left: 150%; /* বাকি ৫ সেকেন্ড বিরতি দিবে যাতে প্রফেশনাল লাগে */
    }
}

/* মাউস হোভার করলে পোস্টার হালকা জুম হওয়ার চমৎকার ইফেক্ট */
.items .item .poster img {
    transition: transform 0.8s ease;
}

.items .item:hover .poster img {
    transform: scale(1.08); /* পিসিতে হোভার করলে চমৎকার লাগবে */
}
