:root {
  --bg-color: #0a0a14;
  --primary-neon: #00aaff;
  --secondary-neon: #aa00ff;
  --text-color: #e0e0e0;
  --panel-bg: rgba(20, 25, 40, 0.75);
  --panel-border: rgba(0, 170, 255, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Oxanium", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 20%,
      var(--primary-neon),
      transparent 30%
    ),
    radial-gradient(circle at 80% 70%, var(--secondary-neon), transparent 30%);
  background-size: 200% 200%;
  animation: background-flow 30s ease-in-out infinite;
  z-index: -1;
  opacity: 0.1;
  filter: blur(80px);
}

@keyframes background-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.container {
  width: 100%;
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  z-index: 1;
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-neon);
  transition: transform 0.4s ease-in-out, border-color 0.4s ease-in-out;
}

.profile-name {
  font-size: 2.5em;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.profile-bio {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.1em;
  color: var(--primary-neon);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  min-height: 1.5em;
}

.links-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.link-button {
  background-color: var(--panel-bg);
  backdrop-filter: blur(10px);
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  width: 100%;
  height: 65px;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.link-button:hover {
  transform: translateY(-3px);
  border-color: var(--primary-neon);
}

/* --- NOVO EFEITO PARA O BOTÃO PORTFÓLIO --- */

/* 1. Keyframes para a animação de pulso neon */
@keyframes neon-pulse {
  0% {
    box-shadow: 0 0 5px rgba(0, 170, 255, 0.7), 0 0 10px rgba(0, 170, 255, 0.5),
      0 0 15px rgba(170, 0, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.9), 0 0 20px rgba(0, 170, 255, 0.7),
      0 0 30px rgba(170, 0, 255, 0.5);
  }
  100% {
    box-shadow: 0 0 5px rgba(0, 170, 255, 0.7), 0 0 10px rgba(0, 170, 255, 0.5),
      0 0 15px rgba(170, 0, 255, 0.3);
  }
}

/* 2. Classe para aplicar a animação ao botão específico */
.portfolio-highlight {
  border-color: var(--primary-neon); /* Borda mais destacada */
  /* Aplica a animação: nome, duração, tipo e repetição */
  animation: neon-pulse 4s infinite ease-in-out;
}

.link-button img,
.link-button svg {
  height: 30px;
  width: 30px;
  object-fit: contain;
  margin-right: 15px;
}

.social-links {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-top: 20px;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.social-links a {
  color: var(--text-color);
  font-size: 2.2em;
  transition: color 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.1);
}

.copyrigt {
  font-size: 0.8em;
  color: var(--text-color);
  text-align: center;
  opacity: 0.7;
  transition: opacity 0.3s ease-in-out;
  font-family: "Courier New", Courier, monospace;
}

@media (max-width: 768px) {
  body {
    padding: 30px 15px;
    align-items: flex-start;
  }

  .profile-name {
    font-size: 2em;
  }

  .profile-bio {
    font-size: 1em;
  }

  .link-button {
    height: 60px;
    font-size: 1em;
  }

  .link-button img,
  .link-button svg {
    height: 28px;
    width: 28px;
    margin-right: 10px;
  }
  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
