body {
            margin: 0;
            padding: 0;
            background-color: #000;
            color: #00ff41;
            font-family: 'Courier New', Courier, monospace;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        #ui-overlay {
            position: absolute;
            top: 20px;
            width: 90%;
            display: flex;
            justify-content: space-between;
            pointer-events: none;
            z-index: 10;
        }

        .stat-box {
            border: 1px solid #00ff41;
            padding: 12px;
            background: rgba(0, 20, 0, 0.9);
            box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
            min-width: 220px;
        }

        #defcon-label {
            color: #ff3333;
            font-weight: bold;
            font-size: 2.2em;
            text-shadow: 0 0 10px #ff3333, 0 0 20px #ff3333;
            border: 4px solid #ff3333;
            padding: 5px 25px;
            animation: blink 1.2s infinite;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.4; }
        }

        canvas {
            display: block;
            cursor: crosshair;
        }

/* Game Over Screen Styles */
        #game-over-screen {
            display: none;
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.85);
            flex-direction: column;
            align-items: center; justify-content: center;
            z-index: 100;
            text-align: center;
        }

        #winner-text {
            color: #fff;
            font-size: 5em;
            letter-spacing: 15px;
            text-shadow: 0 0 20px #fff;
            margin-bottom: 20px;
            animation: flicker 0.1s infinite;
        }

        @keyframes flicker {
            0% { opacity: 0.9; } 50% { opacity: 1; } 100% { opacity: 0.8; }
        }

        #exit-btn {
            background: none;
            color: #ff3333;
            border: 2px solid #ff3333;
            padding: 15px 30px;
            font-family: 'Courier New', Courier, monospace;
            font-size: 1.2em;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 0 10px #ff3333;
        }

        #exit-btn:hover {
            background: #ff3333;
            color: #000;
            box-shadow: 0 0 30px #ff3333;
        }

        .footer {
            position: absolute;
            bottom: 15px;
            font-size: 0.9em;
            color: #ff3333;
            text-align: center;
            width: 100%;
            text-shadow: 0 0 5px #000;
            pointer-events: none;
        }

        .highlight { color: #fff; }