 /* Reset Global */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', system-ui, sans-serif;
        }

        :root {
            --black-1: #0a0a0a;
            --black-2: #151515;
            --black-3: #202020;
            --white-1: #ffffff;
            --white-2: #e0e0e0;
            --radius-xl: 24px;
            --radius-lg: 16px;
            --radius-md: 12px;
            --radius-sm: 8px;
            --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }

        body {
            background: var(--black-1);
            color: var(--white-2);
            min-height: 100vh;
            display: grid;
            place-items: center;
            overflow-x: hidden;
        }

        /* Container Principal */
        .main-container {
            background: var(--black-2);
            width: 90%;
            max-width: 800px;
            border-radius: var(--radius-xl);
            padding: 2.5rem;
            margin: 2rem;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0;
            animation: slideUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
            animation-delay: 0.3s;
        }

        /* Animações */
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px); }
        }

        @keyframes ripple {
            from {
                width: 0;
                height: 0;
                opacity: 0.4;
            }
            to {
                width: 500px;
                height: 500px;
                opacity: 0;
            }
        }

        /* Cabeçalho */
        .main-title {
            font-size: 2.8rem;
            background: linear-gradient(45deg, var(--white-1), var(--white-2));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-align: center;
            margin-bottom: 2rem;
            opacity: 0;
            animation: slideUp 0.8s ease-out forwards;
            animation-delay: 0.5s;
        }

        /* Seletor de Idioma */
        .language-select {
            width: 100%;
            padding: 1.2rem;
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-md);
            background: var(--black-3);
            color: var(--white-1);
            font-size: 1rem;
            transition: var(--transition);
            cursor: pointer;
            opacity: 0;
            animation: slideUp 0.6s ease-out forwards;
            animation-delay: 0.7s;
        }

        .language-select:hover {
            border-color: rgba(255, 255, 255, 0.3);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        /* Área de Upload */
        .upload-container {
            position: relative;
            margin: 2rem 0;
            border: 2px dashed rgba(255, 255, 255, 0.15);
            border-radius: var(--radius-lg);
            transition: var(--transition);
            cursor: pointer;
            min-height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--black-3);
            overflow: hidden;
            opacity: 0;
            animation: slideUp 0.6s ease-out forwards;
            animation-delay: 0.9s;
        }

        .upload-container:hover {
            border-color: rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.02);
        }

        .upload-container.dragover {
            border-color: var(--white-1);
            background: rgba(255, 255, 255, 0.05);
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
        }

        .upload-content {
            text-align: center;
            padding: 2rem;
            position: relative;
            z-index: 2;
        }

        .upload-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            opacity: 0.8;
            animation: float 3s ease-in-out infinite;
        }

        .upload-text {
            color: var(--white-2);
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

        .upload-instruction {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
        }

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

        .selected-file {
            background: rgba(255, 255, 255, 0.05);
            padding: 0.8rem 1.2rem;
            border-radius: var(--radius-md);
            margin-top: 1rem;
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            animation: slideUp 0.4s ease-out;
        }

        .file-name {
            color: var(--white-1);
            max-width: 300px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .clear-file {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .clear-file:hover {
            color: var(--white-1);
        }

        /* Área de Entrada/Saída */
        .code-input {
            width: 100%;
            min-height: 200px;
            padding: 1.5rem;
            background: var(--black-3);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-lg);
            color: var(--white-1);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.9rem;
            resize: vertical;
            transition: var(--transition);
            opacity: 0;
            animation: slideUp 0.6s ease-out forwards;
            animation-delay: 1.1s;
        }

        .code-input:focus {
            outline: none;
            border-color: var(--white-1);
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
        }

        /* Botões */
        .action-buttons {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin: 2rem 0;
            opacity: 0;
            animation: slideUp 0.6s ease-out forwards;
            animation-delay: 1.3s;
        }

        .primary-btn {
            padding: 1.2rem 2rem;
            border: none;
            border-radius: var(--radius-md);
            background: var(--black-3);
            color: var(--white-1);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            border: 2px solid rgba(255, 255, 255, 0.1);
        }

        .primary-btn:hover {
            transform: translateY(-3px);
            background: var(--black-2);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        .primary-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                120deg,
                transparent,
                rgba(255, 255, 255, 0.05),
                transparent
            );
            transition: left 0.6s ease;
        }

        .primary-btn:hover::before {
            left: 100%;
        }

        /* Área de Saída */
        .output-panel {
            background: var(--black-3);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            min-height: 250px;
            max-height: 400px;
            overflow-y: auto;
            border: 2px solid rgba(255, 255, 255, 0.05);
            opacity: 0;
            animation: slideUp 0.6s ease-out forwards;
            animation-delay: 1.5s;
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.02);
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-md);
        }

        /* Responsivo */
        @media (max-width: 768px) {
            .main-container {
                padding: 1.5rem;
                margin: 1rem;
                border-radius: var(--radius-lg);
            }

            .main-title {
                font-size: 2rem;
            }

            .action-buttons {
                grid-template-columns: 1fr;
            }

            .upload-text {
                font-size: 1rem;
            }
        }

        /* Efeitos Especiais */
        .ripple-effect {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            transform: translate(-50%, -50%);
            pointer-events: none;
            border-radius: 50%;
            animation: ripple 0.6s linear;
        }
        /* ... (mantenha o CSS original igual) ... */

/* Novas melhorias */
#progressBarContainer {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    height: 10px;
    margin: 1.5rem 0;
    display: none;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#progressBar {
    background: linear-gradient(90deg, #c6c8c7 0%, #0b0b0b 100%);
    height: 100%;
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-md);
    position: relative;
}

#progressBar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.4) 100%);
    background-size: 200% 100%;
    animation: progressShine 2s infinite linear;
    border-radius: inherit;
}

@keyframes progressShine {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

#loading {
    color: #ffffff;
    text-align: center;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 0 12px rgba(218, 219, 219, 0.4);
    letter-spacing: 0.5px;
    min-height: 20px;
}

.output-panel {
    white-space: pre-wrap;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

/* Efeito de brilho dinâmico no container */
#progressBarContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: containerShine 3s infinite;
}

@keyframes containerShine {
    100% {
        left: 200%;
    }
}