/* Reveal effect */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Project card gradient */
.project-card {
  background: radial-gradient(
      ellipse at bottom,
      rgba(255, 59, 48, 0.15),
      transparent 70%
    ),
    #1f1f24;
  box-shadow: 0 40px 90px -15px rgba(255, 59, 48, 0.4);
}

/* Logo pulse animation */
@keyframes pulse-custom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.animate-pulse-custom {
  animation: pulse-custom 3s ease-in-out infinite;
}

/* Email link pill */
.email-link {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 59, 48, 0.1);
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: filter 0.2s;
}
.email-link:hover {
  filter: brightness(1.1);
}

#backToTop {
  font-size: 1rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
