/* ==========================================================================
   ESTILO BASE - TERMINAL DE AUTENTICAÇÃO AURORA
   ========================================================================== */
:root {
    --aurora-blue: #00eaff;
    --bg-color: #000000;    
}

body {
    margin: 0; padding: 0; width: 100vw; height: 100vh; overflow: hidden;
    display: flex; justify-content: center; align-items: center;
    font-family: 'Times New Roman', Times, serif; background-color: #000;
}

/* --- BACKGROUND --- */
.background-layer {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, #000000 0%, #00222b 100%);
    z-index: 0; pointer-events: none; transition: background 1s;
}
.hex-group { position: absolute; overflow: visible; filter: drop-shadow(0 0 5px var(--aurora-blue)); opacity: 0.6; transition: filter 0.5s; }
.fill-hex { fill: var(--aurora-blue); opacity: 0.8; transition: fill 0.5s; }
use { transition: stroke 0.5s; }

/* Posicionamento Hex */
.top-cluster { width: 350px; top: -80px; left: 20%; }
.bottom-cluster { width: 400px; bottom: -50px; left: -80px; }
.top-right-cluster { width: 400px; top: -50px; right: -50px; transform: rotate(15deg); }
.bottom-right-cluster { width: 380px; bottom: -30px; right: 5%; transform: rotate(-10deg); }

/* --- INTERFACE --- */
.center-content {
    z-index: 10; display: flex; flex-direction: column;
    justify-content: center; align-items: center; position: relative; width: 100%;
}
.logo-lockup { display: flex; align-items: center; position: relative; }
.aurora-title {
    font-size: 8rem; margin: 0; font-weight: bold; color: var(--aurora-blue);
    letter-spacing: 5px; line-height: 1; text-transform: uppercase;
    text-shadow: 0 0 20px var(--aurora-blue), 0 0 40px var(--aurora-blue);
    margin-right: 5px; transition: color 0.5s, text-shadow 0.5s;
}
.bars-right { display: flex; flex-direction: column; gap: 15px; margin-left: -20px; }
.bar {
    height: 25px; background-color: var(--aurora-blue);
    box-shadow: 0 0 15px var(--aurora-blue); 
    clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%);
    display: flex; align-items: center; padding-left: 30px;
    color: black; font-weight: bold; font-size: 0.75rem; white-space: nowrap;
    transition: background-color 0.5s, box-shadow 0.5s;
}
.bar-top { width: 215px; margin-left: -20px; box-shadow: none; }
.bar-bottom { 
    width: 310px; margin-left: -2px; 
    animation: neon-pure-pulse 1.5s infinite alternate ease-in-out; 
}

/* --- BOTÃO DE AUTENTICAÇÃO --- */
.start-btn {
    margin-top: 60px; background: transparent; color: var(--aurora-blue);
    font-family: 'Times New Roman', Times, serif; font-size: 1.2rem;
    font-weight: bold; letter-spacing: 3px; padding: 15px 40px;
    border: 2px solid var(--aurora-blue); cursor: pointer; text-transform: uppercase;
    box-shadow: 0 0 10px var(--aurora-blue); transition: all 0.3s ease;
}
.start-btn:hover { background: var(--aurora-blue); color: black; box-shadow: 0 0 30px var(--aurora-blue); }

/* --- LOADING DE TRANSIÇÃO --- */
.boot-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999; display: flex; flex-direction: column; justify-content: center; align-items: center;
    background: #000;
}

.loader-ring {
    width: 80px; height: 80px; border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--aurora-blue); border-radius: 50%;
    animation: spin 1s linear infinite; margin-bottom: 20px; transition: border-top-color 0.5s;
}
.loading-text { color: var(--aurora-blue); font-family: monospace; letter-spacing: 3px; transition: color 0.5s; }

/* --- UTILITÁRIOS E ANIMAÇÕES --- */
.hidden { display: none !important; }

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

@keyframes neon-pure-pulse { 
    0% { background-color: var(--aurora-blue); box-shadow: 0 0 0 transparent; } 
    100% { background-color: var(--aurora-blue); box-shadow: 0 0 20px var(--aurora-blue), 0 0 50px var(--aurora-blue); } 
}

/* Responsividade Básica */
@media (max-width: 900px) { 
    .aurora-title { font-size: 4rem; } 
}

/* --- TEXTO DE INÍCIO PISCANTE --- */
.start-prompt {
    margin-top: 80px;
    color: var(--aurora-blue);
    font-family: monospace;
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: blink 1.5s infinite;
    cursor: pointer;
    text-shadow: 0 0 10px var(--aurora-blue);
    text-align: center;
}

/* --- MODAL DE AUTENTICAÇÃO E CONSENTIMENTO (JANELA FLUTUANTE) --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Escurece o fundo ao abrir */
    z-index: 20000;
    display: flex; justify-content: center; align-items: center;
    backdrop-filter: blur(5px); /* Efeito de vidro embaçado no fundo */
}

.auth-container {
    background: rgba(0, 20, 25, 0.95);
    border: 2px solid var(--aurora-blue);
    box-shadow: 0 0 30px rgba(0, 234, 255, 0.2);
    width: 700px; max-width: 90%;
    padding: 40px;
    position: relative;
    text-align: center;
    color: #fff;
    max-height: 90vh;
    overflow-y: auto;
    
    padding: 40px;
    position: relative;
    text-align: center;
    color: #fff;
}

.auth-title {
    color: var(--aurora-blue);
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.auth-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: justify;
    color: #ccc;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-label {
    display: block;
    color: var(--aurora-blue);
    font-family: monospace;
    margin-bottom: 10px;
    font-size: 1rem;
}

.form-input {
    width: 95%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--aurora-blue);
    color: white;
    font-family: monospace;
    font-size: 1.2rem;
    outline: none;
    transition: box-shadow 0.3s;
}
.form-input:focus { box-shadow: 0 0 15px var(--aurora-blue); }

.consent-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(0, 234, 255, 0.05);
    padding: 15px;
    border-left: 3px solid var(--aurora-blue);
    text-align: left;
    font-family: sans-serif;
    font-size: 0.9rem;
    color: #aaa;
}

.consent-box input[type="checkbox"] {
    margin-top: 4px;
    transform: scale(1.2);
    cursor: pointer;
}

.submit-btn {
    margin-top: 30px; background: transparent; color: var(--aurora-blue);
    font-family: 'Times New Roman', Times, serif; font-size: 1.2rem;
    font-weight: bold; letter-spacing: 3px; padding: 15px 40px;
    border: 2px solid var(--aurora-blue); cursor: pointer; text-transform: uppercase;
    transition: all 0.3s ease;
}
.submit-btn:hover { background: var(--aurora-blue); color: black; box-shadow: 0 0 20px var(--aurora-blue); }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }