

:root {
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --motion-glow: 0 0.75rem 1.75rem -0.5rem rgba(37, 255, 107, 0.4);
}




html body .slot-row__viewport {
  padding: 0.375rem 0.125rem 0.75rem;
  margin: -0.375rem -0.125rem -0.75rem;
}

html body .slot-row__card,
html body .game-card {
  isolation: isolate;
  transition: transform 0.28s var(--motion-ease), box-shadow 0.28s var(--motion-ease);
}


html body .slot-row__card::after,
html body .game-card::after,
html body .mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--color-accent);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

html body .slot-row__card-image,
html body .game-card__image {
  transition: transform 0.45s var(--motion-ease), filter 0.3s ease;
}

html body .slot-row__card-play,
html body .game-card__play {
  background: var(--color-accent);
  color: var(--color-text-dark);
  box-shadow: 0 0 1.25rem var(--color-glow-green);
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.22s ease, transform 0.32s var(--motion-spring);
}

html body .slot-row__card-meta,
html body .game-card__meta {
  transition: transform 0.3s var(--motion-ease), opacity 0.3s ease;
}

@media (hover: hover) {
  html body .slot-row__card:hover,
  html body .game-card:hover {
    box-shadow: var(--motion-glow);
  }

  html body .slot-row__card:hover::after,
  html body .game-card:hover::after,
  html body .mini-card:hover::after {
    opacity: 1;
  }


  html body .slot-row__card:hover .slot-row__card-image,
  html body .game-card:hover .game-card__image {
    filter: brightness(0.78);
    transform: scale(1.06);
  }

  html body .slot-row__card:hover .slot-row__card-overlay,
  html body .game-card:hover .game-card__overlay {
    background: linear-gradient(180deg, rgba(12, 11, 14, 0.05) 0%, rgba(12, 11, 14, 0.35) 100%);
  }

  html body .slot-row__card:hover .slot-row__card-play,
  html body .game-card:hover .game-card__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  html body .slot-row__card:hover .slot-row__card-meta,
  html body .game-card:hover .game-card__meta {
    transform: translateY(0.375rem);
    opacity: 0;
  }
}

html body .slot-row__card:active,
html body .game-card:active {
  transform: translateY(-0.125rem) scale(0.98);
}


@keyframes motion-rise {
  from {
    opacity: 0;
    transform: translateY(0.75rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

html body .games-grid > .game-card {
  animation: motion-rise 0.5s var(--motion-ease) backwards;
}


html body.preloader .games-grid > * {
  animation-play-state: paused;
}

html body .games-grid > :nth-child(2) { animation-delay: 0.04s; }
html body .games-grid > :nth-child(3) { animation-delay: 0.08s; }
html body .games-grid > :nth-child(4) { animation-delay: 0.12s; }
html body .games-grid > :nth-child(5) { animation-delay: 0.16s; }
html body .games-grid > :nth-child(6) { animation-delay: 0.2s; }
html body .games-grid > :nth-child(7) { animation-delay: 0.24s; }
html body .games-grid > :nth-child(n + 8) { animation-delay: 0.28s; }


@keyframes motion-badge-pulse {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.14); }
}

html body .mini-card__badge--hot,
html body .game-badge--hot {
  transform-origin: left center;
}

html body .motion-badge-pop {
  animation: motion-badge-pulse 0.7s ease-in-out 2;
}



html body .banner-card {
  transition: filter 0.3s ease;
}

html body .banner-card__body {
  transition: transform 0.3s var(--motion-ease), box-shadow 0.3s ease;
}

html body .banner-card--category .banner-card__image {
  transition: transform 0.6s var(--motion-ease);
}

@media (hover: hover) {
  html body .banner-card--category:hover .banner-card__image {
    transform: scale(1.05);
  }

  html body .banner-card:hover > .banner-card__body {
    box-shadow: 0 0.875rem 2rem -0.75rem rgba(0, 0, 0, 0.7);
  }
}


html body .banner-card.is-tilting > .banner-card__body {
  transform: perspective(56rem) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-0.125rem);
  transition: transform 0.12s linear, box-shadow 0.3s ease;
}

html body .banner-card > .banner-card__body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

html body .banner-card.is-tilting > .banner-card__body::before {
  opacity: 1;
}


@keyframes motion-shine {
  0% { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateX(320%) skewX(-18deg); opacity: 0; }
}

html body .banner-card--category > .banner-card__body::after,
html body .banner-card--hero > .banner-card__body::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 35%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.16) 45%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0.16) 55%, transparent 100%);
  transform: translateX(-120%) skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

html body .banner-card.motion-shine-run > .banner-card__body::after {
  animation: motion-shine 1.1s ease-in-out;
}


html body .hero-carousel__slide .hero-carousel__image {
  transform: scale(1);
  transition: transform 0s linear 0.75s;
}

html body .hero-carousel__slide.is-active .hero-carousel__image {
  transform: scale(1.06);
  transition: transform var(--hero-interval, 7s) cubic-bezier(0.25, 0.1, 0.25, 1);
}


html body .hero-carousel__dots {
  z-index: 5;
}



@keyframes motion-live-ring {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}

html body .live-winners__dot,
html body .live-winners__online-dot,
html body .live-bets__dot {
  position: relative;
}

html body .live-winners__dot::after,
html body .live-winners__online-dot::after,
html body .live-bets__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  color: inherit;
  animation: motion-live-ring 1.8s var(--motion-ease) infinite;
}

html body .live-winners__dot { color: #ffc531; }
html body .live-winners__online-dot { color: #ff4d4d; }


.roll-number {
  display: inline-flex;
  overflow: hidden;
  height: 1em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  vertical-align: top;
}

.roll-number__digit {
  display: block;
  height: 1em;
  overflow: hidden;
}

.roll-number__strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.7s var(--motion-ease);
}

.roll-number__strip > span {
  display: block;
  height: 1em;
  line-height: 1;
  text-align: center;
}

.roll-number__sep {
  display: block;
  height: 1em;
  line-height: 1;
}

.visually-hidden-motion {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}




@keyframes motion-wallet-ring {
  0% { transform: scale(1); opacity: 0.85; }
  26%, 100% { transform: scale(1.18, 1.45); opacity: 0; }
}

html body .header-balance__wallet {
  position: relative;
}

html body .header-balance__wallet.is-low::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 2px var(--color-accent);
  animation: motion-wallet-ring 6s var(--motion-ease) infinite;
  pointer-events: none;
}

html body .header-balance__wallet.is-low {
  box-shadow: 0 0 1.25rem rgba(37, 255, 107, 0.45);
}



html body .live-bets {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-width: 0;
  padding: 1rem 1.25rem 1.25rem;
  border-radius: 0.9375rem;
  background: var(--color-surface-5, #19181f);
}

.live-bets__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.live-bets__tabs {
  display: flex;
  gap: 0.5rem;
  min-width: 0;
}

.live-bets__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.9375rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--color-referral-field-bg, #22212a);
  color: var(--color-text-muted, #868e9a);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.18s ease;
}

.live-bets__tab:hover {
  color: var(--color-text, #fff);
}

.live-bets__tab:active {
  transform: scale(0.97);
}

.live-bets__tab--active,
.live-bets__tab--active:hover {
  background: var(--color-accent-2, #44fc75);
  color: var(--color-text-dark, #0c0b0e);
}

.live-bets__tab:focus-visible {
  outline: 0.125rem solid var(--color-text, #fff);
  outline-offset: 0.125rem;
}

.live-bets__tab-icon {
  flex-shrink: 0;
}

.live-bets__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  margin-left: auto;
  padding: 0.375rem 0.625rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted, #868e9a);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.live-bets__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent, #25ff6b);
  color: var(--color-accent, #25ff6b);
  box-shadow: 0 0 0.375rem rgba(37, 255, 107, 0.8);
}

.live-bets__table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.live-bets__body {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-height: 3rem;
  transition: opacity 0.2s ease;
}

.live-bets__body.is-switching {
  opacity: 0.4;
}

.live-bets__row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text, #fff);
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

a.live-bets__row:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--color-text, #fff);
  text-decoration: none;
}

.live-bets__row--head {
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  background: none;
  color: #5b6370;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-bets__cell {
  min-width: 0;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-bets__row--head .live-bets__cell {
  color: inherit;
  font-size: 0.75rem;
  font-weight: 600;
}

.live-bets__cell--game {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.live-bets__img {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.live-bets__game-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.live-bets__game,
.live-bets__sub {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-bets__sub {
  display: none;
  color: var(--color-text-muted, #868e9a);
  font-size: 0.75rem;
}

.live-bets__cell--player {
  color: var(--color-text-secondary, #c7c7c7);
}

.live-bets__cell--bet,
.live-bets__cell--win {
  font-variant-numeric: tabular-nums;
}

.live-bets__cell--mult,
.live-bets__cell--win {
  text-align: right;
}

.live-bets__row--head .live-bets__cell--mult,
.live-bets__row--head .live-bets__cell--win {
  text-align: right;
}

.live-bets__mult {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--color-referral-field-bg, #22212a);
  color: var(--color-text-secondary, #c7c7c7);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.live-bets__cell--win {
  color: var(--color-text-muted, #868e9a);
}

.live-bets__cell--win.is-won {
  color: var(--color-accent-2, #44fc75);
  font-weight: 700;
}

.live-bets__row.is-big .live-bets__mult {
  background: linear-gradient(135deg, #ffd25a 0%, #ff9f1c 100%);
  color: #1b1405;
}

.live-bets__empty {
  margin: 0;
  padding: 0.875rem 0;
  color: var(--color-text-muted, #868e9a);
  font-size: 0.875rem;
  text-align: center;
}


@keyframes live-bets-in {
  from {
    opacity: 0;
    transform: translateY(-0.625rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes live-bets-flash {
  from { opacity: 1; }
  to { opacity: 0; }
}

.live-bets__row {
  position: relative;
}

.live-bets__row::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(37, 255, 107, 0.16);
  opacity: 0;
  pointer-events: none;
}

.live-bets__row.is-big::before {
  background: rgba(255, 197, 49, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 197, 49, 0.6);
}

.live-bets__row.is-new {
  animation: live-bets-in 0.6s var(--motion-ease) backwards;
}

.live-bets__row.is-new::before {
  animation: live-bets-flash 1.1s ease-out 0.15s backwards;
}

.live-bets__row.is-new.is-big::before {
  animation-duration: 1.8s;
}


@media (max-width: 48rem) {
  html body .design-page-stack--home > .live-bets {
    order: 6;
  }

  html body .live-bets {
    padding: 0.875rem 0.75rem 1rem;
  }

  .live-bets__tab {
    padding: 0.5625rem 0.75rem;
    font-size: 0.8125rem;
  }

  .live-bets__tab-icon {
    display: none;
  }

  .live-bets__row {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
  }

  .live-bets__cell--player,
  .live-bets__cell--mult {
    display: none;
  }

  .live-bets__sub {
    display: block;
  }

  .live-bets__cell--bet {
    text-align: right;
  }

  .live-bets__cell {
    font-size: 0.8125rem;
  }
}

@media (max-width: 23.5rem) {
  .live-bets__live {
    display: none;
  }
}


html body .motion-paused,
html body .motion-paused *,
html body .motion-paused *::before,
html body .motion-paused *::after,
html body .motion-paused::before,
html body .motion-paused::after {
  animation-play-state: paused !important;
}




@keyframes motion-nudge {
  0% { transform: none; }
  30% { transform: translateY(-0.1875rem) scale(1.035); }
  65% { transform: translateY(0) scale(0.995); }
  100% { transform: none; }
}

@keyframes motion-nudge-ring {
  0%, 100% { opacity: 0; }
  35% { opacity: 0.85; }
}

html body .slot-row__card.motion-nudge,
html body .mini-card.motion-nudge {
  animation: motion-nudge 1.1s var(--motion-ease);
}

html body .slot-row__card.motion-nudge::after,
html body .mini-card.motion-nudge::after {
  animation: motion-nudge-ring 1.1s ease;
}

@keyframes motion-glint {
  from { transform: translateX(-130%) skewX(-16deg); }
  to { transform: translateX(330%) skewX(-16deg); }
}

html body .slot-row__card.motion-glint .slot-row__card-media::before,
html body .mini-card.motion-glint .mini-card__media::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 45%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.26) 50%, transparent 100%);
  transform: translateX(-130%) skewX(-16deg);
  animation: motion-glint 0.9s ease-out forwards;
  pointer-events: none;
}

@keyframes motion-wiggle {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-12deg) scale(1.08); }
  45% { transform: rotate(9deg) scale(1.08); }
  70% { transform: rotate(-4deg); }
}

html body .slot-row__icon.motion-wiggle {
  animation: motion-wiggle 0.8s ease-in-out;
}



.game-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  max-width: calc(100% - 3rem);
  pointer-events: none;
}

.game-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1875rem 0.5rem;
  border-radius: 6.25rem;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}


.game-badge--hot {
  background: linear-gradient(135deg, #ff8a00 0%, #ff3d3d 100%);
}

.game-badge--new {
  background: linear-gradient(135deg, #25ff6b 0%, #00d4a6 100%);
  color: var(--color-text-dark, #0c0b0e);
}

.game-badge--buy {
  background: linear-gradient(135deg, #ffd25a 0%, #ff9f1c 100%);
  color: #1b1405;
}

.game-badge--live {
  background: rgba(12, 11, 14, 0.74);
}

.game-badge__dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--color-accent, #25ff6b);
  box-shadow: 0 0 0.375rem rgba(37, 255, 107, 0.9);
}


.game-badges > .mini-card__badge {
  position: static;
}




.fav-toggle--card {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background: rgba(12, 11, 14, 0.62);
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s var(--motion-spring), background-color 0.2s ease, color 0.2s ease;
}

.fav-toggle__icon {
  width: 1rem;
  height: 1rem;
}

.fav-toggle.is-active {
  color: var(--color-accent, #25ff6b);
}

.fav-toggle.is-active .fav-toggle__icon path {
  fill: currentColor;
}

.fav-toggle--card:focus-visible,
.fav-toggle--toolbar:focus-visible {
  outline: 0.125rem solid var(--color-accent, #25ff6b);
  outline-offset: 0.125rem;
}


@media (hover: hover) {
  .fav-toggle--card:not(.is-active) {
    opacity: 0;
    transform: scale(0.8);
  }

  .slot-row__card:hover .fav-toggle--card,
  .game-card:hover .fav-toggle--card,
  .mini-card:hover .fav-toggle--card,
  .fav-toggle--card:focus-visible {
    opacity: 1;
    transform: none;
  }

  .fav-toggle--card:hover {
    background: rgba(12, 11, 14, 0.85);
  }
}

@media (hover: none) {
  .fav-toggle--card {
    top: 0.375rem;
    right: 0.375rem;
    width: 1.625rem;
    height: 1.625rem;
  }

  .fav-toggle--card .fav-toggle__icon {
    width: 0.875rem;
    height: 0.875rem;
  }
}

@keyframes fav-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.3); }
  65% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

.fav-toggle.is-popping {
  animation: fav-pop 0.4s var(--motion-ease);
}

.fav-toggle--toolbar {
  color: #fff;
}

.fav-toggle--toolbar.is-active {
  color: var(--color-accent, #25ff6b);
}

@media (max-width: 48rem) {
  .game-badges {
    top: 0.375rem;
    left: 0.375rem;
    gap: 0.1875rem;
    max-width: calc(100% - 2.5rem);
  }

  .game-badge {
    padding: 0.125rem 0.375rem;
    font-size: 0.5625rem;
  }


  html body .design-page-stack--home > .live-winners {
    display: none;
  }

}


html body img {
  -webkit-user-drag: none;
}

html body .header-auth,
html body .sidebar,
html body .mobile-menu,
html body .banner-card,
html body .slot-row__header,
html body .slot-row__card,
html body .game-card,
html body .mini-card,
html body .lobby-tabs,
html body .live-winners,
html body .live-bets__head,
html body .live-bets__row,
html body button {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

html body .header-auth input,
html body .sidebar input,
html body .mobile-menu input {
  -webkit-user-select: text;
  user-select: text;
}


html body .header-auth .header-wheel,
html body .header-auth--logged .header-wheel {
  animation: none;
  box-shadow:
    0 0 1rem rgba(37, 255, 107, 0.16),
    0 0 2.25rem rgba(37, 255, 107, 0.08);
}

html body .header-auth .header-wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    0 0 1.375rem rgba(37, 255, 107, 0.14),
    0 0 3rem rgba(37, 255, 107, 0.07);
  opacity: 0;
  animation: motion-halo-breathe 3.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes motion-halo-breathe {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}


@media (prefers-reduced-motion: reduce) {
  html body .games-grid > .game-card,
  html body .mini-card__badge--hot,
  html body .banner-card--category > .banner-card__body::after,
  html body .banner-card--hero > .banner-card__body::after,
  html body .live-winners__dot::after,
  html body .live-winners__online-dot::after,
  html body .live-bets__dot::after,
  html body .header-balance__wallet.is-low::before,
  .live-bets__row.is-new,
  .live-bets__row.is-new::before,
  html body .header-auth .header-wheel::after,
  .fav-toggle.is-popping {
    animation: none;
  }

  html body .banner-card--category > .banner-card__body::after,
  html body .banner-card--hero > .banner-card__body::after {
    display: none;
  }

  html body .hero-carousel__slide.is-active .hero-carousel__image {
    transform: none;
    transition: none;
  }

  .roll-number__strip {
    transition: none;
  }
}
