/* Moving background pattern with circles */
.bg-pattern-circles {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23FFFFFF' fill-opacity='0.08'/%3E%3C/svg%3E");
  animation: moveBackground 30s linear infinite;
}

/* Moving background animations */
@keyframes moveBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}

/* Floating gradient orbs */
.floating-orbs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(0, 191, 255, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(57, 255, 20, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 40% 70%,
      rgba(255, 68, 68, 0.1) 0%,
      transparent 30%
    );
  z-index: -1;
  animation: floatOrbs 20s ease-in-out infinite;
}

@keyframes floatOrbs {
  0%,
  100% {
    background: radial-gradient(
        circle at 20% 20%,
        rgba(0, 191, 255, 0.15) 0%,
        transparent 40%
      ),
      radial-gradient(
        circle at 80% 80%,
        rgba(57, 255, 20, 0.15) 0%,
        transparent 40%
      ),
      radial-gradient(
        circle at 40% 70%,
        rgba(255, 68, 68, 0.1) 0%,
        transparent 30%
      );
  }
  33% {
    background: radial-gradient(
        circle at 70% 30%,
        rgba(0, 191, 255, 0.15) 0%,
        transparent 40%
      ),
      radial-gradient(
        circle at 30% 60%,
        rgba(57, 255, 20, 0.15) 0%,
        transparent 40%
      ),
      radial-gradient(
        circle at 80% 20%,
        rgba(255, 68, 68, 0.1) 0%,
        transparent 30%
      );
  }
  66% {
    background: radial-gradient(
        circle at 40% 80%,
        rgba(0, 191, 255, 0.15) 0%,
        transparent 40%
      ),
      radial-gradient(
        circle at 70% 20%,
        rgba(57, 255, 20, 0.15) 0%,
        transparent 40%
      ),
      radial-gradient(
        circle at 20% 50%,
        rgba(255, 68, 68, 0.1) 0%,
        transparent 30%
      );
  }
}

/* Animated particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(0, 191, 255, 0.6);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

.particle:nth-child(2) {
  background: rgba(57, 255, 20, 0.6);
  animation-delay: -5s;
  animation-duration: 20s;
}

.particle:nth-child(3) {
  background: rgba(255, 68, 68, 0.6);
  animation-delay: -10s;
  animation-duration: 25s;
}

.particle:nth-child(4) {
  background: rgba(138, 43, 226, 0.6);
  animation-delay: -15s;
  animation-duration: 18s;
}

.particle:nth-child(5) {
  background: rgba(0, 255, 255, 0.6);
  animation-delay: -20s;
  animation-duration: 22s;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

/* Subtle wave animation for clean sections */
.wave-bg {
  position: relative;
  overflow: hidden;
}

.wave-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 191, 255, 0.03),
    transparent
  );
  animation: wave 8s ease-in-out infinite;
  z-index: -1;
}

@keyframes wave {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(50%);
  }
}

/* Game card hover effect */
.game-card {
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  border: 1px solid #2a2a2a;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5),
    0 10px 10px -5px rgba(0, 0, 0, 0.3);
  border-color: #00bfff;
}

/* Neon glow effect for buttons */
.neon-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.neon-button:hover {
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.neon-green:hover {
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.neon-red:hover {
  box-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}

.neon-purple:hover {
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.neon-orange:hover {
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
}

.neon-cyan:hover {
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
