        :root {
            --primary: #6a11cb;
            --secondary: #2575fc;
            --dark: #1a1a2e;
            --light: #f1f1f1;
            --danger: #ff3860;
        }
        * { box-sizing: border-box }
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background: var(--dark);
            color: var(--light);
            margin: 0;
            padding: 7rem 2rem 2rem;
            line-height: 1.6;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        header {
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            padding: 10px;
            background: #292f42;
            z-index: 1000;
        }
        header h1 {
            color: #ffffff;
            margin: 5px 0;
            text-align: center;
        }
        header a {
            position: absolute;
            top: 2px;
            right: 20px;
            -webkit-text-decoration: none;
            -moz-text-decoration: none;
            text-decoration: none;
            color: #ffffff;
            font-size: 16px;
            z-index: 10;
        }
        
        .grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }
        
        @media (max-width: 768px) {
            .grid {
                grid-template-columns: 1fr;
            }
        }
        
        .controls {
            background: rgba(255,255,255,0.05);
            padding: 1.5rem;
            border-radius: 12px;
            backdrop-filter: blur(10px);
        }
        
        .preview-area {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .preview-box {
            height: 300px;
            background: var(--light);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark);
            font-weight: bold;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .control-group {
            margin-bottom: 1.5rem;
        }
        
        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        
        select, input, textarea {
            width: 100%;
            padding: 0.75rem;
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.2);
            background: rgba(0,0,0,0.3);
            color: inherit;
            font-family: inherit;
        }
        
        input[type="color"] {
            height: 40px;
            padding: 0;
        }
        
        .range-group {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .range-group input[type="range"] {
            flex: 1;
        }
        
        .range-group span {
            min-width: 3ch;
            text-align: center;
        }
        
        .btn {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: transform 0.2s, opacity 0.2s;
        }
        
        .btn:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }
        
        .btn.secondary {
            background: rgba(170,170,170,0.3);
        }
        
        .btn.danger {
            background: rgba(255,56,96,0.2);
            color: var(--danger);
        }
        
        .btn-group {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .btn-group .btn {
            flex: 1;
        }
        
        .code-output {
            background: rgba(0,0,0,0.4);
            padding: 1rem;
            border-radius: 8px;
            font-family: 'Fira Code', monospace;
            white-space: pre-wrap;
            overflow-x: auto;
            min-height: 380px;
        }
        
        /* Advanced border effect panels */
        .effect-panel {
            display: none;
            margin-top: 1rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 1rem;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .colors-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }
        
        .color-item {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }
        
        .color-item input[type="color"] {
            width: 40px;
            height: 40px;
        }
        
        .color-item input[type="text"] {
            flex: 1;
        }
        
        .color-item button {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background: rgba(255,56,96,0.2);
            border: none;
            color: var(--danger);
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .color-item button:hover {
            background: rgba(255,56,96,0.4);
        }
        
        /* Border effect specific styles */
        .border-effect-preview {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 2;
        }
        
        /* Custom shape styles */
        .custom-shape {
            position: relative;
            overflow: hidden;
        }
        
        .custom-shape::before {
            content: "";
            position: absolute;
            inset: -5px;
            background: linear-gradient(45deg, #ff0, #f0f, #0ff, #0f0, #ff0);
            background-size: 400%;
            animation: animate 20s linear infinite;
            z-index: -1;
            filter: blur(5px);
        }
        
        @keyframes animate {
            0% { background-position: 0 0; }
            50% { background-position: 300% 0; }
            100% { background-position: 0 0; }
        }