    /* General body styling */
        body {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 100vh; /* Ensure it takes full viewport height */
            margin: 0;
        }

        /* Game container styling */
        .game-container {
            background-color: #fff;
            border-radius: 15px; /* Rounded corners for the container */
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
            padding: 20px;
            text-align: center;
            max-width: 90%; /* Max width for responsiveness */
            width: 600px; /* Fixed width for larger screens */
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px; /* Space between elements */
        }

        /* Canvas styling */
        canvas {
            background-color: #ecf0f1; /* Light grey canvas background */
            border: 2px solid black; /* Blue border */
            border-radius: 10px; /* Rounded corners for canvas */
            display: block; /* Remove extra space below canvas */
            cursor: crosshair; /* Indicate clickable area */
            width: 100%; /* Make canvas responsive */
            max-width: 500px; /* Max width for canvas */
            height: 350px; /* Fixed height, will scale proportionally */
        }

        /* Score and message display */
        #scoreDisplay, #timerDisplay {
            font-size: 1.5em;
            font-weight: bold;
        }

        #messageDisplay {
            font-size: 1.2em;
            color: #e74c3c; /* Red for messages */
            min-height: 1.5em; /* Prevent layout shift when message appears */
        }

        /* Button styling */
        button {
            background: hsl(0, 0%, 25%);
            color: white;
            border: none;
            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%);
            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);
        }

        /* Responsive adjustments */
@media (max-width: 600px) {
    .game-container {
        padding: 15px;
        width: 95%; /* Wider on small screens */
    }

    canvas {
        height: 250px; /* Shorter height on small screens */
    }

    h1 {
        font-size: 1.8em;
    }

    #scoreDisplay, #timerDisplay, #messageDisplay {
        font-size: 1.2em;
    }

    button {
        padding: 10px 20px;
        font-size: 1em;
    }
}