/* AdNet Custom Styles */

/* Blob Animation */
.blob-background {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: blob-animation 15s infinite ease-in-out;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background-color: rgba(79, 70, 229, 0.2);
  top: -100px;
  right: 0;
  animation-delay: 0s;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background-color: rgba(245, 158, 11, 0.15);
  bottom: -150px;
  left: -100px;
  animation-delay: -5s;
}

@keyframes blob-animation {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.1);
  }
}

/* Button Shine Effect */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  opacity: 0;
  transition: opacity 0.5s;
}

.btn-shine:hover::after {
  opacity: 1;
  animation: shine 1.5s ease-out;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  100% {
    transform: translateX(100%) rotate(30deg);
  }
}

/* Floating Animation */
.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Stats Box Glow Effect */
.glow {
  transition: all 0.3s ease;
}

.glow:hover {
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.5);
}

/* Back to Top Button */
.back-to-top {
  z-index: 99;
  transition: all 0.3s;
}

/* Custom Gradient Backgrounds */
.bg-gradient-primary {
  background: linear-gradient(to right, #4169e1, #1e40af);
}

.bg-gradient-secondary {
  background: linear-gradient(to right, #f59e0b, hsl(25, 87%, 63%));
}

/* Card Hover Effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Custom Text Gradient */
.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, #f08437, #f59e0b);
}

/* Custom Responsive Styles */
@media (max-width: 768px) {
  .blob-1 {
    width: 200px;
    height: 200px;
  }
  
  .blob-2 {
    width: 250px;
    height: 250px;
  }
}
