        body {
            font-family: 'Segoe UI', sans-serif;
            margin: 0;
            padding: 0;
            background: #1a1a2e;
            color: #333;
            display: flex;
            flex-direction: column;
            align-items: center;
            overflow-x: hidden;
        }

        h1 {
            margin-top: .5rem;
            font-size: 2rem;
        }

        .home {
            font-size: 22px;
            margin: 10px 0 -10px;
            padding: 0 0 15px 20px;
        }

        a {
            color: #0dcaf0;
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }

        .logo-container {
            width: 100%;
            max-width: 1200px;
            text-align: center;
            padding: 30px 0 10px;
        }

        .logo-container img {
            width: 250px;
        }

        .main-container {
            background: #f7f9fc;
            padding: 2rem 1rem;
            max-width: 1200px;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,.05);
        }

        .footer-links {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 1200px;
            padding: 1rem;
            font-size: .95rem;
        }

        .footer-links a {
            color: #0dcaf0;
            text-decoration: none;
            margin: 0 .5rem;
        }

        .footer-links a:hover {
            text-decoration: underline;
        }

        h2 {
            color: #1e88e5;
            margin-bottom: 1rem;
        }

        .disclaimer {
            display: flex;
            align-items: center;
            gap: .5rem;
            color: #c62828;
            font-size: .95rem;
            margin-top: -.5rem;
            margin-bottom: 1rem;
        }

        .warning-icon {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }

            50% {
                transform: scale(1.3);
                opacity: .6;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        #mobileToggle {
            display: none;
            margin-bottom: .75rem;
            padding: .4rem .75rem;
            font-size: 1rem;
            border: none;
            border-radius: 6px;
            background: #444;
            color: white;
        }

        #controls {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            background: #fff;
            padding: 1rem;
            border: 1px solid #d0d7de;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, .05);
            margin-bottom: 1.5rem;
        }

        .control-group {
            display: flex;
            flex-direction: column;
            flex: 1 1 150px;
            gap: .25rem;
        }

        label {
            font-weight: 600;
            font-size: .9rem;
            color: #444;
        }

        button, select, input[type='range'], input[type='text'] {
            padding: .5rem;
            font-size: 1rem;
            border-radius: 6px;
            border: 1px solid #d0d7de;
            font-family: inherit;
            background: #fff;
            color: #333;
        }

        button {
            background: #1e88e5;
            color: white;
            border: none;
            transition: background .2s ease;
            margin-top: -20px;
            min-width: 100%;
        }

        button:hover {
            background: #1565c0;
        }

        #dropZone {
            border: 2px dashed #1e88e5;
            padding: 1.5rem;
            text-align: center;
            background: #fff;
            border-radius: 10px;
            width: 100%;
            max-width: 600px;
            transition: background .3s;
        }

        #dropZone:hover {
            background: #eef5ff;
        }

        canvas {
            margin-top: 1.5rem;
            border: 2px solid #d0d7de;
            border-radius: 8px;
            background: #fff;
            max-width: 100%;
            box-shadow: 0 4px 8px rgba(0, 0, 0, .05);
        }

        @media (max-width: 768px) {
            #mobileToggle {
                display: block;
            }
                   #dropZone {
            border: 2px dashed #1e88e5;
            padding: 1.5rem;
            text-align: center;
            background: #fff;
            border-radius: 10px;
            width: 100%;
            max-width: 290px;
            transition: background .3s;
        }
            button {
                background: #1e88e5;
                color: white;
                border: none;
                transition: background .2s ease;
                width: 320px;
            }

            #controls {
                flex-direction: column;
                gap: .5rem;
                padding: .75rem;
                margin: 0 auto 30px;
                display: none;
            }

            #controls.show {
                display: flex;
            }

            .control-group {
                gap: .15rem;
                flex: 1 1 auto;
            }

            button, select, input[type='range'], input[type='text'] {
                padding: .4rem;
                font-size: .95rem;
            }

            button {
                display: block;
                max-width: 400px;
                margin: 0 auto;
                text-align: center;
            }

            .footer-links {
                flex-direction: column;
                align-items: flex-start;
                gap: .5rem;
            }
        }