:root {
    --primary: #FDCB6E;
    --secondary: #F6E58D;
    --background: #2D3436; /* Dark mode background */
    --card-back: #D63031;
    --text-color: #DFE6E9;
}

body {
    margin: 0;
    background-color: var(--background);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

#game-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.2);
}

.controls button {
    background-color: var(--primary);
    border: none;
    padding: 8px 16px;
    margin-right: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: #2D3436;
    transition: background-color 0.2s;
}

.controls button:hover {
    background-color: var(--secondary);
}

.stats {
    font-size: 1.2rem;
    font-weight: bold;
}

.stats span {
    margin-left: 15px;
}

canvas {
    flex-grow: 1;
    width: 100%;
    /* Dark green felt look fitting dark mode theme */
    background-color: #1e272e;
}

footer {
    padding: 5px 20px;
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 0.9rem;
}

.statistics span {
    margin: 0 10px;
}
