/* ==========================================
   HISTORY TABLE
========================================== */

.history-wrap{
    width:100%;
    overflow-x:auto;
    padding:15px;
}

.history-table{
    width:100%;
    min-width:900px;
    border-collapse:collapse;
    text-align:center;
    background:#1f2937;
}

.history-table th{
    background:#FFD700;
    color:#000;
    padding:12px 8px;
    font-size:14px;
    border:1px solid #333;
}

.history-table td{
    padding:10px 8px;
    border:1px solid #333;
    color:#fff;
    font-size:14px;
}

.history-table tr:nth-child(even){
    background:#162033;
}

.history-table tr:hover{
    background:#243044;
}

.history-date{
    background:#0f172a;
    color:#FFD700;
    font-weight:bold;
    white-space:nowrap;
}

/* ==========================================
   BUTTON
========================================== */

.btn{
    display:inline-block;
    padding:10px 20px;
    background:#FFD700;
    color:#000;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:#ffb300;
}

/* ==========================================
   FOOTER
========================================== */

.footer{
    margin-top:30px;
    background:#111827;
    border-top:3px solid #FFD700;
    text-align:center;
    padding:25px 15px;
    color:#bbb;
}

.footer a{
    color:#FFD700;
    text-decoration:none;
}

.footer a:hover{
    color:#fff;
}

/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar{
    width:8px;
    height:8px;
}

::-webkit-scrollbar-thumb{
    background:#FFD700;
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#111827;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:991px){

.row-grid{
    grid-template-columns:1fr;
}

.live-grid{
    grid-template-columns:repeat(2,1fr);
}

.game-grid{
    grid-template-columns:repeat(2,1fr);
}

.logo{
    font-size:22px;
}

.section-title{
    font-size:18px;
}

.live-card h2{
    font-size:17px;
}

.last-result span{
    font-size:22px;
}

.result-number{
    font-size:30px;
}

.patti{
    font-size:28px;
}

.single{
    font-size:22px;
}

}

/* Mobile */

@media(max-width:576px){

.container{
    width:98%;
}

.header .container{
    flex-direction:column;
    gap:10px;
}

.header nav{
    justify-content:center;
}

.header nav a{
    padding:8px 10px;
    font-size:12px;
}

.live-grid{
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    padding:10px;
}

.live-card{
    padding:12px;
    min-height:135px;
}

.live-card h2{
    font-size:14px;
}

.last-result{
    gap:5px;
}

.last-result span{
    font-size:18px;
}

.live-badge{
    font-size:10px;
    padding:4px 10px;
}

.game-grid{
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    padding:10px;
}

.game-card{
    padding:10px;
    min-height:130px;
}

.slot-name{
    font-size:13px;
}

.result-number{
    font-size:24px;
}

.patti{
    font-size:22px;
}

.single{
    font-size:18px;
}

.slot-time{
    font-size:11px;
}

.history-table{
    min-width:850px;
}

}

/* Extra Small */

@media(max-width:360px){

.live-grid{
    grid-template-columns:repeat(2,1fr);
}

.game-grid{
    grid-template-columns:repeat(2,1fr);
}

}