.vave-slots-marquee {
  --vave-slot-card-width: clamp(112px, 9vw, 132px);
  --vave-slot-gap: 12px;
  min-width: 0;
  margin: 20px 0 28px;
  overflow: hidden;
  color: #fff;
}

.vave-live-marquee {
  margin-block: 42px;
}

.vave-slots-marquee__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  margin-bottom: 14px;
  gap: 20px;
}

.vave-slots-marquee__title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.vave-slots-marquee__star {
  margin-right: 3px;
  color: #ffe171;
  font-size: 18px;
  text-shadow: 0 0 10px rgba(255, 217, 78, 0.25);
}

.vave-slots-marquee__all {
  min-height: 32px;
  padding: 8px 0 8px 14px;
  color: #94aeb4;
  font-size: 11px;
  line-height: 16px;
  text-decoration: none;
  white-space: nowrap;
}

.vave-slots-marquee__all:hover,
.vave-slots-marquee__all:focus-visible {
  color: #fff;
}

.vave-slots-lane {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

.vave-slots-lane + .vave-slots-lane {
  margin-top: 11px;
}

.vave-slots-track {
  display: flex;
  width: max-content;
  gap: var(--vave-slot-gap);
  will-change: transform;
}

.vave-slots-lane--forward .vave-slots-track {
  animation: vave-slots-forward 48s linear infinite;
}

.vave-slots-lane--reverse .vave-slots-track {
  animation: vave-slots-reverse 52s linear infinite;
}

.vave-slots-lane:hover .vave-slots-track,
.vave-slots-lane:focus-within .vave-slots-track {
  animation-play-state: paused;
}

.vave-slots-group {
  display: flex;
  flex: 0 0 auto;
  gap: var(--vave-slot-gap);
}

.vave-slot-card {
  display: grid;
  flex: 0 0 var(--vave-slot-card-width);
  width: var(--vave-slot-card-width);
  grid-template-rows: auto 22px;
  gap: 4px;
  color: #fff;
  text-decoration: none;
}

.vave-slot-card__media {
  position: relative;
  display: block;
  aspect-ratio: 427 / 575;
  overflow: hidden;
  background: #10171d;
  border-radius: 7px;
  box-shadow: 0 2px 9px rgba(5, 11, 16, 0.18);
}

.vave-slot-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: inherit;
  pointer-events: none;
}

.vave-slot-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 180ms ease, transform 220ms cubic-bezier(0.32, 0.72, 0, 1);
}

.vave-slot-card:hover .vave-slot-card__media img,
.vave-slot-card:focus-visible .vave-slot-card__media img {
  filter: brightness(0.56) saturate(0.85);
  transform: scale(1.04);
}

.vave-slot-card__overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(8, 22, 27, 0.12), rgba(8, 22, 27, 0.72));
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}

.vave-slot-card:hover .vave-slot-card__overlay,
.vave-slot-card:focus-visible .vave-slot-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.vave-slot-card__rtp {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.vave-slot-card__start {
  min-width: 76px;
  padding: 9px 14px;
  color: #06231d;
  background: #2bc69d;
  border-radius: 5px;
  box-shadow: 0 6px 18px rgba(43, 198, 157, 0.28);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.vave-slot-card__promo-rtp {
  position: absolute;
  z-index: 3;
  top: 5px;
  right: 0;
  min-height: 19px;
  padding: 4px 6px 4px 7px;
  color: #fff;
  background: linear-gradient(90deg, #ffb124, #f04b22);
  border-radius: 10px 0 0 10px;
  box-shadow: 0 3px 9px rgba(107, 29, 8, 0.34);
  font-size: 8px;
  font-weight: 800;
  line-height: 11px;
  white-space: nowrap;
  transition: opacity 160ms ease;
}

.vave-slot-card:hover .vave-slot-card__promo-rtp,
.vave-slot-card:focus-visible .vave-slot-card__promo-rtp {
  opacity: 0;
}

.vave-slot-card:focus-visible {
  outline: 2px solid #2bc69d;
  outline-offset: 3px;
  border-radius: 7px;
}

.vave-slot-card__players {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 22px;
  gap: 5px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.vave-slot-card__players svg {
  flex: 0 0 13px;
  width: 13px;
  height: 15px;
  fill: #2bc69d;
}

@keyframes vave-slots-forward {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - (var(--vave-slot-gap) / 2))); }
}

@keyframes vave-slots-reverse {
  from { transform: translateX(calc(-50% - (var(--vave-slot-gap) / 2))); }
  to { transform: translateX(0); }
}

@media (max-width: 620px) {
  .vave-slots-marquee {
    --vave-slot-card-width: 112px;
    --vave-slot-gap: 10px;
    margin-top: 16px;
    margin-bottom: 22px;
  }

  .vave-slots-marquee__header {
    margin-bottom: 11px;
  }

  .vave-slots-marquee__title {
    font-size: 17px;
  }

  .vave-slots-marquee__all {
    min-height: 44px;
    padding-block: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vave-slots-track {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }

  .vave-slots-group[aria-hidden="true"] {
    display: none;
  }

  .vave-slot-card__media img {
    transition: none;
  }

  .vave-slot-card__overlay,
  .vave-slot-card__promo-rtp {
    transition: none;
  }
}
