body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1e1e1e;
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.game-container {
    max-width: 800px;
    width: 100%;
    padding: 20px;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    text-align: center;
}
h1 {
    margin-bottom: 20px;
}
.cards {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
.card {
    margin: 0 10px;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 10px;
    background-color: #fff;
    color: #000;
    width: 60px;
    height: 90px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}
.card .value {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 18px;
    font-weight: bold;
}
.card .suit {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 18px;
}
.card.hearts .value,
.card.diamonds .value {
    color: red;
}
.card.hearts .suit,
.card.diamonds .suit {
    color: red;
}
.buttons {
    margin: 20px 0;
}
.buttons button {
    margin: 0 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.buttons button:disabled {
    background-color: #555;
    cursor: not-allowed;
}
.buttons button:hover:not(:disabled) {
    background-color: #0056b3;
}
.hidden {
    visibility: hidden;
}
.betting {
    margin: 20px 0;
}
.betting input {
    width: 60px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.stats {
    margin: 20px 0;
    display: flex;
    justify-content: space-around;
}
.stats div {
    font-size: 18px;
}
.card-deal {
    animation: deal 0.5s ease-out;
}
@keyframes deal {
    from {
        transform: translateY(-50px) rotate(-10deg);
        opacity: 0;
    }
    to {
        transform: translateY(0) rotate(0);
        opacity: 1;
    }
}
#message {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    color: #ffff; /* Highlight the message */
}