/* bargains.llc Premium Styles - Glassmorphism & Custom UI */

.glass {
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-light {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-glow {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4),
              0 0 0 1px rgba(255, 107, 0, 0.1),
              0 0 80px -10px rgba(0, 240, 255, 0.15);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-glow:hover {
  transform: scale(1.015);
}

.deal-card {
  transition: all 0.3s cubic-bezier(0.23, 1.0, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.deal-card .discount-badge {
  background: linear-gradient(135deg, #ff6b00, #ff8c33);
  color: white;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.price {
  font-variant-numeric: tabular-nums;
}

.filter-pill {
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-pill.active {
  background-color: #ff6b00;
  color: #0a0a0f;
  border-color: #ff6b00;
  font-weight: 600;
}

.filter-pill:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

#deals-grid {
  scrollbar-width: thin;
}

.modal {
  animation: modalEnter 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.toast {
  animation: toastSlide 0.3s ease forwards;
}

@keyframes toastSlide {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: white;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, #ff6b00, #00f0ff);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Category filter scroll */
.filters-scroll {
  scrollbar-width: none;
}

.filters-scroll::-webkit-scrollbar {
  display: none;
}

/* Deal card image placeholder styling */
.deal-img-placeholder {
  background: linear-gradient(145deg, #18181b, #27272a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #52525b;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .section-header {
    font-size: 2rem !important;
  }
}