/* MAIN DU JOUEUR (15 cartes) */
#my-hand {
    position: absolute;
    display: flex; 
}

.card {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    position: relative;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    transition: transform 0.2s, margin 0.2s, box-shadow 0.2s; 
    display: block; 
    cursor: pointer; 
    font-family: 'Times New Roman', serif; 
    user-select: none;
    color: #2c3e50;
}

/* Couleurs */
.card.red { color: #e74c3c; }
.card.black { color: #2c3e50; }

/* Effet Survol */
.card:hover {
    z-index: 100;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Style spécifique pour les figures (V, D, R) */
.card.face-card .card-center {
    font-family: 'Georgia', serif;
    font-weight: bold;
    font-size: 2.2em;
    opacity: 0.8;
    border: 2px solid currentColor; /* Petit cadre autour de la lettre */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5em; /* Gros symbole au milieu */
    line-height: 1;
}

.card-corner {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    line-height: 0.9;
    padding: 3px;
}