@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}

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

@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo--xl {
  animation: pop-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both, float-y 5s ease-in-out 0.7s infinite;
}

.gate__title {
  background-size: 200% auto;
  animation: gradient-shift 6s ease-in-out infinite;
}

.section-head h2 {
  background-size: 200% auto;
  animation: gradient-shift 8s ease-in-out infinite;
}

.member-card,
.store-card {
  opacity: 0;
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 60ms);
}

.coming-soon {
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.coming-soon__icon {
  animation: float-y 4s ease-in-out infinite;
}

.discord-card {
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.discord-card__icon {
  animation: float-y 4s ease-in-out infinite;
}

.btn--discord {
  position: relative;
  overflow: hidden;
}

.btn--discord::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-120%);
}

.btn--discord:hover::before {
  animation: shimmer 1.1s ease forwards;
}

.member-card__status.is-online {
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: status-pulse 2s ease-out infinite;
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.tabs__indicator {
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  box-shadow: 0 0 12px rgba(217, 70, 239, 0.7);
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1), width 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.tabs__item {
  position: relative;
}

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