/* Animations and Keyframes CSS Module */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(255, 212, 59, 0.2); }
  50% { box-shadow: 0 0 25px rgba(255, 212, 59, 0.4); }
}

/* Skeleton Shimmer Animations */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, #1a1c23 25%, #272a36 37%, #1a1c23 63%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 8px;
  display: block;
}

.skeleton-pill {
  width: 110px;
  height: 24px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.skeleton-title {
  width: 75%;
  height: 38px;
  margin: 0 auto 16px;
  border-radius: 8px;
}

.skeleton-lead {
  width: 85%;
  height: 20px;
  margin: 0 auto 24px;
  border-radius: 6px;
}

.skeleton-btn {
  width: 100%;
  max-width: 320px;
  height: 48px;
  border-radius: 24px;
  margin: 8px auto;
}

.skeleton-card {
  width: 100%;
  height: 80px;
  border-radius: 14px;
  margin-bottom: 12px;
}

.skeleton-mockup {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  margin-top: 20px;
}

.img-loading {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.img-loaded {
  opacity: 1;
}

.img-fallback-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: inherit;
  color: #b5b9c3;
  padding: 16px;
}
