/* =========================================================
   CARDS GIOCATORI - STILE VELOCE 1910
   Desktop: 5 colonne
   Mobile: 3 colonne
   ========================================================= */

.giocatori-contenitore {
    width: 100%;
    max-width: 1250px;
    margin: 40px auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.giocatori-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(160px, 220px));
    gap: 25px;
    justify-content: center;
}

/* ---------------------------------------------------------
   SINGOLA FIGURINA
   --------------------------------------------------------- */

.giocatore-carta {
    background: #ffffff;
    border: 2px solid #6D0D1B;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.giocatore-carta:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

/* ---------------------------------------------------------
   SPAZIO PER LA FUTURA FOTO
   --------------------------------------------------------- */

.giocatore-foto {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6D0D1B;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
}
/* quando verranno inserite le foto */

.giocatore-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------------------------------------------------------
   DATI DEL GIOCATORE
   --------------------------------------------------------- */

.giocatore-info, .staff-info {
    display: block;
    padding: 12px 8px 14px;
    background: #ffffff;
}
.staff-info{
    background: #a7aef8;
}
.giocatore-nome {
    display: block;
    color: #6D0D1B;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.giocatore-dati {
    display: block;
    margin-top: 6px;
    color: #444444;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    visibility: visible;
    opacity: 1;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .giocatori-contenitore {
        width: 100%;
        max-width: none;
        margin: 30px auto;
        padding: 0 6px;
        box-sizing: border-box;
    }

    .giocatori-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .giocatore-carta {
        border-radius: 6px;
    }

    .giocatore-info {
        display: block;
        padding: 8px 3px 9px;
        background: #ffffff;
    }

    .giocatore-nome {
        display: block;
        color: #6D0D1B;
        font-size: 14px;
        line-height: 1.2;
    }

    .giocatore-dati {
        display: block;
        margin-top: 4px;
        color: #444444;
        font-family: 'Oswald', sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.3;
        visibility: visible;
        opacity: 1;
    }
}