/* Ana sayfa: Oyuncu Store tarzı kategori vitrin grid (hero altı) */
.oyuncu-showcase-section {
  padding-top: 0.5rem;
  padding-bottom: 1.25rem;
}
.oyuncu-showcase-grid {
  --ocg-cols: 8;
  --ocg-cols-md: 4;
  --ocg-cols-sm: 2;
  --ocg-gap: 14px;
  --ocg-aspect: 3 / 4;
  display: grid;
  grid-template-columns: repeat(var(--ocg-cols), minmax(0, 1fr));
  gap: var(--ocg-gap);
}
/* Mobilde repeat(var(...)) bazı WebKit sürümlerinde tek sütuna düşüyor; sabit sütun kullan */
@media (max-width: 991.98px) {
  .oyuncu-showcase-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (max-width: 575.98px) {
  .oyuncu-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
.oyuncu-showcase-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: var(--ocg-aspect);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  isolation: isolate;
  border: 1px solid rgba(255, 170, 96, 0.28);
  animation: ocgPulse 2.8s ease-in-out infinite;
}
.oyuncu-showcase-card::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -45%;
  width: 38%;
  height: 130%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: skewX(-18deg);
  z-index: 3;
  pointer-events: none;
  animation: ocgShine 3.2s linear infinite;
}
.oyuncu-showcase-card:nth-child(2n)::after {
  animation-delay: 0.8s;
}
.oyuncu-showcase-card:nth-child(3n)::after {
  animation-delay: 1.5s;
}
.oyuncu-showcase-card:focus {
  outline: 2px solid rgba(167, 130, 233, 0.6);
  outline-offset: 2px;
}
.oyuncu-showcase-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  z-index: 0;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.oyuncu-showcase-card:hover .oyuncu-showcase-bg {
  transform: scale(1.06);
}
.oyuncu-showcase-png {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}
.oyuncu-showcase-card:hover .oyuncu-showcase-png {
  opacity: 1;
}
.oyuncu-showcase-card:hover {
  border-color: rgba(255, 190, 118, 0.65);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 186, 126, 0.22) inset;
}
@media (hover: none) {
  .oyuncu-showcase-card:active .oyuncu-showcase-png {
    opacity: 1;
  }
}
.oyuncu-showcase-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 10px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
  z-index: 2;
}
.oyuncu-showcase-logo {
  display: block;
  max-width: 88%;
  max-height: 52px;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

@keyframes ocgShine {
  0% { left: -45%; }
  100% { left: 130%; }
}

@keyframes ocgPulse {
  0%, 100% {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  }
  50% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 181, 118, 0.18) inset;
  }
}
@media (prefers-reduced-motion: reduce) {
  .oyuncu-showcase-bg,
  .oyuncu-showcase-png,
  .oyuncu-showcase-card {
    transition: none;
    animation: none;
  }
  .oyuncu-showcase-card::after {
    animation: none;
  }
  .oyuncu-showcase-card:hover .oyuncu-showcase-bg {
    transform: none;
  }
}
