@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

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

.hero__title {
  animation: fadeInUp 0.7s ease both;
}

.hero__desc {
  animation: fadeInUp 0.7s ease 0.18s both;
}

.hero__text .btn {
  animation: fadeInUp 0.7s ease 0.32s both;
}

.hero__character {
  animation: fadeInRight 0.8s ease 0.1s both, float 5s ease-in-out 0.9s infinite;
}

.champions__character {
  animation: float 5s ease-in-out infinite;
}

.catalog-champions__character {
  animation: float 5s ease-in-out infinite;
}

.game-hero__thumbnail {
  animation: float 5s ease-in-out infinite;
  transition: box-shadow 0.3s ease;
}

.game-hero__thumbnail:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal-delay-5 { transition-delay: 0.60s; }
.reveal-delay-6 { transition-delay: 0.72s; }

.btn {
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(221, 71, 82, 0.75);
  opacity: 1;
}

.btn:active {
  transform: scale(0.98);
}

.site-nav a,
.footer-nav a {
  position: relative;
}

.site-nav a::after,
.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.site-nav a:hover::after,
.footer-nav a:hover::after {
  width: 100%;
}

.logo {
  transition: transform 0.22s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.legacy__image {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.legacy__image:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}


.impact__banner {
  transition: transform 0.35s ease;
}

.impact__banner:hover {
  transform: scale(1.015);
}

.impact__stat-value {
  display: inline-block;
  transition: transform 0.2s ease;
}

.impact__stat-value:hover {
  transform: scale(1.06);
}

.game-info__screenshot {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.game-info__screenshot:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.game-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 12px 36px rgba(240, 188, 0, 0.3);
}

.cookie-banner__allow {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cookie-banner__allow:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(221, 71, 82, 0.6);
}

.cookie-banner__decline {
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.cookie-banner__decline:hover {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
