/* ==========================================
   GoalVanta Cards CSS v2.0
========================================== */

/* ==========================
   Match Card
========================== */

.match-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:18px;
    padding:20px;
    margin-bottom:20px;
    overflow:hidden;
    transition:all .3s ease;
    box-shadow:var(--shadow);
}

.match-card:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,.10);
}

.match-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.league-name{
    font-size:15px;
    font-weight:700;
    color:var(--text);
}

.match-status{
    background:#EF4444;
    color:#fff;
    padding:6px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
}

.match-body{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:20px;
}

.team{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.team img{
    width:60px;
    height:60px;
    object-fit:contain;
}

.team span{
    margin-top:10px;
    font-weight:600;
    color:var(--text);
}

.score{
    text-align:center;
}

.score h2{
    font-size:34px;
    font-weight:800;
    margin-bottom:6px;
}

.score small{
    color:#EF4444;
    font-weight:600;
}

/* ==========================
   Stats Cards
========================== */

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:25px;
}

.stats-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:18px;
    padding:22px;
    box-shadow:var(--shadow);
    transition:all .3s ease;
}

.stats-card:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,.10);
}

.stats-title{
    font-size:14px;
    color:#64748B;
}

.stats-card h2{
    margin-top:12px;
    font-size:34px;
    color:var(--primary);
}

/* ==========================
   League Cards
========================== */

.league-section{
    margin-top:35px;
}

.section-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.section-title h2{
    font-size:22px;
    font-weight:700;
}

.section-title a{
    color:var(--primary);
    font-weight:600;
}

.league-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.league-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:18px;
    padding:22px;
    text-align:center;
    cursor:pointer;
    transition:all .3s ease;
    box-shadow:var(--shadow);
}

.league-card:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,.10);
}

.league-card img{
    width:65px;
    height:65px;
    object-fit:contain;
    margin:0 auto 15px;
}

.league-card h3{
    margin-bottom:8px;
    font-size:18px;
    color:var(--text);
}

.league-card p{
    color:#64748B;
    font-size:14px;
}

/* ==========================
   Responsive
========================== */

@media (max-width:992px){

    .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .league-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:768px){

    .match-body{
        grid-template-columns:1fr;
        gap:15px;
    }

    .score{
        margin:15px 0;
    }

}

@media (max-width:576px){

    .stats-grid{
        grid-template-columns:1fr;
    }

    .league-grid{
        grid-template-columns:1fr;
    }

    .match-card,
    .stats-card,
    .league-card{
        padding:18px;
    }

    .score h2{
        font-size:28px;
    }

}