
.top-marquee {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #5335BB;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 9999;
  padding-left: 100%; /* старт с правого края */
}

.top-marquee-text {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 20s linear infinite;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 26px;
  color: #fff;
  text-transform: uppercase;
  gap: 80px; /* большой пробел между повторами */
}

.top-marquee-text span {
  flex-shrink: 0;
}

/* Анимация */
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Мобильная версия */
@media (max-width: 768px) {
  .top-marquee {
    height: 50px;
    padding-left: 50%;
  }
  .top-marquee-text {
    font-size: 18px;
    gap: 40px;
  }
}

