/* Tela de Login Profissional e Chamativa - Versão 3.0 com Bandeiras Premium */
:root {
    --primary-color: rgb(118, 22, 212);
    --primary-glow: rgb(118, 22, 212, 0.5);
    --primary-light: rgb(145, 55, 236);
    --primary-dark: rgb(93, 17, 168);
    --accent-color: #FF6B00;
    --accent-glow: rgba(255, 107, 0, 0.5);
    --bg-color: #121212;
    --card-bg: rgba(30, 30, 30, 0.9);
    --card-border: rgba(255, 255, 255, 0.05);
    --text-color: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --input-bg: rgba(44, 44, 44, 0.8);
    --input-border: rgba(255, 255, 255, 0.1);
    --error-color: #FF4545;
    --success-color: #00FF3C;
    --neon-blue: #00D4FF;
    --neon-purple: #B829FF;
    --cyber-grid: rgba(0, 255, 60, 0.1);
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Login Wrapper - Tela completa com fundo */
.login-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
}

/* Background animado */
.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #121212, #1d1d1d, #0a0a0a, #212121);
    background-size: 400% 400%;
    opacity: 0.8;
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-glow);
    top: -200px;
    right: -100px;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-glow);
    bottom: -150px;
    left: -100px;
    animation: float2 25s ease-in-out infinite alternate;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(0, 150, 250, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float3 22s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, 50px) rotate(5deg); }
    50% { transform: translate(0, 100px) rotate(0deg); }
    75% { transform: translate(-50px, 50px) rotate(-5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-30px, -40px) rotate(-5deg); }
    50% { transform: translate(0, -80px) rotate(0deg); }
    75% { transform: translate(30px, -40px) rotate(5deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.2; }
}

/* Container do card de login */
.login-container {
    width: 100%;
    max-width: 400px;
    z-index: 10;
}

/* Card de login compacto */
.login-card {
    background-color: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    padding: 25px 20px;
    width: 100%;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    animation: cardAppear 0.7s ease-out;
    position: relative;
    overflow: hidden;
}

/* Linha de brilho no topo do card */
.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo com efeito circular */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}

.logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Círculo animado ao redor da logo */
.logo-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(118, 22, 212, 0.1) 0%, transparent 70%);
    animation: pulseCircle 3s ease-in-out infinite;
}

.logo-circle::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(118, 22, 212, 0.2);
    animation: rotateCircle 8s linear infinite;
}

@keyframes pulseCircle {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.logo {
    height: 85px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(118, 22, 212, 0.4));
    transition: all 0.3s ease;
    animation: logoGlow 3s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 15px rgba(118, 22, 212, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 25px rgba(118, 22, 212, 0.6));
    }
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(118, 22, 212, 0.8));
}

/* Títulos mais compactos */
.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.login-subtitle {
    font-size: 0.85rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Formulário mais compacto */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    position: relative;
}

/* Seletor de idioma PREMIUM */
.language-selector {
    margin-bottom: 5px;
}

.language-selector .selector-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-align: center;
}

.language-options {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding-top: 10px;
}

.language-option {
    flex: 1;
    max-width: 100px;
    position: relative;
}

.language-option input[type="radio"] {
    display: none;
}

.language-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 6px 8px 6px;
    border-radius: 12px;
    border: 1px solid var(--input-border);
    background-color: var(--input-bg);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 75px;
    justify-content: center;
    position: relative;
    transform-origin: center;
    will-change: transform;
}

.language-option label:hover {
    border-color: rgba(118, 22, 212, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.language-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(118, 22, 212, 0.3);
    background: linear-gradient(135deg, rgba(118, 22, 212, 0.1), rgba(118, 22, 212, 0.05));
}

/* BANDEIRAS PREMIUM - CORRIGIDAS */
.flag-container {
    position: relative;
    width: 35px;
    height: 35px;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid transparent;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 3px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.language-option input[type="radio"]:checked + label .flag-container {
    border-color: var(--primary-color);
    box-shadow: 
        0 8px 24px rgba(118, 22, 212, 0.13),
        0 0 25px rgba(118, 22, 212, 0.2),
        inset 0 1px 3px rgba(255, 255, 255, 0.1);
    /* Reduzido para manter dentro do card */
    transform: scale(1.08);
    animation: pulseFlag 2s infinite;
}

@keyframes pulseFlag {
    0%, 100% { 
        box-shadow: 0 8px 24px rgba(118, 22, 212, 0.2), 0 0 25px rgba(118, 22, 212, 0.15);
        transform: scale(1.08);
    }
    50% { 
        box-shadow: 0 8px 24px rgba(118, 22, 212, 0.4), 0 0 35px rgba(118, 22, 212, 0.25);
        transform: scale(1.1);
    }
}

/* Flag content - usando CSS para criar as bandeiras */
.flag-content {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 7px;
    overflow: hidden;
}

/* Brasil - Modernizado */
.flag-br .flag-content {
    background: linear-gradient(to bottom, #009b3a 0%, #009b3a 35%, #ffc107 35%, #ffc107 65%, #009b3a 65%);
    position: relative;
}

.flag-br .flag-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: #002776;
    border-radius: 50%;
    border: 3px solid #ffc107;
}

.flag-br .flag-content::after {
    content: '★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 8px;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Espanha - Modernizada */
.flag-es .flag-content {
    background: linear-gradient(to bottom, #c60b1e 0%, #c60b1e 30%, #ffc400 30%, #ffc400 70%, #c60b1e 70%);
    position: relative;
}

.flag-es .flag-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translateY(-50%);
    width: 8px;
    height: 12px;
    background: linear-gradient(to bottom, #ffdf00 0%, #ff8c00 100%);
    border-radius: 1px;
}

.flag-es .flag-content::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translateY(-50%);
    width: 3px;
    height: 8px;
    background: #8B0000;
    border-radius: 0.5px;
}

/* EUA - Modernizada */
.flag-us .flag-content {
    background: repeating-linear-gradient(
        to bottom,
        #b22234 0px,
        #b22234 2.5px,
        #ffffff 2.5px,
        #ffffff 5px
    );
    position: relative;
}

.flag-us .flag-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 55%;
    background: #3c3b6e;
    border-radius: 0 0 2px 0;
}

.flag-us .flag-content::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 40%;
    height: 45%;
    background-image: radial-gradient(circle at 50% 50%, #ffffff 0.5px, transparent 0.5px);
    background-size: 4px 3px;
    background-repeat: repeat;
}

/* Efeito holográfico nas bandeiras */
.flag-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: skewX(-20deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.language-option:hover .flag-container::before {
    left: 50%;
    opacity: 1;
    animation: holographicSweep 1.2s ease-out;
}

@keyframes holographicSweep {
    0% { left: -50%; opacity: 0; }
    50% { left: 0%; opacity: 1; }
    100% { left: 50%; opacity: 0; }
}

/* Efeito de texto premium */
.language-option span:last-child {
    position: relative;
    background: linear-gradient(45deg, var(--text-secondary), var(--text-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    text-shadow: none;
    font-size: 0.65rem;
    text-align: center;
    transition: all 0.3s ease;
}

.language-option input[type="radio"]:checked + label span:last-child {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textGlow 2s ease-in-out infinite alternate;
    transform: scale(1.05);
}

@keyframes textGlow {
    from { filter: brightness(1) saturate(1); }
    to { filter: brightness(1.2) saturate(1.3); }
}

/* Campo de entrada */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.icon-container {
    position: absolute;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.icon-container.right {
    left: auto;
    right: 12px;
    cursor: pointer;
}

.icon-container.right:hover {
    color: var(--primary-color);
}

/* Inputs mais compactos */
input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 12px 12px 12px 35px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;  
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 255, 60, 0.2);
}

/* Seletor de corretora mais compacto */
.corretora-selector {
    margin-top: 5px;
}

.selector-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.corretora-options {
    display: flex;
    gap: 10px;
}

.corretora-option {
    flex: 1;
}

.corretora-option input[type="radio"] {
    display: none;
}

.corretora-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 8px;
    border-radius: 12px;
    border: 1px solid var(--input-border);
    background-color: var(--input-bg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.corretora-option label:hover {
    border-color: rgba(0, 255, 60, 0.3);
}

.corretora-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 60, 0.3);
}

.corretora-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.nyrion-logo {
    background: linear-gradient(135deg, #0066cc, #004080);
    color: white;
}

.quotex-logo {
    background: linear-gradient(135deg, #ff6600, #cc3300);
    color: white;
}

.corretora-option label span {
    font-size: 0.75rem;
    color: var(--text-color);
}

/* Checkbox de termos */
.terms-group {
    margin-top: 5px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--input-border);
    border-radius: 4px;
    background-color: var(--input-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-checkbox input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: "✓";
    color: black;
    font-size: 12px;
    font-weight: bold;
}

.form-checkbox label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Link de esqueceu a senha */
.forgot-password {
    text-align: center;
    margin-top: -5px;
}

.forgot-link {
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-decoration: none;
}

.forgot-link:hover {
    color: var(--primary-color);
}

/* Botão de login */
.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(118, 22, 212, 0.2);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(118, 22, 212, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login i {
    font-size: 0.8rem;
}

/* Footer do card mais compacto */
.login-footer {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.version-info {
    margin-top: 3px;
}

.version {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
}

.copyright {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

/* Mensagens de erro/sucesso */
.error-message {
    color: var(--error-color);
    font-size: 0.75rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.error-message::before {
    content: "⚠";
}

.input-error {
    border-color: var(--error-color) !important;
}

/* Alerta de erro */
.login-error-alert {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: rgba(255, 69, 69, 0.15);
    border-left: 3px solid var(--error-color);
    border-radius: 6px;
    margin-bottom: 15px;
    animation: fadeInDown 0.5s ease;
    position: relative;
}

.login-error-alert.closing {
    animation: fadeOutUp 0.3s ease forwards;
}

.error-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background-color: var(--error-color);
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    margin-right: 8px;
    font-size: 0.75rem;
}

.error-close {
    margin-left: auto;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Alerta de sucesso */
.login-success-alert {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: rgba(0, 255, 60, 0.15);
    border-left: 3px solid var(--success-color);
    border-radius: 6px;
    margin-bottom: 15px;
    animation: fadeInDown 0.5s ease;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background-color: var(--success-color);
    color: #000;
    font-weight: bold;
    border-radius: 50%;
    margin-right: 8px;
    font-size: 0.75rem;
}

/* Animação de carregamento para o botão */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 0.8s linear infinite;
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-15px);
    }
}

/* Efeitos de foco */
input:focus ~ .icon-container {
    color: var(--primary-color);
}

/* Media queries para responsividade */
@media (max-width: 480px) {
    .login-card {
        padding: 20px 15px;
    }

    .login-title {
        font-size: 1.3rem;
    }

    .login-subtitle {
        font-size: 0.8rem;
    }

    .logo-wrapper {
        width: 100px;
        height: 100px;
    }

    .logo {
        height: 70px;
    }

    .language-options {
        gap: 5px;
    }

    .language-option label {
        padding: 10px 4px 6px 4px;
        min-height: 65px;
    }

    .flag-container {
        width: 28px;
        height: 28px;
        margin-bottom: 8px;
    }
    
    .flag-br .flag-content::after {
        font-size: 6px;
    }
    
    .language-option span:last-child {
        font-size: 0.6rem;
    }
    
    .language-option input[type="radio"]:checked + label .flag-container {
        transform: scale(1.05);
    }
    
    @keyframes pulseFlag {
        0%, 100% { transform: scale(1.05); }
        50% { transform: scale(1.07); }
    }
}

/* =============================================== */
/* TELA DE CARREGAMENTO ULTRA-MODERNA - ADICIONADA */
/* =============================================== */

/* Tela de Carregamento Ultra-Moderna */
.ultra-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0a 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 9999;
}

.ultra-loading-screen.active {
    opacity: 1;
}

/* Background Dinâmico */
.dynamic-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Grid Cyberpunk Animado */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--cyber-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--cyber-grid) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Partículas Flutuantes */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle 15s infinite ease-in-out;
}

.particle.primary {
    background: var(--primary-glow);
    box-shadow: 0 0 20px var(--primary-glow);
}

.particle.accent {
    background: var(--accent-glow);
    box-shadow: 0 0 20px var(--accent-glow);
}

.particle.blue {
    background: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-100px) translateX(50px) scale(1.2);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-150px) translateX(-30px) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-80px) translateX(-100px) scale(1.1);
        opacity: 0.6;
    }
}

/* Ondas de Energia */
.energy-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.wave {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: waveExpand 4s ease-out infinite;
}

.wave-1 {
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    animation-delay: 0s;
}

.wave-2 {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    animation-delay: 1.3s;
}

.wave-3 {
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    animation-delay: 2.6s;
}

@keyframes waveExpand {
    0% {
        opacity: 1;
        transform: scale(0);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: scale(4);
    }
}

/* Efeito de Scan */
.scan-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        transparent
    );
    animation: scanMove 3s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary-glow);
}

@keyframes scanMove {
    0%, 100% {
        top: -3px;
        opacity: 0;
    }
    50% {
        top: 50%;
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Container Principal */
.loading-main-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px;
    width: 100%;
    max-width: 1200px;
}

/* Logo Ultra com Efeitos */
.logo-ultra-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Anéis Orbitais */
.orbital-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.ring-1 {
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
    animation: rotateRing 10s linear infinite;
    border-style: dashed;
}

.ring-2 {
    width: 220px;
    height: 220px;
    margin: -110px 0 0 -110px;
    animation: rotateRing 15s linear infinite reverse;
    border-color: var(--neon-blue);
}

.ring-3 {
    width: 260px;
    height: 260px;
    margin: -130px 0 0 -130px;
    animation: rotateRing 20s linear infinite;
    border-color: var(--accent-color);
    border-style: dotted;
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Logo Central */
.logo-center {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-glow-effect {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes logoGlowPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.ultra-logo {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 0 30px var(--primary-glow));
    animation: logoFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) rotateY(180deg);
    }
}

.logo-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: logoPulseRing 2s ease-out infinite;
}

@keyframes logoPulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Partículas da Logo */
.logo-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.logo-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: logoParticleFloat 6s infinite ease-in-out;
    box-shadow: 0 0 10px var(--primary-glow);
}

@keyframes logoParticleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(100px, -100px) scale(0.5);
        opacity: 0.3;
    }
}

/* Título Futurista */
.title-container {
    text-align: center;
    margin-bottom: 20px;
}

.ultra-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 15px;
    position: relative;
}

.title-word {
    display: inline-block;
    position: relative;
    background: linear-gradient(45deg, var(--primary-color), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: titleGlow 3s ease-in-out infinite alternate;
    margin: 0 10px;
}

.title-word::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: titleGlitch 0.3s infinite;
    opacity: 0.8;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px var(--primary-glow);
        filter: brightness(1);
    }
    100% {
        text-shadow: 0 0 30px var(--primary-color), 0 0 40px var(--neon-blue);
        filter: brightness(1.3);
    }
}

@keyframes titleGlitch {
    0%, 90%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

.subtitle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Orbitron', monospace;
}

.connecting-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-secondary);
    animation: connectingPulse 2s ease-in-out infinite;
}

@keyframes connectingPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
        color: var(--primary-color);
    }
}

.dots-animation {
    display: flex;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary-glow);
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.3s; }
.dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Barra de Progresso Futurista */
.ultra-progress-container {
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
}

.progress-label, .speed-label {
    color: var(--text-secondary);
    font-weight: 400;
}

.progress-percentage, .speed-value {
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 0 10px var(--primary-glow);
}

.progress-bar-ultra {
    position: relative;
    width: 100%;
    height: 20px;
    margin-bottom: 10px;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 60, 0.2);
    overflow: hidden;
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(0, 255, 60, 0.1);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--neon-blue), var(--primary-color));
    background-size: 200% 100%;
    animation: progressGlow 2s ease-in-out infinite;
    border-radius: 10px;
    position: relative;
    transition: width 0.5s ease;
    box-shadow: 0 0 15px var(--primary-glow);
}

@keyframes progressGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.progress-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--primary-glow);
    border-radius: 15px;
    filter: blur(10px);
    opacity: 0;
    animation: progressGlowPulse 3s ease-in-out infinite;
}

@keyframes progressGlowPulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.5; }
}

.progress-spark {
    position: absolute;
    top: 50%;
    right: 0;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px white;
    animation: sparkMove 0.8s ease-in-out infinite;
}

@keyframes sparkMove {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-50%) scale(1.5);
    }
}

.progress-segments {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
}

.segment {
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

/* Status do Sistema */
.system-status {
    width: 100%;
    max-width: 800px;
    margin-bottom: 30px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.status-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(118, 22, 212, 0.2);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.status-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow);
    background: rgba(118, 22, 212, 0.05);
}

.status-item.completed {
    border-color: var(--primary-color);
    background: rgba(118, 22, 212, 0.1);
}

.status-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 60, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.status-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.status-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.status-indicator {
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: indicatorPulse 2s ease-in-out infinite;
}

.status-item.active .indicator-dot {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
}

.status-item.completed .indicator-dot {
    background: var(--primary-color);
}

@keyframes indicatorPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Console de Comandos */
.command-console {
    width: 100%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    box-shadow: 0 0 20px rgba(0, 255, 60, 0.3);
    margin-bottom: 20px;
}

.console-header {
    background: linear-gradient(90deg, var(--primary-color), var(--neon-blue));
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: black;
    font-weight: 700;
    font-size: 0.9rem;
}

.console-title {
    letter-spacing: 1px;
}

.console-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red { background: #ff5f57; }
.control-dot.yellow { background: #ffbd2e; }
.control-dot.green { background: #28ca42; }

.console-content {
    padding: 15px;
    max-height: 120px;
    overflow-y: auto;
    color: var(--primary-color);
    font-size: 0.85rem;
    line-height: 1.4;
}

.console-line {
    margin-bottom: 5px;
    animation: consoleLine 0.5s ease-out;
}

.console-line:last-child {
    animation: consoleTyping 2s ease-out infinite;
}

@keyframes consoleLine {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes consoleTyping {
    0%, 50% {
        border-right: 1px solid var(--primary-color);
    }
    51%, 100% {
        border-right: 1px solid transparent;
    }
}

.prompt {
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 8px;
}

.command {
    color: var(--text-color);
}

/* Dados Técnicos */
.tech-data {
    display: flex;
    gap: 30px;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.data-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 60, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.data-label {
    color: var(--text-secondary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-value {
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 0 5px var(--primary-glow);
    animation: dataValueGlow 3s ease-in-out infinite alternate;
}

@keyframes dataValueGlow {
    0% {
        text-shadow: 0 0 5px var(--primary-glow);
    }
    100% {
        text-shadow: 0 0 10px var(--primary-color);
    }
}

/* Overlay de Hologramas */
.hologram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.hologram-line {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 60, 0.3), 
        transparent
    );
    animation: hologramMove 8s ease-in-out infinite;
}

.h-line-1 {
    width: 100%;
    height: 2px;
    top: 20%;
    left: 0;
    animation-delay: 0s;
}

.h-line-2 {
    width: 2px;
    height: 100%;
    top: 0;
    left: 30%;
    background: linear-gradient(0deg, 
        transparent, 
        rgba(0, 212, 255, 0.3), 
        transparent
    );
    animation-delay: 2s;
}

.h-line-3 {
    width: 100%;
    height: 2px;
    bottom: 25%;
    left: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 107, 0, 0.3), 
        transparent
    );
    animation-delay: 4s;
}

@keyframes hologramMove {
    0%, 100% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
        transform: translateX(100%);
    }
}

/* Responsividade para Ultra Loading */
@media (max-width: 768px) {
    .loading-main-container {
        padding: 20px;
        gap: 30px;
    }

    .logo-ultra-container {
        width: 150px;
        height: 150px;
    }

    .ultra-logo {
        width: 80px;
        height: 80px;
    }

    .ring-1 {
        width: 140px;
        height: 140px;
        margin: -70px 0 0 -70px;
    }

    .ring-2 {
        width: 180px;
        height: 180px;
        margin: -90px 0 0 -90px;
    }

    .ring-3 {
        width: 220px;
        height: 220px;
        margin: -110px 0 0 -110px;
    }

    .ultra-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .title-word {
        margin: 0 5px;
    }

    .connecting-text {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .status-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .status-item {
        padding: 12px;
        gap: 12px;
    }

    .status-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .tech-data {
        gap: 15px;
        font-size: 0.75rem;
    }

    .data-item {
        padding: 6px 12px;
    }

    .console-content {
        max-height: 100px;
        padding: 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .loading-main-container {
        padding: 15px;
        gap: 25px;
    }

    .logo-ultra-container {
        width: 120px;
        height: 120px;
    }

    .ultra-logo {
        width: 60px;
        height: 60px;
    }

    .ultra-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .connecting-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .progress-info {
        font-size: 0.8rem;
    }

    .status-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tech-data {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hologram-line {
        display: none;
    }

    .scan-effect {
        height: 2px;
    }
}

/* TELA DE AVISO - DESIGN PREMIUM E PROFISSIONAL (MANTIDA) */
.warning-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    background-image: 
        radial-gradient(circle at 15% 85%, rgba(255, 0, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(255, 215, 0, 0.08) 0%, transparent 40%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Partículas flutuantes para efeito premium */
.warning-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.warning-particles .particle {
    position: absolute;
    background: rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    pointer-events: none;
    z-index: 1;
    animation: floatParticle 8s infinite ease-in-out;
}

.warning-particles .particle.red {
    background: rgba(255, 0, 0, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* Container do aviso */
.warning-container {
    width: 100%;
    max-width: 650px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Header com título de ATENÇÃO */
.warning-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 15px 0;
}

.header-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Ícones de alerta */
.warning-icon {
    width: 40px;
    height: 40px;
    position: relative;
    flex-shrink: 0;
}

.warning-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    animation: pulse 2s infinite ease-in-out alternate;
}

/* Texto ATENÇÃO */
.warning-title {
    font-size: 4rem;
    font-weight: 900;
    color: transparent;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #ffd700 0%, #ffb700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    animation: glowText 2s infinite alternate;
    padding: 10px 0;
    margin: 0;
}

@keyframes glowText {
    0% {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    }
    100% {
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.5);
    }
}

/* Conteúdo com texto de aviso */
.warning-content {
    background: rgba(20, 20, 20, 0.6);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho na borda */
.warning-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 0, 0, 0) 0%, 
        rgba(255, 0, 0, 0.3) 50%, 
        rgba(255, 0, 0, 0) 100%);
    border-radius: 15px;
    z-index: -1;
    animation: borderGlow 4s infinite linear;
}

@keyframes borderGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Texto do aviso */
.warning-text {
    font-size: 1rem;
    font-weight: 700;
    color: #FF0000;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
    max-width: 100%;
    word-wrap: break-word;
    margin: 0 auto;
}

/* Linha de separação decorativa */
.divider {
    width: 80%;
    height: 3px;
    margin: 40px auto;
    background: linear-gradient(to right, 
        transparent, 
        rgba(255, 215, 0, 0.5), 
        rgba(255, 0, 0, 0.5), 
        transparent);
    position: relative;
}

.divider::before, .divider::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.divider::before {
    left: calc(50% - 50px);
}

.divider::after {
    right: calc(50% - 50px);
}

/* Botões de ação */
.warning-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Botão Ver Aulas */
.btn-classes {
    width: 100%;
    padding: 20px 30px;
    background: linear-gradient(45deg, #555555, #777777);
    color: #FFFFFF;
    border: none;
    border-radius: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.btn-classes:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    background: linear-gradient(45deg, #666666, #888888);
}

.btn-classes:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-classes i {
    font-size: 1.8rem;
}

/* Efeito de brilho ao passar o mouse */
.btn-classes::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.5s ease;
}

.btn-classes:hover::before {
    left: 100%;
}

/* Container do botão Operar com Robô */
.robot-action-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Botão Operar com Robô */
.btn-robot {
    width: 100%;
    padding: 20px 30px;
    background: linear-gradient(45deg, #FFFFFF, #F0F0F0);
    color: #000000;
    border: none;
    border-radius: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.btn-robot:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 0, 0, 0.2);
    background: linear-gradient(45deg, #FFFFFF, #E8E8E8);
}

.btn-robot:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 0, 0, 0.1);
}

.btn-robot i {
    font-size: 1.8rem;
    color: #FF6B00;
}

/* Efeito de brilho ao passar o mouse */
.btn-robot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transition: all 0.5s ease;
}

.btn-robot:hover::before {
    left: 100%;
}

/* Aviso abaixo do botão */
.robot-warning {
    color: #FF0000;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    animation: pulseWarning 2s infinite;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

@keyframes pulseWarning {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Footer da tela de aviso */
.warning-footer {
    margin-top: 40px;
    text-align: center;
}

.warning-footer .copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Media queries para responsividade da tela de aviso */
@media (max-width: 768px) {
    .warning-title {
        font-size: 3rem;
    }
    
    .warning-text {
        font-size: 1rem;
    }
    
    .btn-classes, .btn-robot {
        padding: 15px 25px;
        font-size: 1.5rem;
    }
    
    .btn-classes i, .btn-robot i {
        font-size: 1.5rem;
    }
    
    .robot-warning {
        font-size: 0.9rem;
    }
    
    .warning-content {
        padding: 15px;
    }
    
    .warning-icon {
        width: 40px;
        height: 40px;
    }
    
    .header-content {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .warning-title {
        font-size: 2.5rem;
    }
    
    .warning-text {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .btn-classes, .btn-robot {
        padding: 15px 20px;
        font-size: 1.3rem;
    }
    
    .btn-classes i, .btn-robot i {
        font-size: 1.3rem;
    }
    
    .robot-warning {
        font-size: 0.8rem;
    }
    
    .warning-content {
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .warning-icon {
        width: 30px;
        height: 30px;
    }
    
    .header-content {
        gap: 10px;
    }
    
    .divider {
        margin: 20px auto;
    }
    
    .warning-header {
        margin-bottom: 20px;
    }
}

/* TELA DE CARREGAMENTO ANTIGA - MANTIDA PARA COMPATIBILIDADE */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #090b13;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.loading-screen.active {
    opacity: 1;
}

.loading-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loading-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loading-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}

.loading-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-glow);
    top: -300px;
    right: -200px;
    animation: shapeFloat1 25s ease-in-out infinite;
}

.loading-shape-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-glow);
    bottom: -200px;
    left: -100px;
    animation: shapeFloat2 30s ease-in-out infinite alternate;
}

.loading-shape-3 {
    width: 400px;
    height: 400px;
    background: rgba(0, 255, 60, 0.1);
    top: 40%;
    left: 60%;
    animation: shapeFloat3 27s ease-in-out infinite;
}

@keyframes shapeFloat1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, 50px) rotate(5deg); }
    50% { transform: translate(20px, 80px) rotate(0deg); }
    75% { transform: translate(-30px, 30px) rotate(-5deg); }
}

@keyframes shapeFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-40px, -30px) rotate(-3deg); }
    50% { transform: translate(-10px, -60px) rotate(0deg); }
    75% { transform: translate(40px, -20px) rotate(3deg); }
}

@keyframes shapeFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    50% { transform: translate(-30px, 30px) scale(1.1); opacity: 0.2; }
}

/* Efeitos especiais para botões de ação */
.highlight-pulse {
    animation: highlightPulse 1s infinite !important;
}

@keyframes highlightPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.2);
    }
}

.btn-classes.clicked,
.btn-robot.clicked {
    transform: scale(0.95) !important;
    transition: transform 0.2s ease !important;
}

.warning-screen.active .warning-container {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}