/* ==========================================================
   GAME-THUMB-CARD  —  image thumbnail variant of .game-card
   Only overrides what's different; everything else inherits
   from main.css .game-card styles.
========================================================== */

/* ── Thumbnail block (replaces .card-emoji area) ── */
.game-thumb-card .game-thumb {
  position: relative;
  width: 100%;
  height: 180px;          /* fixed height, same on all screen sizes */
  overflow: hidden;
  flex-shrink: 0;
}

.game-thumb-card .game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.game-thumb-card:hover .game-thumb img {
  transform: scale(1.06);
}

/* ── Gradient overlay so badge stays readable ── */
.game-thumb-card .thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.70) 0%,
    rgba(0, 0, 0, 0.10) 50%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── Badge inside thumbnail ── */
.game-thumb-card .thumb-content {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.thumb-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.20);
  border: 1px solid rgba(249, 115, 22, 0.55);
  color: #fdba74;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  letter-spacing: 0.03em;
}

/* ── Mobile: slightly shorter thumbnail ── */
@media (max-width: 600px) {
  .game-thumb-card .game-thumb {
    height: 150px;
  }
}
