/* Blog Custom Styles */

/* Enhanced card styles with gradient backgrounds */
.gradient-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gradient-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  filter: brightness(1.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gradient-card:hover::before {
  opacity: 1;
}

/* Glowing border effect on hover */
.gradient-card:hover {
  box-shadow:
    0 0 20px rgba(202, 255, 8, 0.3),
    0 0 40px rgba(202, 255, 8, 0.2),
    0 0 60px rgba(202, 255, 8, 0.1);
  transform: translateY(-2px);
}

/* Text glow effect */
.gradient-card:hover h4 {
  text-shadow: 0 0 10px rgba(202, 255, 8, 0.5);
}

/* Animated gradient backgrounds */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animated-gradient {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* Better text contrast on dark backgrounds */
.gradient-card h4 {
  position: relative;
  z-index: 2;
}

.gradient-card p {
  position: relative;
  z-index: 2;
}