body {
    background: radial-gradient(1200px 600px at 10% 10%, #e9d5ff, transparent 60%),
                radial-gradient(900px 500px at 90% 80%, #dbeafe, transparent 60%),
                radial-gradient(800px 600px at 70% 10%, #ffe4e6, transparent 60%),
                linear-gradient(135deg, #fafafa 0%, #f8fafc 100%);
    color: black;
    min-height: 100vh;
    font-family: var(--bs-font-sans-serif);
}

button {
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

button:hover {
    background-color: #e0e0e0;
}

canvas {
    margin-top: 20px;
    border: 1px solid #333;
}

#hand button {
    margin: 5px;
}

#stake input {
    padding: 5px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.game-mode-btn {
    width: 100%;
    margin-bottom: 10px;
}

#loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    align-items: center;
}

#loader-text {
    margin-left: 10px;
    font-size: 1.2rem;
    color: #333;
}

h1, h2 {
    color: #333;
}

p {
    margin: 10px 0;
}

select, input[type="text"], input[type="number"] {
    padding: 5px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.profile-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 10px 0;
}








#loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    background: #fff;
    padding: 10px;
    border: 1px solid #000;
}
.popout {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border: 2px solid #000;
    font-weight: bold;
    display: none;
    z-index: 1000;
}
.token, .card {
    position: absolute;
    width: 30px;
    height: 30px;
}
#board {
    width: 500px;
    height: 500px;
    position: relative;
}
#dice-area, #discard-pile, #player-hand {
    position: absolute;
}
#hand_pointer {
    width: 20px;
    height: 20px;
}
#backBtn, #quitBtn {
    position: absolute;
    top: 10px;
    font-size: 12px;
}
#backBtn { left: 10px; }
#quitBtn { left: 80px; }
.hand_pointer { cursor: pointer; }


