.tech-carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto 4rem;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

/* Gradientes de fade nas bordas */
.tech-carousel-container::before,
.tech-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.tech-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--background), transparent);
}

.tech-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--background), transparent);
}

/* Track do carrossel */
.tech-carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll-infinite 30s linear infinite;
    will-change: transform;
}

/* Pausa ao hover */
.tech-carousel-track:hover {
    animation-play-state: paused;
}

/* Item individual */
.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(65, 105, 225, 0.1));
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: rgba(138, 43, 226, 0.6);
    box-shadow: 0 8px 16px rgba(138, 43, 226, 0.2);
}

/* Logo circular */
.tech-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    padding: 4px;
    flex-shrink: 0;
}

/* Nome da tecnologia */
.tech-name {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

/* Animação de scroll infinito */
@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* === RESPONSIVIDADE === */
@media (max-width: 1024px) {
  .tech-carousel-container::before,
  .tech-carousel-container::after {
    width: 50px;
  }

  .tech-carousel-track {
    gap: 1.5rem;
    animation-duration: 24s;
  }

  .tech-item {
    padding: 0.6rem 1.2rem;
  }

  .tech-logo {
    width: 35px;
    height: 35px;
  }

  .tech-name {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .tech-carousel-container {
    margin: 2rem auto 3rem;
  }

  .tech-carousel-track {
    gap: 1rem;
    animation-duration: 20s;
  }

  .tech-item {
    padding: 0.5rem 1rem;
    gap: 0.75rem;
  }

  .tech-logo {
    width: 30px;
    height: 30px;
  }

  .tech-name {
    font-size: 0.85rem;
  }
}


@supports (-moz-appearance: none) {
  .tech-carousel-track {
    animation-duration: 35s;
    transform: translateZ(0); 
  }
}