.hot-cold-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 20px;
  padding: 16px;
  color: #f7f9fb;
  background: #1c2a33;
  border: 1px solid rgba(255, 255, 255, 0.025);
  border-radius: 2px;
}

.hot-cold-panel {
  position: relative;
  min-width: 0;
  padding: 14px 14px 16px;
  overflow: hidden;
  background: #151d24;
  border: 1px solid rgba(120, 157, 177, 0.2);
  border-radius: 9px;
  isolation: isolate;
}

.hot-cold-panel--hot {
  border-color: rgba(156, 63, 70, 0.48);
  background: linear-gradient(135deg, rgba(63, 19, 25, 0.94), rgba(17, 29, 38, 0.97) 64%);
}

.hot-cold-panel--cold {
  border-color: rgba(66, 154, 196, 0.5);
  background: linear-gradient(135deg, rgba(24, 107, 150, 0.93), rgba(15, 66, 93, 0.97));
}

.hot-cold-panel__background {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}

.hot-cold-panel--hot .hot-cold-panel__background {
  mix-blend-mode: screen;
  opacity: 0.22;
}

.hot-cold-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 55px;
  padding: 0 3px 11px;
}

.hot-cold-panel__title,
.hot-cold-panel__info,
.hot-cold-game {
  color: inherit;
  text-decoration: none;
}

.hot-cold-panel__title {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.hot-cold-panel__title img {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.hot-cold-panel__title h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hot-cold-panel__title h2::before {
  display: none;
}

.hot-cold-panel__info {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  white-space: nowrap;
}

.hot-cold-panel__info b:last-child {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 2px;
  font-size: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.hot-cold-panel__list {
  display: grid;
  gap: 8px;
  opacity: 1;
  transition: opacity 180ms ease;
}

.hot-cold-panel__list.is-rotating {
  opacity: 0.35;
}

.hot-cold-game {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 72px;
  overflow: hidden;
  background: rgba(10, 18, 25, 0.79);
  border: 1px solid rgba(255, 255, 255, 0.015);
  border-radius: 9px;
  transition: filter 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.hot-cold-panel--hot .hot-cold-game {
  background: linear-gradient(90deg, rgba(34, 14, 19, 0.87), rgba(14, 23, 30, 0.93));
}

.hot-cold-panel--cold .hot-cold-game {
  background: rgba(10, 43, 61, 0.78);
}

.hot-cold-game:hover,
.hot-cold-game:focus-visible {
  filter: brightness(1.12);
  transform: translateY(-1px);
  outline: 2px solid rgba(88, 217, 185, 0.7);
  outline-offset: 1px;
}

.hot-cold-game__image {
  width: 56px;
  height: 72px;
  object-fit: cover;
  object-position: center;
}

.hot-cold-game__copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 8px 10px;
}

.hot-cold-game__name {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-cold-game__provider {
  overflow: hidden;
  color: #9eb0bc;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-cold-game__rtp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 102px;
  min-height: 48px;
  margin-right: 10px;
  padding: 8px 10px;
  color: #fff;
  background: #91464e;
  border-radius: 9px;
  white-space: nowrap;
}

.hot-cold-panel--cold .hot-cold-game__rtp {
  background: #438fab;
}

.hot-cold-game__rtp img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hot-cold-game__rtp strong {
  font-size: 14px;
}

@media (max-width: 1100px) {
  .hot-cold-slots {
    grid-template-columns: 1fr;
  }

  .hot-cold-panel__title h2 {
    font-size: 22px;
  }
}

@media (max-width: 560px) {
  .hot-cold-slots {
    gap: 12px;
    margin-top: 12px;
    padding: 10px;
  }

  .hot-cold-panel {
    padding: 10px;
  }

  .hot-cold-panel__header {
    min-height: 48px;
    padding-bottom: 8px;
  }

  .hot-cold-panel__title {
    gap: 6px;
  }

  .hot-cold-panel__title h2 {
    font-size: 17px;
  }

  .hot-cold-panel__title img {
    width: 22px;
    height: 22px;
  }

  .hot-cold-panel__info {
    gap: 3px;
    font-size: 10px;
  }

  .hot-cold-panel__info b:last-child {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .hot-cold-game {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    min-height: 62px;
  }

  .hot-cold-game__image {
    width: 48px;
    height: 62px;
  }

  .hot-cold-game__copy {
    padding: 7px 8px;
  }

  .hot-cold-game__name {
    font-size: 12px;
  }

  .hot-cold-game__provider {
    font-size: 10px;
  }

  .hot-cold-game__rtp {
    min-width: 76px;
    min-height: 40px;
    margin-right: 7px;
    padding: 6px 7px;
  }

  .hot-cold-game__rtp img {
    width: 18px;
    height: 18px;
  }

  .hot-cold-game__rtp strong {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hot-cold-panel__list,
  .hot-cold-game {
    transition: none;
  }
}
