/* Shimmer Button */
.shimmerButton {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  background: linear-gradient(110deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.shimmerButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.shimmerButton.outline {
  background: transparent;
  border-color: #30363d;
  color: #e6edf3;
}

.shimmerButton.outline:hover {
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.05);
  box-shadow: 0 10px 30px rgba(96, 165, 250, 0.15);
}

.shimmerEffect {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  width: 100px;
  opacity: 0.6;
}

.buttonContent {
  position: relative;
  z-index: 1;
}

/* Animated Card */
.animatedCard {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.animatedCard::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(96, 165, 250, 0.3), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.animatedCard:hover::before {
  opacity: 1;
}

/* Gradient Text */
.gradientText {
  background: linear-gradient(110deg, #60a5fa 0%, #93c5fd 50%, #60a5fa 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

/* Code Block Enhancements */
.modernCodeBlock {
  position: relative;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1rem 0;
}

.copyButton {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid #30363d;
  border-radius: 0.375rem;
  color: #e6edf3;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.copyButton:hover {
  background: rgba(96, 165, 250, 0.2);
  border-color: #60a5fa;
}

.copyButton svg {
  flex-shrink: 0;
}
