
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 50%, #fecaca 100%);
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }

        .blob {
            position: fixed;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.25;
            z-index: 0;
            animation: blob 8s infinite;
        }

        .blob1 {
            width: 350px;
            height: 350px;
            background: #f97316;
            top: 80px;
            left: 30px;
        }

        .blob2 {
            width: 350px;
            height: 350px;
            background: #ec4899;
            top: 120px;
            right: 30px;
            animation-delay: 2s;
        }

        .blob3 {
            width: 350px;
            height: 350px;
            background: #fbbf24;
            bottom: -80px;
            left: 45%;
            animation-delay: 4s;
        }

        @keyframes blob {
            0%, 100% { transform: translate(0, 0) scale(1); }
            25% { transform: translate(30px, -30px) scale(1.15); }
            50% { transform: translate(-30px, 30px) scale(0.85); }
            75% { transform: translate(-15px, -15px) scale(1.05); }
        }

        .container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 25px;
            position: relative;
            z-index: 1;
        }

        header {
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(12px);
            border-bottom: 2px solid #fed7aa;
            padding: 22px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-icon {
            background: linear-gradient(135deg, #f97316 0%, #121212 100%);
            padding: 14px;
            border-radius: 18px;
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
            font-size: 26px;
        }
        

        .logo-text h1 {
            font-size: 32px;
            font-weight: 900;
            background: linear-gradient(135deg, #ea580c 0%, #ec4899 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.5px;
        }

        .logo-text p {
            font-size: 13px;
            color: #ea580c;
            font-weight: 700;
        }

        .badge {
            background: linear-gradient(135deg, #222322 0%, #ec4899 100%);
            color: white;
            padding: 12px 24px;
            border-radius: 30px;
            font-weight: 800;
            font-size: 15px;
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .hero {
            text-align: center;
            padding: 70px 0 50px;
        }

        .hero h2 {
            font-size: 52px;
            font-weight: 900;
            color: #1f2937;
            margin-bottom: 15px;
            letter-spacing: -1px;
        }

        .hero .gradient-text {
            background: linear-gradient(135deg, #ea580c 0%, #ec4899 50%, #f43f5e 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: block;
            font-size: 60px;
        }

        .hero p {
            font-size: 20px;
            color: #6b7280;
            max-width: 700px;
            margin: 0 auto 45px;
            font-weight: 600;
            line-height: 1.6;
        }

        .search-bar {
            max-width: 650px;
            margin: 0 auto 45px;
            position: relative;
        }

        .search-bar input {
            width: 100%;
            padding: 20px 22px 20px 55px;
            border: 2px solid #fed7aa;
            border-radius: 18px;
            font-size: 17px;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(10px);
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
        }

        .search-bar input:focus {
            outline: none;
            border-color: #fb923c;
            box-shadow: 0 8px 30px rgba(251, 146, 60, 0.25);
        }

        .search-icon {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 22px;
        }

        .categories {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 14px;
            margin-bottom: 55px;
        }

        .category-btn {
            padding: 14px 28px;
            border: 2px solid #fed7aa;
            background: rgba(255, 255, 255, 0.85);
            border-radius: 30px;
            font-weight: 800;
            font-size: 15px;
            color: #374151;
            cursor: pointer;
            transition: all 0.3s;
        }

        .category-btn:hover,
        .category-btn.active {
            background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
            color: white;
            border-color: transparent;
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
            transform: scale(1.05);
        }

        .tools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 28px;
            margin-bottom: 90px;
        }

        .tool-card {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(10px);
            border: 2px solid #fed7aa;
            border-radius: 28px;
            padding: 35px;
            position: relative;
            overflow: hidden;
            transition: all 0.3s;
            cursor: pointer;
        }

        .tool-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
            border-color: #fb923c;
        }

        .tool-icon {
            width: 70px;
            height: 70px;
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 22px;
            font-size: 35px;
            color: white;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        }

        .tool-card h3 {
            font-size: 22px;
            font-weight: 800;
            color: #1f2937;
            margin-bottom: 12px;
        }

        .tool-card p {
            color: #6b7280;
            font-weight: 600;
            margin-bottom: 22px;
            line-height: 1.5;
        }

        .tool-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
            color: white;
            border: none;
            border-radius: 14px;
            font-weight: 800;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .tool-btn:hover {
            box-shadow: 0 8px 25px rgba(249, 115, 22, 0.45);
            transform: scale(1.03);
        }

        .popular-badge {
            position: absolute;
            top: 22px;
            right: 22px;
            background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
            color: white;
            padding: 7px 14px;
            border-radius: 22px;
            font-size: 12px;
            font-weight: 900;
            box-shadow: 0 3px 12px rgba(251, 191, 36, 0.45);
        }

        .new-badge {
            position: absolute;
            top: 22px;
            right: 22px;
            background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
            color: white;
            padding: 7px 14px;
            border-radius: 22px;
            font-size: 12px;
            font-weight: 900;
            box-shadow: 0 3px 12px rgba(16, 185, 129, 0.45);
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.75);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            padding: 25px;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 28px;
            padding: 45px;
            max-width: 700px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
        }

        .close-modal {
            position: absolute;
            top: 22px;
            right: 22px;
            font-size: 32px;
            font-weight: bold;
            cursor: pointer;
            color: #9ca3af;
            transition: color 0.3s;
            line-height: 1;
        }

        .close-modal:hover {
            color: #ef4444;
        }

        .modal-content h2 {
            font-size: 32px;
            font-weight: 900;
            margin-bottom: 25px;
            background: linear-gradient(135deg, #ea580c 0%, #ec4899 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .tool-interface {
            margin-top: 35px;
        }

        .input-group {
            margin-bottom: 22px;
        }

        .input-group label {
            display: block;
            font-weight: 700;
            color: #374151;
            margin-bottom: 10px;
            font-size: 15px;
        }

        .input-group input[type="text"],
        .input-group input[type="number"],
        .input-group textarea,
        .input-group select {
            width: 100%;
            padding: 14px;
            border: 2px solid #fed7aa;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            transition: border-color 0.3s;
        }

        .input-group input[type="file"] {
            width: 100%;
            padding: 12px;
            border: 2px dashed #fed7aa;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: border-color 0.3s;
        }

        .input-group input:focus,
        .input-group textarea:focus,
        .input-group select:focus {
            outline: none;
            border-color: #fb923c;
        }

        .result-box {
            background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
            border: 2px solid #fb923c;
            border-radius: 18px;
            padding: 22px;
            margin-top: 22px;
            font-weight: 600;
            color: #1f2937;
        }

        .btn-primary {
            background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
            color: white;
            padding: 16px 32px;
            border: none;
            border-radius: 14px;
            font-weight: 800;
            font-size: 17px;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 18px;
            margin-right: 10px;
        }

        .btn-primary:hover {
            box-shadow: 0 8px 25px rgba(249, 115, 22, 0.45);
            transform: translateY(-2px);
        }

        .btn-secondary {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            color: white;
            padding: 16px 32px;
            border: none;
            border-radius: 14px;
            font-weight: 800;
            font-size: 17px;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 18px;
            margin-right: 10px;
        }

        .btn-secondary:hover {
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
            transform: translateY(-2px);
        }

        footer {
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(12px);
            border-top: 2px solid #fed7aa;
            padding: 45px 0;
            text-align: center;
            margin-top: 70px;
        }

        footer p {
            color: #6b7280;
            font-weight: 700;
            margin-bottom: 8px;
            font-size: 16px;
        }

        .color-palette {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 12px;
            margin-top: 22px;
        }

        .color-box {
            height: 90px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 800;
            font-size: 13px;
            cursor: pointer;
            transition: transform 0.3s;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .color-box:hover {
            transform: scale(1.15);
        }

        .preview-image {
            max-width: 100%;
            border-radius: 15px;
            margin-top: 20px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .gradient-preview {
            width: 100%;
            height: 200px;
            border-radius: 15px;
            margin-top: 20px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        canvas {
            max-width: 100%;
            border-radius: 12px;
            margin-top: 20px;
        }

        @media (max-width: 768px) {
            .hero h2 { font-size: 36px; }
            .hero .gradient-text { font-size: 42px; }
            .header-content { flex-direction: column; gap: 18px; }
            .tools-grid { grid-template-columns: 1fr; }
            .color-palette { grid-template-columns: repeat(3, 1fr); }
            .badge { font-size: 13px; padding: 10px 20px; }
        }
    