 /* General body styling */
        body {
            font-family: 'Inter', sans-serif; /* Using Inter font as per instructions */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 100vh; /* Ensure it takes full viewport height */
            margin: 0;
            overflow: hidden; /* Prevent scrolling */
        }

        /* Game container styling */
        .game-container {
            border-radius: 15px; /* Rounded corners for the container */
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); /* Stronger shadow for depth */
            padding: 20px;
            text-align: center;
            max-width: 90%; /* Max width for responsiveness */
            width: 700px; /* Fixed width for larger screens */
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px; /* Space between elements */
            position: relative; /* For absolute positioning of message box */
        }

        /* Canvas styling */
        canvas {
            border: 2px solid black; /* Blue border */
            border-radius: 10px; /* Rounded corners for canvas */
            display: block; /* Remove extra space below canvas */
            width: 100%; /* Make canvas responsive */
            max-width: 600px; /* Max width for canvas */
            height: 400px; /* Fixed height, will scale proportionally */
            cursor: crosshair; /* Indicate clickable area */
        }

        /* Score and message display */
        #scoreDisplay, #ammoDisplay {
            font-size: 1.8em;
            font-weight: bold;
        }

        #reloadMessage {
            font-size: 1.2em;
            color: #cca300; /* Yellow for reload messages */
            min-height: 1.5em; /* To prevent layout shift */
        }

        /* Button styling */
        button {
            background: hsl(0, 0%, 25%); /* Gradient background */
            color: white;
            border: none; /* Pill-shaped buttons */
            padding: 12px 25px;
            font-size: 1.1em;
            cursor: pointer;
            outline: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Button shadow */
            transition: all 0.3s ease; /* Smooth transitions for hover/active */
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }

        button:hover {
            background: hsl(0, 0%, 10%); /* Reverse gradient on hover */
            box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
            transform: translateY(-2px); /* Slight lift on hover */
        }

        button:active {
            transform: translateY(0); /* Press effect */
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        }

        /* Message Box styling */
        .message-box {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent dark background */
            color: white;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            z-index: 100; /* Bring to front */
            display: none; /* Hidden by default */
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }

        .message-box h2 {
            margin: 0;
            font-size: 2em;
            color: #e74c3c; /* Red for game over */
        }

        .message-box p {
            margin: 5px 0;
            font-size: 1.2em;
        }

        .message-box button {
            margin-top: 10px;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .game-container {
                padding: 15px;
                width: 95%; /* Wider on small screens */
            }

            canvas {
                height: 300px; /* Shorter height on small screens */
            }

            h1 {
                font-size: 2em;
            }

            #scoreDisplay, #ammoDisplay {
                font-size: 1.5em;
            }

            button {
                padding: 10px 20px;
                font-size: 1em;
            }

            .message-box {
                padding: 20px;
            }

            .message-box h2 {
                font-size: 1.5em;
            }

            .message-box p {
                font-size: 1em;
            }
        }