.genres {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.kategorije-panel {
  display: none;
  position: sticky;
  top: 57px;
  z-index: 490;
  background: #0a1018;
}

.kategorije-panel.open {
  display: block;
  animation: kategorijePanelOpen 0.22s ease;
}

@keyframes kategorijePanelOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.kategorije-panel .genres-scroll {
  flex-wrap: wrap;
  overflow: visible;
  justify-content: flex-start;
  padding: 20px 0 12px;
}

.genres-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  flex-wrap: nowrap;
  flex: 1;
}

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

.genre {
  display: inline-block;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.genre:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.09);
  transform: translateY(-1px);
}

.genre.active {
  background: rgba(31,128,224,0.18);
  border-color: rgba(31,128,224,0.5);
  color: #4da3f5;
  font-weight: 600;
}

.extra-item {
  display: none;
}

.genres-scroll.show-all .extra-item {
  display: inline-block;
}

.genres-scroll.show-all .vise-btn {
  display: none;
}

.scroll-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  background: rgba(31,128,224,0.15);
  border: 1px solid rgba(31,128,224,0.4);
  border-radius: 8px;
  margin-left: 6px;
  transition: all 0.15s;
}

.scroll-arrow:hover {
  background: rgba(31,128,224,0.3);
  border-color: rgba(31,128,224,0.7);
  color: #1f80e0;
}
.scroll-arrow-left {
  margin-left: 0;
  margin-right: 6px;
}