/* --- ESTILO DE TERMINAL VERDE --- */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&display=swap');

body {
    background-color: #000;
    color: #00FF00; /* Verde principal */
    font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
    font-size: 1.1em;
    line-height: 1.4;
    padding: 20px;
    padding-bottom: 200px; 
}

.terminal {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    color: #00FF00;
    text-transform: uppercase;
    font-size: 1.5em;
    text-shadow: 0 0 5px #00FF00;
}

hr {
    border: none;
    border-top: 1px dashed #00FF00;
    opacity: 0.5;
    margin: 15px 0;
}

/* --- Estilo de Log (USADO NO INDEX E NOS PERFIS) --- */
.log-entry {
    margin-bottom: 25px;
}
.log-date {
    color: #00af00;
    font-weight: bold;
}
.log-text {
    white-space: pre-wrap; 
}

/* --- O Cursor Piscando --- */
.prompt {
    display: flex;
    align-items: center;
}
.cursor {
    animation: blink 1s step-end infinite;
    margin-left: 5px;
}
@keyframes blink {
    from, to { color: transparent; }
    50% { color: #00FF00; }
}

/* --- Menu de Perfis (do index.html) --- */
.agent-profiles {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 10px;
    border: 1px dashed #00FF00;
    background-color: #000;
    opacity: 0.8;
}
.agent-profiles .nav-title {
    font-size: 1em;
    font-weight: bold;
    color: #00FF00;
    margin: 0 0 10px 0;
    text-shadow: 0 0 3px #00FF00;
}
.agent-profiles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.agent-profiles li {
    margin-bottom: 5px;
}
.agent-profiles a {
    color: #00FF00;
    text-decoration: none;
    font-size: 0.9em;
}
.agent-profiles a:hover {
    background-color: #00FF00;
    color: #000;
    text-shadow: none;
}

/* --- Estilos para Página de Agente --- */
.section-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #00FF00;
    text-shadow: 0 0 3px #00FF00;
    text-transform: uppercase;
    margin-top: 30px;
}
.inventory-list {
    list-style: none;
    padding-left: 10px;
}
.inventory-list li {
    margin-bottom: 5px;
}
.notes-text {
    white-space: pre-wrap;
    color: #00af00;
    font-style: italic;
}
#login-screen h1 {
    color: #FF0000;
    text-shadow: 0 0 5px #FF0000;
}
.login-prompt {
    margin-top: 30px;
    color: #FFFF00;
}
.back-link {
    color: #00FF00;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 30px;
    display: inline-block;
}
.back-link:hover {
    background-color: #00FF00;
    color: #000;
}

/* --- Ficha de Status do Agente --- */
.status-sheet {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 250px;
    padding: 10px;
    border: 1px dashed #00FF00;
    background-color: #000;
    opacity: 0.8;
    font-size: 0.9em;
}
/* ... (outros estilos da ficha) ... */
.status-sheet .nav-title { font-size: 1em; font-weight: bold; color: #00FF00; margin: 0 0 10px 0; text-shadow: 0 0 3px #00FF00; }
.status-sheet ul { list-style: none; padding: 0; margin: 0; }
.status-sheet li { margin-bottom: 5px; display: flex; justify-content: space-between; }
.status-sheet li.separator { color: #00af00; opacity: 0.5; display: block; text-align: center; margin: 5px 0; }
.status-sheet li span { font-weight: bold; color: #FFFFFF; text-shadow: 0 0 4px #FFFFFF; padding-left: 10px; }

/* --- Imagem de Logo (Pequena no canto) --- */
.page-logo {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 180px; 
    height: auto;
    opacity: 0.6;
    filter: drop-shadow(0 0 3px #00FF00);
    z-index: 1000;
}

/* --- ===== NOVA TELA DE SPLASH ===== --- */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 10000; /* Fica acima de TUDO */
    
    /* Centraliza a imagem */
    display: flex;
    align-items: center;
    justify-content: center;
}

#splash-screen img {
    width: 250px; /* Tamanho do logo centralizado */
    height: auto;
    /* Adiciona o brilho verde */
    filter: drop-shadow(0 0 15px #00FF00); 
}


/* --- ===== LOADER ANIMATION (ATUALIZADO) ===== --- */
#loader-overlay {
    display: none; /* HIDE BY DEFAULT */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    color: #00FF00;
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    z-index: 9999; 
    padding: 20px;
    box-sizing: border-box; 
    transition: opacity 1s ease-out;
}
#loader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}
#loader-text {
    width: 100%;
    height: 95%; 
    overflow-y: auto;
    white-space: pre-wrap;
    font-size: 0.9em;
}

/* --- WRAPPER DE CONTEÚDO (Sem mudança) --- */
#page-content {
    visibility: hidden; 
    opacity: 0;
    transition: opacity 0.5s ease-in;
}