* {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            color: #333;
            line-height: 1.6;
            min-height: 100vh;
            padding: 20px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        header {
            text-align: center;
            padding: 40px 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 20px 20px 0 0;
            color: white;
            margin-bottom: 30px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        
        header h1 {
            font-size: 2.8rem;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }
        
        .cat-emoji {
            font-size: 3rem;
            animation: float 3s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        header p {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .main-content {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .controls-panel {
            flex: 1;
            min-width: 320px;
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
        
        .preview-panel {
            flex: 2;
            min-width: 320px;
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .section-title {
            font-size: 1.5rem;
            color: #2d3436;
            margin-bottom: 25px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f1f2f6;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .section-title i {
            font-size: 1.3rem;
        }
        
        .control-group {
            margin-bottom: 30px;
        }
        
        .control-label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: #2d3436;
            font-size: 1.1rem;
        }
        
        .control-description {
            display: block;
            margin-bottom: 15px;
            color: #636e72;
            font-size: 0.95rem;
        }
        
        .text-options {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .text-option {
            padding: 12px 15px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }
        
        .text-option:hover {
            background: #e9ecef;
            transform: translateY(-2px);
        }
        
        .text-option.selected {
            background: #667eea;
            color: white;
            border-color: #667eea;
            box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
        }
        
        .icon-options {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
            gap: 15px;
        }
        
        .icon-option {
            padding: 15px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 2rem;
        }
        
        .icon-option:hover {
            background: #e9ecef;
            transform: scale(1.1);
        }
        
        .icon-option.selected {
            background: white;
            border-color: #667eea;
            box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
            transform: scale(1.1);
        }
        
        .color-options {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 10px;
        }
        
        .color-option {
            width: 45px;
            height: 45px;
            border-radius: 12px;
            cursor: pointer;
            border: 3px solid transparent;
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .color-option:hover {
            transform: scale(1.1);
        }
        
        .color-option.selected {
            border-color: #2d3436;
            transform: scale(1.1);
            box-shadow: 0 6px 12px rgba(0,0,0,0.2);
        }
        
        .color-name {
            text-align: center;
            margin-top: 5px;
            font-size: 0.85rem;
            color: #636e72;
        }
        
        .badge-preview {
            width: 100%;
            padding: 40px;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
        }
        
        #badge {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            display: inline-flex;
            align-items: center;
            border-radius: 12px;
            overflow: hidden;
            font-size: 0;
            line-height: 1;
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
            transition: transform 0.3s ease;
        }
        
        #badge:hover {
            transform: translateY(-5px);
        }
        
        .badge-content {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            font-weight: 600;
            font-size: 16px;
            color: white;
            gap: 15px;
        }
        
        .badge-text {
            font-size: 16px;
        }
        
        .badge-icon {
            font-size: 24px;
        }
        
        .code-section {
            width: 100%;
            margin-top: 30px;
        }
        
        .code-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .code-container {
            background: #2d3436;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }
        
        .code-tabs {
            display: flex;
            background: #1a1e1f;
            padding: 10px 15px;
            gap: 10px;
        }
        
        .code-tab {
            padding: 8px 16px;
            background: transparent;
            color: #b2bec3;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .code-tab.active {
            background: #667eea;
            color: white;
        }
        
        #code {
            padding: 25px;
            font-family: 'Fira Code', 'Courier New', monospace;
            font-size: 15px;
            line-height: 1.6;
            color: #dfe6e9;
            white-space: pre-wrap;
            word-break: break-all;
            min-height: 150px;
            max-height: 300px;
            overflow-y: auto;
        }
        
        .copy-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .copy-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
        }
        
        .copy-btn:active {
            transform: translateY(0);
        }
        
        .examples {
            background: white;
            padding: 40px;
            border-radius: 15px;
            margin-top: 30px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
        
        .examples-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .example-card {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 12px;
            transition: transform 0.3s;
        }
        
        .example-card:hover {
            transform: translateY(-5px);
        }
        
        .example-title {
            font-weight: 600;
            margin-bottom: 10px;
            color: #2d3436;
        }
        
        .example-code {
            background: #2d3436;
            color: white;
            padding: 12px;
            border-radius: 8px;
            font-family: 'Courier New', monospace;
            font-size: 13px;
            margin: 10px 0;
            overflow-x: auto;
            white-space: pre-wrap;
            word-break: break-all;
        }
        
        .example-badge {
            text-align: center;
            margin-top: 15px;
        }
        
        footer {
            text-align: center;
            padding: 30px 20px;
            color: #636e72;
            margin-top: 40px;
            font-size: 0.95rem;
        }
        
        .badge-link {
            display: inline-block;
            margin-top: 10px;
            color: #667eea;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .badge-link:hover {
            color: #764ba2;
            text-decoration: underline;
        }
        
        @media (max-width: 768px) {
            header h1 {
                font-size: 2rem;
                flex-direction: column;
            }
            
            .main-content {
                flex-direction: column;
            }
            
            .text-options {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .icon-options {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        .example-badge img {
            max-width: 100%;
            height: auto;
        }
        
        .url-param {
            color: #82AAFF;
        }
        
        .url-value {
            color: #C3E88D;
        }
        
        .url-base {
            color: #89DDFF;
        }