/* ========================================
   Gallery Page Styles
   ======================================== */

/* Pulse dot animation (red glow) */
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.4); }
  50%      { box-shadow: 0 0 0 10px rgba(220,38,38,0); }
}
.pulse-dot {
  animation: pulse-red 2s infinite;
}

/* Font helpers */
.mono  { font-family: 'Share Tech Mono', monospace; }
.bebas { font-family: 'Bebas Neue', sans-serif; }

/* Card fade-in-up animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card-anim {
  animation: fadeInUp 0.45s ease forwards;
}

/* Filter button active shimmer */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.filter-btn-active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(220,38,38,0.15), transparent);
  background-size: 600px 100%;
  animation: shimmer 2.5s infinite linear;
  pointer-events: none;
}

/* Hide scrollbar on filter bar */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Gallery card hover effects */
.gallery-card {
  transform: translateY(0);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Carousel nav button visibility on hover (CSS fallback) */
.gallery-card .carousel-prev,
.gallery-card .carousel-next {
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

/* Line clamp utilities */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Lazy image placeholder */
img.lazy {
  background: #1a1a1a;
}
