.nre-games__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.nre-games__card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.nre-games__card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.nre-games__card.is-hidden {
  display: none;
}

.nre-games__card-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.nre-games__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 12px;
}

.nre-games__card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(139, 92, 246, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nre-games__card:hover .nre-games__card-icon {
  opacity: 1;
}

.nre-games__card-icon svg {
  width: 20px;
  height: 20px;
  fill: #0a0e1a;
}

.nre-games__card-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #8b5cf6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nre-games__actions {
  text-align: center;
}

.nre-games__actions .js-explore-more {
  background: #8b5cf6;
  box-shadow: 0px 4px 0px 0px #6d28d9;
}

.nre-games__actions .js-explore-more:hover {
  transform: translateY(-2px);
  box-shadow:
    0px 8px 0px 0px #6d28d9,
    0 0 20px rgba(139, 92, 246, 0.4);
}

.nre-games__actions .js-explore-more:active {
  transform: translateY(2px);
  box-shadow: 0px 2px 0px 0px #6d28d9;
}

.nre-games--all .nre-games__card.is-hidden {
  display: block;
}

.nre-games--all .nre-games__actions {
  display: none;
}

@media (max-width: 1023px) {
  .nre-games {
    padding: 40px 0;
  }
}

@media (max-width: 767px) {
  .nre-games {
    padding: 20px 0;
  }

  .nre-games__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
