        html, body {
            overflow-x: hidden;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            color: #e4e4e7;
            background: #09090b;
            min-height: 100vh;
            padding: 20px;
        }

        .grain {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
            opacity: 0.03;
            pointer-events: none;
            z-index: 1;
        }

        header {
            text-align: center;
            padding: 60px 20px 40px;
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
        }

        header h1 {
            font-size: 3.4em;
            font-weight: 900;
            font-family: 'Orbitron', sans-serif;
            background: linear-gradient(135deg, #fff 0%, #888 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
            letter-spacing: 2px;
        }

        header p {
            font-size: 1.1em;
            color: #71717a;
            font-weight: 300;
        }

        main {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        section {
            background: #18181b;
            border: 1px solid #27272a;
            padding: 40px;
            margin-bottom: 30px;
            transition: all 0.3s ease;
        }

        section:hover {
            border-color: #3f3f46;
        }

        section h2 {
            color: #fff;
            font-size: 2em;
            margin-bottom: 25px;
            font-weight: 600;
            font-family: 'Orbitron', sans-serif;
            padding-bottom: 15px;
            border-bottom: 2px solid #27272a;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            color: #e4e4e7;
            margin-bottom: 8px;
            font-size: 0.95em;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 12px 15px;
            background: #09090b;
            border: 1px solid #27272a;
            color: #e4e4e7;
            font-size: 1em;
            font-family: inherit;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: #fff;
            background: #0a0a0a;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        .form-group input[type="file"] {
            padding: 10px;
        }

        ::placeholder {
            color: #52525b;
        }

        .checkbox-group {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 10px;
        }

        .checkbox-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .checkbox-item input[type="checkbox"] {
            width: auto;
            cursor: pointer;
        }

        .checkbox-item label {
            margin: 0;
            cursor: pointer;
        }

        .form-actions {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            position: sticky;
            bottom: 20px;
            background: #09090b;
            padding: 20px;
            border: 1px solid #27272a;
            z-index: 10;
        }

        button {
            padding: 15px 15px;
            font-size: 1em;
            font-weight: 600;
            font-family: 'Orbitron', sans-serif;
            letter-spacing: 1px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        button[type="submit"] {
            background: #fff;
            color: #09090b;
            flex: 1;
        }

        button[type="submit"]:hover:not(:disabled) {
            background: #e4e4e7;
            transform: scale(1.02);
        }

        button[type="submit"]:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        button[type="button"] {
            background: #27272a;
            color: #e4e4e7;
            border: 1px solid #3f3f46;
        }

        button[type="button"]:hover {
            background: #3f3f46;
        }

        .form-message {
            margin-top: 20px;
            padding: 15px 20px;
            font-size: 0.95em;
            display: none;
        }

        .form-message.success {
            display: block;
            background: rgba(34, 197, 94, 0.1);
            border: 1px solid #22c55e;
            color: #22c55e;
        }

        .form-message.error {
            display: block;
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid #ef4444;
            color: #ef4444;
        }

        .download-backup-btn {
            display: inline-block;
            margin-top: 10px;
            padding: 10px 20px;
            background: #22c55e;
            color: #09090b;
            border: none;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .download-backup-btn:hover {
            background: #16a34a;
            transform: translateY(-2px);
        }

        .progress-bar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            width: 0%;
            height: 4px;
            background: linear-gradient(90deg, #fff, #888);
            transition: width 0.3s ease;
            z-index: 100;
        }

        footer {
            text-align: center;
            padding: 40px 20px;
            color: #71717a;
            font-size: 0.9em;
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
        }

        @media (max-width: 768px) {
            header h1 {
                font-size: 2.5em;
            }

            section {
                padding: 25px;
            }

            section h2 {
                font-size: 1.5em;
            }

            .form-actions {
                flex-direction: column;
            }
        }

        @media (max-width: 768px) {
            .form-actions {
                position: static;
                bottom: auto;
                padding: 20px 0;
                border: none;
                background: transparent;
                width: 100%;
                box-sizing: border-box;
                overflow-x: hidden;
            }
        }
        
        #formContainer {
            max-width: 100%;
            overflow-x: hidden;
        }

        @media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header h1 {
        font-size: 2em;
        letter-spacing: 0.5px;
    }

    header {
        padding: 40px 10px 30px;
    }

    section {
        padding: 20px 15px;
    }

    section h2 {
        font-size: 1.5em;
    }

    .form-actions {
        position: static;
        bottom: auto;
        padding: 15px 0;
        border: none;
        background: transparent;
        width: 100%;
        gap: 10px;
    }

    button {
        padding: 12px 15px;
        font-size: 0.85em;
        letter-spacing: 0;
        white-space: normal;
        word-break: break-word;
    }

    .checkbox-group {
        gap: 10px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
        font-size: 0.95em;
    }
}
        @media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header h1 {
        font-size: 2em;
        letter-spacing: 0.5px;
    }

    header {
        padding: 40px 10px 30px;
    }

    section {
        padding: 20px 15px;
    }

    section h2 {
        font-size: 1.5em;
    }

    .form-actions {
        position: static;
        bottom: auto;
        padding: 15px 0;
        border: none;
        background: transparent;
        width: 100%;
        gap: 10px;
    }

    button {
        padding: 12px 15px;
        font-size: 0.85em;
        letter-spacing: 0;
        white-space: normal;
        word-break: break-word;
    }

    .checkbox-group {
        gap: 10px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
        font-size: 0.95em;
    }
}
        