@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --cor-fundo: #121212;
    --cor-fundo-secundaria: #1a1a1a;
    --cor-texto: #e0e0e0;
    --cor-destaque: #0d6efd;
    --cor-borda: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--cor-fundo) !important;
    color: var(--cor-texto) !important; 
    line-height: 1.6;
    overflow-x: hidden;
}

.menu-transparente {
    background: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid var(--cor-borda);
    padding: 1rem 0;
}

.painel-inicial {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--cor-fundo);
}

.avatar-container img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid var(--cor-destaque);
    object-fit: cover;
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.3);
}

.titulo-principal {
    font-weight: 700;
    font-size: 3rem;
}

.destaque-texto {
    color: var(--cor-destaque);
    font-weight: 600;
    border-right: 3px solid var(--cor-destaque);
}

.btn-customizado {
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.2s;
}

.btn-customizado:hover {
    transform: translateY(-3px);
}

.btn-social {
    color: #aaaaaa;
    font-size: 2rem;
    transition: color 0.2s;
    text-decoration: none;
}

.btn-social:hover {
    color: var(--cor-destaque);
}

.fundo-alternado {
    background-color: var(--cor-fundo-secundaria);
}

.section-darker {
    background-color: var(--cor-fundo-secundaria);
    border-top: 1px solid var(--cor-borda);
}

.caixa-projeto {
    background: #252525;
    border: 1px solid var(--cor-borda);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.caixa-projeto:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--cor-destaque);
}

.caixa-projeto h3 {
    color: var(--cor-destaque);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tags-tech {
    margin-top: auto;
    padding-top: 1rem;
}

.etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 5px;
    margin-bottom: 5px;
}

.grid-habilidades {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.item-habilidade {
    background: var(--cor-fundo-secundaria);
    border: 1px solid var(--cor-borda);
    color: var(--cor-texto);
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s;
}

.item-habilidade:hover {
    background-color: var(--cor-destaque);
    color: #fff;
    transform: scale(1.05);
    border-color: var(--cor-destaque);
}

@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid var(--cor-borda) !important;
    }
}

.animar-entrada {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animar-entrada.visivel {
    opacity: 1;
    transform: translateY(0);
}

.notificacao-flutuante {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--cor-destaque);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 9999;
    pointer-events: none;
    
    animation: subirSumir 2.5s ease forwards;
}

@keyframes subirSumir {
    0% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    85% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -30px);
    }
}

.intro-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

.painel-inicial, 
#quem-sou, 
#estatisticas-sistema {
    background-color: transparent !important;
    position: relative;
    z-index: 1;
}

.terminal-window {
    background: #050505;
    border: 1px solid #333;
    border-left: 4px solid var(--cor-destaque, #0d6efd);
    font-family: 'Courier Prime', monospace;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}
.terminal-header {
    background: #1a1a1a;
    padding: 5px 10px;
    font-size: 0.8rem;
    color: #666;
    border-bottom: 1px solid #333;
}
.cursor-piscar {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-color: var(--cor-destaque, #0d6efd);
    animation: blink 1s infinite;
    vertical-align: middle;
}
@keyframes blink { 
    0%, 100% { opacity: 1; } 
    50% { opacity: 0; box-shadow: 0 0 5px var(--cor-destaque); } 
}      
    
.stat-number {
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    font-size: 3.5rem;
    color: var(--cor-destaque, #0d6efd);
    text-shadow: 0 0 15px rgba(13, 110, 253, 0.4);
}
.stat-label {
    font-family: 'Courier Prime', monospace;
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.terminal-interativo {
    background-color: #0c0c0c;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-family: 'Courier Prime', monospace;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.terminal-top-bar {
    background-color: #1f1f1f;
    padding: 8px 15px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
}

.terminal-title {
    margin-left: 15px;
    color: #888;
    font-size: 0.8rem;
}

.dot {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}
.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.terminal-body {
    padding: 15px;
    height: 300px;
    overflow-y: auto;
    color: #e0e0e0;
    font-size: 0.95rem;
}

.input-line {
    display: flex;
    align-items: center;
}
.prompt-user {
    color: #27c93f;
    margin-right: 8px;
    font-weight: bold;
}
#cmd-input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Courier Prime', monospace;
    flex-grow: 1;
    outline: none;
}

#boot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 99999;
    color: #ccc;
    font-family: 'Courier Prime', monospace;
    padding: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.d-none { display: none !important; }

.boot-log-line {
    margin-bottom: 2px;
    font-size: 14px;
}
.log-ok { color: #27c93f; font-weight: bold; }
.log-time { color: #555; margin-right: 10px; }
