.box {
                        gap: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 100vh; /* Ensure it takes full viewport height */
            margin: 0;
            overflow: hidden;
}

        /* Container for the canvas and controls */
        .visualizer-container {
            background-color: lightgray; /* Slightly lighter dark background */
            border-radius: 15px; /* Rounded corners for the container */
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); /* Stronger shadow for depth */
            padding: 20px;
            text-align: center;
            max-width: 95%; /* Max width for responsiveness */
            width: 800px; /* Fixed width for larger screens */
            display: flex;
            flex-direction: column;
            align-items: center;
 /* Space between elements */
 /* Prevent scrolling */
        }

        /* Canvas styling */
        canvas {
            background-color: lightgrey; /* Even darker canvas background */
            border: 2px solid black; /* Purple border */
            border-radius: 10px; /* Rounded corners for canvas */
            display: block; /* Remove extra space below canvas */
            width: 100%; /* Make canvas responsive */
            max-width: 700px; /* Max width for canvas */
            height: 500px; /* Fixed height, will scale proportionally */
            cursor: pointer; /* Indicate interactivity */
        }

        /* Control panel styling */
        .controls {
            display: flex;
            gap: 15px;
            flex-wrap: wrap; /* Allow controls to wrap on smaller screens */
            justify-content: center;
        }

        /* 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);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .visualizer-container {
                padding: 15px;
                width: 95%;
            }

            canvas {
                height: 350px;
            }

            h1 {
                font-size: 2em;
            }

            button {
                padding: 10px 20px;
                font-size: 1em;
            }
        }