:root {
            --black: #000000;
            --white: #ffffff;
        }

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

        body {
            background-color: var(--black);
            color: var(--white);
            font-family: 'Inter', sans-serif;
            -webkit-font-smoothing: antialiased;
            height: 100vh;
            width: 100vw;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .wrapper {
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: 70vh;
            max-height: 95vh;
            background-color: var(--black);
            position: relative;
        }

        @media (min-width: 1024px) {
            .wrapper {
                border: 1px solid var(--white);
                height: auto;
            }
        }

        .visualizer-container {
            width: 100%;
            border-bottom: 1px solid var(--white);
            position: relative;
            background: var(--black);
            display: flex;
            justify-content: center;
            aspect-ratio: 14 / 9; 
            overflow: hidden;
        }

        canvas {
            display: block;
            width: 100%;
            height: 100%;
            image-rendering: pixelated;
        }

        #windowOverlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            object-fit: fill;
        }

       
        .controls-section {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            background: var(--black);
        }

        .control-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            width: 100%;
        }

        .control-label {
            font-size: 8px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            opacity: 0.6;
            margin-bottom: 0.4rem;
            display: block;
        }

        input[type="date"] {
            background: transparent;
            border: 1px solid var(--white);
            color: var(--white);
            padding: 0.4rem;
            font-family: 'Inter', sans-serif;
            font-size: 11px;
            text-transform: uppercase;
            outline: none;
        }

        #timeDisplay {
            font-size: 1.2rem;
            font-weight: 800;
            font-family: 'Inter', monospace;
            letter-spacing: -0.02em;
        }

        .slider-container {
            width: 100%;
        }

        input[type="range"] {
            -webkit-appearance: none;
            width: 100%;
            height: 2px;
            background: var(--white);
            outline: none;
            cursor: pointer;
        }

        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 10px;
            height: 20px;
            background: var(--white);
            border: 1px solid var(--black);
        }

        input[type="range"]::-moz-range-thumb {
            width: 10px;
            height: 20px;
            background: var(--white);
            border: 1px solid var(--black);
        }

        @media (min-width: 768px) {
            .controls-section {
                padding: 2rem 3rem;
            }
        }

        @media (max-height: 600px) and (min-width: 1024px) {
            .wrapper {
                max-width: 80vh;
            }
            .controls-section {
                padding: 1rem 2rem;
                gap: 1rem;
            }
        }