@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}
@keyframes shimmer {
  0% {
    background-position: -400px 0;
  }
  100% {
    background-position: 400px 0;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.bf-animate-in {
  animation: fadeUp 0.45s ease both;
}
.bf-hero-text {
  animation: fadeRight 0.6s ease both;
}
.bf-hero-panel {
  animation: fadeUp 0.6s 0.15s ease both;
}
.bf-header {
  animation: fadeIn 0.3s ease both;
}

.bf-btn {
  position: relative;
  overflow: hidden;
}
.bf-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0;
  transition: opacity 0.2s;
}
.bf-btn:hover::after {
  opacity: 1;
}
.bf-btn:active {
  transform: scale(0.97);
}

.bf-game-tile {
  animation: fadeUp 0.4s ease both;
}
.bf-review-card {
  animation: fadeUp 0.4s ease both;
}

.bf-header-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
}
.bf-no-scroll {
  overflow: hidden;
}

.bf-skeleton {
  background: linear-gradient(
    90deg,
    var(--bg3) 25%,
    var(--bg4) 50%,
    var(--bg3) 75%
  );
  background-size: 400px 100%;
  animation: shimmer 1.4s infinite;
}
