

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Poppins;
}


html,body{

width:100%;
overflow-x:hidden;

}
/* NAVBAR */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
background:#111827;
color:white;
padding:14px 18px;
}

.menu-btn{
cursor:pointer;
}

.game-name{
font-size:18px;
font-weight:600;
}

.nav-icons span{
cursor:pointer;
}

/* UPDATE BAR */

.update-bar{
background:#facc15;
color:black;
padding:6px;
font-weight:500;
}

/* SIDEBAR */

.sidebar{
position:fixed;
top:0;
left:-260px;
width:260px;
height:100%;
background:#1f2937;
color:white;
transition:0.3s;
overflow:auto;
z-index:999;
}

.sidebar-header{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px;
border-bottom:1px solid #374151;
}

.close-btn{
cursor:pointer;
}

.menu-item{
border-bottom:1px solid #374151;
}

.menu-item button{
width:100%;
background:none;
border:none;
color:white;
padding:15px;
text-align:left;
display:flex;
align-items:center;
justify-content:space-between;
cursor:pointer;
font-size:15px;
}

.submenu{
display:none;
background:#111827;
}

.submenu a{
display:block;
padding:12px 25px;
color:white;
text-decoration:none;
font-size:14px;
}

.submenu a:hover{
background:#374151;
}

/* CONTENT */

.content{
padding:20px;
}

.card{
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 3px 10px rgba(0,0,0,0.1);
margin-top:15px;
}

/* MOBILE */

@media(max-width:768px){

.game-name{
font-size:16px;
}

}





.wallet-card{

width:100%;
max-width:500px;
margin:15px auto;
background:#fff;
border-radius:16px;
padding:20px;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
font-family:'Poppins',sans-serif;

}

.wallet-top h3{

font-size:18px;
color:#333;
margin-bottom:15px;
text-align:center;

}

.wallet-balance{

background:linear-gradient(135deg,#ff8c00,#ff5a00);
border-radius:12px;
padding:20px;
text-align:center;
color:white;
margin-bottom:18px;

}

.wallet-balance p{

font-size:14px;
opacity:0.9;

}

.wallet-balance h2{

font-size:28px;
margin-top:5px;
font-weight:600;

}

.wallet-buttons{

display:flex;
flex-wrap:wrap;
gap:10px;

}

.wallet-btn{

flex:1;
min-width:120px;
padding:12px;
border-radius:10px;
display:flex;
align-items:center;
justify-content:center;
gap:6px;
text-decoration:none;
font-size:14px;
font-weight:500;
transition:0.2s;

}

.recharge{

background:#ff8c00;
color:white;

}

.withdraw{

background:#f2f2f2;
color:#333;

}

.wallet-btn:hover{

transform:scale(0.98);

}

/* SMALL MOBILE */

@media (max-width:480px){

.wallet-card{

padding:16px;

}

.wallet-balance h2{

font-size:24px;

}

.wallet-btn{

font-size:13px;
padding:11px;

}

}

/* TABLET */

@media (min-width:768px){

.wallet-card{

max-width:600px;

}

.wallet-balance h2{

font-size:32px;

}

}

.howplay-container{

width:100%;
display:flex;
justify-content:center;
align-items:center;
margin:15px 0;

}

.howplay-link{

color:tomato;
font-size:16px;
font-weight:500;
text-decoration:none;
padding:8px 14px;
border-radius:6px;
transition:0.2s;

}

.howplay-link:hover{

background:rgba(255,99,71,0.1);

}

/* Mobile */

@media(max-width:480px){

.howplay-link{
font-size:15px;
}

}



.result-card{

width:100%;
max-width:350px;
margin:20px auto;
padding:25px 15px;
border-radius:14px;
text-align:center;
color:white;
font-family:'Poppins',sans-serif;

background:linear-gradient(135deg,#ff7a00,#ff2d55,#ff7a00);
background-size:200% 200%;

box-shadow:0 10px 25px rgba(0,0,0,0.15);

animation:winningGlow 4s infinite alternate;

}

/* Winning background animation */

@keyframes winningGlow{

0%{
background-position:left;
}

100%{
background-position:right;
}

}

.market-name{

font-size:18px;
font-weight:600;
letter-spacing:1px;
margin-bottom:8px;

}

.market-time{

font-size:20px;
font-weight:500;
margin-bottom:12px;

}

.market-number{

font-size:36px;
font-weight:700;
background:white;
color:#ff2d55;
display:inline-block;
padding:8px 18px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.2);

}

/* Mobile */

@media(max-width:480px){

.result-card{

max-width:95%;
padding:22px 12px;

}

.market-number{

font-size:32px;

}

}






.result-header{

display:flex;
justify-content:space-between;
align-items:center;
padding:12px 15px;
margin:15px 10px;
background:#fff;
border-radius:10px;
box-shadow:0 4px 12px rgba(0,0,0,0.08);
font-family:'Poppins',sans-serif;

}

.result-title{

font-size:16px;
font-weight:600;
color:#333;

}

.history-btn{

background:tomato;
color:white;
text-decoration:none;
padding:7px 12px;
border-radius:6px;
font-size:13px;
transition:0.2s;

}

.history-btn:hover{

background:#e74c3c;

}

/* Mobile */

@media(max-width:480px){

.result-title{
font-size:15px;
}

.history-btn{
font-size:12px;
padding:6px 10px;
}

}










.auto-slider{

width:100%;
overflow:hidden;
margin:15px 0;

}

/* sliding track */

.auto-track{

display:flex;
gap:10px;
width:max-content;
animation:slideCards 25s linear infinite;

}

/* card design */

.auto-card{

width:110px;
min-width:110px;
background:#fff;
border-radius:10px;
padding:8px;
box-shadow:0 3px 8px rgba(0,0,0,0.08);
text-align:center;
font-family:'Poppins',sans-serif;

}

/* title */

.auto-title{

font-size:13px;
font-weight:600;
color:#333;
margin-bottom:5px;

}

/* rows */

.auto-row{

display:flex;
justify-content:space-between;
font-size:11px;
margin:2px 0;
color:#666;

}

.auto-row b{

color:tomato;
font-size:13px;

}

/* animation */

@keyframes slideCards{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}

/* mobile */

@media(max-width:480px){

.auto-card{
width:100px;
min-width:100px;
}

}


.auto-slider {
    margin-bottom: 100px;
}