#sponsors {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  text-align: center;
  overflow: hidden;
  user-select: none;
}

.sponsors-title {
  font-size: clamp(1.5rem, 3.3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.3);
  user-select: none;
}

.sponsors {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.sponsors-track {
  display: flex;
  width: max-content;
  animation: scroll-left 18s linear infinite;
  user-select: none;
  will-change: transform;
}

.sponsors:hover .sponsors-track {
  animation-play-state: paused;
}

.sponsors-content {
  display: flex;
  gap: 32px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

/* 👇 Fix pentru distanța dintre ultimul și primul logo */
.sponsors-content:first-of-type img:last-child {
  margin-right: 32px;
}

.sponsors-content img {
  display: block;
  max-width: 150px;
  max-height: 100px;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
  user-select: none;
  pointer-events: auto;
}

.sponsors-content img:hover {
  transform: scale(1.1);
  opacity: 1;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  /* Animația este acum activă și pe mobil */
  .sponsors-track {
    animation: scroll-left 18s linear infinite;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .sponsors-content {
    gap: 20px;
  }

  .sponsors-content img {
    max-width: 100px;
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  .sponsors-content {
    gap: 15px;
  }

  .sponsors-content img {
    max-width: 80px;
    max-height: 50px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .sponsors-track {
    animation: none;
  }

  .sponsors-content img {
    transition: none;
  }
}