/* !OYUN DETAY (MAĞAZA) SAYFASI */

.oyun-detay {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.oyun-yukleniyor {
  text-align: center;
  color: #7f97a8;
  font-size: 16px;
  margin-top: 60px;
}

/* Üst bölüm: kapak solda, bilgi sağda */
.oyun-ust {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 40px;
}

.oyun-kapak {
  flex: 0 0 340px;
  max-width: 100%;
  border: 2px solid rgba(0, 189, 255, 0.35);
  border-radius: 10px;
  overflow: hidden;
  background-color: #04101c;
}

.oyun-kapak img {
  width: 100%;
  display: block;
}

.oyun-bilgi {
  flex: 1 1 380px;
  min-width: 280px;
}

.oyun-baslik-detay {
  margin: 0 0 8px;
  font-size: 40px;
  color: #eaf6ff;
  letter-spacing: 1px;
}

.oyun-gelistirici {
  margin: 0 0 18px;
  color: #00bdff;
  font-size: 15px;
}

.oyun-aciklama-detay {
  margin: 0 0 24px;
  color: #c7d6e2;
  font-size: 16px;
  line-height: 1.7;
}

.oyun-fiyat {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: bold;
  color: #6fdfa8;
  letter-spacing: 1px;
}

.oyun-butonlar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* İkincil buton: dolgu yerine çerçeve */
.hero-buton.ikincil {
  background: none;
  border: 2px solid #00bdff;
  color: #00bdff;
}

.hero-buton.ikincil:hover {
  border-color: #6fd7ff;
  color: #6fd7ff;
}

/* Bölüm başlıkları (Tanıtım / Ekran Görüntüleri) */
.oyun-bolum {
  margin-bottom: 44px;
}

.oyun-bolum-baslik {
  font-size: 24px;
  color: #eaf6ff;
  letter-spacing: 1px;
  padding-bottom: 10px;
  margin: 0 0 20px;
  border-bottom: 2px solid rgba(0, 189, 255, 0.35);
}

/* YouTube 16:9 duyarlı çerçeve */
.video-oran {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border: 2px solid rgba(0, 189, 255, 0.35);
  border-radius: 10px;
  overflow: hidden;
  background-color: #000;
}

.video-oran iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Ekran görüntüsü ızgarası */
.goruntu-izgara {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.goruntu-kutu {
  border: 2px solid rgba(0, 189, 255, 0.25);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background-color: #04101c;
  aspect-ratio: 16 / 9;
}

.goruntu-kutu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.goruntu-kutu:hover {
  border-color: #00d1ff;
}

.goruntu-kutu:hover img {
  transform: scale(1.06);
}

/* Işık kutusu (büyütülmüş görüntü) */
.isik-kutusu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(3, 8, 15, 0.92);
}

.isik-kutusu.gizli {
  display: none;
}

.isik-resim {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.isik-kapat,
.isik-ok {
  position: absolute;
  background: rgba(10, 25, 40, 0.7);
  border: 1px solid rgba(0, 189, 255, 0.4);
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
}

.isik-kapat {
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
}

.isik-ok {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 72px;
  font-size: 40px;
  line-height: 1;
}

.isik-onceki {
  left: 24px;
}

.isik-sonraki {
  right: 24px;
}

.isik-kapat:hover,
.isik-ok:hover {
  border-color: #00d1ff;
  background: rgba(0, 60, 90, 0.8);
}

/* Telefon */
@media (max-width: 760px) {
  .oyun-baslik-detay {
    font-size: 30px;
  }
  .oyun-kapak {
    flex-basis: 100%;
  }
  .goruntu-izgara {
    grid-template-columns: 1fr;
  }
}
