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

        body {
            background: radial-gradient(ellipse at center, #0a0e2e 0%, #000000 100%);
            font-family: 'Orbitron', 'Arial', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            overflow: hidden;
            color: #fff;
        }

        @font-face {
            font-family: 'Orbitron';
            src: url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
        }

        .game-container {
            position: relative;
            border: 3px solid rgba(74, 144, 226, 0.7);
            border-radius: 15px;
            box-shadow: 0 0 40px rgba(74, 144, 226, 0.6);
            background: rgba(0, 0, 0, 0.25);
            backdrop-filter: blur(8px);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .game-container:hover {
            box-shadow: 0 0 50px rgba(74, 144, 226, 0.8);
        }

        #gameCanvas {
            display: block;
            border-radius: 12px;
            background: radial-gradient(ellipse at top, #000428 0%, #000000 100%);
        }

        .game-ui {
            position: absolute;
            top: 20px;
            left: 20px;
            color: #fff;
            z-index: 10;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .score-container, .lives-container {
            background: rgba(0, 0, 0, 0.5);
            border-radius: 10px;
            padding: 10px 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        }

        .score, .lives {
            font-size: 20px;
            font-weight: bold;
            text-shadow: 0 0 10px rgba(74, 144, 226, 0.8);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .lives .life-icon {
            color: #ff4444;
            font-size: 18px;
        }

        .multiplier {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 10px;
            padding: 10px 15px;
            border: 1px solid rgba(255, 215, 0, 0.3);
            box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
            font-size: 18px;
            font-weight: bold;
            color: #ffd700;
            display: none;
        }

        .game-over {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: #fff;
            background: rgba(0, 0, 0, 0.85);
            padding: 40px;
            border-radius: 15px;
            border: 2px solid #ff6b6b;
            display: none;
            z-index: 20;
            width: 80%;
            max-width: 500px;
            box-shadow: 0 0 30px rgba(255, 107, 107, 0.4);
            backdrop-filter: blur(5px);
        }

        .game-over h2 {
            font-size: 42px;
            margin-bottom: 20px;
            color: #ff6b6b;
            text-shadow: 0 0 15px rgba(255, 107, 107, 0.7);
            letter-spacing: 2px;
        }

        .game-over p {
            font-size: 20px;
            margin: 10px 0;
        }

        .final-score {
            font-size: 28px;
            color: #4a90e2;
            margin: 20px 0;
            text-shadow: 0 0 10px rgba(74, 144, 226, 0.7);
        }

        .game-over button {
            background: linear-gradient(45deg, #4a90e2, #357abd);
            color: white;
            border: none;
            padding: 15px 30px;
            font-size: 18px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
            font-weight: bold;
            letter-spacing: 1px;
            text-transform: uppercase;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .game-over button:hover {
            background: linear-gradient(45deg, #357abd, #2a5f8f);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        }

        .instructions {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.8);
            text-align: center;
            font-size: 14px;
            background: rgba(0, 0, 0, 0.5);
            padding: 10px 20px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            width: 90%;
            max-width: 600px;
        }

        .stars-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
            overflow: hidden;
        }

        .star-bg {
            position: absolute;
            width: 2px;
            height: 2px;
            background: #fff;
            border-radius: 50%;
            animation: twinkle 3s infinite;
        }

        .star-bg:nth-child(3n) {
            animation-delay: 1s;
        }

        .star-bg:nth-child(5n) {
            animation-delay: 2s;
        }

        @keyframes twinkle {
            0%, 100% { opacity: 0.2; }
            50% { opacity: 1; }
        }

        .comet {
            position: absolute;
            width: 4px;
            height: 4px;
            background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
            border-radius: 50%;
            filter: blur(1px);
            animation: comet 15s linear infinite;
            opacity: 0;
        }

        @keyframes comet {
            0% {
                transform: translateX(0) translateY(0);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateX(1000px) translateY(300px);
                opacity: 0;
            }
        }

        .power-up-indicator {
            position: absolute;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.6);
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 14px;
            color: #4a90e2;
            border: 1px solid rgba(74, 144, 226, 0.3);
            display: none;
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.8; }
            50% { opacity: 1; }
        }

        .start-screen {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 30;
            color: white;
            text-align: center;
            padding: 20px;
        }

        .start-screen h1 {
            font-size: 48px;
            margin-bottom: 20px;
            color: #4a90e2;
            text-shadow: 0 0 20px rgba(74, 144, 226, 0.8);
            letter-spacing: 3px;
        }

        .start-screen p {
            font-size: 18px;
            margin-bottom: 30px;
            max-width: 600px;
            line-height: 1.6;
        }

        .start-screen button {
            background: linear-gradient(45deg, #4a90e2, #357abd);
            color: white;
            border: none;
            padding: 15px 40px;
            font-size: 20px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
            font-weight: bold;
            letter-spacing: 1px;
            text-transform: uppercase;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
        }

        .start-screen button:hover {
            background: linear-gradient(45deg, #357abd, #2a5f8f);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
        }

        .difficulty-selector {
            margin: 20px 0;
            display: flex;
            gap: 15px;
        }

        .difficulty-btn {
            padding: 10px 20px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 5px;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .difficulty-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .difficulty-btn.active {
            background: #4a90e2;
            border-color: #4a90e2;
            box-shadow: 0 0 10px rgba(74, 144, 226, 0.7);
        }

        .high-scores {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 10px;
            padding: 10px 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
            font-size: 16px;
            max-width: 200px;
        }

        .high-scores h3 {
            margin-bottom: 8px;
            color: #ffd700;
        }

        .high-scores ol {
            padding-left: 20px;
        }

        .high-scores li {
            margin-bottom: 5px;
        }