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:200px;
    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{
    text-decoration: none;
    color: black;
    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;
}
.casino-section{
    margin-top:20px;
}

.casinoSwiper{
    padding:0 12px;
    overflow: hidden;
    cursor: grab;
}
.casinoSwiper:active{
    cursor: grabbing;
}

.casinoSwiper .swiper-slide{
    width:auto;
}

.game-card{
    border-radius:12px;
    overflow:hidden;
    background:#fff;
}

.game-card img{
    width:100%;
    height:140px;
    object-fit:cover;
    display:block;
    border-radius:12px;
}

.game-title{
    font-size:12px;
    text-align:center;
    margin-top:6px;
    color:#222;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/*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{
    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:5px 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;
}

/* Status */
.status-badge{
    font-size:11px;
    font-weight:600;
    padding:5px 10px;
    border-radius:30px;
}

.status-badge.success{
    background:rgba(25,135,84,.15);
    color:#28c76f;
}

.status-badge.warning{
    background:rgba(255,193,7,.15);
    color:#ffc107;
}

.status-badge.danger{
    background:rgba(220,53,69,.15);
    color:#ff4d5a;
}

/* Amount */
.transaction-card .text-success{
    color:#28c76f !important;
    font-size:17px;
}

.transaction-card .text-danger{
    color:#ff4d5a !important;
    font-size:17px;
}

/* Mobile */
@media(max-width:576px){
    .transaction-card{
        padding:12px;
    }

    .section-title{
        font-size:16px;
    }

    .page-title{
        font-size:20px;
    }
}

/*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;
}
/*.bank-item{
    display:block;
    padding:15px;
    border:1px solid #2b2b2b;
    border-radius:12px;
    cursor:pointer;
}

.bank-item.active{
    border-color:#28a745;
    background:rgba(40,167,69,.08);
}*/
/*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;
}

/*Login register modal*/
.auth-modal{
    border:none;
    border-radius:20px;
    overflow:hidden;
}

.auth-header{
    text-align:center;
    padding:25px 25px 10px;
}

.auth-logo img{
    height:50px;
    margin-bottom:15px;
}

.auth-header h4{
    font-weight:700;
    margin-bottom:5px;
}

.auth-header p{
    color:#777;
    margin-bottom:0;
}

.auth-input{
    height:52px;
    border-radius:12px;
    border:1px solid #ddd;
}

.auth-btn{
    height:52px;
    border:none;
    border-radius:12px;
    font-weight:600;
    background:#ffb400;
    color:#000;
}

.auth-btn:hover{
    background:#ffb400;
}

.auth-close{
    position:absolute;
    right:15px;
    top:15px;
    z-index:10;
}

.auth-eye{
    position:absolute;
    right:15px;
    top:18px;
    cursor:pointer;
    color:#999;
}

.auth-switch{
    text-align:center;
    margin-top:20px;
    font-size:14px;
}

/*iFrame*/
.iframe-container {
    position: relative;
    width: 100%;
      height: 850px; /* 16:9 aspect ratio = 9/16 * 100 = 56.25% */
    overflow: hidden; /* Hide any overflow */
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    /* Optional: Add a transition effect for smoother loading */
    transition: all 0.3s ease-in-out;
}

/* Additional media queries for different devices */
@media (max-width: 768px) {
    .iframe-container {
        height: 700px; /* Adjust for a 4:3 aspect ratio on tablets and mobile */
    }
}

@media (max-width: 480px) {
    .iframe-container {
        height: 700px; /* Full height for narrow screens */
    }
    .header-wrapper .logo-menu {
       padding-right: 10px;
   }
   .header-wrapper .logo-menu img{
      height: 30px;
   }
}
.fullscreen-btn {
  position: absolute;
  top: 50px;           /* Distance from the top edge */
  left: 10px;          /* Distance from the right edge */
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  color: white;        /* Text color */
  border: none;        /* No border */
  padding: 10px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 5px;  /* Optional: rounded corners */
}

/*Floating action button*/
.float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.float:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.float i {
    font-size: 34px;
    color: #fff;
}

.float .tooltip-text {
    position: absolute;
    right: 80px;
    background: #222;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.float:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    right: 90px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile */
@media(max-width:768px){
    .float{
        width:60px;
        height:60px;
        right:15px;
        bottom:90px;
    }

    .float i{
        font-size:30px;
    }

    .float .tooltip-text{
        display:none;
    }

    .game-grid{
        grid-template-columns:repeat(3,1fr);
    }
}