        :root {
            --bg-dark: #121212;
            --panel-dark: #1e1e1e;
            --accent: #4a80f0;
            --text-light: rgba(255, 255, 255, 0.87);
            --text-muted: rgba(255, 255, 255, 0.6);
            --border-radius: 8px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-light);
            height: 100vh;
            padding: 80px 0 0;
            display: flex;
            flex-direction: column;
        }

        header {
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            padding: 5px;
            background: #0088ff;
        }
        header .logo {
            position: absolute;
            top: 0;
            left: 2rem;
            width: 65px;
            height: 65px;
            margin-right: 20px;
            border: 1px solid #ffffff;
        }
        header h1 {
            color: #ffffff;
            margin: 5px 0;
            text-align: center;
        }
        header a {
            position: absolute;
            top: 16px;
            right: 20px;
            -webkit-text-decoration: none;
            -moz-text-decoration: none;
            text-decoration: none;
            color: #ffffff;
            font-size: 1rem;
            z-index: 10;
        }

        .header {
            padding: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        h2 {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--accent);
        }

        main {
            display: flex;
            flex: 1;
            overflow: hidden;
        }

        .control-panel {
            width: 400px;
            background-color: var(--panel-dark);
            padding: 1.5rem;
            overflow-y: auto;
            border-right: 1px solid rgba(255, 255, 255, 0.1);
        }

        .preview-stage {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: start;
            padding: 2rem;
        }

        .shape-selector {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .shape-btn {
            background: rgba(255, 255, 255, 0.05);
            border: none;
            color: var(--text-light);
            padding: 0.5rem;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: all 0.2s ease;
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .shape-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .shape-btn.active {
            background: var(--accent);
            color: white;
        }

        .control-group {
            margin-bottom: 1.5rem;
        }

        .control-group h3 {
            margin-bottom: 0.75rem;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-muted);
        }

        .slider-container {
            margin-bottom: 0.75rem;
        }

        .slider-container label {
            display: block;
            margin-bottom: 0.25rem;
            font-size: 0.85rem;
        }

        .slider-container input[type="range"] {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
            outline: none;
            -webkit-appearance: none;
        }

        .slider-container input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 16px;
            height: 16px;
            background: var(--accent);
            border-radius: 50%;
            cursor: pointer;
        }

        .color-picker {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .color-picker input[type="color"] {
            width: 30px;
            height: 30px;
            border: none;
            background: transparent;
            cursor: pointer;
        }

        .code-output {
            width: 50%;
            background: rgba(0, 0, 0, 0.2);
            border-radius: var(--border-radius);
            padding: 1rem;
            margin-top: auto;
        }

        .code-output h3 {
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-muted);
        }

        #svg-code {
            width: 100%;
            height: 100px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--border-radius);
            padding: 0.5rem;
            font-family: monospace;
            color: var(--text-light);
            resize: none;
            margin-bottom: 0.5rem;
        }

        .copy-btn {
            background: var(--accent);
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 0.85rem;
            width: 100%;
        }

        .copy-btn:hover {
            opacity: 0.9;
        }

        .svg-container {
            width: 300px;
            height: 300px;
            margin-bottom: 2rem;
        }

        svg {
            width: 100%;
            height: 100%;
            transition: all 0.3s ease;
        }

        @media (max-width: 768px) {
            main {
                flex-direction: column;
            }

            .control-panel {
                width: 100%;
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .preview-stage {
                padding: 1rem;
            }

            .svg-container {
                width: 200px;
                height: 200px;
            }
        }