:root {
    --bg-color: #121212;
    --accent-color: #00ff88;
    --text-color: #ffffff;
    --circle-a: #ff0055;
    --circle-s: #00ccff;
    --circle-d: #ffcc00;
    --circle-f: #cc00ff;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.game-container {
    text-align: center;
    position: relative;
}

h1 {
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.stats {
    display: flex;
    justify-content: space-between;
    width: 400px;
    margin: 0 auto 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

canvas {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.controls-hint {
    display: flex;
    justify-content: space-around;
    width: 400px;
    margin: 10px auto 0;
}

.controls-hint span {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: #333;
    font-weight: bold;
    box-shadow: 0 4px 0 #222;
}

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

.hidden {
    display: none;
}

.modal-content {
    background: #222;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #444;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

button {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.1s;
}

button:hover {
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95);
}