/* Glowing orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.3;
  animation: glowFloat 15s infinite ease-in-out;
}

@keyframes glowFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    filter: brightness(100%) blur(4px);
    opacity: 0.15;
  }
  25% {
    transform: translate(100px, -30px) scale(1.2);
    filter: brightness(120%) blur(8px);
    opacity: 0.45;
  }
  50% {
    transform: translate(-30px, -100px) scale(0.8);
    filter: brightness(110%) blur(4px);
    opacity: 0.25;
  }
  75% {
    transform: translate(-50px, 150px) scale(1.1);
    filter: brightness(105%) blur(6px);
    opacity: 0.35;
  }
}

/* Geometric shapes animation */
.geometric-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

.geo-shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: geometricFloat 25s infinite linear;
}

.geo-triangle {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 25px solid rgba(255, 255, 255, 0.08);
}

.geo-square {
  width: 28px;
  height: 28px;
  background: rgba(96, 165, 250, 0.08);
  transform: rotate(45deg);
}

.geo-circle {
  width: 25px;
  height: 25px;
  background: rgba(96, 165, 250, 0.08);
  border-radius: 50%;
}

@keyframes geometricFloat {
  0% {
    transform: translateY(2vh) translateX(0px) rotate(0deg);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px) rotate(180deg);
    opacity: 0;
  }
}

.floating-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  padding: 8px;
}

.card-size-1 {
  grid-column: span 1;
  grid-row: span 1;
}

.card-size-2 {
  grid-column: span 1;
  grid-row: span 1;
}

.card-size-3 {
  grid-column: span 1;
  grid-row: span 1;
}
@media (min-width: 640px) {
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 20px;
  }
  .card-size-2 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .card-size-3 {
    grid-column: span 3;
    grid-row: span 3;
  }
}

@media (min-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}
