:root {
    --bg-color: #050505;
    --card-bg: #0d0d0d;
    --primary-color: #00e5ff; /* Azul Neon / Solo Leveling */
    --text-color: #e0e0e0;
    --accent-color: #ff003c; /* Vermelho Alerta para detalhes */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    line-height: 1.6;
    .container{
        .hero{
            .nome{
                font-size: 50px;
                font-family: cursive
            };
            .glitch-wrapper{
                font-size: 20px;
                text-align: center;
            }
        }
    }
}

/* Animação dos pontos de carregamento */
.loading-dots {
    display: inline-block;
    width: 1.5em;
    text-align: left;
    animation: dots 1.5s steps(4, end) infinite;
    color: var(--primary-color); /* Usa o ciano Solo Leveling que você já tem */
}

@keyframes dots {
    0%, 20% { content: ""; }
    40% { content: "."; }
    60% { content: ".."; }
    80%, 100% { content: "..."; }
}

/* Se o seu navegador não suportar animação de 'content', use esta alternativa de opacidade: */
.loading-dots {
    animation: blink 1.5s infinite;
}

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


/* Efeito Matrix - Camada de Fundo */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.2; /* Aumentei um pouco para aparecer mais que na imagem */
}

/* Container Principal */
.container { 
    max-width: 900px; 
    margin: 50px auto; 
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Restauração dos Cards (Estética Analítica) */
.card {
    background: var(--card-bg);
    border-left: 4px solid var(--primary-color); /* A linha azul lateral */
    padding: 25px; 
    margin-bottom: 20px;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.8); /* Sombra sólida analítica */
    border-radius: 0; /* Estética terminal, sem cantos arredondados */
    position: relative;
    z-index: 1; /* Garante que fique acima do efeito Matrix */
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateX(5px); /* Efeito de slide ao passar o mouse */
    background: #111;
}

.card h2 {
    color: var(--primary-color); /* Títulos dos cards em azul */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin-top: 0;
}



.glitch-wrapper a {
    text-decoration: none;
    color: var(--primary-color);
}

.glitch {
    font-size: 3rem;
    font-weight: bold;
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255, 0, 60, 0.75),
                -0.025em -0.05em 0 rgba(0, 229, 255, 0.75),
                0.025em 0.05em 0 rgba(255, 255, 0, 0.75);
    animation: glitch 500ms infinite;
}

@keyframes glitch {
    0% { text-shadow: 2px 0 red, -2px 0 cyan; }
    25% { text-shadow: -2px 0 red, 2px 0 cyan; }
    50% { text-shadow: 2px -2px red, -2px 2px cyan; }
    100% { text-shadow: -2px 0 red, 2px 0 cyan; }
}

.glitch:hover {
    color: #fff;
    filter: hue-rotate(90deg); /* Troca a cor drasticamente no hover */
}

/* Botão Geral */
.btn-action {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.4s;
    border: 1px solid;
}

/* Cores específicas por plataforma */
.btn-github {
    background: transparent;
    color: #fff;
    border-color: #f0f6fc;
}
.btn-github:hover {
    background: #f0f6fc;
    color: #000;
    box-shadow: 0 0 20px rgba(240, 246, 252, 0.5);
}

.btn-linkedin {
    background: transparent;
    color: #00a0dc;
    border-color: #00a0dc;
}
.btn-linkedin:hover {
    background: #00a0dc;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 160, 220, 0.5);
}

.btn-whatsapp {
    background: transparent;
    color: #25d366;
    border-color: #25d366;
}
.btn-whatsapp:hover {
    background: #25d366;
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.skills-grid span {
    background: #1a1a1a;
    padding: 8px 18px;
    border: 1px solid var(--primary-color);
    font-size: 0.85rem;
    color: var(--primary-color);
    box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.2);
}

/* Botão Home Estilizado e Centralizado */
.btn-home {
    position: fixed; /* Fixa em relação à tela */
    bottom: 20px;    /* Distância do fundo */
    left: 50%;       /* Move até o meio da tela */
    transform: translateX(-50%); /* Ajuste fino para centralizar o próprio corpo do botão */
    
    background: var(--primary-color); /* Ciano Solo Leveling */
    width: 120px; 
    height: 45px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* Garante que fique acima de tudo */
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Forçando a Letra Preta no Link */
.btn-home a {
    color: #000 !important; /* !important garante que nada mude essa cor */
    text-decoration: none;
    font-weight: 900; /* Mais grosso para destacar bem no ciano */
    font-size: 1.1rem;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}

/* Efeito de Hover */
.btn-home:hover {
    transform: translateX(-50%) scale(1.1); /* Mantém centralizado ao aumentar */
    box-shadow: 0 0 35px var(--primary-color);
    filter: brightness(1.2);
}

.social-footer {
    text-align: center;
    padding: 15px 0;
    background: var(--card-bg);
    border-top: 2px solid var(--primary-color);
    position: relative;
    z-index: 1;
    font-size: 20px;
      i{
        margin: 0 15px;
        color: var(--primary-color);
        transition: color 0.3s ease;
        
      }
}



.container{ 
    backdrop-filter: var(--bg-color);
    color: var(--text-color);
    a{
        color: var(--primary-color);
    }
}