#contact {
padding: 4rem 1rem;
text-align: center;
background: linear-gradient(to bottom, #0a0a0a, #1a1a2e);
border-radius: 15px;
margin: 2rem 0;
border: 1px solid #333;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
inset 0 1px 0 rgba(108, 92, 231, 0.1);
}

#contact h2 {
font-size: 2.2rem;
margin-bottom: 1.5rem;
color: #fff;
text-shadow: 0 0 10px rgba(108, 92, 231, 0.7);
position: relative;
display: inline-block;
}

#contact h2::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: #6c5ce7;
box-shadow: 0 0 8px rgba(108, 92, 231, 0.7);
}

#contact p {
font-size: 1.1rem;
max-width: 600px;
margin: 0 auto 2.5rem;
color: #a0a0a0;
line-height: 1.6;
}

.contact-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.contact-links li {
  position: relative;
}

.contact-links a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  border: 1px solid #333;
  background: rgba(36, 36, 36, 0.7);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.2), transparent);
  transition: all 0.6s ease;
}

.contact-links a:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4),
  0 0 15px rgba(108, 92, 231, 0.4);
  border-color: #6c5ce7;
}

.contact-links a:hover::before {
  left: 100%;
}

/* Ícones para os links de contacto */
.contact-links a::after {
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.2rem;
}

.contact-links a[href*="mailto"]::after {
  content: '✉️';
}

.contact-links a[href*="linkedin"]::after {
  content: '💼';
}

.contact-links a[href*="github"]::after {
  content: '🐱';
}

/* Efeito de brilho ao passar o rato */
.contact-links a:hover {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Responsividade */
@media (max-width: 768px) {
  .contact-links {
    gap: 1.5rem;
  }

  .contact-links a {
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .contact-links a {
    width: 220px;
    justify-content: center;
  }

  #contact {
  padding: 3rem 1rem;
  }
}
