.scroll-ball-container {
  width: 100%;
  overflow: hidden;
}

.scroll-ball-group {
  display: flex;
  justify-content: center;
  gap: 5px; /* 调整三段之间的距离 */
}

.scroll-ball-wrapper {
  width: 33.33%;
  overflow: hidden;
  position: relative;
}

.scroll-ball-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0px 0;
  animation: scrollAnimation 20s linear infinite;
}

.scroll-ball-item {
  display: inline-flex;
  align-items: center;
  margin-right: 10px; /* 调整文案项目之间的距离 */
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
}

.scroll-ball-clone {
  display: inline-flex;
  align-items: center;
}

.bullet-screen-icon {
  margin-right: 5px;
  font-size: 14px;
}

@keyframes scrollAnimation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .scroll-ball-group {
    flex-direction: column;
    gap: 5px;
  }

  .scroll-ball-wrapper {
    width: 100%;
  }
}