@media (min-width: 768px) {

            .container,
            .container-md,
            .container-sm {
                max-width: clamp(912px, 80%, 1300px);
            }


        }

        .Mobile_Res_Show {
            display: none !important;
        }

        .Mobile_Res_Show_1 {
            display: block !important;
        }

        /* Mobile */
        @media (max-width: 400px) {
            .Mobile_Res_Show {
                display: block !important;
            }

            .Mobile_Res_Show_1 {
                display: none !important;
            }

            .Row_Show {
                align-items: start;
            }
        }

        @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

        .cardbodycls .col-4 {
            display: flex;
            width: auto;
            flex: 1 0 0;
        }

        .cardbodycls .col-6 {
            display: flex;
            width: auto;
            flex: 1 0 0;
        }

        .padgap {
            gap: 8px;
        }

        .row.radius-2.parent-btn {
            flex-grow: 1;
        }

        .modal-header {
            align-items: flex-start;
            flex-direction: column;
        }

        .nav-linkcolo {
            color: white;
        }

        .nav-link:focus,
        .nav-link:hover {
            color: white;
        }

        .loader-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            /* Semi-transparent black */
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        /* Loader animation */
        .loader {
            border: 8px solid #f3f3f3;
            /* Light grey */
            border-top: 8px solid #3498db;
            /* Blue */
            border-radius: 50%;
            width: 60px;
            height: 60px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Optional: Content */
        .content {
            display: none;
            /* Hidden while loader is active */
            padding: 20px;
            text-align: center;
        }

        .hidden {
            display: none !important;
        }

        div#example_wrapper {
            width: 100%;
        }

        .cart_item {
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
			
			border: 0 !important;
			border-radius: 30px !important;
			background: linear-gradient(90deg, var(--brand-orange-2), var(--brand-orange)) !important;
			font-weight: 800;
        }

        .cart_item.selected {
            background-color: #198754;
			
			pointer-events: auto;
			border: 0 !important;
			border-radius: 30px !important;
			background: linear-gradient(90deg, #198754, #198754c4) !important;
			font-weight: 800;
        }

        .grid_modal {
            padding-left: 2rem !important;
            padding-right: 2rem !important;
        }

        .cart_table {
            height: 500px;
            overflow-y: auto;
            scrollbar-width: thin;

        }

        @media(max-width:575px) {
            .grid_modal {
                padding-left: 1.5rem !important;
                padding-right: 1.5rem !important;
            }
			
			.Scroll_Mobi{
				height: 470px;
				overflow-y: auto;
			}
        }

        .flash-loto-wrapper {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
            margin-top: 20px;
        }

        .flash-card {
            position: relative;
            cursor: pointer;
            margin: 0;
        }

        .flash-card input {
            display: none;
        }

        .flash-content {
            width: 110px;
            height: 110px;
            border: 2px solid #dcdcdc;
            border-radius: 20px;
            background: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transition: 0.3s;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        }

        .choice-no {
            width: 45px;
            height: 45px;
            border: 2px solid #ff6820;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            font-weight: 700;
            color: #ff6820;
            margin-bottom: 10px;
        }

        .price {
            font-size: 20px;
            font-weight: 700;
            color: #222;
        }

        .flash-card input:checked+.flash-content {
            background: #ff6820;
            border-color: #ff6820;
            transform: translateY(-5px);
        }

        .flash-card input:checked+.flash-content .choice-no {
            background: #fff;
            color: #ff6820;
        }

        .flash-card input:checked+.flash-content .price {
            color: #fff;
        }

        :root {
            --primary: #ff6820;
            --primary-dark: #ff3d12;
            --dark: #191919;
            --dark-2: #242222;
            --muted: #6d6d6d;
            --line: #e8e8e8;
            --soft: #f7f7f7;
        }

        * {
            box-sizing: border-box
        }

        body {
            margin: 0;
            font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
            background:
                radial-gradient(circle at 7% 30%, rgba(255, 75, 18, .06), transparent 24%),
                radial-gradient(circle at 95% 18%, rgba(255, 75, 18, .05), transparent 20%),
                #fbfbfb;
            color: #171717;
        }

        .top-header {
            background: linear-gradient(135deg, #ff611e 0%, #ff3f0d 55%, #f42d00 100%);
            box-shadow: 0 8px 24px rgba(255, 64, 10, .18);
            position: sticky;
            top: 0;
            z-index: 1030;
        }

        .brand-logo {
            display: inline-flex;
            align-items: center;
            gap: .65rem;
            text-decoration: none;
            color: #fff;
            min-width: 235px;
        }

        .brand-mark {
            font-weight: 1000;
            font-style: italic;
            font-size: 2rem;
            line-height: .8;
            letter-spacing: -2px;
            text-transform: uppercase;
            text-shadow: 0 3px 0 rgba(0, 0, 0, .2);
            -webkit-text-stroke: 1.5px #fff;
            color: #ff5a1e;
            filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .18));
        }

        .brand-sub {
            display: block;
            color: #141414;
            -webkit-text-stroke: 0;
            text-shadow: none;
            font-size: 1.15rem;
            letter-spacing: -1px;
            margin-top: .28rem;
            background: #fff;
            border-radius: 999px;
            padding: .1rem .45rem;
            width: max-content;
        }

        .main-nav .nav-link {
            color: rgba(255, 255, 255, .9);
            font-weight: 700;
            text-align: center;
            border-radius: 14px;
            padding: .72rem 1rem;
            min-width: 82px;
            transition: .2s ease;
        }

        .main-nav .nav-link i {
            display: block;
            font-size: 1.45rem;
            margin-bottom: .15rem
        }

        .main-nav .nav-link:hover,
        .main-nav .nav-link.active {
            background: #fff;
            color: var(--primary);
            transform: translateY(-1px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
        }

        .language-btn,
        .logout-btn {
            border: 0;
            background: #fff;
            border-radius: 12px;
            font-weight: 700;
            padding: .75rem 1rem;
            color: #1c1c1c;
        }

        .balance-card {
            border: 1px solid rgba(255, 255, 255, .72);
            border-radius: 14px;
            color: #fff;
            padding: .62rem .85rem;
            min-width: 178px;
            background: rgba(255, 255, 255, .08);
            backdrop-filter: blur(5px);
        }

        .balance-card .amount {
            font-size: 1.08rem;
            font-weight: 900
        }

        .balance-card small {
            opacity: .9
        }

        .coin {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #ffbd00;
            color: #b03a00;
            display: grid;
            place-items: center;
            font-size: 1.15rem;
        }

        .page-wrap {
            padding: 2.5rem 0 1.5rem
        }

        .panel {
            border: 1px solid #ececec;
            border-radius: 18px;
            background: #fff;
            box-shadow: 0 12px 35px rgba(21, 21, 21, .08);
            overflow: hidden;
        }

        .game-tabs {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: .35rem;
            background: #fff;
            border-bottom: 1px solid var(--line);
            padding: .65rem;
        }

        .game-tab {
            border: 0;
            background: transparent;
            border-radius: 12px;
            padding: .9rem 1rem;
            font-weight: 800;
            color: #252525;
        }

        .game-tab.active {
            color: #fff;
            background: linear-gradient(135deg, var(--primary), #ff3d12);
            box-shadow: 0 8px 18px #ff3d1294;
        }

        .draw-section {
            padding: 1.55rem
        }

        .section-title {
            font-size: 1.2rem;
            font-weight: 900;
            margin: 0
        }

        .section-icon {
            color: var(--primary);
            font-size: 1.45rem
        }

        .draw-list {
            display: flex;
            flex-direction: column;
            gap: .55rem;
            margin-top: -0.85rem;
        }

        .draw-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            border: 1px solid #e5e5e5;
            border-radius: 14px;
            padding: .7rem 1rem;
            background: #fff;
            cursor: pointer;
            transition: .18s ease;
        }

        .draw-item:hover {
            border-color: #ff3d12;
            transform: translateY(-1px);
            box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
        }

        .draw-ball {
            flex: 0 0 auto;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            color: #fff;
            background: linear-gradient(145deg, #ff6820, #ff3d12);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            line-height: .85;
            box-shadow: inset 0 -5px 10px rgba(0, 0, 0, .1);
        }

        .draw-ball span {
            font-size: 1.15rem
        }

        .draw-ball small {
            font-size: .47rem;
            letter-spacing: .4px
        }

        .draw-info {
            min-width: 0;
            flex: 1
        }

        .draw-name {
            font-weight: 900;
            margin: 0 0 .15rem;
            text-transform: uppercase;
            font-size: .94rem
        }

        .draw-date {
            color: #5f5f5f;
            font-size: .84rem
        }

        .draw-arrow {
            color: var(--primary);
            font-size: 1.6rem
        }

        .basket-panel {
            background: linear-gradient(160deg, #252525, #141414);
            color: #fff;
            min-height: 100%;
            border-radius: 18px;
            box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
            padding: 1.45rem;
            position: sticky;
            top: 128px;
        }

        .basket-head {
            display: flex;
            align-items: center;
            justify-content: space-between
        }

        .basket-title {
            font-size: 1.3rem;
            font-weight: 900;
            margin: 0
        }

        .clear-btn {
            color: #fff;
            background: transparent;
            border: 0;
            font-size: 1.15rem
        }

        .empty-basket {
            border: 1px dashed rgba(255, 255, 255, .3);
            border-radius: 16px;
            min-height: 265px;
            display: grid;
            place-items: center;
            text-align: center;
            margin: 1.35rem 0;
            padding: 1.5rem;
            color: #d3d3d3;
        }

        .empty-basket i {
            font-size: 4rem;
            color: rgba(255, 255, 255, .2)
        }

        .empty-basket h3 {
            font-size: 1.05rem;
            font-weight: 900;
            color: #fff;
            margin-top: .8rem
        }

        .basket-items {
            display: none;
            margin: 1.2rem 0;
            max-height: 290px;
            overflow: auto;
            padding-right: .25rem
        }

        .basket-item {
            border: 1px solid rgba(255, 255, 255, .13);
            border-radius: 12px;
            padding: .75rem;
            margin-bottom: .6rem;
            background: rgba(255, 255, 255, .05);
        }

        .basket-item-title {
            font-weight: 800;
            font-size: .9rem
        }

        .basket-item-meta {
            font-size: .75rem;
            color: #bbb
        }

        .bet-btn {
            width: 100%;
            border: 0;
            border-radius: 12px;
            background: linear-gradient(135deg, #ff6d1d, #ff3e06);
            color: #fff;
            font-weight: 900;
            font-size: 1.05rem;
            padding: 1rem;
            box-shadow: 0 10px 20px rgba(255, 74, 15, .25);
        }

        .bet-btn:disabled {
            opacity: .55;
            box-shadow: none
        }

        .feature-list {
            margin-top: 1.25rem;
            border-top: 1px solid rgba(255, 255, 255, .13)
        }

        .feature-row {
            display: flex;
            gap: .8rem;
            padding: 1rem .2rem;
            border-bottom: 1px solid rgba(255, 255, 255, .11)
        }

        .feature-row i {
            color: #ff6a1f;
            font-size: 1.45rem
        }

        .feature-row strong {
            display: block;
            font-size: .85rem
        }

        .feature-row span {
            font-size: .75rem;
            color: #bbb
        }

        .footer-bar {
            margin-top: 1rem;
            border-radius: 16px;
            background: linear-gradient(135deg, #202020, #151515);
            color: #fff;
            padding: 1rem 1.3rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
        }

        .footer-item {
            display: flex;
            align-items: center;
            gap: .75rem
        }

        .footer-item i {
            color: var(--primary);
            font-size: 1.35rem
        }

        .footer-item strong {
            display: block;
            font-size: .78rem
        }

        .footer-item span {
            display: block;
            color: #c6c6c6;
            font-size: .68rem
        }

        .mobile-nav-toggle {
            display: none
        }

        @media (max-width:1199.98px) {
            .main-nav .nav-link {
                min-width: auto;
                padding: .65rem .7rem;
                font-size: .82rem
            }

            .brand-logo {
                min-width: 190px
            }

            .brand-mark {
                font-size: 1.65rem
            }

            .balance-card {
                min-width: 150px
            }
        }

        @media (max-width:991.98px) {
            .top-header {
                position: relative
            }

            .desktop-nav,
            .desktop-actions {
                display: none !important
            }

            .mobile-nav-toggle {
                display: inline-flex
            }

            .mobile-menu {
                background: rgba(0, 0, 0, .13);
                border-radius: 15px;
                padding: .8rem;
                margin-top: .85rem
            }

            .mobile-menu .nav-link {
                color: #fff;
                font-weight: 700;
                border-radius: 10px;
                padding: .65rem .8rem
            }

            .mobile-menu .nav-link.active {
                background: #fff;
                color: var(--primary)
            }

            .basket-panel {
                position: relative;
                top: auto;
                margin-top: 1rem
            }

            .page-wrap {
                padding-top: 1.4rem
            }
        }

        @media (max-width:575.98px) {
            .container {
                padding-left: .85rem;
                padding-right: .85rem
            }

            .brand-logo {
                min-width: auto
            }

            .brand-mark {
                font-size: 1.38rem
            }

            .brand-sub {
                font-size: .82rem
            }

            .draw-section {
                padding: 1rem
            }

            .game-tabs {
                grid-template-columns: 1fr;
                gap: .25rem
            }

            .game-tab {
                padding: .72rem
            }

            .draw-item {
                padding: .65rem .7rem;
                gap: .75rem
            }

            .draw-ball {
                width: 43px;
                height: 43px
            }

            .draw-name {
                font-size: .84rem
            }

            .draw-date {
                font-size: .76rem
            }

            .footer-bar {
                text-align: left
            }

            .footer-item {
                margin: .5rem 0
            }
        }

        .top {
            background: linear-gradient(90deg, #ff6a00, #ff3d00);
            color: #fff;
            padding: 18px;
            border-radius: 16px;
            margin: 30px auto;
            max-width: 1100px;
            text-align: center;
            font-weight: 700
        }

        .cardx {
            background: #fff;
            border-radius: 18px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
            padding: 25px
        }

        .section {
            background: linear-gradient(90deg, #ff6820, #ff3d12);
            color: #fff;
            padding: 12px;
            border-radius: 10px;
            text-align: center;
            font-weight: 700;
            margin-bottom: 20px
        }

        .draw {
            display: flex;
            align-items: center;
            gap: 15px;
            border-radius: 14px;
            padding: 0px;
            transition: .3s;
            background: #fff
        }

        .draw:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 20px rgba(255, 98, 0, .2)
        }

        .icon {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #ff6820;
            color: #fbf6f5;
            font-size: 22px
        }

        .time {
            color: #ff6820;
            font-weight: bold;
            font-size: 24px
        }

        .table thead th {
            background: #20232a;
            color: #fff
        }

        .table tbody tr:hover {
            background: #fff2ea
        }

        .badge-win {
            background: #ff5a1f;
            color: #fff;
            padding: 6px 12px;
            border-radius: 20px
        }

        .stat {
            border-radius: 12px;
            padding: 20px;
            color: #fff
        }
		
		 @media (max-width: 1199.98px) {
            .mossoro-header-inner { gap: 14px; }
            .mossoro-brand { flex-basis: 175px; }
            .mossoro-game-link { min-width: 68px; font-size: 11px; }
            .mossoro-action-btn span, .mossoro-logout-btn span { display: none; }
            .mossoro-action-btn, .mossoro-logout-btn { width: 46px; padding: 0; }
        }
        @media (max-width: 991.98px) {
            .mossoro-header-inner { min-height: 82px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
            .mossoro-brand { flex-basis: 150px; }
            .mossoro-brand img { max-height: 64px; }
            .mossoro-nav-collapse { flex-basis: 100%; flex-direction: column; align-items: stretch; padding: 12px 0 16px; }
            .mossoro-game-nav { justify-content: flex-start; overflow-x: auto; padding-bottom: 5px; }
            .mossoro-game-link { flex: 0 0 76px; }
            .mossoro-account-area { justify-content: flex-start; flex-wrap: wrap; }
            #cart { width: 100%; margin-left: 0; position: fixed; inset: 0; z-index: 1060; border-radius: 0 !important; overflow-y: auto; }
        }
        @media (max-width: 575.98px) {
            .loader_show > .container { padding: 16px 10px 90px !important; }
            .tabs { border-radius: 13px 13px 0 0; }
            .tabs .tab-button { min-width: 130px; font-size: 12px; }
            #tab1 .search-bar { margin: 12px !important; }
            #Get_Leage .d-flex { margin: 0 12px 12px !important; }
            #tab1 .bg-gray.mr-3 { padding: 0 12px 12px; }
            .mossoro-language { width: 110px; }
			
			button.tab-button.active.col-3.col-lg-1 {
				flex: 1;
				min-width: auto;
				padding: 10px 14px !important;
			}
        }
		
		.result-card{
			background:#fff;
			border-radius:15px;
			box-shadow:0 8px 25px rgba(0,0,0,.08);
			overflow:hidden;
		}

		.result-header{
			padding:18px 25px;
			font-size:24px;
			font-weight:700;
			color:#222;
			border-bottom:1px solid #ececec;
		}

		.result-header i{
			color:#ff5a1f;
			margin-right:10px;
		}

		.result-table thead th{
			border:none;
			padding:18px;
			font-size:18px;
			font-weight:700;
			color:#222;
		}

		.result-table tbody td{
			padding:18px;
			border-top:1px solid #ececec;
			font-size:16px;
			vertical-align:middle;
		}

		.result-table tbody tr:hover{
			background:#fff6f2;
			transition:.3s;
		}

		.ball{
			display:inline-flex;
			justify-content:center;
			align-items:center;
			width:32px;
			height:32px;
			margin-right:6px;
			background:#232833;
			color:#fff;
			border-radius:8px;
			font-size:14px;
			font-weight:700;
			transition:.3s;
		}

		.ball:hover{
			background:#ff6820;
			transform:translateY(-3px);
		}