body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(120deg, #2c3e50, #3498db);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ecf0f1;
}

.container {
    text-align: center;
    background: rgba(44, 62, 80, 0.7);
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

h1 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #ecf0f1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

p {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

#cardCount p {
    color: #bdc3c7;
    font-weight: bold;
}

.button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    background-color: #2ecc71;
    border: none;
    border-radius: 25px;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: bold;
    cursor: pointer;
}

.button:hover {
    background-color: #27ae60;
    transform: scale(1.05);
}

#gameStatus {
    margin-top: 20px;
}

#gameStatus p {
    color: #bdc3c7;
}

#playArea {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.playerArea {
    text-align: center;
}

.cardSlot {
    width: 100px;
    height: 140px;
    border: 2px solid #34495e;
    border-radius: 10px;
    margin: 10px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    background-color: #2c3e50;
}

.card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px;
    box-sizing: border-box;
    color: #2c3e50;
    background-color: #ecf0f1;
}

.card-top, .card-bottom {
    display: flex;
    justify-content: space-between;
}

.card-center {
    font-size: 3rem;
}

.hidden-card {
    background-color: #34495e;
}

.red {
    color: #e74c3c;
}

.black {
    color: #2c3e50;
}
