/* Container da foto de perfil */
.foto-perfil {
  position: relative;
  margin: 0 auto 1.5rem auto;
  width: 160px;
  height: 160px;
  z-index: 10;
  margin-top: -2rem;
}

/* A foto */
.foto-perfil img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

/* Borda brilhante externa */
.foto-perfil::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: 184px;
  height: 184px;
  border-radius: 50%;
  background: conic-gradient(#00ffff, #0080ff, #00ffff, #0080ff, #00ffff);
  z-index: -2;
  animation: girar 3s linear infinite;
}

/* Animação de rotação */
@keyframes girar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Borda interna */
.foto-perfil::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  background: #1a1a2e;
  z-index: -1;
}

/* Centralizar todo o conteúdo */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 0;
}

/* Seção do perfil ocupa a tela inteira */
.secao-perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  padding: 2rem;
  box-sizing: border-box;
}

.conteudo-perfil {
  max-width: 800px;
  margin-top: 1.5rem;
  color: #ffffff;
}

.saudacao {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #cccccc;
}

.destaque {
  color: #595bd0;
  font-weight: bold;
}

.titulo {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

.descricao {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #cccccc;
}

.tecnologias {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tecnologia-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.tecnologia-item img {
  width: 22px;
  height: 22px;
}

.tecnologia-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}


/* Indicador de Scroll */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-text {
  color: #999999;
  font-size: 0.9rem;
}

.scroll-arrow {
  color: #595bd0;
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(10px);
  }
  60% {
    transform: translateY(5px);
  }
}


/* Responsivo Perfil */
@media (max-width: 768px) {
  .foto-perfil {
    width: 120px;
    height: 120px;
    margin-top: 0;
  }
  
  .foto-perfil img {
    width: 120px;
    height: 120px;
  }
  
  .foto-perfil::before {
    width: 144px;
    height: 144px;
  }
  
  .titulo {
    font-size: 2rem;
  }
  
  .saudacao {
    font-size: 1rem;
  }
  
  .descricao {
    font-size: 0.95rem;
  }
  
  .tecnologias {
    gap: 0.7rem;
  }
  
  .tecnologia-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .tecnologia-item img {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .foto-perfil {
    width: 100px;
    height: 100px;
  }
  
  .foto-perfil img {
    width: 100px;
    height: 100px;
  }
  
  .foto-perfil::before {
    width: 124px;
    height: 124px;
  }
  
  .titulo {
    font-size: 1.6rem;
  }
  
  .saudacao {
    font-size: 0.9rem;
  }
  
  .conteudo-perfil {
    padding: 0 1rem;
  }
}

/* Cursor piscando */
.cursor {
  animation: blink 1s infinite;
  color: #595bd0;
}

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