/* ============================================================
   CARD STYLES - FOR CURVED HAND CARDS
   ============================================================ */

/* Card images are displayed via img tags */
.hand-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Red suits - optional styling */
.hand-card[data-suit="hearts"] .card-label,
.hand-card[data-suit="diamonds"] .card-label {
    color: #CC0000;
}

/* Card back styling (if needed) */
.card-back {
    width: 95px;
    height: 133px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1a2a6c, #2d4373);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-back::before {
    content: '♠';
    font-size: 28px;
    color: rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Responsive card sizes */
@media (max-width: 768px) {
    .card-back {
        width: 60px;
        height: 84px;
    }

    .card-back::before {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .card-back {
        width: 48px;
        height: 67px;
    }

    .card-back::before {
        font-size: 16px;
    }
}