:root {
    --bg-color: #0a0e27;
    --neon-cyan: #00ffff;
    --electric-purple: #bf00ff;
    --warning-orange: #ff6600;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    color: #fff;
    font-family: 'Orbitron', monospace;
    overflow: hidden; /* Prevent scrolling on mobile */
    touch-action: none; /* Prevent default touch actions like pinch-zoom */
}

#game-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-canvas {
    background-color: transparent; /* Canvas drawn in game.js */
    display: block;
}

/* UI Overlays */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
}

.hidden {
    display: none !important;
}

.company-name {
    font-size: 1rem;
    color: #39ff14;
    text-shadow: 0 0 5px #39ff14, 0 0 10px #39ff14;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
/* Typography & Neon Effects */
h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.neon-title {
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--electric-purple),
        0 0 40px var(--electric-purple),
        0 0 80px var(--electric-purple);
}

.neon-text {
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-cyan);
}

.neon-warning {
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--warning-orange),
        0 0 40px var(--warning-orange);
}

p {
    font-size: 1.5rem;
    margin: 10px 0;
}

.controls {
    margin-top: 40px;
    font-size: 1.2rem;
    color: #aaa;
}

.controls p {
    font-size: 1rem;
    margin: 5px 0;
}

.blink {
    animation: blinker 1.5s linear infinite;
    color: var(--neon-cyan);
    margin-top: 30px;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* HUD */
#hud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through to canvas */
    z-index: 5;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.hud-top-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hud-top-center {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* Character Selection */
.character-selection {
    margin: 20px 0;
    font-size: 1.2rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 5px var(--neon-cyan);
}

.character-selection p {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.character-selection label {
    margin: 0 15px;
    cursor: pointer;
    font-size: 1.2rem;
}

.character-selection input[type="radio"] {
    cursor: pointer;
    margin-right: 5px;
    accent-color: var(--electric-purple);
}
