:root {
            --glass-primary: #4361ee;
        }
        .tool-header h1 {
            font-size: 2.2rem;
            line-height: 1.3;
            margin-bottom: 0.75rem;
        }
        .param-slider-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            margin-bottom: 0.1rem;
            color: #495057;
        }
        .param-slider-label span:last-child {
            font-weight: 600;
            color: var(--glass-primary);
        }
        .color-input-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .color-input-group input[type=color] {
            width: 48px;
            height: 38px;
            border: 1px solid #dee2e6;
            border-radius: 0.375rem;
            padding: 2px;
            background: white;
        }
        .preset-badge, .preset-badge:hover, .glass-preview-parent {
            background: linear-gradient(135deg, #4158D0, #C850C0, #FFCC70);
            background-size: 200% 200%;
            border-radius: 24px;
            padding: 2.5rem 1.5rem;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 280px;
            box-shadow: 0 20px 30px -10px rgba(0,0,0,0.3);
            border: 1px solid rgba(255,255,255,0.2);
        }
        .glass-card-preview {
            width: 100%;
            max-width: 280px;
            padding: 2rem 1.2rem;
            text-align: center;
            color: #1e1e2f;
            font-weight: 500;
            transition: all 0.2s;
            backdrop-filter: blur(10px);
            background-color: rgba(255,255,255,0.2);
            border: 1px solid rgba(255,255,255,0.5);
            border-radius: 24px;
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        .glass-card-preview i {
            font-size: 3rem;
            margin-bottom: 0.5rem;
            color: white;
            text-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        .glass-card-preview h4 {
            font-size: 1.8rem;
            font-weight: 300;
            letter-spacing: 2px;
            margin-bottom: 0.25rem;
        }
        .css-output {
            background: #1e1e2f;
            color: #f1f1f1;
            padding: 1.2rem;
            border-radius: 16px;
            font-family: 'Fira Code', 'Courier New', monospace;
            font-size: 0.85rem;
            line-height: 1.6;
            white-space: pre-wrap;
            word-break: break-word;
            max-height: 280px;
            overflow-y: auto;
            border: 1px solid #334155;
        }
        .design-note {
            background-color: #f0f7fe;
            border-left: 4px solid var(--glass-primary);
            padding: 1rem 1.8rem;
            border-radius: 0 12px 12px 0;
            margin: 1.5rem 0;
        }
        @media (max-width: 768px) {
            .glass-preview-parent { padding: 2rem 1rem; }
            .glass-card-preview { max-width: 240px; }
        }
        .unit-note {
            font-size: 0.85rem;
            color: #5f6c80;
        }
        .copy-message {
            display: inline-block;
            background: #d1e7dd;
            color: #0f5132;
            padding: 0.25rem 1rem;
            border-radius: 30px;
            font-size: 0.85rem;
            margin-left: 0.5rem;
            opacity: 0;
            transition: opacity 0.2s;
        }
        .copy-message.show {
            opacity: 1;
        }
        .contrast-badge {
            background: #fff3cd;
            color: #856404;
            border-radius: 20px;
            padding: 0.3rem 1rem;
            font-size: 0.85rem;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        .contrast-badge.good {
            background: #d1e7dd;
            color: #0f5132;
        }
        .advanced-toggle {
            border: 1px dashed #adb5bd;
            color: #495057;
            background: #f8f9fa;
            padding: 0.3rem 1.5rem;
            font-size: 0.9rem;
            border-radius: 30px;
            transition: all 0.2s;
        }
        .advanced-toggle:hover {
            background: #e9ecef;
            border-color: #6c757d;
        }
        .advanced-toggle i {
            transition: transform 0.2s;
        }
        .advanced-toggle[aria-expanded="true"] i.fa-chevron-down {
            transform: rotate(180deg);
        }