/* Button Hover Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.3);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* Profile Image Animation */
@keyframes profileGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.2);
  }
  70% {
    box-shadow: 0 0 15px 10px rgba(59, 130, 246, 0.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.profile-image {
  transition: transform 0.5s ease;
}

.profile-image-container:hover .profile-image {
  transform: scale(1.05);
  animation: profileGlow 2s infinite;
}

/* Button Animation */
.link-button {
  position: relative;
  overflow: hidden;
}

.link-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
}

.link-button:hover::after {
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Social Icons Animation */
.social-link {
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.social-link:hover::before {
  transform: scale(1);
}

/* Page Load Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-container {
  animation: fadeIn 0.8s ease-out forwards;
}

.links-container {
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.2s forwards;
}

.social-container {
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.4s forwards;
}

.legal-links, .copyright {
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.5s forwards;
}

/* Staggered animation for buttons */
.link-button:nth-child(1) {
  animation: fadeIn 0.5s ease-out 0.3s forwards;
  opacity: 0;
}
.link-button:nth-child(2) {
  animation: fadeIn 0.5s ease-out 0.4s forwards;
  opacity: 0;
}
.link-button:nth-child(3) {
  animation: fadeIn 0.5s ease-out 0.5s forwards;
  opacity: 0;
}
.link-button:nth-child(4) {
  animation: fadeIn 0.5s ease-out 0.6s forwards;
  opacity: 0;
}