        :root {
            --primary: #6e48aa;
            --secondary: #9d50bb;
            --accent: #4776e6;
            --text: #f8f9fa;
            --bg: rgba(255, 255, 255, 0.1);
            --glass: rgba(255, 255, 255, 0.1);
            --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            --border: 1px solid rgba(255, 255, 255, 0.1);
        }

        body {
            background: url('/assets/img/bg.png') no-repeat center center fixed;
            background-size: cover;
            color: var(--text);
            min-height: 100vh;
            text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
            margin: 0;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

        }

        .container {
            background: var(--bg);
            backdrop-filter: blur(16px);
            border-radius: 20px;
            padding: 30px;
            box-shadow: var(--shadow);
            border: var(--border);
            max-width: 800px;
            width: 90%;
            text-align: center;
            backdrop-filter: blur(10px);
        }

        .container h1 {
            margin: 0 0 10px;
            background: linear-gradient(to right, #e3a3fd, #739dfe);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 600;
        }

        .subtitle {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 25px;
            font-size: 1rem;
        }

        .control-panel {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            margin-bottom: 25px;
        }

        .btn {
            padding: 12px 24px;
            border-radius: 12px;
            border: none;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(5px);
            background: var(--glass);
            color: var(--text);
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 120px;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .btn-primary {
            background: linear-gradient(45deg, var(--primary), var(--secondary));
        }

        .btn-accent {
            background: linear-gradient(45deg, #4776e6, #4facfe);
        }

        .btn-danger {
            background: linear-gradient(45deg, #eb3678, #fb773c);
        }

        .btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .btn:hover::after {
            opacity: 1;
        }

        .file-upload {
            position: relative;
            display: inline-block;
        }

        .file-upload input {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }

        .settings {
            background: var(--glass);
            border-radius: 12px;
            padding: 15px;
            margin: 20px 0;
            display: flex;
            flex-direction: column;
            gap: 15px;
            align-items: center;
        }

        .setting-row {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            justify-content: center;
        }

        label {
            font-weight: 500;
            min-width: 100px;
            text-align: right;
        }

        input[type="number"] {
            background: rgba(0, 0, 0, 0.2);
            border: var(--border);
            border-radius: 8px;
            padding: 8px 12px;
            color: var(--text);
            width: 80px;
        }

        .drop-area {
            border: 2px dashed var(--glass);
            border-radius: 20px;
            padding: 40px;
            margin: 20px 0;
            transition: all 0.3s;
            cursor: pointer;
            width: calc(100% - 80px);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 200px;
        }

        .drop-area.active {
            border-color: var(--accent);
            background: rgba(71, 118, 230, 0.1);
        }

        .drop-area p {
            margin: 0;
            font-size: 1.1rem;
        }

        .drop-area .icon {
            font-size: 48px;
            margin-bottom: 15px;
            opacity: 0.7;
        }

        #display-img {
            max-width: 100%;
            max-height: 60vh;
            border-radius: 12px;
            box-shadow: var(--shadow);
            display: none;
            margin: 20px auto;
        }

        .footer {
            margin-top: 30px;
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.6);
        }

        .footer a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer a:hover {
            color: var(--text);
            text-decoration: underline;
        }

        @media (max-width: 600px) {
            .container {
                padding: 20px;
                width: 95%;
            }

            .control-panel {
                flex-direction: column;
                align-items: center;
            }

            .btn {
                width: 100%;
            }

            .setting-row {
                flex-direction: column;
                align-items: flex-start;
            }

            label {
                text-align: left;
            }
        }