.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.filters button {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  padding: 0.8rem 2rem;
  color: white;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.filters button::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #00ffaa, #00aaff, #00ffaa);
  border-radius: 12px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.filters button::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: rgba(26, 26, 47, 0.95);
  border-radius: 11px;
  z-index: -1;
}

.filters button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 170, 0.2);
}

.filters button:hover::before {
  opacity: 1;
  animation: borderRotate 2s linear infinite;
}

.filters button.active {
  background: transparent;
}

.filters button.active::before {
  opacity: 1;
  animation: borderRotate 2s linear infinite;
}

@keyframes borderRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.compare-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.compare-controls span {
  color: #00ffaa;
  font-weight: 500;
}

.compare-controls button {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  padding: 0.8rem 1.2rem;
  color: white;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-width: auto;
  white-space: nowrap;
  margin-top: 0;
}

.compare-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.compare-controls button:hover:not(:disabled) {
  transform: translateY(-2px);
  background: linear-gradient(45deg, #00ffaa44, #00aaff44);
}


