/* Slots page-specific styling (scoped) */

body.page-slots .navbar-bottom {
  margin-bottom: 0;
}

body.page-slots {
  --slots-sticky-top: 96px;
  --slots-header-gap: 12px;
  --slots-sticky-gap: 12px;
  --slots-categories-height: 60px;
  --slots-merge-surface: #081023;
  --slots-jackpot-surface: #222d44;
  --slots-browser-width: calc(100% - 6px);
  --slots-categories-sticky-top: calc(var(--slots-sticky-top) + var(--slots-header-gap));
  --slots-panel-sticky-top: calc(var(--slots-categories-sticky-top) + var(--slots-categories-height) + var(--slots-sticky-gap));
}

body.page-slots .main {
  padding-top: 0 !important;
}

body.page-slots .slots-hero {
  position: relative;
  isolation: isolate;
  margin-top: 6px;
}

body.page-slots .slots-hero::before,
body.page-slots .slots-hero::after {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 18px;
  width: 68px;
  pointer-events: none;
  z-index: 3;
  opacity: 0.8;
  filter: blur(14px);
  animation: slotsBannerSideLed 5.2s ease-in-out infinite;
}

body.page-slots .slots-hero::before {
  left: -16px;
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 153, 58, 0.56), rgba(255, 153, 58, 0.22) 36%, transparent 74%),
    linear-gradient(90deg, rgba(255, 132, 0, 0.28), transparent);
}

body.page-slots .slots-hero::after {
  right: -16px;
  background:
    radial-gradient(circle at 100% 50%, rgba(61, 188, 255, 0.54), rgba(61, 188, 255, 0.2) 36%, transparent 74%),
    linear-gradient(270deg, rgba(47, 164, 255, 0.28), transparent);
  animation-delay: 0.35s;
}

@keyframes slotsBannerSideLed {
  0%, 100% {
    opacity: 0.62;
    filter: blur(12px);
  }
  50% {
    opacity: 0.95;
    filter: blur(16px);
  }
}

body.page-slots .slot-jackpot-section {
  width: 100%;
  padding: 18px 0 6px;
}

body.page-slots .slot-jackpot-shell {
  width: calc(100% - 16px);
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.page-slots .slot-jackpot-viewport {
  position: relative;
  border-radius: 0;
  overflow: hidden;
}

body.page-slots .slot-jackpot-viewport::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 94px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 8, 27, 0.98) 0%, rgba(0, 8, 27, 0.88) 34%, rgba(0, 8, 27, 0) 100%);
  backdrop-filter: blur(8px);
  z-index: 2;
}

body.page-slots .slot-jackpot-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 94px;
  pointer-events: none;
  background: linear-gradient(270deg, rgba(0, 8, 27, 0.98) 0%, rgba(0, 8, 27, 0.88) 34%, rgba(0, 8, 27, 0) 100%);
  backdrop-filter: blur(8px);
  z-index: 2;
}

body.page-slots .slot-jackpot-track {
  display: flex;
  gap: 12px;
  transform: translateX(0);
  will-change: transform;
}

body.page-slots .slot-jackpot-card {
  flex: 0 0 324px;
  width: 324px;
  min-width: 324px;
  min-height: 364px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(118, 131, 160, 0.24);
  background: var(--slots-jackpot-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.page-slots .slot-jackpot-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

body.page-slots .slot-jackpot-brand {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff8ec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.page-slots .slot-jackpot-brand.tone-pragmatic {
  background: radial-gradient(circle at 30% 30%, #ffdb9e 0%, #b96a12 46%, #6c3300 100%);
}

body.page-slots .slot-jackpot-brand.tone-egt {
  background: radial-gradient(circle at 30% 30%, #ff9b8f 0%, #ef2f18 44%, #8f1106 100%);
}

body.page-slots .slot-jackpot-brand.tone-netent {
  background: radial-gradient(circle at 30% 30%, #ffc1c8 0%, #f35f6d 44%, #7d1722 100%);
}

body.page-slots .slot-jackpot-brand.tone-playngo {
  background: radial-gradient(circle at 30% 30%, #ffe8b5 0%, #ffb847 44%, #7f4900 100%);
}

body.page-slots .slot-jackpot-brand.tone-hacksaw {
  background: radial-gradient(circle at 30% 30%, #ffd2c5 0%, #ff7c57 44%, #7d2310 100%);
}

body.page-slots .slot-jackpot-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

body.page-slots .slot-jackpot-label {
  color: #29e68a;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15;
}

body.page-slots .slot-jackpot-provider {
  color: #ffffff;
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: 1.42rem;
  line-height: 1;
  letter-spacing: 0.01em;
}

body.page-slots .slot-jackpot-total {
  display: inline-block;
  min-width: 13ch;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

body.page-slots .slot-jackpot-arrow {
  color: #d8dfee;
  font-size: 2rem;
  line-height: 1;
  margin-top: 8px;
  opacity: 0.88;
}

body.page-slots .slot-jackpot-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.page-slots .slot-jackpot-metric {
  min-height: 68px;
  padding: 10px 12px;
  border-radius: 13px;
  border: 1px solid rgba(137, 149, 177, 0.2);
  background: var(--slots-jackpot-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.page-slots .slot-jackpot-metric-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

body.page-slots .slot-jackpot-metric-label {
  color: #26e589;
  font-size: 0.8rem;
  font-weight: 800;
}

body.page-slots .slot-jackpot-metric-value {
  display: inline-block;
  min-width: 11ch;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

body.page-slots .slot-jackpot-metric-meta {
  display: inline-block;
  min-width: 14ch;
  color: #aeb8cd;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

body.page-slots .slot-jackpot-metric-icon {
  color: #0edd85;
  font-size: 1.3rem;
  line-height: 1;
  flex: 0 0 auto;
}

body.page-slots .slot-jackpot-thumbs-shell {
  margin-top: auto;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(130, 142, 170, 0.2);
  background: var(--slots-jackpot-surface);
  overflow: hidden;
}

body.page-slots .slot-jackpot-thumbs-viewport {
  overflow: hidden;
}

body.page-slots .slot-jackpot-thumbs-track {
  display: flex;
  gap: 10px;
  transform: translateX(0);
  will-change: transform;
}

body.page-slots .slot-jackpot-thumb {
  position: relative;
  flex: 0 0 calc((100% - 20px) / 3);
  aspect-ratio: 1.08 / 0.8;
  border-radius: 10px;
  overflow: hidden;
  background: #181e2d;
  border: 1px solid rgba(124, 136, 164, 0.18);
}

body.page-slots .slot-jackpot-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}

body.page-slots .slot-jackpot-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.page-slots .slot-jackpot-thumb-label {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.48);
}

body.page-slots .slot-jackpot-thumb-poster {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 8px;
}

body.page-slots .slot-jackpot-thumb-poster::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.22) 100%);
}

body.page-slots .slot-jackpot-thumb-poster.tone-pragmatic {
  background: linear-gradient(135deg, #6c3f13 0%, #d28c28 100%);
}

body.page-slots .slot-jackpot-thumb-poster.tone-egt {
  background: linear-gradient(135deg, #5e150d 0%, #d63a21 100%);
}

body.page-slots .slot-jackpot-thumb-poster.tone-netent {
  background: linear-gradient(135deg, #4c1823 0%, #cb4e61 100%);
}

body.page-slots .slot-jackpot-thumb-poster.tone-playngo {
  background: linear-gradient(135deg, #5a3204 0%, #d98e21 100%);
}

body.page-slots .slot-jackpot-thumb-poster.tone-hacksaw {
  background: linear-gradient(135deg, #5a2114 0%, #d65b3c 100%);
}

body.page-slots .record-wins-section {
  max-width: none;
  width: 100%;
  padding: 20px 0 14px;
}

body.page-slots .record-wins-shell {
  width: calc(100% - 16px);
  max-width: none;
  margin: 0 auto;
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 0;
}

body.page-slots .record-wins-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f5f7ff;
  margin-bottom: 14px;
}

body.page-slots .record-wins-head h2 {
  margin: 0;
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: 1.35rem;
}

body.page-slots .record-icon {
  font-size: 1.8rem;
  color: #96a4c0;
}

body.page-slots .record-wins-grid {
  display: grid;
  grid-template-columns: 620px 1fr;
  gap: 18px;
}

body.page-slots .top-winners-panel,
body.page-slots .current-winners-panel {
  position: relative;
  isolation: isolate;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(10, 16, 29, 0.82), rgba(8, 14, 25, 0.92));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 24px rgba(48, 179, 255, 0.17),
    0 0 40px rgba(255, 129, 26, 0.12),
    inset 0 0 20px rgba(34, 80, 141, 0.2);
  animation: slotsPanelLedPulse 5.8s ease-in-out infinite;
}

body.page-slots .top-winners-panel::before,
body.page-slots .current-winners-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 170, 75, 0.34), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(68, 180, 255, 0.3), transparent 45%);
  filter: blur(12px);
  opacity: 0.7;
}

@keyframes slotsPanelLedPulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.04),
      0 0 22px rgba(48, 179, 255, 0.15),
      0 0 36px rgba(255, 129, 26, 0.11),
      inset 0 0 18px rgba(34, 80, 141, 0.18);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06),
      0 0 30px rgba(48, 179, 255, 0.24),
      0 0 50px rgba(255, 129, 26, 0.17),
      inset 0 0 24px rgba(34, 80, 141, 0.26);
  }
}

body.page-slots .top-winners-panel {
  overflow: hidden;
  padding: 16px 16px 0;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 125, 42, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(8, 14, 25, 0.92), rgba(8, 14, 25, 0.96));
}

body.page-slots .top-winners-panel h3,
body.page-slots .current-winners-panel h3 {
  margin: 0;
  color: #ffffff;
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: 1.5rem;
}

body.page-slots .tw-switch {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

body.page-slots .tw-switch button {
  height: 38px;
  padding: 0 20px;
  border: none;
  background: #1f2c45;
  color: #aab9d8;
  font-size: 0.9rem;
  font-weight: 700;
}

body.page-slots .tw-switch .active {
  border-radius: 10px;
  background: #31466d;
  color: #ffffff;
}

body.page-slots .tw-podium {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 8px;
  margin-top: 54px;
  padding: 0 10px 14px;
}

body.page-slots .tw-card {
  text-align: center;
  position: relative;
}

body.page-slots .tw-card-media {
  position: relative;
}

body.page-slots .tw-card img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  transition: filter 0.2s ease, transform 0.2s ease;
}

body.page-slots .tw-card.first img { height: 172px; object-fit: cover; }
body.page-slots .tw-card.second img,
body.page-slots .tw-card.third img { height: 148px; object-fit: cover; }

body.page-slots .rw-play-emblem {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.86);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 4;
}

body.page-slots .rw-play-emblem::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
  margin-left: 3px;
}

body.page-slots .rw-play-emblem.mini {
  width: 30px;
  height: 30px;
  border-width: 1.5px;
}

body.page-slots .rw-play-emblem.mini::before {
  border-top-width: 5px;
  border-bottom-width: 5px;
  border-left-width: 8px;
  margin-left: 2px;
}

body.page-slots .tw-card:hover img,
body.page-slots .cw-row:hover .cw-game-thumb img {
  filter: brightness(0.58);
}

body.page-slots .tw-card:hover .rw-play-emblem,
body.page-slots .cw-row:hover .rw-play-emblem,
body.page-slots .tw-mini-item:hover .rw-play-emblem {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

body.page-slots .tw-rank {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe9be, #b17f45);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.page-slots .tw-card.first .tw-rank {
  background: linear-gradient(180deg, #ffb548, #ff6f00);
}

body.page-slots .tw-amount {
  margin: 8px auto 5px;
  height: 26px;
  min-width: 94px;
  padding: 0 10px;
  border-radius: 8px;
  background: #12a667;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.page-slots .tw-card strong {
  display: block;
  color: #f4f7ff;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

body.page-slots .tw-mini-strip {
  position: relative;
  margin: 0 -16px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #232d40;
  overflow: hidden;
  margin-top: auto;
}

body.page-slots .tw-mini-strip::before,
body.page-slots .tw-mini-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 26px;
  pointer-events: none;
  z-index: 1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body.page-slots .tw-mini-strip::before {
  left: 0;
  background: linear-gradient(90deg, rgba(35, 45, 64, 0.9) 0%, rgba(35, 45, 64, 0) 100%);
}

body.page-slots .tw-mini-strip::after {
  right: 0;
  background: linear-gradient(270deg, rgba(35, 45, 64, 0.9) 0%, rgba(35, 45, 64, 0) 100%);
}

body.page-slots .tw-mini-track {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: max-content;
  animation: twMiniTicker 20s ease-in-out infinite;
}

@keyframes twMiniTicker {
  0%, 16% { transform: translateX(0); }
  32%, 48% { transform: translateX(-16.666%); }
  64%, 80% { transform: translateX(-33.333%); }
  100% { transform: translateX(-50%); }
}

body.page-slots .tw-mini-item {
  text-align: center;
  flex: 0 0 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.page-slots .tw-mini-thumb {
  position: relative;
  display: inline-flex;
}

body.page-slots .tw-mini-item img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  margin: 0 auto 4px;
}

body.page-slots .tw-mini-item span {
  display: block;
  color: #15cd7f;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

body.page-slots .current-winners-panel {
  padding: 16px;
}

body.page-slots .cw-head-row {
  margin-top: 10px;
  padding: 0 8px;
  display: grid;
  grid-template-columns: 2.1fr 1fr 0.9fr 1fr 0.9fr 0.8fr;
  gap: 10px;
  color: #8f9fbd;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

body.page-slots .cw-list-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

body.page-slots .cw-list-viewport::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 14, 25, 0) 0%, rgba(9, 14, 25, 0.42) 38%, rgba(9, 14, 25, 0.92) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.page-slots .cw-list {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

body.page-slots .cw-row {
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #202b40;
  padding: 8px;
  display: grid;
  align-items: center;
  grid-template-columns: 2.1fr 1fr 0.9fr 1fr 0.9fr 0.8fr;
  gap: 10px;
  color: #f0f4ff;
  font-size: 0.88rem;
  font-weight: 700;
}

body.page-slots .cw-game {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.page-slots .cw-game-thumb {
  width: 44px;
  height: 44px;
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

body.page-slots .cw-game img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

body.page-slots .cw-user {
  color: #d7e2ff;
}

body.page-slots .cw-win {
  height: 30px;
  min-width: 72px;
  border-radius: 8px;
  background: #16a765;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.page-slots .cw-row.top-hot {
  border-top: 1px solid #e14e52;
  box-shadow: inset 0 1px 0 rgba(225, 78, 82, 0.4);
}

body.page-slots .cw-row.top-hot .cw-user,
body.page-slots .cw-row.top-hot .cw-game {
  color: #ff6f6f;
}

body.page-slots .cw-list.is-moving .cw-row.top-hot {
  background: #3a2430;
}

body.page-slots .trend-strip-section {
  width: 100%;
  margin-top: 35px;
  padding: 0 0 8px;
  background: var(--site-bg);
}

body.page-slots .trend-catalog-block {
  width: calc(100% - 12px);
  margin: 0 auto;
  padding: 0;
}

body.page-slots .trend-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 2px;
}

body.page-slots .trend-section-title {
  margin: 0;
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: 1.36rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

body.page-slots .trend-catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

body.page-slots .trend-catalog-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1.48 / 1;
  background: #0e1f3d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.page-slots .trend-catalog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 0 8px rgba(0, 0, 0, 0.4);
}

body.page-slots .trend-catalog-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

body.page-slots .trend-catalog-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 3;
  background: rgba(99, 49, 140, 0.94);
  color: #f1eaff;
  font-size: 0.52rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

body.page-slots .trend-catalog-name {
  display: none;
}

body.page-slots .trend-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg, rgba(9, 14, 25, 0.08) 0%, rgba(9, 14, 25, 0.22) 100%);
  backdrop-filter: blur(10px) saturate(1.04);
  -webkit-backdrop-filter: blur(10px) saturate(1.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.page-slots .trend-catalog-card:hover .trend-overlay {
  opacity: 1;
}

body.page-slots .trend-overlay-title {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

body.page-slots .trend-actions {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
}

body.page-slots .trend-btn {
  background: #f5a100;
  color: #0b0f1a;
  border: none;
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

body.page-slots .trend-btn:hover {
  background: #ffb83d;
  transform: scale(1.05);
}

body.page-slots .trend-btn.demo {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

body.page-slots .trend-btn.demo:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffb83d;
  color: #ffb83d;
}

body.page-slots .slot-categories-section {
  width: 100%;
  margin-top: var(--slots-header-gap);
  padding: 0 0 var(--slots-sticky-gap);
  background: transparent;
  position: sticky;
  top: var(--slots-categories-sticky-top);
  z-index: 38;
  isolation: isolate;
}

body.page-slots .slot-categories-section::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: var(--slots-browser-width);
  height: calc(var(--slots-categories-height) + 8px);
  transform: translateX(-50%);
  background: #0c1428;
  border-radius: 0;
  z-index: 0;
}

body.page-slots .slot-categories-section::after {
  content: '';
  display: block;
  width: var(--slots-browser-width);
  height: calc(var(--slots-sticky-gap) + 1px);
  margin: -1px auto 0;
  background: var(--slots-merge-surface);
}

body.page-slots .slot-categories-rail {
  width: var(--slots-browser-width);
  margin: 0 auto;
  min-height: 60px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(10, minmax(120px, 1fr));
  align-items: stretch;
  background: linear-gradient(180deg, #1c2740 0%, #1b253b 100%);
  border: 1px solid rgba(205, 219, 248, 0.14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.22);
}

body.page-slots .slot-category-item:last-child {
  border-right: 0;
}

body.page-slots .slot-category-item,
body.page-slots .slot-category-arrow {
  position: relative;
  min-height: 60px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #b6c2d7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

body.page-slots .slot-category-item::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  background: linear-gradient(0deg, rgba(121, 58, 0, 0.92) 0%, rgba(181, 98, 18, 0.68) 42%, rgba(255, 173, 64, 0.18) 76%, rgba(255, 173, 64, 0) 100%);
  box-shadow: inset 0 -12px 24px rgba(255, 152, 23, 0.18), 0 0 28px rgba(196, 102, 14, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: height 0.24s ease, opacity 0.24s ease;
}

body.page-slots .slot-category-item::after,
body.page-slots .slot-category-arrow::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 2px;
  background: rgba(185, 201, 231, 0.75);
  opacity: 0.5;
  transition: background 0.22s ease;
}

body.page-slots .slot-category-item:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(68, 44, 17, 0.2) 100%);
  color: #ecf3ff;
}

body.page-slots .slot-category-item:hover::before {
  height: 100%;
  opacity: 1;
}

body.page-slots .slot-category-item:hover::after {
  background: rgba(255, 183, 71, 0.95);
  opacity: 1;
}

body.page-slots .slot-category-item.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(99, 56, 11, 0.26) 100%);
  color: #ffffff;
  box-shadow: inset 0 16px 18px rgba(255, 171, 56, 0.04), inset 0 -1px 0 rgba(255, 191, 76, 0.25);
}

body.page-slots .slot-category-item.active::before {
  height: 100%;
  opacity: 1;
}

body.page-slots .slot-category-item.active::after {
  background: rgba(255, 183, 71, 1);
  opacity: 1;
}

body.page-slots .slot-category-item > * {
  position: relative;
  z-index: 1;
}

body.page-slots .slot-category-label {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
}

body.page-slots .slot-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: currentColor;
  opacity: 0.92;
}

body.page-slots .slot-category-icon::before,
body.page-slots .slot-category-icon::after {
  content: '';
  position: absolute;
}

body.page-slots .slot-category-icon.grid {
  width: 30px;
  display: grid;
  grid-template-columns: repeat(2, 12px);
  grid-template-rows: repeat(2, 12px);
  gap: 2px;
}

body.page-slots .slot-category-icon.grid::before {
  position: static;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 14px 0 currentColor, 0 14px currentColor, 14px 14px currentColor;
}

body.page-slots .slot-category-icon.trophy::before {
  top: 5px;
  left: 7px;
  width: 14px;
  height: 11px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 0 0 8px 8px;
}

body.page-slots .slot-category-icon.trophy::after {
  bottom: 3px;
  left: 10px;
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

body.page-slots .slot-category-icon.diamond::before {
  inset: 4px;
  transform: rotate(45deg);
  border: 2px solid currentColor;
  border-radius: 2px;
}

body.page-slots .slot-category-icon.badge {
  width: auto;
  min-width: 28px;
  height: 20px;
  padding: 0 4px;
  border-radius: 10px 10px 10px 2px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body.page-slots .slot-category-icon.slot-machine::before {
  inset: 3px 5px 5px;
  border: 2px solid currentColor;
  border-radius: 6px;
}

body.page-slots .slot-category-icon.slot-machine::after {
  top: 7px;
  left: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 10px 0 0 currentColor;
  background: currentColor;
}

body.page-slots .slot-category-icon.drops::before {
  top: 3px;
  left: 11px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 10px solid currentColor;
}

body.page-slots .slot-category-icon.drops::after {
  top: 11px;
  left: 6px;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

body.page-slots .slot-category-icon.moneybag::before {
  top: 5px;
  left: 7px;
  width: 14px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 7px 7px 9px 9px;
}

body.page-slots .slot-category-icon.moneybag::after {
  top: 2px;
  left: 10px;
  width: 8px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 6px 6px 2px 2px;
}

body.page-slots .slot-category-icon.seven {
  font-size: 1rem;
  font-weight: 800;
}

body.page-slots .slot-category-icon.seven::before {
  content: '777';
  position: static;
}

body.page-slots .slot-category-icon.wheel::before {
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px transparent;
}

body.page-slots .slot-category-icon.wheel::after {
  top: 12px;
  left: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -9px 0 0 currentColor, 9px 0 0 currentColor, 0 -9px 0 currentColor, 0 9px 0 currentColor;
}

body.page-slots .slot-category-icon.stars::before {
  content: '★★★';
  position: static;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

body.page-slots .slot-category-arrow {
  border-right: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
}

body.page-slots .slot-category-arrow:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

body.page-slots .slot-category-arrow span {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.page-slots .slot-category-arrow span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid #d9e3f3;
  border-right: 2px solid #d9e3f3;
  transform: rotate(45deg);
  margin-left: -2px;
}

@media (max-width: 1024px) {
  body.page-slots {
    --slots-sticky-top: 94px;
    --slots-header-gap: 10px;
    --slots-categories-height: 168px;
  }

  body.page-slots .slot-categories-rail {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    border-radius: 14px;
  }

  body.page-slots .slot-category-item,
  body.page-slots .slot-category-arrow {
    min-height: 56px;
  }

  body.page-slots .slot-category-label {
    font-size: 0.74rem;
  }
}

@media (max-width: 700px) {
  body.page-slots {
    --slots-sticky-top: 0px;
    --slots-header-gap: 6px;
    --slots-sticky-gap: 0px;
    --slots-categories-height: 0px;
    --slots-browser-width: calc(100% - 8px);
  }

  body.page-slots .slot-categories-section {
    margin-top: var(--slots-header-gap);
    padding-bottom: 14px;
    position: static;
  }

  body.page-slots .slot-categories-section::before {
    content: none;
  }

  body.page-slots .slot-categories-section::after {
    content: none;
  }

  body.page-slots .slot-categories-rail {
    width: var(--slots-browser-width);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 12px;
  }

  body.page-slots .slot-category-item,
  body.page-slots .slot-category-arrow {
    min-height: 54px;
    justify-content: flex-start;
    padding: 9px 10px;
  }

  body.page-slots .slot-category-label {
    font-size: 0.7rem;
    white-space: normal;
  }

  body.page-slots .slot-category-arrow {
    grid-column: span 2;
    justify-content: center;
  }
}

body.page-slots .slots-section {
  max-width: none;
  width: 100%;
  padding: 1.15rem 0 2.4rem;
}

body.page-slots .slots-shell {
  width: calc(100% - 16px);
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

body.page-slots .slots-browser-shell {
  width: var(--slots-browser-width);
}

body.page-slots .slots-browser-layout {
  --slots-merge-gap: 12px;
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  gap: var(--slots-merge-gap);
  align-items: start;
}

body.page-slots .slots-sidebar-panel,
body.page-slots .slots-games-panel {
  border-radius: 8px;
  background: linear-gradient(180deg, #051733 0%, #071e43 100%);
  border: 1px solid rgba(115, 146, 198, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body.page-slots .slots-sidebar-panel {
  position: sticky;
  top: var(--slots-panel-sticky-top);
  overflow: visible;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

body.page-slots .slots-sidebar-panel::before {
  content: none;
}

body.page-slots .slots-sidebar-panel > * {
  position: relative;
  z-index: 1;
}

body.page-slots .slots-sidebar-topbar {
  position: relative;
  padding: 10px 12px 12px;
  background: var(--slots-merge-surface);
}

body.page-slots .slots-sidebar-topbar::after {
  content: '';
  position: absolute;
  top: 0;
  right: calc(var(--slots-merge-gap) * -1);
  bottom: 0;
  width: var(--slots-merge-gap);
  background: var(--slots-merge-surface);
}

body.page-slots .slots-games-panel {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

body.page-slots .slots-panel-head {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

body.page-slots .slots-panel-head-games {
  justify-content: space-between;
}

body.page-slots .slots-panel-back {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(138, 164, 217, 0.2);
  background: linear-gradient(180deg, rgba(18, 34, 67, 0.94), rgba(9, 21, 45, 0.96));
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.page-slots .slots-panel-back::before {
  content: '';
  width: 6px;
  height: 6px;
  border-left: 2px solid #e6eefc;
  border-bottom: 2px solid #e6eefc;
  transform: rotate(45deg);
  margin-left: 2px;
}

body.page-slots .slots-panel-title {
  margin: 0;
  flex: 1 1 auto;
  font-size: 1.02rem;
  line-height: 1;
  letter-spacing: 0.12em;
  color: #f2f7ff;
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-weight: 800;
}

body.page-slots .slots-provider-view {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 11px;
  border: 1px solid rgba(138, 164, 217, 0.2);
  background: linear-gradient(180deg, rgba(18, 34, 67, 0.94), rgba(9, 21, 45, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
}

body.page-slots .slots-provider-view::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 9px;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: #dbe7fb;
  box-shadow: 9px 0 0 #dbe7fb, 0 9px 0 #dbe7fb, 9px 9px 0 #dbe7fb;
}

body.page-slots .slots-panel-search {
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(117, 142, 194, 0.22);
  background: linear-gradient(180deg, rgba(13, 25, 51, 0.96) 0%, rgba(7, 17, 36, 0.99) 100%);
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  padding: 0 12px;
  gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.page-slots .slots-panel-search input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  color: #d9e6ff;
  font-size: 0.92rem;
  font-weight: 600;
}

body.page-slots .slots-panel-search input::placeholder {
  color: #97abcf;
}

body.page-slots .search-icon {
  width: 16px;
  height: 16px;
  border: 2px solid #dce7fb;
  border-radius: 50%;
  position: relative;
  opacity: 0.88;
}

body.page-slots .search-icon::after {
  content: '';
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  background: #dce7fb;
  transform: rotate(45deg);
  border-radius: 1px;
}

body.page-slots .slots-provider-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  max-height: calc(100vh - var(--slots-panel-sticky-top) - 126px);
  overflow-y: auto;
  padding-right: 2px;
  align-content: start;
  scrollbar-color: rgba(176, 197, 236, 0.38) transparent;
}

body.page-slots .slots-provider-grid::-webkit-scrollbar {
  width: 6px;
}

body.page-slots .slots-provider-grid::-webkit-scrollbar-track {
  background: transparent;
}

body.page-slots .slots-provider-grid::-webkit-scrollbar-thumb {
  background: rgba(152, 177, 223, 0.35);
  border-radius: 999px;
}

body.page-slots .provider-tile {
  position: relative;
  min-height: 68px;
  aspect-ratio: 1 / 1;
  border-radius: 11px;
  border: 1px solid rgba(121, 147, 199, 0.2);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(19, 32, 62, 0.96) 0%, rgba(9, 19, 39, 0.98) 100%);
  padding: 20px 5px 7px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  gap: 3px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -18px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.page-slots .provider-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%, rgba(255, 255, 255, 0.015) 100%);
  pointer-events: none;
}

body.page-slots .provider-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 194, 104, 0.52);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -18px 22px rgba(0, 0, 0, 0.22);
}

body.page-slots .provider-tile.active {
  border-color: rgba(255, 178, 69, 0.72);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 223, 167, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(74, 45, 16, 0.98) 0%, rgba(33, 22, 10, 0.98) 100%);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 225, 185, 0.22),
    inset 0 -18px 22px rgba(0, 0, 0, 0.16);
}

body.page-slots .provider-chip-label {
  position: absolute;
  top: 6px;
  left: 6px;
  min-width: 33px;
  height: 15px;
  border-radius: 999px;
  font-size: 0.34rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #ffffff;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #9738dc 0%, #602793 100%);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

body.page-slots .provider-tile:nth-child(3n) .provider-chip-label {
  background: linear-gradient(180deg, #f2b033 0%, #a16a12 100%);
}

body.page-slots .provider-tile:nth-child(4n) .provider-chip-label {
  background: linear-gradient(180deg, #d43a7c 0%, #8f1f50 100%);
}

body.page-slots .provider-tile-name {
  margin-top: auto;
  min-height: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #d8e4f8;
  font-size: 0.46rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.03em;
  word-break: break-word;
}

body.page-slots .provider-mark {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #b9cfff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Rajdhani', 'Inter', sans-serif;
  text-shadow: none;
}

body.page-slots .provider-tile.active .provider-mark {
  background: linear-gradient(180deg, #fff7e7 0%, #f1c978 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.page-slots .provider-tile[data-provider=""] .provider-mark {
  letter-spacing: 0.16em;
}

body.page-slots .provider-tile[data-provider="Pragmatic Play"] .provider-mark {
  background: linear-gradient(180deg, #ffd58a 0%, #ff9c2b 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.page-slots .provider-tile[data-provider="Evolution"] .provider-mark {
  background: linear-gradient(180deg, #c4f4d2 0%, #3fbe74 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.page-slots .provider-tile[data-provider="NetEnt"] .provider-mark {
  background: linear-gradient(180deg, #ffedef 0%, #f06473 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.page-slots .provider-tile[data-provider="Play'n GO"] .provider-mark {
  background: linear-gradient(180deg, #fff2cd 0%, #ffbf47 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.page-slots .provider-tile[data-provider="Microgaming"] .provider-mark {
  background: linear-gradient(180deg, #d4e8ff 0%, #63a8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.page-slots .provider-tile[data-provider="Hacksaw"] .provider-mark {
  background: linear-gradient(180deg, #ffcfc6 0%, #ff7b59 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.page-slots .provider-tile[data-provider="Nolimit City"] .provider-mark {
  background: linear-gradient(180deg, #f1ffe7 0%, #96e54d 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.page-slots .provider-tile[data-provider="Push Gaming"] .provider-mark {
  background: linear-gradient(180deg, #ffe5d6 0%, #ff9a54 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.page-slots .provider-tile[data-provider="Big Time Gaming"] .provider-mark {
  background: linear-gradient(180deg, #ffedc2 0%, #f6be46 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.page-slots .slots-games-toolbar {
  display: block;
  align-items: center;
  margin-bottom: 0;
}

body.page-slots .slots-games-sticky {
  position: sticky;
  top: var(--slots-panel-sticky-top);
  z-index: 24;
  margin: 0 0 14px;
  padding: 10px 12px 12px;
  border-radius: 0;
  border: none;
  background: var(--slots-merge-surface);
  box-shadow: none;
}

body.page-slots .slots-games-sticky::before {
  content: none;
}

body.page-slots .slots-games-sticky::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 20px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 16, 35, 0), var(--slots-merge-surface) 78%);
}

body.page-slots .slots-games-sticky > * {
  position: relative;
  z-index: 1;
}

body.page-slots .slots-games-panel {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

body.page-slots .slots-panel-search-games {
  margin: 0;
  width: calc(100% + var(--slots-merge-gap));
  height: 40px;
  padding: 0 14px;
  margin-left: calc(var(--slots-merge-gap) * -1);
  flex-direction: row;
  border-radius: 14px;
  border: none;
  background: linear-gradient(180deg, #1c2740 0%, #1b253b 100%);
  box-shadow: none;
}

body.page-slots .slots-sidebar-topbar .slots-panel-search {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  gap: 0;
  flex-direction: row;
  border: none;
  background: linear-gradient(180deg, #1c2740 0%, #1b253b 100%);
  box-shadow: none;
}

body.page-slots .slots-sidebar-topbar .slots-panel-search .search-icon {
  display: none;
}

body.page-slots .slots-random-btn {
  height: 40px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #17a528 0%, #109321 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.page-slots .slots-random-btn:hover {
  background: #14b735;
}

body.page-slots .slots-view-btn {
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(146, 173, 220, 0.22);
  background: linear-gradient(180deg, rgba(26, 49, 90, 0.9) 0%, rgba(20, 41, 78, 0.9) 100%);
  position: relative;
}

body.page-slots .slots-view-btn::before,
body.page-slots .slots-view-btn::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #dce7fb;
  border-radius: 2px;
}

body.page-slots .slots-view-btn::before {
  top: 13px;
  box-shadow: 0 6px 0 #dce7fb;
}

body.page-slots .slots-view-btn::after {
  top: 25px;
  width: 10px;
  right: auto;
}

body.page-slots .slots-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

body.page-slots .slots-title {
  margin: 0;
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.02em;
  color: #f5f7ff;
}

body.page-slots .slots-subtitle {
  margin: 2px 0 0;
  color: #97a6c7;
  font-size: 0.88rem;
}

body.page-slots .slots-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.page-slots .slots-live-dot {
  color: #ff5555;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

body.page-slots .game-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 34px;
  border-radius: 999px;
  background: rgba(17, 26, 46, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d8e3ff;
  font-size: 0.82rem;
  font-weight: 700;
}

body.page-slots .slots-filter-panel {
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 161, 0, 0.16), transparent 32%),
    #151c2d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  margin-bottom: 10px;
}

body.page-slots .slots-filter-main {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 10px;
}

body.page-slots .slots-search-wrap {
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(146, 173, 220, 0.16);
  background: linear-gradient(180deg, rgba(29, 45, 77, 0.9) 0%, rgba(22, 35, 60, 0.9) 100%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

body.page-slots .slots-search-wrap span {
  font-size: 0.92rem;
  opacity: 0.85;
}

body.page-slots #slotSearch {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #e8efff;
  font-size: 0.88rem;
}

body.page-slots #slotSearch:focus {
  outline: none;
}

body.page-slots #slotSearch::placeholder {
  color: #7e8caf;
}

body.page-slots .slots-grid .game-item {
  min-width: 0;
}

body.page-slots .slots-provider-select {
  height: 42px;
  border-radius: 10px;
  background: rgba(9, 13, 23, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dbe6ff;
  font-weight: 600;
  padding: 0 10px;
}

body.page-slots .slots-chip-row {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

body.page-slots .slot-chip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #bdcae8;
  border-radius: 999px;
  height: 32px;
  padding: 0 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

body.page-slots .slot-chip:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

body.page-slots .slot-chip.active {
  background: #f5a100;
  color: #0b101b;
  border-color: rgba(245, 161, 0, 0.8);
}

body.page-slots .slots-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.42rem;
  margin-top: 0;
}

body.page-slots .slots-grid .game-card {
  aspect-ratio: 1.38 / 1;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c1322;
  overflow: hidden;
  box-shadow: none;
}

body.page-slots .slots-grid .game-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.42);
}

body.page-slots .slots-grid .game-name {
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

body.page-slots .slots-grid .game-provider {
  display: none;
}

body.page-slots .slots-grid .game-thumb {
  align-items: stretch;
  justify-content: stretch;
}

body.page-slots .slots-grid .game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.page-slots .slots-grid .game-thumb > span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.05rem !important;
  color: #fff;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(35, 51, 83, 0.96), rgba(14, 23, 41, 0.98));
}

body.page-slots .slots-grid .game-overlay {
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 0 12px 14px;
  background: rgba(5, 9, 18, 0.24);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

body.page-slots .slots-grid .btn-play {
  flex: 1 1 0;
  max-width: 150px;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffba08 0%, #f0a300 100%);
  color: #000;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  box-shadow: none;
}

body.page-slots .slots-grid .btn-play:hover {
  transform: none;
  box-shadow: none;
}

body.page-slots .slots-grid .btn-demo {
  flex: 1 1 0;
  max-width: 150px;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 9px;
  border: 1px solid rgba(235, 239, 247, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.page-slots .slots-grid .btn-demo:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.58);
  color: #ffffff;
}

body.page-slots .slots-grid .game-info {
  top: 50%;
  bottom: auto;
  left: 0;
  right: 0;
  transform: translateY(-58%);
  padding: 0 16px;
  background: none;
  z-index: 4;
}

body.page-slots .slots-grid .game-badge {
  top: 0;
  right: 0;
  padding: 0.14rem 0.32rem;
  border-radius: 0 6px 0 6px;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  box-shadow: none;
}

body.page-slots .slots-grid .badge-hot,
body.page-slots .slots-grid .badge-new,
body.page-slots .slots-grid .badge-live {
  background: linear-gradient(180deg, #7d5fa8 0%, #5b447f 100%);
  color: #fff;
}

body.page-slots .slots-load-wrap {
  margin-top: 2rem;
}

body.page-slots .slots-load-btn {
  border-color: rgba(245, 161, 0, 0.4);
  color: #f5a100;
  background: rgba(245, 161, 0, 0.08);
}

body.page-slots .slots-load-btn:hover {
  background: #f5a100;
  color: #131a2b;
  border-color: #f5a100;
}

@media (max-width: 1024px) {
  body.page-slots .slot-jackpot-section {
    padding: 16px 0 4px;
  }

  body.page-slots .slot-jackpot-shell {
    padding: 10px;
  }

  body.page-slots .slot-jackpot-track {
    gap: 10px;
  }

  body.page-slots .slot-jackpot-viewport::before,
  body.page-slots .slot-jackpot-viewport::after {
    width: 76px;
  }

  body.page-slots .slot-jackpot-card {
    flex-basis: 336px;
    width: 336px;
    min-width: 336px;
    min-height: 342px;
    padding: 12px;
  }

  body.page-slots .slot-jackpot-provider {
    font-size: 1.24rem;
  }

  body.page-slots .slot-jackpot-metric {
    min-height: 62px;
    padding: 9px 10px;
  }

  body.page-slots .slot-jackpot-thumbs-shell {
    padding: 7px;
  }

  body.page-slots .slot-jackpot-thumbs-track {
    gap: 8px;
  }

  body.page-slots .slot-jackpot-thumb {
    flex-basis: calc((100% - 8px) / 2);
  }

  body.page-slots .record-wins-grid {
    grid-template-columns: 1fr;
  }

  body.page-slots .tw-mini-strip {
    padding: 8px 10px;
  }

  body.page-slots .slots-title {
    font-size: 1.65rem;
  }

  body.page-slots .slots-browser-layout {
    grid-template-columns: 1fr;
  }

  body.page-slots .slots-sidebar-panel {
    padding: 0;
  }

  body.page-slots .slots-sidebar-topbar::after {
    content: none;
  }

  body.page-slots .slots-panel-search-games {
    width: 100%;
    margin-left: 0;
  }

  body.page-slots .slots-provider-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: calc(100vh - var(--slots-panel-sticky-top) - 154px);
  }

  body.page-slots .trend-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.page-slots .trend-catalog-card {
    aspect-ratio: 1.2 / 1;
  }

  body.page-slots .trend-btn {
    padding: 4px 10px;
    font-size: 0.6rem;
  }

  body.page-slots .slots-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.page-slots .slots-games-toolbar {
    display: block;
  }
}

@media (max-width: 700px) {
  body.page-slots .slot-jackpot-section {
    padding: 14px 0 4px;
  }

  body.page-slots .slot-jackpot-shell {
    width: calc(100% - 12px);
    padding: 8px;
  }

  body.page-slots .slot-jackpot-track {
    gap: 8px;
  }

  body.page-slots .slot-jackpot-viewport::before,
  body.page-slots .slot-jackpot-viewport::after {
    width: 56px;
  }

  body.page-slots .slot-jackpot-card {
    flex-basis: 88%;
    width: 88%;
    min-width: 88%;
    min-height: 322px;
    padding: 10px;
    gap: 12px;
  }

  body.page-slots .slot-jackpot-brand {
    width: 42px;
    height: 42px;
    font-size: 0.68rem;
  }

  body.page-slots .slot-jackpot-provider {
    font-size: 1.08rem;
  }

  body.page-slots .slot-jackpot-total {
    font-size: 0.9rem;
  }

  body.page-slots .slot-jackpot-arrow {
    font-size: 1.6rem;
    margin-top: 6px;
  }

  body.page-slots .slot-jackpot-metric {
    min-height: 58px;
    padding: 8px 9px;
  }

  body.page-slots .slot-jackpot-metric-label {
    font-size: 0.72rem;
  }

  body.page-slots .slot-jackpot-metric-value {
    font-size: 0.84rem;
  }

  body.page-slots .slot-jackpot-metric-meta {
    font-size: 0.72rem;
  }

  body.page-slots .slot-jackpot-metric-icon {
    font-size: 1.1rem;
  }

  body.page-slots .slot-jackpot-thumbs-shell {
    padding: 6px;
  }

  body.page-slots .slot-jackpot-thumbs-track {
    gap: 8px;
  }

  body.page-slots .slot-jackpot-thumb {
    flex-basis: calc((100% - 8px) / 2);
    aspect-ratio: 1.08 / 0.84;
  }

  body.page-slots .record-wins-shell {
    padding: 12px;
    border-radius: 14px;
  }

  body.page-slots .record-wins-head h2,
  body.page-slots .top-winners-panel h3,
  body.page-slots .current-winners-panel h3 {
    font-size: 1.4rem;
  }

  body.page-slots .tw-card.first img { height: 132px; }
  body.page-slots .tw-card.second img,
  body.page-slots .tw-card.third img { height: 118px; }
  body.page-slots .rw-play-emblem { width: 34px; height: 34px; }
  body.page-slots .rw-play-emblem::before {
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 8px;
  }
  body.page-slots .rw-play-emblem.mini { width: 24px; height: 24px; }
  body.page-slots .tw-mini-item { flex-basis: 82px; }
  body.page-slots .tw-mini-item img { width: 40px; height: 40px; border-radius: 8px; }
  body.page-slots .tw-mini-item span { font-size: 0.54rem; white-space: nowrap; }

  body.page-slots .cw-head-row {
    display: none;
  }

  body.page-slots .cw-row {
    grid-template-columns: 1.4fr 1fr;
    gap: 6px;
  }

  body.page-slots .cw-row > div:nth-child(3),
  body.page-slots .cw-row > div:nth-child(4),
  body.page-slots .cw-row > div:nth-child(5) {
    display: none;
  }

  body.page-slots .slots-shell {
    width: calc(100% - 16px);
    padding: 0;
  }

  body.page-slots .trend-catalog-block {
    width: calc(100% - 12px);
  }

  body.page-slots .trend-section-title {
    font-size: 1.2rem;
  }

  body.page-slots .trend-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body.page-slots .trend-catalog-card {
    aspect-ratio: 1.2 / 1;
  }

  body.page-slots .trend-catalog-badge {
    font-size: 0.48rem;
    padding: 2px 5px;
  }

  body.page-slots .trend-catalog-name {
    font-size: 0.65rem;
    padding: 3px 5px;
  }

  body.page-slots .trend-overlay-title {
    font-size: 0.68rem;
  }

  body.page-slots .trend-btn {
    padding: 3px 8px;
    font-size: 0.55rem;
  }

  body.page-slots .trend-catalog-block {
    width: calc(100% - 12px);
  }

  body.page-slots .trend-section-title {
    font-size: 1.2rem;
  }

  body.page-slots .trend-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body.page-slots .trend-catalog-card {
    aspect-ratio: 1.2 / 1;
  }

  body.page-slots .trend-catalog-badge {
    font-size: 0.48rem;
    padding: 2px 5px;
  }

  body.page-slots .trend-catalog-name {
    font-size: 0.65rem;
    padding: 3px 5px;
  }

  body.page-slots .slots-chip-row {
    gap: 6px;
  }

  body.page-slots .slot-chip {
    font-size: 0.69rem;
    height: 28px;
    padding: 0 10px;
  }

  body.page-slots .slots-browser-shell {
    width: calc(100% - 8px);
  }

  body.page-slots .slots-sidebar-panel,
  body.page-slots .slots-games-sticky {
    position: static;
    top: auto;
  }

  body.page-slots .slots-games-sticky::before {
    content: none;
  }

  body.page-slots .slots-panel-title {
    font-size: 1.02rem;
  }

  body.page-slots .slots-games-toolbar {
    grid-template-columns: 1fr;
  }

  body.page-slots .slots-random-btn,
  body.page-slots .slots-view-btn {
    height: 34px;
  }

  body.page-slots .slots-provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }

  body.page-slots .provider-tile {
    min-height: 76px;
  }

  body.page-slots .slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body.page-slots .slots-grid .game-card {
    aspect-ratio: 1.28 / 1;
  }
}
