        @import url('../assets/font.css');
        


        :root {
            --primary: #4849E8;
            --primary-light: #4849E8;
            --primary-dark: #3C3DF2;
            --secondary: #ff6b9d;
            --secondary-light: #ff94b8;
            --secondary-dark: #ff4980;
            --accent: #00e5ff;
            --accent-light: #6effff;
            --accent-dark: #00b3cc;
            
            --bg-primary: #121212;
            --bg-secondary: #1e1e1e;
            --bg-tertiary: #252525;
            
            --text-primary: #e9ecef;
            --text-secondary: #ced4da;
            --text-tertiary: #adb5bd;
            
            --border-color: #444;
            --border-light: #333;
            
            --success: #28a745;
            --warning: #ffc107;
            --danger: #dc3545;
            --info: #17a2b8;
            
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
            --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
            --shadow-lg: 0 10px 15px rgba(0,0,0,0.3);
            --shadow-xl: 0 20px 25px rgba(0,0,0,0.25);
            
            --radius-sm: 6px;
            --radius-md: 8px;
            --radius-lg: 12px;
            --radius-xl: 16px;
            
            --transition: all 0.2s ease;
            --transition-slow: all 0.3s ease;
        }
        

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: YekanBakh;
        }
        
        body {
            background: var(--bg-primary);
            color: var(--text-primary);
            min-height: 100vh;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: var(--transition-slow);
        }
        
        .container {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        header {
            text-align: center;
            padding: 25px;
            background: var(--bg-secondary);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            margin-bottom: 10px;
            border: 1px solid var(--border-color);
        }
        
        h1 {
            color: var(--primary-light);
            margin-bottom: 15px;
            font-size: 2rem;
        }
        
        .description {
            color: var(--text-secondary);
            font-size: 1rem;
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .content {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
        }
        
        .controls {
            flex: 1;
            min-width: 300px;
            background: var(--bg-secondary);
            padding: 25px;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border-color);
        }
        
        .control-group {
            margin-bottom: 25px;
        }
        
        .control-group h3 {
            margin-bottom: 15px;
            color: #DDD;
            border-bottom: 2px solid var(--primary-light);
            padding-bottom: 10px;
            font-size: 1.1rem;
            font-weight: 600;
        }
        
        .slider-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .slider-label {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .slider-label span {
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .slider-label output {
            background: var(--primary);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-weight: 600;
            min-width: 60px;
            text-align: center;
            font-size: 0.875rem;
        }
        
        input[type="range"] {
            width: 100%;
            height: 6px;
            -webkit-appearance: none;
            appearance: none;
            background: var(--border-color);
            outline: none;
            border-radius: 3px;
            transition: var(--transition);
        }
        
        input[type="range"]:hover {
            background: var(--primary-light);
        }
        
        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
        }
        
        input[type="range"]::-webkit-slider-thumb:hover {
            background: var(--primary-dark);
            transform: scale(1.1);
        }
        
        .corner-controls {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-top: 20px;
        }
        
        .corner-group {
            background: var(--bg-tertiary);
            padding: 15px;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
        }
        
        .corner-group h4 {
            color: #DDD;
            margin-bottom: 12px;
            text-align: center;
            font-size: 1rem;
        }
        
        .corner-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .corner-toggle span {
            color: var(--text-primary);
            font-size: 0.875rem;
        }
        
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
        }
        
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--border-color);
            transition: .4s;
            border-radius: 24px;
        }
        
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        
        input:checked + .toggle-slider {
            background-color: var(--primary);
        }
        
        input:checked + .toggle-slider:before {
            transform: translateX(26px);
        }
        
        .preview {
            flex: 2;
            min-width: 300px;
            display: flex;
            justify-content: center;
            align-items: center;
            background: var(--bg-secondary);
            padding: 40px;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border-color);
        }
        
        .box {
            width: 300px;
            height: 250px;
            background: linear-gradient(45deg, var(--primary), var(--primary-light));
            border-radius: var(--radius-lg);
            position: relative;
            transition: var(--transition);
            box-shadow: var(--shadow-md);
        }
        
        .box-content {
            position: absolute;
            inset: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 1.2rem;
            font-weight: 600;
            text-align: center;
            padding: 20px;
        }
        
        .code-container {
            width: 100%;
            background: var(--bg-tertiary);
            color: var(--text-primary);
            padding: 25px;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            overflow-x: auto;
            font-family: 'Courier New', Courier, monospace;
            direction: ltr;
            border: 1px solid var(--border-color);
            margin-bottom: 60px;
        }
        
        .code-container h3 {
            color: #DDD;
            margin-bottom: 15px;
            text-align: center;
            font-size: 1.2rem;
        }
        
        pre {
            white-space: pre-wrap;
            line-height: 1.5;
            color: var(--text-secondary);
            padding: 15px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: var(--radius-md);
            font-size: 0.875rem;
        }
        
        .copy-btn {
            display: block;
            margin: 15px auto 0;
            padding: 12px 25px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: var(--radius-md);
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
            box-shadow: var(--shadow-sm);
        }
        
        .copy-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

                
        /* Footer */
        footer {
            text-align: center;
            padding: 16px;
            background: var(--bg-secondary);
            color: var(--text-tertiary);
            font-size: 0.875rem;
            border-top: 1px solid var(--border-color);
            position: fixed;
            bottom: 0px;
            width: 100%;
        }
        
        @media (max-width: 768px) {
            .content {
                flex-direction: column;
            }
            
            .corner-controls {
                grid-template-columns: 1fr;
            }
            
            header {
                padding: 20px 15px;
            }
            
            h1 {
                font-size: 1.6rem;
            }
        }