@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes shimmer {
  0% {
    background-position: -400px 0;
  }
  100% {
    background-position: 400px 0;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(236, 4, 51, 0.4);
  }
  50% {
    box-shadow: 0 0 24px rgba(236, 4, 51, 0.7);
  }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.anim-delay-1 {
  transition-delay: 0.1s;
}
.anim-delay-2 {
  transition-delay: 0.2s;
}
.anim-delay-3 {
  transition-delay: 0.3s;
}
.anim-delay-4 {
  transition-delay: 0.4s;
}
.anim-delay-5 {
  transition-delay: 0.5s;
}

.hero-content {
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-badge {
  animation: fadeInUp 0.5s 0.1s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-title {
  animation: fadeInUp 0.6s 0.18s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-subtitle {
  animation: fadeInUp 0.6s 0.26s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-bonus-box {
  animation: fadeInUp 0.6s 0.34s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-cta-wrap {
  animation: fadeInUp 0.6s 0.42s cubic-bezier(0.4, 0, 0.2, 1) both;
}

#hero-signup {
  animation: glow 2.5s 1s infinite;
}

.bonus-badge-big {
  animation: float 4s ease-in-out infinite;
}
.bonus-badge-big:last-child {
  animation-delay: 0.8s;
}

.game-card {
  animation: fadeIn 0.4s ease both;
}

.btn--primary,
.btn--secondary {
  position: relative;
  overflow: hidden;
}
.btn--primary::before,
.btn--secondary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition:
    width 0.5s ease,
    height 0.5s ease,
    opacity 0.5s ease;
  pointer-events: none;
  opacity: 0;
}
.btn--primary:active::before,
.btn--secondary:active::before {
  width: 200px;
  height: 200px;
  opacity: 0;
}

.xw6p3-widget {
  animation: slideInLeft 0.5s 2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.faq-answer {
  animation: fadeIn 0.25s ease;
}

.review-card:hover {
  background: linear-gradient(
    135deg,
    rgba(30, 39, 64, 1) 0%,
    rgba(26, 33, 51, 1) 100%
  );
}

.modal-inner {
  animation: fadeInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.xpc7-code {
  animation: glow 3s 3s infinite;
}

@keyframes countUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .animate-fade-up,
  .animate-fade-up.in-view,
  .hero-content,
  .hero-badge,
  .hero-title,
  .hero-subtitle,
  .hero-bonus-box,
  .hero-cta-wrap,
  .bonus-badge-big,
  .game-card,
  .xw6p3-widget,
  .modal-inner,
  .xpc7-code {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
