body,
html {
    margin: 0;
    padding: 0;
}

/* CSS */
/* ডিফল্টভাবে লুকানো রাখুন */
.mobile {
    display: none;
}

/* মোবাইল ভিউতে দেখানোর জন্য */
@media (max-width: 767px) {
    .mobile {
        display: block;
    }
}

/* Header Css */
@media (max-width: 768px) {
    .baji-header {
        position: sticky;
        top: 0;
        width: auto;
        background: #111;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 12px;
        z-index: 9999;
    }

    .baji-header .logo {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .baji-header .logo img {
        height: 28px;
    }

    .baji-header .btn {
        font-size: 14px;
        padding: 6px 12px;
        border-radius: 4px;
        border: none;
        cursor: pointer;
    }

    .baji-header .login {
        background: transparent;
        border: 1px solid #444;
        color: #fff;
    }

    .baji-header .signup {
        background: #16a34a;
        /* সবুজ */
        color: #fff;
        margin-left: 6px;
    }

    .baji-header .flag {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        margin-left: 6px;
    }

    .balance {
        background: #16a34a;
        color: #fff;
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 14px;
        font-weight: bold;
        margin-right: 12px;
    }
}

/* বড় স্ক্রিনে হেডার লুকানো */
@media (min-width: 769px) {
    .baji-header {
        display: none;
    }
}

/* slider */
/* শুধু মোবাইল ডিভাইসের জন্য */
@media (max-width: 768px) {
    .baji-slider {
        position: relative;
        width: auto;
        overflow: hidden;
        padding-left: 10px;
        padding-right: 10px;
    }

    .baji-slider .slides {
        display: flex;
        width: 100%;
        transition: transform 0.5s ease-in-out;
    }

    .baji-slider .slide {
        min-width: 100%;
        box-sizing: border-box;
    }

    .baji-slider .slide img {
        width: 100%;
        display: block;
    }

    /* ডটস */
    .baji-slider .dots {
        text-align: center;
        position: absolute;
        bottom: 10px;
        width: 100%;
    }

    .baji-slider .dot {
        display: inline-block;
        width: 10px;
        height: 10px;
        margin: 0 4px;
        background: #666;
        border-radius: 50%;
        cursor: pointer;
    }

    .baji-slider .dot.active {
        background: #16a34a;
        /* সবুজ */
    }
}

/* ডেস্কটপে লুকানো */
@media (min-width: 769px) {
    .baji-slider {
        display: none;
    }
}

/* text slider */
.baji-text-scroller {
    width: auto;
    background: rgb(20, 20, 20);
    color: #fff;
    overflow: hidden;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.baji-text-scroller .icon {
    margin-right: 10px;
    color: #16a34a;
    /* সবুজ রঙ */
    font-weight: bold;
    flex-shrink: 0;
    /* যাতে ছোট না হয় */
}

.scroll-wrapper {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
}

.scroll-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 12s linear infinite;
    font-size: 16px;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Tab Bar */
.tabbar-container {
    width: auto;
    background: rgb(20, 20, 20);
    overflow-x: auto;
    /* স্ক্রল অন */
    white-space: nowrap;
    padding: 18px 0;
}

.tabbar {
    display: flex;
    gap: 8px;
    padding: 0 10px;
}

.tab {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgb(41, 41, 41);
    padding: 12px 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
    min-width: 80px;
    text-align: center;
}

.tab .icon {
    width: 50px;
    height: 50px;
    background-size: cover;
    background-position: center;
    margin-top: -30px;
}

.tab.active {
    background: #006425;
    font-weight: bold;
}


/* Tab Content */
.tab-contents {
    padding-left: 8px;
    padding-right: 9px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: rgb(20, 20, 20);
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Games Grid */
.games {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    overflow: hidden;
    max-height: 345px;
    /* শুরুতে 2 rows (2 × 220px approx) */
    transition: max-height 0.5s ease;
}

.games.expanded {
    max-height: none;
    /* সব দেখাবে */
}


.game-card {
    background: rgb(20, 20, 20);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.game-card img {
    width: 100%;
    border-bottom: 1px solid #222;
    height: 160px;
}

.game-card p {
    font-size: 12px;
    padding: 6px;
}

/* More Button */
.more-btn {
    margin-top: 15px;
    width: 130px;
    padding: 14px;
    border: none;
    background: #16a34a;
    color: #fff;
    font-size: 17px;
    border-radius: 3px;
    cursor: pointer;
}

/* Slider wrapper provider */
.baji-provider-slider {
    display: none;
    /* PC তে লুকানো থাকবে */
    background: #111;
    padding: 15px 10px;
    position: relative;
    overflow: hidden;
}

/* Mobile only show */
@media (max-width: 768px) {
    .baji-provider-slider {
        display: block;
    }
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.slider-header h3 {
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-header h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #16a34a;
    border-radius: 4px;
}

/* Arrow buttons (header corner এ থাকবে) */
.arrows {
    display: flex;
    gap: 5px;
}

.arrow {
    background: #222;
    border: none;
    color: white;
    font-size: 18px;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 6px;
}

/* Scroll container */
.provider-container {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
}

.provider-container::-webkit-scrollbar {
    display: none;
}

/* Card */
.provider-card {
    flex: 0 0 auto;
    background: rgb(41, 41, 41);
    border-radius: 8px;
    padding: 12px 25px;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: #bfbfbf;
    transition: transform 0.3s ease;
    justify-content: space-between;
    text-transform: uppercase;
}

.provider-card img {
    max-width: 45px;
    max-height: 45px;
    object-fit: contain;
}

.provider-card:hover {
    transform: translateY(-5px);
}

/* Arrow buttons */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(41, 41, 41);
    border: none;
    color: white;
    font-size: 20px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 2;
}

.arrow-left {
    left: 335px;
}

.arrow-right {
    right: 5px;
}

/* Match Slider wrapper */
.baji-match-slider {
    display: none;
    /* PC তে hide */
    background: #111;
    padding: 15px 10px;
    position: relative;
    overflow: hidden;
}

/* Mobile only */
@media (max-width: 768px) {
    .baji-match-slider {
        display: block;
    }
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-header h3 {
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-header h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #00c853;
    border-radius: 4px;
}

/* Arrows */
.arrows {
    display: flex;
    gap: 5px;
}

.arrow {
    background: #222;
    border: none;
    color: white;
    font-size: 18px;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 6px;
}

/* Slider track */
.match-container {
    display: flex;
    gap: 12px;
    overflow: hidden;
    scroll-behavior: smooth;
}

/* Match card */
.match-card {
    flex: 0 0 100%;
    background: #1c1c1c;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.match-card img {
    width: 100%;
    height: auto;
    display: block;
}

.arrow-lefts {
    left: 335px;
}

.arrow-rights {
    right: 5px;
}

/* Fetaure Css */
.baji-featured-slider {
    display: none;
    /* by default hide */
    background: #111;
    padding: 14px;
    position: relative;
    overflow: hidden;
}

@media (max-width:768px) {
    .baji-featured-slider {
        display: block;
    }
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-header h3 {
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.slider-header h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #00c853;
    border-radius: 4px;
}

.arrowss {
    display: flex;
    gap: 8px;
}

.arrows {
    background: #222;
    border: none;
    color: white;
    font-size: 18px;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.featured-container {
    display: flex;
    gap: 6px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.featured-card {
    flex: 0 0 33%;
    /* একবারে প্রায় একটাই বড় card show হবে */
    background: #1c1c1c;
    overflow: hidden;
    position: relative;
    color: white;
}

.featured-card img {
    width: 100%;
    height: 160px;
    display: block;
}

/* fotter menu */
.baji-menu-fotter-sidebar {
    width: 100%;
    background: #000;
    padding: 10px 0;
}

.baji-menu-fotter-item {
    cursor: pointer;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
    color: white;
}

.baji-menu-fotter-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.baji-menu-fotter-arrow {
    transition: transform 0.3s ease;
}

.baji-menu-fotter-rotate {
    transform: rotate(180deg);
}

.baji-menu-fotter-submenu {
    max-height: 0;
    overflow: hidden;
    background: #000;
    transition: max-height 0.4s ease;
}

.baji-menu-fotter-submenu a {
    display: block;
    padding: 10px 30px;
    text-decoration: none;
    color: #cfd8dc;
    font-size: 15px;
}

.baji-menu-fotter-submenu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .baji-menu-fotter-sidebar {
        width: 100%;
    }
}

/* band section */
.baji-fotter-part-section {
    display: none;
    /* ডিফল্টে লুকানো */
    padding: 15px;
}

/* শুধু মোবাইলে show হবে */
@media (max-width: 600px) {
    .baji-fotter-part-section {
        display: block;
    }
}

.baji-fotter-part-title {
    font-size: 18px;
    font-weight: bold;
    color: #00ff66;
    /* সবুজ */
    margin: 15px 0 10px;
}

.baji-fotter-part-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.baji-fotter-part-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.baji-fotter-part-card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.baji-fotter-part-card strong {
    font-size: 15px;
    color: #9d9d9d;
}

.baji-fotter-part-card span {
    font-size: 13px;
    color: #cfd8dc;
}

.baji-fotter-part-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.baji-fotter-part-signature img {
    width: 50px;
    height: auto;
    margin-bottom: 5px;
}

/* [arthner section */
.baji-footter-model {
    display: none;
    /* default hide */
    padding: 15px;
}

.baji-footter-model h3 {
    font-size: 18px;
    color: #00ff80;
    margin-bottom: 8px;
}

.partner,
.license,
.responsible,
.social {
    border-bottom: 1px solid #333;
    padding: 15px 0;
}

.partner img,
.license img,
.responsible img {
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.social-icons a img {
    width: 35px;
    height: 35px;
}

/* ✅ Only show on mobile */
@media (max-width: 768px) {
    .baji-footter-model {
        display: block;
    }
}

.bajj-fotter-texts {
    display: none;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.bajj-fotter-texts h2 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #cfd4ff;
}

.bajj-fotter-texts p {
    color: #ccc;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* ✅ ডিফল্টে ৩ লাইন */
    -webkit-box-orient: vertical;
}

.bajj-fotter-texts.show p {
    -webkit-line-clamp: unset;
    /* expand হলে full টেক্সট */
}

.show-more-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    margin: 12px 0;
    cursor: pointer;
    display: inline-block;
}

/* ✅ Flex for logo + copyright */
.footer-bottom {
    display: flex;
    align-items: end;
    margin-top: 15px;
}

.footer-logo img {
    height: 35px;
}

.copyright {
    font-size: 13px;
    color: #ccc;
    margin-left: 34px;
}

a {
    color: #00ff80;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#einlose {
    color: #00ff80;
    padding: 0px;
}

.showmorebutton {
    text-align: center;
}

/* ✅ Show only on mobile */
@media (max-width: 768px) {
    .bajj-fotter-texts {
        display: block;
    }
}

/* Navber css */
.baji-navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #353535;
    padding: 10px 0;
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #333;
    z-index: 1000;
    width: 100%;

}

.baji-navbar a {
    color: #d4ffd4;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    flex: 1;
    transition: 0.3s;
}

.baji-navbar a:hover {
    color: #7fff7f;
}

.baji-navbar i {
    display: block;
    font-size: 22px;
    margin-bottom: 4px;
}

/* Default: Hide on desktop */
.baji-home-provider {
    display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .baji-home-provider {
        display: block;
        padding: 0px;
    }

    .provider-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .provider-item {
        background: #1e1e1e;
        border-radius: 10px;
        padding: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #fff;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .provider-item:hover {
        background: #333;
    }

    .provider-item img {
        width: 26px;
        height: 26px;
        object-fit: contain;
    }
}