/* Animation Styles */
@keyframes rotateLogo {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes reveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/* Applied Animations */
.shape {
  animation: morph 15s ease-in-out infinite alternate;
}

.logo-shape {
  animation: pulse 3s ease-in-out infinite;
}

.art-piece {
  animation: pulse 6s ease-in-out infinite;
}

.feature-icon {
  animation: float 6s ease-in-out infinite;
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
}

.icon-1::before {
  animation-delay: 0s;
}

.icon-2::before {
  animation-delay: 0.5s;
}

.icon-3::before {
  animation-delay: 1s;
}

.icon-4::before {
  animation-delay: 1.5s;
}

.reveal-text {
  opacity: 0;
  animation: reveal 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

.delay-3 {
  animation-delay: 0.9s;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Feature Icons Animations */
.feature-icon.icon-1 {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.feature-icon.icon-2 {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  clip-path: circle(50% at 50% 50%);
}

.feature-icon.icon-3 {
  background: linear-gradient(135deg, var(--color-accent), var(--color-contrast));
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.feature-icon.icon-4 {
  background: linear-gradient(135deg, var(--color-contrast), var(--color-primary));
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* Contact Info Icons */
.info-icon.email-icon::before {
  content: '✉';
  font-size: 1.5rem;
  color: var(--color-white);
}

.info-icon.location-icon::before {
  content: '📍';
  font-size: 1.5rem;
  color: var(--color-white);
}

.info-icon.phone-icon::before {
  content: '📞';
  font-size: 1.5rem;
  color: var(--color-white);
}

/* Button Hover Animations */
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 54, 162, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 166, 166, 0.4);
}

/* Game Card Hover Effects */
.game-card::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg, 
    var(--color-primary), 
    var(--color-secondary), 
    var(--color-accent), 
    var(--color-contrast)
  );
  z-index: -1;
  border-radius: calc(var(--border-radius-lg) + 5px);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.game-card:hover::after {
  opacity: 1;
  animation: shimmer 3s infinite;
}

/* Parallax Scrolling Effect */
.banner-content {
  transform: translateZ(0);
}

/* Focus Animations for Form Elements */
.form-group input:focus,
.form-group textarea:focus {
  animation: pulse 1.5s infinite;
}