        body {
            padding: 1rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        h1 {
            font-size: 2rem;
            margin-bottom: 1rem;
            text-align: center;
        }

        .description {
            max-width: 800px;
            margin: 0 auto 2rem;
            text-align: center;
            line-height: 1.6;
            color: var(--text-secondary);
        }

        #controls {
            display: grid;
            gap: 1.5rem;
            margin: 2rem auto;
            max-width: 800px;
            padding: 1.5rem;
            background: var(--surface-elevated);
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .control-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .control-group label {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 500;
        }

        .slider {
            width: 100%;
            height: 8px;
            -webkit-appearance: none;
            background: linear-gradient(to right, var(--deadline-red), var(--proc-warning), var(--productivity-green));
            border-radius: 4px;
            outline: none;
        }

        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 24px;
            height: 24px;
            background: var(--proc-primary);
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        #reset {
            width: 100%;
            padding: 1rem;
            background: linear-gradient(135deg, var(--proc-primary), var(--lazy-purple));
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #reset:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
        }

        .canvas-container {
            width: 100%;
            max-width: 800px;
            margin: 2rem auto;
            aspect-ratio: 16/10;
            position: relative;
        }

        #pendulumCanvas {
            width: 100%;
            height: 100%;
            display: block;
        }

        @media (min-width: 768px) {
            #controls {
                grid-template-columns: repeat(3, 1fr);
            }

            #reset {
                grid-column: 1 / -1;
            }
        }

        @media (max-width: 767px) {
            body {
                padding: 0.5rem;
            }

            h1 {
                font-size: 1.5rem;
            }

            .description {
                font-size: 0.9rem;
                padding: 0 1rem;
            }

            #controls {
                padding: 1rem;
            }

            .control-group label {
                font-size: 0.9rem;
            }
        }