body{
    background:#cfcfcf;
    margin:0;
    font-family:sans-serif;
}

.app-wrapper{
    max-width:900px;
    margin:auto;
    min-height:100vh;
    background:#f2f2f2;
    position:relative;
}

.top-header{
    height:58px;
    background:#c40000;
    position:sticky;
    top:0;
    z-index:1000;
}

.header-main{
    height:58px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 12px;
}

.match-slider{
    background:#c40000;
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding:0 8px 8px;
}

.match-slider::-webkit-scrollbar{
    display:none;
}

.match-item{
    min-width:310px;
    height:36px;
    background:#fff;
    border-radius:4px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    color:#777;
    white-space:nowrap;
}

.top-header .d-flex{
    height:100%;
}

.logo{
    height:32px;
}

.menu-btn{
    background:none;
    border:none;
    color:white;
    font-size:22px;
}

.page-content{
    padding-bottom:70px;
}

.bottom-nav{
    position:fixed;
    bottom:0;
    width:900px;
    max-width:100%;
    height:60px;
    background:#c70000;
    display:flex;
    z-index:999;
}

.bottom-nav a{
    flex:1;
    color:white;
    text-decoration:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    font-size:12px;
}

.bottom-nav i{
    margin-bottom:4px;
}

.btn-login,
.btn-signup{
    background:white;
    border:none;
    padding:4px 10px;
    border-radius:6px;
    font-size:12px;
}

.btn-demo{
    background:#ffef53;
    border:none;
    padding:4px 10px;
    border-radius:6px;
    font-size:12px;
}
/*sidebar*/
.sidebar-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.25);
    display:none;
    z-index:1040;
}

.sidebar-panel{
    position:fixed;
    top:0;
    left:-320px;
    width:320px;
    max-width:85%;
    height:100%;
    background:#ececec;
    z-index:1050;
    transition:.3s;
}

.sidebar-panel.open{
    left:0;
}

.sidebar-top{
    height:76px;
    background:#c40000;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 18px;
}

.sidebar-logo{
    height:36px;
}

.sidebar-close{
    width:28px;
    height:28px;
    border:none;
    border-radius:50%;
    background:#fff;
}

.sidebar-user{
    padding:12px 18px;
    background:#efefef;
    font-weight:600;
    border-bottom:1px solid #ddd;
}

.sidebar-user i{
    margin-right:8px;
}

.sidebar-menu a{
    display:flex;
    align-items:center;
    gap:12px;
    padding:16px 18px;
    text-decoration:none;
    color:#333;
}

.sidebar-menu i{
    width:20px;
}

.sidebar-footer{
    position:absolute;
    bottom:20px;
    left:10px;
    right:10px;
}

.sidebar-login-btn{
    width:100%;
    height:42px;
    border:none;
    border-radius:12px;
    background:#c40000;
    color:#fff;
    font-size:15px;
}


/*Index inner*/
.category-wrapper{
    background:#fff;
    border-bottom:1px solid #ddd;
}

.category-scroll{
    display:flex;
    overflow:auto;
    padding:10px 5px;
}

.category-scroll::-webkit-scrollbar{
    display:none;
}

.cat-item{
    min-width:78px;
    text-align:center;
}

.cat-item img{
    width:42px;
    height:42px;
    border-radius:50%;
}

.cat-item span{
    display:block;
    font-size:11px;
    margin-top:4px;
}

.search-box{
    height:42px;
    background:#fff;
    border:1px solid #cfcfcf;
    border-radius:5px;
    display:flex;
    align-items:center;
    padding:0 12px;
}

.search-box input{
    border:none;
    width:100%;
    outline:none;
    margin-left:10px;
    font-size:13px;
}

.section-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.section-head span{
    font-size:14px;
    font-weight:600;
}

.section-head a{
    text-decoration:none;
    color:#333;
    font-size:12px;
}

.provider-scroll{
    display:flex;
    overflow:auto;
    gap:8px;
    padding-bottom:12px;
}

.provider-scroll::-webkit-scrollbar{
    display:none;
}

.provider-pill{
    white-space:nowrap;
    background:#fff;
    border-radius:8px;
    padding:7px 14px;
    font-size:12px;
}

.casino-section{
    margin-top:12px;
}

.game-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:6px;
    padding:0 12px;
}

.game-card{
    border-radius:6px;
    overflow:hidden;
    background:#fff;
}

.game-card img{
    width:100%;
    display:block;
}

/*Profile page*/
.profile-page{
    background:#efefef;
    min-height:calc(100vh - 170px);
}

.profile-card{
    background:#fff;
    border-radius:10px;
    padding:12px;
    margin-bottom:10px;
}

.change-pass-btn{
    border:none;
    background:#f2f2f2;
    border-radius:8px;
    padding:8px 14px;
    font-size:12px;
}

.action-btn{
    width:100%;
    height:40px;
    border:none;
    border-radius:4px;
    background:#c40000;
    color:#fff;
}

.profile-menu{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.menu-item{
    background:#fff;
    height:42px;
    border-radius:4px;
    display:flex;
    align-items:center;
    padding:0 12px;
    text-decoration:none;
    color:#222;
    font-size:14px;
}

.menu-item i{
    width:24px;
    margin-right:10px;
}

.logout-wrapper{
    padding:15px 10px 80px;
    background:#efefef;
}

.logout-btn{
    width:100%;
    height:44px;
    border:none;
    border-radius:8px;
    background:#c40000;
    color:#fff;
}

/*Passbook page*/
.passbook-page{
    background:#efefef;
    min-height:100%;
}

.passbook-tabs{
    background:#8f0000;
    display:flex;
    overflow-x:auto;
}

.passbook-tabs::-webkit-scrollbar{
    display:none;
}

.tab-btn{
    min-width:150px;
    height:38px;
    border:none;
    background:none;
    color:#fff;
    font-size:12px;
    position:relative;
}

.tab-btn:not(:last-child){
    border-right:1px solid rgba(255,255,255,.4);
}

.tab-btn.active::after{
    content:'';
    position:absolute;
    left:15%;
    width:70%;
    height:3px;
    background:#ffd400;
    bottom:0;
}

.section-title{
    padding:10px 12px;
    font-weight:600;
    font-size:14px;
}

.transaction-card{
    margin:0 8px;
    background:#fff;
    border-radius:8px;
    padding:10px 12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.tab-content{
    display:none;
}

.tab-content.active{
    display:block;
}

/*Deposit*/
.deposit-page{
    background:#efefef;
    min-height:100%;
}

.page-title{
    font-size:18px;
    font-weight:600;
    margin-bottom:10px;
}

.deposit-card{
    background:#fff;
    border-radius:10px;
    padding:15px;
    margin-bottom:10px;
}

.custom-input{
    width:100%;
    height:45px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:0 12px;
    outline:none;
}

.amount-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    margin-top:12px;
}

.amount-btn{
    height:40px;
    border:none;
    border-radius:6px;
    background:#f2f2f2;
}

.amount-btn.active{
    background:#c40000;
    color:#fff;
}

.payment-method{
    height:48px;
    border:1px solid #ddd;
    border-radius:8px;
    display:flex;
    align-items:center;
    padding:0 15px;
    margin-bottom:10px;
    cursor:pointer;
}

.payment-method.active{
    border-color:#c40000;
}

.payment-method i{
    margin-right:10px;
}

.upi-box{
    height:45px;
    background:#f5f5f5;
    border-radius:8px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 12px;
}

.copy-btn{
    border:none;
    background:#c40000;
    color:#fff;
    padding:5px 12px;
    border-radius:5px;
}

.qr-box{
    height:220px;
    border:2px dashed #ddd;
    border-radius:10px;
    margin-top:15px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.submit-btn{
    width:100%;
    height:48px;
    border:none;
    border-radius:8px;
    background:#c40000;
    color:#fff;
    font-size:15px;
}

/*Withdrawal*/
.withdraw-page{
    background:#efefef;
    min-height:100%;
}

.withdraw-card{
    background:#fff;
    border-radius:10px;
    padding:15px;
    margin-bottom:10px;
}

.balance-amount{
    color:#c40000;
    margin-top:5px;
    font-weight:700;
}

.bank-item{
    border:1px solid #ddd;
    border-radius:8px;
    padding:12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
    cursor:pointer;
}

.bank-item.active{
    border-color:#c40000;
    background:#fff8f8;
}

.bank-item i{
    color:#c40000;
}

/*Banking Page*/
.banking-page{
    background:#efefef;
    min-height:100%;
}

.add-bank-btn{
    width:100%;
    height:45px;
    border:none;
    border-radius:8px;
    background:#c40000;
    color:#fff;
    margin-bottom:12px;
}

.bank-card{
    background:#fff;
    border-radius:10px;
    padding:15px;
    margin-bottom:12px;
}

.bank-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.default-badge{
    background:#28a745;
    color:#fff;
    padding:4px 10px;
    border-radius:20px;
    font-size:11px;
}

.bank-details{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
}

.bank-actions{
    display:flex;
    gap:10px;
    margin-top:10px;
}

.edit-btn,
.delete-btn,
.make-default-btn{
    flex:1;
    height:38px;
    border:none;
    border-radius:6px;
}

.edit-btn{
    background:#f0f0f0;
}

.delete-btn{
    background:#ffebeb;
    color:#d60000;
}

.make-default-btn{
    background:#c40000;
    color:#fff;
}


/*Active bets*/
.bets-page{
    background:#efefef;
    min-height:100%;
}

.bets-tabs{
    background:#c40000;
    display:flex;
}

.bet-tab{
    flex:1;
    height:42px;
    border:none;
    background:none;
    color:#fff;
    position:relative;
    font-size:12px;
}

.bet-tab.active::after{
    content:'';
    position:absolute;
    left:20%;
    width:60%;
    height:3px;
    background:#ffd400;
    bottom:0;
}

.bet-content{
    display:none;
    padding:10px;
}

.bet-content.active{
    display:block;
}

.bet-card{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    margin-bottom:10px;
}

.bet-header{
    background:#fafafa;
    padding:12px;
    display:flex;
    justify-content:space-between;
    border-bottom:1px solid #eee;
}

.bet-body{
    padding:12px;
}

.bet-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
}

.bet-status{
    padding:4px 10px;
    border-radius:20px;
    font-size:11px;
}

.bet-status.pending{
    background:#fff3cd;
}

.bet-status.win{
    background:#d4edda;
}

.empty-state{
    background:#fff;
    padding:25px;
    text-align:center;
    border-radius:10px;
}


/*notifications*/
.notifications-page{
    background:#efefef;
    min-height:100%;
}

.notification-card{
    background:#fff;
    border-radius:10px;
    padding:12px;
    display:flex;
    gap:12px;
    margin-bottom:10px;
}

.notification-icon{
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.notification-icon.success{
    background:#d4edda;
    color:#28a745;
}

.notification-icon.warning{
    background:#fff3cd;
    color:#ff9800;
}

.notification-icon.primary{
    background:#e7f1ff;
    color:#0d6efd;
}

.notification-content h6{
    margin-bottom:5px;
}

.notification-content p{
    margin-bottom:4px;
    font-size:13px;
    color:#555;
}

.notification-content small{
    color:#999;
}
.empty-notification{
    background:#fff;
    border-radius:10px;
    padding:40px 20px;
    text-align:center;
}

.empty-notification i{
    font-size:40px;
    margin-bottom:10px;
    color:#ccc;
}

/*Rules page*/
.rules-page{
    background:#efefef;
    min-height:100%;
}

.rules-page .accordion-item{
    border:none;
    border-radius:10px !important;
    overflow:hidden;
    margin-bottom:10px;
}

.rules-page .accordion-button{
    font-weight:600;
    box-shadow:none !important;
}

.rules-page .accordion-button:not(.collapsed){
    background:#c40000;
    color:#fff;
}

.rules-page .accordion-body{
    font-size:14px;
    line-height:1.6;
}

/*Complete profile*/
.complete-profile-page{
    background:#efefef;
    min-height:100%;
}

.profile-form-card{
    background:#fff;
    border-radius:10px;
    padding:15px;
}

.profile-avatar{
    width:90px;
    height:90px;
    border-radius:50%;
    background:#f3f3f3;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    font-size:32px;
    color:#999;
}

.upload-btn{
    border:none;
    background:#c40000;
    color:#fff;
    border-radius:6px;
    padding:8px 15px;
}

.custom-textarea{
    width:100%;
    min-height:100px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:10px;
    resize:none;
    outline:none;
}

/*My Market*/
.markets-page{
    background:#efefef;
    min-height:100%;
}

.markets-tabs{
    background:#c40000;
    display:flex;
}

.market-tab{
    flex:1;
    height:42px;
    border:none;
    background:none;
    color:#fff;
    position:relative;
}

.market-tab.active::after{
    content:'';
    position:absolute;
    bottom:0;
    left:20%;
    width:60%;
    height:3px;
    background:#ffd400;
}

.market-content{
    display:none;
    padding:10px;
}

.market-content.active{
    display:block;
}

.market-card{
    background:#fff;
    border-radius:10px;
    padding:15px;
    margin-bottom:10px;
}

.market-title{
    font-weight:600;
    margin-bottom:15px;
}

.market-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
}

.pl-summary{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.pl-box{
    background:#fff;
    border-radius:10px;
    padding:15px;
    text-align:center;
}


/*Support page*/
.support-page{
    background:#efefef;
    min-height:100%;
}

.support-tabs{
    background:#c40000;
    display:flex;
}

.support-tab{
    flex:1;
    height:42px;
    border:none;
    background:none;
    color:#fff;
    position:relative;
}

.support-tab.active::after{
    content:'';
    position:absolute;
    bottom:0;
    left:20%;
    width:60%;
    height:3px;
    background:#ffd400;
}

.support-content{
    display:none;
    padding:10px;
}

.support-content.active{
    display:block;
}

.support-card{
    background:#fff;
    border-radius:10px;
    padding:15px;
}

.ticket-card{
    background:#fff;
    border-radius:10px;
    padding:15px;
    margin-bottom:10px;
}

.ticket-top{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
}

.ticket-id{
    color:#666;
    margin-bottom:5px;
}

.ticket-status{
    padding:4px 10px;
    border-radius:20px;
    font-size:11px;
}

.ticket-status.pending{
    background:#fff3cd;
    color:#856404;
}

.ticket-status.closed{
    background:#d4edda;
    color:#155724;
}