/* Game cards — edge fixes + IN DEV badge */

.game-card {
  background: #000;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

.game-card > span {
  overflow: hidden !important;
}

.game-card__thumb {
  transform: scale(1.045);
  transform-origin: center center;
}

.game-card__overlay {
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -2px;
  height: 58%;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgb(0, 0, 0) 0%,
    rgba(0, 0, 0, 0.92) 22%,
    rgba(0, 0, 0, 0.55) 52%,
    transparent 100%
  );
}

.game-card__content {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 12;
}

.game-card__closed {
  color: rgba(255, 255, 255, 0.85);
}

.game-card__in-dev {
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.06) 45%,
    rgba(255, 255, 255, 0.1) 100%
  );

  backdrop-filter: blur(16px) saturate(180%) brightness(1.06);
  -webkit-backdrop-filter: blur(16px) saturate(180%) brightness(1.06);

  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.game-card__in-dev::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 90% 80% at 50% 0%,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.game-card__in-dev::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 12%;
  right: 12%;
  height: 1px;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45) 50%,
    transparent
  );
  pointer-events: none;
}
