/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #000;
  color: #fff;
  overflow: hidden;
}

/* ===== Background canvas ===== */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  /* Heavy blur para criar as manchas de luz abstratas */
}

/* ===== Layout ===== */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Logo ===== */
.logo {
  width: 220px;
  max-width: 80vw;
  height: auto;
  filter: brightness(1.05);
  animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
  opacity: 0;
}

/* ===== Slogan ===== */
.slogan {
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  max-width: 420px;
  animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
  opacity: 0;
}

/* ===== Divider line ===== */
.social-links::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(163, 130, 82, 0.5), transparent);
  margin: 0 auto 1.5rem;
}

/* ===== Social Links ===== */
.social-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
  opacity: 0;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  background: rgba(255, 255, 255, 0.02);
  min-width: 180px;
  justify-content: center;
}

.social-link:hover {
  border-color: rgba(163, 130, 82, 0.4);
  color: #fff;
  background: rgba(163, 130, 82, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(163, 130, 82, 0.1);
}

.social-link svg {
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.social-link:hover svg {
  transform: scale(1.1);
}

/* ===== Footer ===== */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  text-align: center;
  z-index: 1;
  animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
  opacity: 0;
}

footer p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
  font-weight: 300;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
  .logo {
    width: 160px;
  }

  .slogan {
    font-size: 1rem;
    max-width: 300px;
  }

  .social-link {
    min-width: 160px;
    padding: 0.6rem 1.3rem;
    font-size: 0.8rem;
  }

  /* OTIMIZAÇÃO DE PERFORMANCE: Blur muito pesado causa travamentos em celulares.
     O canvas já utiliza gradientes radiais nativos suaves. */
  #bg-canvas {
    filter: blur(20px);
    /* Podemos também diminuir a resolução do canvas no JS e escalar no CSS
       mas só a redução do blur já costuma ser suficiente para desafogar a GPU mobile */
  }
}