/* Estilos gerais */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 20px;
    background-color: #1a1a1a; /* Fundo escuro para destacar as cores neons */
    color: #fff;
}

/* Estilo do Footer */
footer {
    margin-top: 40px;
    padding: 20px;
    background-color: #2a2a2a; /* Fundo escuro para combinar com o tema */
    color: #ccc; /* Texto cinza claro */
    text-align: center;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Linha sutil no topo */
}

footer p {
    margin: 0;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: auto;
}

/* Estilo dos tópicos */
.category {
    width: 100%;
    background-color: #2a2a2a; /* Fundo escuro para os tópicos */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.category.visible {
    opacity: 1;
    transform: translateY(0);
}

.category-content h2 {
    margin-bottom: 20px;
    color: #fff; /* Texto branco para contrastar com o fundo escuro */
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

button {
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s, opacity 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    background-color: #525151; /* Cor de fundo escura para os botões */
    color: #fff;
    box-shadow: none; /* Remove a sombra padrão */
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); /* Brilho neon ao passar o mouse */
}

button img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease-in-out;
}

button:hover img {
    animation: spin 0.5s ease-in-out; /* Animação de rotação contínua */
}

/* Estilo do botão LinkTree */
#linktree-button {
    color: #00ccff; /* Cor neon azul */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

#linktree-button:hover {
    color: #ff00ff; /* Cor neon rosa ao passar o mouse */
    text-shadow: 0 0 10px #ff00ff; /* Brilho neon */
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Estilo do texto "Sobre mim" */
.about-text {
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
    color: #ccc; /* Texto cinza claro para melhor legibilidade */
    margin: 0;
    padding: 0 20px;
}

/* Modal de Descrição */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #2a2a2a; /* Fundo escuro para o modal */
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); /* Sombra neon */
}

.modal-content img {
    width: 60px;
    height: 60px;
}

.modal-content p {
    font-size: 18px;
    color: #fff; /* Texto branco no modal */
}

/* Estilo do botão de fechar */
.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #fff; /* Texto branco */
    cursor: pointer;
    transition: color 0.3s ease;
    background-color: rgba(255, 255, 255, 0.2); /* Fundo semi-transparente */
    border-radius: 50%; /* Formato circular */
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* Sombra neon */
}

.close-modal:hover {
    color: #ff0000; /* Cor vermelha ao passar o mouse */
    background-color: rgba(255, 255, 255, 0.3); /* Fundo mais claro ao passar o mouse */
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5); /* Brilho neon vermelho */
}

h1, h3 {
    color: #fff; /* Texto branco por padrão */
    transition: color 0.3s ease; /* Transição suave para a mudança de cor */
}

/* Animações */
@keyframes fade-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-right {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-left {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

[data-anime="fade-down"] {
    animation: fade-down 0.6s ease-out forwards;
}

[data-anime="fade-up"] {
    animation: fade-up 0.6s ease-out forwards;
}

[data-anime="fade-right"] {
    animation: fade-right 0.6s ease-out forwards;
}

[data-anime="fade-left"] {
    animation: fade-left 0.6s ease-out forwards;
}
