.table-area {
    background: linear-gradient(135deg, #1A3A52 0%, #2D5C4E 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 32px 0;
    min-height: 400px;
}

.hand {
    margin-bottom: 40px;
}

.hand:last-child {
    margin-bottom: 0;
}

.hand-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hand-title span {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 18px;
}

.cards {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    min-height: 100px;
}

.card {
    width: 70px;
    height: 100px;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: dealCard 0.3s ease;
    position: relative;
}

@keyframes dealCard {
    from {
        transform: translateY(-50px) rotate(-10deg);
        opacity: 0;
    }
    to {
        transform: translateY(0) rotate(0);
        opacity: 1;
    }
}

.card.red {
    color: var(--primary-red);
}

.card.black {
    color: var(--charcoal);
}

.card-back {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    font-size: 40px;
}

.card-value {
    font-size: 28px;
    margin-bottom: 4px;
}

.card-suit {
    font-size: 20px;
}

.message {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    min-height: 40px;
    margin: 24px 0;
    color: var(--primary-red);
}

.message.win {
    animation: celebrate 0.6s ease;
    color: #10B981;
}

.message.lose {
    color: var(--gray);
}

@keyframes celebrate {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.bet-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 32px 0;
}

.btn-bet-ctrl {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bet-display {
    font-size: 20px;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
}

.rules {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--light-gray);
}

.rules h3 {
    margin-bottom: 16px;
    color: var(--charcoal);
}

.rules ul {
    list-style: none;
    padding: 0;
}

.rules li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray);
}

.rules li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: 700;
}

@media (max-width: 768px) {
    .table-area {
        padding: 24px;
    }

    .card {
        width: 60px;
        height: 85px;
        font-size: 20px;
    }

    .card-value {
        font-size: 24px;
    }

    .card-suit {
        font-size: 16px;
    }
}