#game-container {
    width: 400px;
    height: 600px;
    background-color: #1a252f;
    display: flex;
    flex-direction: column;
}

#table-felt {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #27ae60, #145a32);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
    box-sizing: border-box;
    position: relative;
}

.score-label {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px #000;
    text-align: center;
}

.card-container {
    display: flex;
    justify-content: center;
    min-height: 120px;
    position: relative;
}

.card {
    width: 80px;
    height: 120px;
    background-color: #ecf0f1;
    border-radius: 8px;
    margin: 0 -15px; /* 겹치게 */
    box-shadow: -2px 5px 10px rgba(0,0,0,0.6), inset 1px 1px 2px rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #bdc3c7;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: dealCard 0.3s ease-out;
}

@keyframes dealCard {
    0% { transform: translateY(-200px) rotate(45deg) scale(0.5); opacity: 0; }
    100% { transform: translateY(0) rotate(0) scale(1); opacity: 1; }
}

.card.red { color: #c0392b; }
.card.black { color: #2c3e50; }

.card.hidden {
    background: linear-gradient(135deg, #2980b9, #34495e);
    border-color: #bdc3c7;
}
.card.hidden::after {
    content: "✖";
    color: rgba(255,255,255,0.2);
    font-size: 40px;
}

#center-message {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #f1c40f;
    text-shadow: 2px 2px 5px #000;
    min-height: 40px;
    z-index: 10;
}
