       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
        }

        body {
            background: linear-gradient(135deg, #0a0c10 0%, #12161f 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .container {
            width: 100%;
            max-width: 1300px;
        }

        .card {
            background: rgba(20, 24, 32, 0.96);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(100, 80, 255, 0.3);
            border-radius: 28px;
            padding: 32px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }

        .drop-zone {
            border: 2px dashed rgba(100, 80, 255, 0.5);
            padding: 55px 40px;
            text-align: center;
            border-radius: 24px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: rgba(10, 12, 16, 0.6);
        }

        .drop-zone:hover {
            border-color: #7c5eff;
            background: rgba(124, 94, 255, 0.08);
            transform: scale(1.01);
        }

        .drop-zone.drag-over {
            border-color: #7c5eff;
            background: rgba(124, 94, 255, 0.12);
        }

        .drop-zone p {
            font-size: 18px;
            color: #ccc;
        }

        .drop-zone small {
            color: #666;
            font-size: 13px;
        }

        .preview-area {
            display: flex;
            gap: 24px;
            margin-top: 28px;
            flex-wrap: wrap;
        }

        .box {
            flex: 1;
            min-width: 280px;
            background: #0c0f14;
            border: 1px solid #22262f;
            border-radius: 20px;
            padding: 20px;
            text-align: center;
        }

        .box h3 {
            margin-bottom: 15px;
            font-size: 18px;
            font-weight: 600;
            color: #a08eff;
        }

        .box img {
            width: 100%;
            max-height: 400px;
            object-fit: contain;
            border-radius: 12px;
            background: repeating-conic-gradient(#1a1e28 0% 25%, #0c0f14 0% 50%);
            background-size: 24px 24px;
        }

        button {
            width: 100%;
            margin-top: 24px;
            padding: 15px;
            background: linear-gradient(135deg, #7c5eff, #a855f7);
            border: none;
            color: white;
            border-radius: 14px;
            cursor: pointer;
            font-weight: 700;
            font-size: 18px;
            transition: all 0.3s;
        }

        button:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(124, 94, 255, 0.4);
        }

        button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .download-btn {
            display: none;
            margin-top: 20px;
            text-align: center;
            padding: 14px;
            background: linear-gradient(135deg, #22c55e, #16a34a);
            border-radius: 14px;
            text-decoration: none;
            color: white;
            font-weight: 700;
            transition: all 0.3s;
        }

        .download-btn.show {
            display: block;
        }

        .download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
        }

        .loading {
            display: none;
            text-align: center;
            margin-top: 20px;
        }

        .loading.active {
            display: block;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid #2d3345;
            border-top-color: #7c5eff;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 0 auto;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .tips-section {
            margin-top: 24px;
            padding: 20px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 16px;
            border-left: 3px solid #7c5eff;
        }

        .tips-section h4 {
            color: #a08eff;
            margin-bottom: 12px;
            font-size: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .tips-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 12px;
            margin-top: 10px;
        }

        .tip-card {
            background: rgba(124, 94, 255, 0.1);
            padding: 12px;
            border-radius: 12px;
            font-size: 13px;
            color: #bbb;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .tip-card span {
            font-size: 20px;
        }

        .status {
            margin-top: 16px;
            padding: 10px;
            border-radius: 12px;
            font-size: 13px;
            text-align: center;
            background: rgba(0, 0, 0, 0.3);
            color: #888;
        }

        @media (max-width: 768px) {
            .card { padding: 20px; }
            .preview-area { flex-direction: column; }
            .drop-zone { padding: 40px 20px; }
            .tips-grid { grid-template-columns: 1fr; }
        }