
/* GRAND_MERIT_V28 */

/* Oyun galerisi */
.gallery {
  min-width:0;
  max-width:100%;
}

/* Oyun kartları */
.gallery .card {
  box-sizing:border-box;
  min-width:0;
  overflow:hidden;
  position:relative;
  border:1px solid #65502f;
  border-radius:13px;
  background:#1d170f;
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

@media(hover:hover) {
  .gallery .card:hover {
    transform:translateY(-4px);
    border-color:#d7ae67;
    box-shadow:0 9px 24px rgba(0,0,0,.35);
  }
}

/* Görsellerin hizalanması */
.gallery .card img {
  display:block;
  max-width:100%;
  height:auto;
  margin-left:auto;
  margin-right:auto;
}

/* Kart başlıkları */
.gallery .card-title {
  box-sizing:border-box;
  padding:11px 10px;
  color:#ecd19c;
  font-weight:600;
  line-height:1.4;
  overflow-wrap:anywhere;
}

/* Klavye erişilebilirliği */
.gallery .card:focus-visible,
.gallery .card:focus-within {
  outline:2px solid #e2b76b;
  outline-offset:2px;
}

/* Mobil */
@media(max-width:650px) {
  .gallery {
    max-width:100%;
  }

  .gallery .card {
    border-radius:10px;
  }

  .gallery .card-title {
    padding:9px 7px;
    font-size:12px;
  }
}

/* Hareket azaltma tercihi */
@media(prefers-reduced-motion:reduce) {
  .gallery .card {
    transition:none;
  }

  .gallery .card:hover {
    transform:none;
  }
}
