body {
    background-color: #000;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

#game-container {
    text-align: center;
    position: relative;
}

canvas {
    border: 2px solid #333;
    background-color: #111;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    margin: 20px 0;
}

.header {
    margin-bottom: 10px;
}

.title {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px #fff;
    margin-bottom: 5px;
}

.sub-title {
    font-size: 14px;
    color: #888;
}

.stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    font-size: 18px;
    color: #ccc;
}

.stat-item span {
    color: #ff0055;
    font-weight: bold;
}

.controls-hint {
    margin-top: 10px;
    color: #555;
    font-size: 12px;
}

.key-badge {
    display: inline-block;
    border: 1px solid #444;
    padding: 2px 6px;
    border-radius: 4px;
    margin: 0 2px;
    background: #222;
}

/* On-screen controls for mobile? */
#mobile-controls {
    display: none; /* Show if touch */
    margin-top: 20px;
}

@media (hover: none) and (pointer: coarse) {
    #mobile-controls {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .row { display: flex; gap: 10px; }
    .btn-ctrl {
        width: 60px; height: 60px;
        background: #333;
        border: 1px solid #555;
        border-radius: 50%;
        color: #fff;
        font-size: 24px;
        display: flex; align-items: center; justify-content: center;
        user-select: none;
    }
    .btn-ctrl:active { background: #555; }
}
