@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #211034 0%, #0c0616 45%, #090412 100%);
  color: #ffffff;
  min-height: 100vh;
  padding: 60px 24px;
  user-select: none;
  -webkit-user-select: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.titulo {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  background: linear-gradient(90deg, #6f35d8, #a855f7, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

.abas {
  width: fit-content;
  margin: 0 auto 26px;
  padding: 7px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(180, 90, 255, 0.35);
  border-radius: 999px;
  box-shadow: 0 0 25px rgba(159, 75, 255, 0.25);
  backdrop-filter: blur(12px);
}

.abas button {
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #d8c7ff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.abas button:hover {
  color: #ffffff;
  background: rgba(168, 85, 247, 0.18);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
  transform: translateY(-1px);
}

.abas button.ativo {
  color: #ffffff;
  background: linear-gradient(135deg, #7c3aed, #c026d3);
  box-shadow: 0 0 22px rgba(192, 38, 211, 0.55);
}

.subtitulo {
  max-width: 690px;
  margin: 0 auto 95px;
  color: #c9bddc;
  font-size: 1.05rem;
  line-height: 1.7;
}

.subtitulo strong {
  color: #ffffff;
}

.busca-area {
  max-width: 590px;
  margin: 0 auto 40px;
}

.busca-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(190, 150, 255, 0.25);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 999px;
  padding: 15px 20px;
  box-shadow: inset 0 0 18px rgba(168, 85, 247, 0.08);
}

.busca-box span {
  color: #bba7d4;
  font-size: 1.1rem;
}

.busca-box input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.95rem;
}

.busca-box input::placeholder {
  color: #bba7d4;
}

.contador {
  color: #c9bddc;
  font-size: 0.85rem;
  margin-top: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 20px;
}

.card {
  background: linear-gradient(180deg, rgba(50, 29, 78, 0.9), rgba(24, 14, 43, 0.92));
  border: 1px solid rgba(180, 132, 255, 0.18);
  border-radius: 18px;
  padding: 26px 20px 24px;
  min-height: 265px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35), transparent 68%);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.card:hover {
  transform: translateY(-7px);
  border-color: rgba(192, 132, 252, 0.55);
  box-shadow: 0 18px 45px rgba(122, 43, 220, 0.25);
}

.foto {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(209, 180, 255, 0.95);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.85);
  z-index: 1;
  margin-bottom: 20px;
  background: #ffffff;
}

.nome {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  z-index: 1;
}

.user {
  color: #c9bddc;
  font-size: 0.85rem;
  z-index: 1;
  margin-bottom: 22px;
  min-height: 18px;
}

.links {
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 1;
  flex-wrap: wrap;
}

.social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
  font-weight: 800;
  font-size: 1rem;
}

.social:hover {
  transform: scale(1.08);
  background: rgba(168, 85, 247, 0.45);
}

.sem-link {
  opacity: 0.25;
  pointer-events: none;
}

#abaProjetos {
  max-width: 760px;
  margin: 60px auto 0;
  padding: 52px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(30, 19, 48, 0.92), rgba(13, 7, 24, 0.96));
  border: 1px solid rgba(180, 90, 255, 0.38);
  box-shadow: 0 0 45px rgba(168, 85, 247, 0.18);
  position: relative;
  overflow: hidden;
}

#abaProjetos h2 {
  font-size: 2rem;
  margin-bottom: 22px;
}

.texto-projetos {
  max-width: 700px;
  margin: auto;
  line-height: 1.8;
  color: #c9bddc;
  position: relative;
  z-index: 2;
}

.texto-projetos strong {
  color: #d946ef;
}

.marca {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: clamp(32px, 6vw, 70px);
  font-weight: 800;
  text-align: center;
  opacity: 0.05;
  pointer-events: none;
  color: white;
  z-index: 1;
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-conteudo {
  width: 90%;
  max-width: 620px;
  padding: 38px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(30, 19, 48, 0.98), rgba(13, 7, 24, 0.98));
  border: 1px solid rgba(168, 85, 247, 0.45);
  text-align: center;
  box-shadow: 0 0 45px rgba(168, 85, 247, 0.28);
}

.popup-conteudo h2 {
  margin-bottom: 18px;
  font-size: 1.7rem;
  color: #ffffff;
}

.popup-conteudo p {
  line-height: 1.8;
  color: #c9bddc;
}

#perguntaTexto {
  margin: 26px 0 18px;
  font-size: 1.15rem;
  color: #ffffff;
  line-height: 1.5;
}

#opcoesRespostas {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

#opcoesRespostas button {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(192, 132, 252, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

#opcoesRespostas button:hover {
  background: linear-gradient(135deg, #7c3aed, #c026d3);
  box-shadow: 0 0 22px rgba(192, 38, 211, 0.45);
  transform: translateY(-2px);
}

#mensagemVerificacao {
  margin-top: 18px;
  font-weight: 800;
}

@media (max-width: 600px) {
  body {
    padding: 45px 16px;
  }

  .subtitulo {
    margin-bottom: 60px;
  }

  .abas {
    width: 100%;
  }

  .abas button {
    width: 100%;
    padding: 12px 16px;
    font-size: 13px;
  }

  #abaProjetos {
    padding: 30px 20px;
  }

  #abaProjetos h2 {
    font-size: 1.6rem;
  }

  .popup-conteudo {
    padding: 28px 20px;
  }
}