/* Kategori Carousel Stilleri */
.tags-groups-best {
  display: flex;
  align-items: center;
  width: 100%;
}

.custom-category-group {
  position: relative;
  overflow: hidden;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 0 15px;
  margin: 20px auto;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.custom-category-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  margin: 4px 4px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 25px;
  color: var(--bs-body-color) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
  flex-shrink: 0;
}

.custom-category-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.custom-category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  margin-left: 8px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bs-body-color);
  opacity: 0.8;
}

/* Animasyonlar - Blur & Zoom (Modern Web) */
@keyframes blurZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
    filter: blur(20px);
  }
  50% {
    opacity: 0.5;
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }
}

@keyframes blurZoomOut {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }
  50% {
    opacity: 0.5;
    filter: blur(8px);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
    filter: blur(20px);
  }
}

.custom-category-link {
  will-change: transform, opacity, filter;
}

.custom-category-link.fade-out {
  animation: blurZoomOut 0.6s ease-out forwards;
}

/* İlk yüklemede blur & zoom animasyonu */
.custom-category-link {
  animation: blurZoomIn 0.7s ease-out forwards;
}

/* Responsive tasarım */
@media (max-width: 768px) {
  .custom-category-group {
    height: 45px;
    padding: 0 15px;
  }
  
  .custom-category-link {
    padding: 6px 12px;
    margin: 0 5px;
    font-size: 13px;
  }
  
  .custom-category-count {
    min-width: 24px;
    height: 20px;
    font-size: 11px;
    margin-left: 6px;
    padding: 0 6px;
  }
}

@media (max-width: 480px) {
  .custom-category-group {
    height: 40px;
    padding: 0 10px;
  }
  
  .custom-category-link {
    padding: 5px 10px;
    margin: 0 4px;
    font-size: 12px;
  }
  
  .custom-category-count {
    min-width: 22px;
    height: 18px;
    font-size: 10px;
    margin-left: 5px;
    padding: 0 5px;
  }
}
