.poker-table {
    background: linear-gradient(135deg, #2c3e2c 0%, #3d5a3d 100%);
    border-radius: 200px;
    padding: 40px;
    min-height: 400px;
    position: relative;
    border: 8px solid #d4a574;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
}

.dealer-section,
.player-section {
    text-align: center;
    margin-bottom: 24px;
}

.dealer-section h3,
.player-section h3,
.community-cards h3 {
    color: #f4d9b8;
    margin-bottom: 16px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hand {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 100px;
    align-items: center;
}

.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: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.3s ease;
    animation: cardDeal 0.5s ease;
}

.card:hover {
    transform: translateY(-8px);
}

.card.red {
    color: #c73e1d;
}

.card.black {
    color: #2a1810;
}

.card.back {
    background: linear-gradient(135deg, #c73e1d 0%, #8b2500 100%);
    color: #f4d9b8;
}

.card-value {
    font-size: 20px;
    position: absolute;
    top: 4px;
    left: 6px;
}

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

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

.community-cards {
    text-align: center;
    margin: 32px 0;
    padding: 24px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}

.cards-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    min-height: 100px;
    align-items: center;
}

.hand-result {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #d4a574;
    min-height: 24px;
}

.game-message {
    text-align: center;
    margin: 24px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #f4d9b8;
    font-size: 18px;
    font-weight: 600;
}

.betting-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.bet-amount-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bet-amount-control label {
    font-weight: 600;
    color: var(--text-dark);
}

.bet-amount-control input {
    width: 120px;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .poker-table {
        border-radius: 100px;
        padding: 24px;
    }

    .card {
        width: 50px;
        height: 75px;
        font-size: 18px;
    }

    .card-value {
        font-size: 14px;
        top: 2px;
        left: 4px;
    }

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

    .betting-controls {
        flex-direction: column;
    }
}