:root {
    --bg: #0b0d10;
    --card: #15191e;
    --red: #d90429;
    --green: #06d6a0;
    --gold: #ffd166;
}

body {
    background-color: var(--bg);
    color: white;
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

#game-container {
    position: relative;
    width: 100%;
    height: 300px; /* Essential: Without this, the canvas is invisible */
    background: #000;
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
}

#multiplier {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 900;
    z-index: 10;
}

.modal-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex; justify-content: center; align-items: center;
    z-index: 200;
}

.modal-box {
    background: var(--card);
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}
/* Ensure inputs are visible */
input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
    border-radius: 5px;
    box-sizing: border-box;
}