.filter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 auto 50px auto;
  padding: 6px;
  max-width: fit-content;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  box-shadow: 0 5px 15px rgba(179, 178, 178, 0.3);
}

.filter-btn {
  background: transparent;
  color: #888888;
  border: 1px solid transparent;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  outline: none;
}

/* Hover State */
.filter-btn:hover {
  color: black;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Active Button State */
.filter-btn.active {
  background: #ffffff;
  color: #0d0d0d;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}
@media (max-width: 600px) {
  .filter-container {
    display: flex;
    flex-wrap: nowrap;          /* Forces buttons into one single line */
    overflow-x: auto;           /* Enables horizontal swiping */
    justify-content: flex-start;/* Aligns items from the left */
    width: 100%;
    max-width: 100%;
    padding: 6px 12px;
    border-radius: 30px;
    margin-bottom: 30px;
    
    /* Smooth touch scrolling for iOS/Android */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;      /* Hides scrollbar on Firefox */
  }

  /* Hide scrollbar for Chrome/Safari/Edge */
  .filter-container::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;             /* Prevents buttons from shrinking or breaking lines */
    padding: 8px 18px;
    font-size: 0.75rem;
    white-space: nowrap;        /* Keeps button text on one line */
  }
}