      body {
            margin: 0;
            padding: 10px;
            background: linear-gradient(135deg, #1e3c72, #2a5298);
            font-family: 'Arial', sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            color: white;
            overflow-x: auto;
        }

        h1 {
            color: #ffd700;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            margin-bottom: 10px;
            font-size: 1.8rem;
        }

        #gameContainer {
            position: relative;
            border: 3px solid #ffd700;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
        }

        #gameCanvas {
            background: linear-gradient(180deg, #000428, #004e92);
            display: block;
            border-radius: 7px;
        }

        #gameOverScreen {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: none;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            border-radius: 7px;
        }

        #gameOverScreen h2 {
            color: #ffd700;
            font-size: 3rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        }

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

        #restartBtn {
            background: #ffd700;
            color: #1e3c72;
            border: none;
            padding: 15px 30px;
            font-size: 1.2rem;
            font-weight: bold;
            border-radius: 25px;
            cursor: pointer;
            margin-top: 20px;
            transition: all 0.3s;
        }

        #restartBtn:hover {
            background: #ffed4e;
            transform: scale(1.05);
        }

        .instructions {
            text-align: center;
            margin-top: 10px;
            font-size: 0.9rem;
            opacity: 0.9;
            max-width: 800px;
        }

        /* Responsive design for smaller screens */
        @media (max-width: 850px) {
            body {
                padding: 5px;
            }
            
            h1 {
                font-size: 1.5rem;
                margin-bottom: 5px;
            }
            
            #gameContainer {
                transform: scale(0.9);
                transform-origin: top center;
            }
            
            .instructions {
                font-size: 0.8rem;
                margin-top: 5px;
            }
        }

        @media (max-width: 750px) {
            #gameContainer {
                transform: scale(0.8);
            }
            
            h1 {
                font-size: 1.3rem;
            }
        }

        @media (max-width: 650px) {
            #gameContainer {
                transform: scale(0.7);
            }
            
            h1 {
                font-size: 1.2rem;
            }
        }