/* =========================================================
   CARDS.CSS PART 1
   TODAY LIVE GAMES
=========================================================*/

.live-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    padding:12px;
    width:100%;
}

.live-card{
    position:relative;
    background:#1f2937;
    border:2px solid #333;
    border-radius:12px;
    padding:10px;
    min-height:110px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;
    overflow:hidden;
    transition:.3s;
}

.live-card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,.35);
}

.live-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:4px;
}

/* ===========================
   LIVE GAME COLORS
=========================== */

.live-card.gold{
    border-color:#FFD700;
}

.live-card.gold::before{
    background:#FFD700;
}

.live-card.super{
    border-color:#00BCD4;
}

.live-card.super::before{
    background:#00BCD4;
}

.live-card.night{
    border-color:#9C27B0;
}

.live-card.night::before{
    background:#9C27B0;
}

.live-card.bbc{
    border-color:#4CAF50;
}

.live-card.bbc::before{
    background:#4CAF50;
}

/* ===========================
   LIVE TITLE
=========================== */

.live-card h2{
    margin:0;
    font-size:15px;
    color:#fff;
    font-weight:700;
    line-height:1.3;
}

/* ===========================
   LAST RESULT
=========================== */

.last-result{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:6px;
    margin:10px 0;
}

.last-result span{
    font-size:20px;
    font-weight:bold;
    color:#FFD700;
}

.last-result .single{
    color:#00ff88;
    font-size:18px;
}

.arrow{
    color:#bbb;
    font-size:16px;
}

/* ===========================
   LIVE BADGE
=========================== */

.live-badge{
    margin-top:6px;
    padding:4px 10px;
    border-radius:20px;
    background:#16a34a;
    color:#fff;
    font-size:10px;
    font-weight:bold;
}

/* =========================================================
   TODAY RESULT GRID
=========================================================*/

.row-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin:18px 0;
}

.half-section{
    width:100%;
}

.game-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:12px;
    padding:12px;
}

/* =========================================================
   CARDS.CSS PART 2
   TODAY RESULT CARDS
=========================================================*/

.game-card{
    position:relative;
    background:#1f2937;
    border:2px solid #333;
    border-radius:12px;
    padding:12px;
    min-height:145px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;
    overflow:hidden;
    transition:.3s;
}

.game-card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,.35);
}

.game-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:4px;
}

/* ===========================
   CARD COLORS
=========================== */

.game-card.gold-card{
    border-color:#FFD700;
}

.game-card.gold-card::before{
    background:#FFD700;
}

.game-card.super-card{
    border-color:#00BCD4;
}

.game-card.super-card::before{
    background:#00BCD4;
}

.game-card.night-card{
    border-color:#9C27B0;
}

.game-card.night-card::before{
    background:#9C27B0;
}

.game-card.bbc-card{
    border-color:#4CAF50;
}

.game-card.bbc-card::before{
    background:#4CAF50;
}

/* ===========================
   SLOT NAME
=========================== */

.slot-name{
    color:#fff;
    font-size:14px;
    font-weight:700;
    margin-bottom:8px;
    line-height:1.3;
}

/* ===========================
   RESULT
=========================== */

.result-number{
    font-size:30px;
    font-weight:bold;
    color:#FFD700;
    line-height:1;
}

.patti{
    font-size:28px;
    font-weight:bold;
    color:#FFD700;
    line-height:1;
}

.single{
    margin-top:4px;
    font-size:20px;
    font-weight:bold;
    color:#00ff88;
}

.slot-time{
    margin-top:8px;
    color:#bbb;
    font-size:12px;
}

/* ===========================
   HOVER
=========================== */

.game-card:hover .result-number,
.game-card:hover .patti{
    color:#FFF176;
}

.game-card:hover .single{
    color:#7CFF8B;
}

/* =========================================================
   RESPONSIVE
=========================================================*/

@media (max-width:992px){

.row-grid{
    grid-template-columns:1fr;
}

.live-grid{
    grid-template-columns:repeat(2,1fr);
}

.game-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media (max-width:768px){

.live-card{
    min-height:95px;
    padding:8px;
}

.live-card h2{
    font-size:12px;
}

.last-result span{
    font-size:16px;
}

.last-result .single{
    font-size:15px;
}

.live-badge{
    font-size:9px;
    padding:3px 8px;
}

.game-card{
    min-height:120px;
    padding:10px;
}

.result-number{
    font-size:24px;
}

.patti{
    font-size:22px;
}

.single{
    font-size:18px;
}

.slot-name{
    font-size:12px;
}

.slot-time{
    font-size:11px;
}

}

@media (max-width:480px){

.live-grid{
    grid-template-columns:repeat(2,1fr);
    gap:8px;
}

.game-grid{
    grid-template-columns:repeat(2,1fr);
    gap:8px;
}

.live-card{
    min-height:90px;
}

.game-card{
    min-height:110px;
}

.live-card h2{
    font-size:11px;
}

.last-result span{
    font-size:15px;
}

.result-number{
    font-size:20px;
}

.patti{
    font-size:19px;
}

.single{
    font-size:16px;
}

.slot-name{
    font-size:11px;
}

.slot-time{
    font-size:10px;
}

}