.palette-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .palette-swatch {
            flex: 1;
            min-width: 110px;
            border-radius: 20px;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
            transition: transform 0.2s ease;
            cursor: pointer;
            border: 1px solid rgba(0,0,0,0.05);
        }
        .palette-swatch:hover {
            transform: translateY(-5px);
        }
        .swatch-color {
            height: 140px;
            width: 100%;
            transition: filter 0.1s;
        }
        .swatch-info {
            padding: 0.8rem 0.5rem;
            text-align: center;
            background: white;
        }
        .swatch-hex {
            font-family: 'Courier New', monospace;
            font-weight: 600;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
            color: #1e2a3a;
        }
        .copy-badge {
            font-size: 0.7rem;
            background: #f0f2f5;
            display: inline-block;
            padding: 0.2rem 0.6rem;
            border-radius: 40px;
            margin-top: 0.3rem;
            color: #2c3e66;
            transition: 0.1s;
        }
        .contrast-row {
            font-size: 0.7rem;
            margin-top: 6px;
            display: flex;
            justify-content: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        .contrast-badge {
            background: #f8f9fa;
            padding: 2px 6px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        .harmony-badge {
            background: #f8f9fc;
            border-radius: 30px;
            padding: 0.25rem 1rem;
            font-size: 0.85rem;
            font-weight: 500;
            display: inline-block;
        }
        .preset-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin: 1rem 0;
        }
        .preset-btn {
            background: #f1f3f7;
            border: none;
            padding: 0.4rem 1.1rem;
            border-radius: 40px;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.2s;
        }
        .preset-btn:hover {
            background: #e2e6ef;
            transform: translateY(-1px);
        }
        .copy-feedback {
            position: fixed;
            bottom: 25px;
            left: 50%;
            transform: translateX(-50%);
            background: #1e2a3e;
            color: white;
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.9rem;
            z-index: 2000;
            opacity: 0;
            transition: opacity 0.2s;
            pointer-events: none;
            font-weight: 500;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
        .color-theory-icon {
            font-size: 2rem;
            margin-right: 1rem;
            color: var(--primary-color);
        }
        .contrast-note {
            background: #fef9e6;
            border-left: 4px solid #f4b942;
            padding: 0.8rem 1.2rem;
            border-radius: 12px;
            margin: 1rem 0;
        }
        @media (max-width: 768px) {
            .palette-container {
                flex-direction: column;
            }
            .palette-swatch {
                width: 100%;
            }
            .swatch-color {
                height: 100px;
            }
        }