/* Premium unified game card frame. The artwork remains original for slot games. */
.home .prize-item,
.home .recent-game-card,
.all-games .game-card {
  position: relative;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #1c1a13 0%, #0c0b0a 58%, #050505 100%) !important;
  border: 1px solid rgba(230, 190, 92, 0.34) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 236, 176, 0.14), inset 0 -1px 0 rgba(124, 83, 25, 0.28) !important;
  overflow: hidden;
  isolation: isolate;
}

.home .prize-item::before,
.home .recent-game-card::before,
.all-games .game-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 8px;
  border: 1px solid rgba(255, 232, 158, 0.12);
  pointer-events: none;
  z-index: 3;
}

.home .prize-item::after,
.home .recent-game-card::after,
.all-games .game-card::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 224, 129, 0.78), transparent);
  pointer-events: none;
  z-index: 4;
}

.home .prize-item__image-wrapper,
.home .recent-game-card__image-wrapper,
.all-games .game-card__image-wrapper {
  border-radius: 10px !important;
  background: radial-gradient(circle at 50% 28%, rgba(255, 221, 125, 0.18) 0%, rgba(255, 221, 125, 0.06) 34%, rgba(7, 7, 8, 0) 64%), linear-gradient(160deg, #181817 0%, #0a0a0b 100%) !important;
  overflow: hidden !important;
  contain: paint !important;
}

.home .prize-item__image-wrapper::before,
.home .recent-game-card__image-wrapper::before,
.all-games .game-card__image-wrapper::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045);
  pointer-events: none;
  z-index: 1;
}

.home .prize-item__image,
.home .recent-game-card__image,
.all-games .game-card__image {
  box-sizing: border-box;
  object-fit: contain !important;
  padding: 12px 10px 28px;
  border-radius: 10px !important;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.38));
  transition: transform 0.22s ease, filter 0.22s ease !important;
}

.home .prize-item:hover .prize-item__image,
.home .recent-game-card:hover .recent-game-card__image,
.all-games .game-card:hover .game-card__image {
  transform: scale(1.035) translateZ(0) !important;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.46));
}

.home .prize-item__badge,
.home .recent-game-card__badge,
.all-games .game-card__badge--supplier {
  top: 7px !important;
  left: 7px !important;
  right: auto !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, #f3d778 0%, #b77a28 100%) !important;
  color: #100d08 !important;
  border: 1px solid rgba(255, 241, 181, 0.42) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.all-games .game-card__badge--online {
  top: 7px !important;
  right: 7px !important;
  border-radius: 6px !important;
  background: rgba(5, 5, 5, 0.72) !important;
  border: 1px solid rgba(255, 232, 158, 0.18) !important;
}

.home .prize-item__title-overlay,
.home .recent-game-card__title-overlay,
.all-games .game-card__title-overlay {
  height: 42px !important;
  padding: 14px 7px 7px !important;
  background: linear-gradient(180deg, rgba(7, 7, 8, 0) 0%, rgba(5, 5, 5, 0.72) 38%, rgba(4, 4, 4, 0.94) 100%) !important;
  border-radius: 0 0 10px 10px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.home .prize-item__title-overlay::before,
.home .recent-game-card__title-overlay::before,
.all-games .game-card__title-overlay::before {
  display: none !important;
}

.home .prize-item__title,
.home .recent-game-card__title,
.all-games .game-card__title {
  max-width: 100%;
  color: #fff7dc !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 16px !important;
  letter-spacing: 0 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.86) !important;
}

.home .prize-item:active,
.home .recent-game-card:active,
.all-games .game-card:active {
  transform: scale(0.985) translateZ(0);
}

@media (max-width: 380px) {
  .home .prize-item__image,
  .home .recent-game-card__image,
  .all-games .game-card__image {
    padding: 10px 8px 26px;
  }

  .home .prize-item__title,
  .home .recent-game-card__title,
  .all-games .game-card__title {
    font-size: 11px !important;
    line-height: 15px !important;
  }

  .home .prize-item__badge,
  .home .recent-game-card__badge,
  .all-games .game-card__badge--supplier {
    font-size: 8px !important;
    padding: 2px 5px !important;
  }
}
