body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    padding: 20px;
    background: #0a7a3a;
    color: white;
}

#game-area {
    background: #145c2b;
    padding: 20px;
    border-radius: 10px;
    width: 380px;
    text-align: center;
}

section {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #0f4e22;
    border-radius: 8px;
    background: #1b7239;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.card {
    width: 80px;  
    height: 115px; 
    background: white;
    border-radius: 6px;
    border: 2px solid #ffbb00;
    position: relative;
    font-weight: bold;
    color: black;
    overflow: hidden;
}

.card.red {
    color: red;
}

.card.face-down {
    background-image: url('./images/deckCover.png');
    background-size: cover; 
    background-position: center;
    border: 2px solid red;
}

.corner {
    position: absolute;
    font-size: 18px; 
}

.top-left { top: 4px; left: 5px; }
.top-right { top: 4px; right: 5px; }
.bottom-right { bottom: 4px; right: 5px; }
.bottom-left { bottom: 4px; left: 5px; }

.face-img {
    position: absolute;
    width: 75%;   
    height: 75%;  
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.center-suit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 45px; 
}

#controls button {
    margin: 5px;
    padding: 8px 15px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;  
}

#controls button:hover {
    background: #4d0f26; 
    color: white; 
}