/* ===================================================
   FELEROUS STORE - OYUN DETAY SAYFASI & MOBİL OPTİMİZASYON
   =================================================== */

.detail-container {
  padding: 30px 0 80px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Üst Ekmek Kırıntısı & Topluluk Butonu Barı */
.game-detail-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-dim);
  word-break: break-word;
}

.breadcrumb-nav a {
  color: var(--text-muted);
}

.breadcrumb-nav a:hover {
  color: var(--emerald-primary);
}

.comm-hub-btn {
  font-size: 0.82rem;
  padding: 6px 14px;
  white-space: nowrap;
}

/* 2 Kolonlu Ana Izgara (Sol Medya | Sağ Satın Alma) */
.game-detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.game-media-col {
  width: 100%;
  min-width: 0;
}

.game-purchase-col {
  width: 100%;
  min-width: 0;
}

/* Sol Medya & Galeri */
.gallery-main-view {
  width: 100%;
  height: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000;
  margin-bottom: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  position: relative;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  display: block;
}

.gallery-thumbs-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  margin-bottom: 30px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #00e676 #171d25;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.gallery-thumbs-row::-webkit-scrollbar {
  height: 6px;
}

.gallery-thumbs-row::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.gallery-thumbs-row::-webkit-scrollbar-thumb {
  background: #00e676;
  border-radius: 4px;
}

.gallery-thumb-item, .gallery-thumb-btn {
  flex: 0 0 115px;
  height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border-subtle);
  cursor: pointer;
  background: #000;
  padding: 0;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.gallery-thumb-item:hover, .gallery-thumb-btn:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.gallery-thumb-item.active, .gallery-thumb-btn.active {
  border-color: var(--emerald-primary) !important;
  box-shadow: 0 0 15px var(--emerald-glow);
}

.gallery-thumb-item img, .gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sağ Satın Alma & Bilgi Paneli */
.purchase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 90px;
  width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.game-detail-title {
  font-size: 2.1rem;
  margin-bottom: 8px;
  line-height: 1.25;
  color: #ffffff;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.game-detail-dev {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.game-detail-dev span {
  color: var(--emerald-primary);
  font-weight: 600;
}

.purchase-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.game-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.game-specs-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.spec-key {
  color: var(--text-dim);
  flex-shrink: 0;
}

.spec-val {
  color: #ffffff;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Oyun Açıklaması & Sistem Gereksinimleri */
.game-info-block {
  margin-top: 36px;
  width: 100%;
  box-sizing: border-box;
}

.game-info-block h3 {
  font-size: 1.45rem;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  color: #ffffff;
}

.game-long-desc {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 30px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Sistem Gereksinimleri Tablosu */
.system-reqs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
  width: 100%;
  box-sizing: border-box;
}

.req-box {
  padding: 20px 18px;
  background: rgba(14, 20, 30, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: anywhere;
  min-width: 0;
}

.req-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--emerald-primary);
  margin-bottom: 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 230, 118, 0.2);
  padding-bottom: 6px;
}

.req-list {
  list-style: none;
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.req-list li {
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.req-list strong {
  color: #ffffff;
  display: inline;
}

/* İncelemeler Bölümü */
.reviews-section-wrapper {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.reviews-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* ===================================================
   RESPONSIVE (TABLET & MOBİL)
   =================================================== */
@media (max-width: 992px) {
  .game-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .purchase-card {
    position: static;
    padding: 22px 18px;
  }

  .gallery-main-view {
    height: 340px;
  }
}

@media (max-width: 768px) {
  .detail-container {
    padding: 16px 0 50px;
  }

  .game-detail-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .comm-hub-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .gallery-main-view {
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 260px;
  }

  .gallery-thumbs-row {
    gap: 8px;
    margin-bottom: 20px;
  }

  .gallery-thumb-item, .gallery-thumb-btn {
    flex: 0 0 92px;
    height: 56px;
  }

  .game-detail-title {
    font-size: 1.6rem;
  }

  .system-reqs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .req-box {
    padding: 16px 14px;
  }

  .reviews-header-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .reviews-header-bar button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .game-detail-title {
    font-size: 1.4rem;
  }

  .gallery-thumb-item, .gallery-thumb-btn {
    flex: 0 0 80px;
    height: 48px;
  }

  .purchase-card {
    padding: 16px 12px;
  }

  .req-box {
    padding: 14px 12px;
  }
}

/* ===================================================
   TIKLANABİLİR GELİŞTİRİCİ, YAYINCI & PROFİL BAĞLANTILARI
   =================================================== */
.store-entity-link {
  color: #00e676;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 4px;
  border-radius: 4px;
}

.store-entity-link:hover {
  color: #ffffff;
  background: rgba(0, 230, 118, 0.18);
  text-decoration: none;
  transform: translateY(-1px);
}

.store-entity-link.pub-link {
  color: #38bdf8;
}

.store-entity-link.pub-link:hover {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.18);
}

.reviewer-profile-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.reviewer-profile-link:hover {
  color: #00e676;
  text-decoration: underline;
}

.reviewer-avatar-link {
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.reviewer-avatar-link:hover {
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
  border-color: #00e676 !important;
}

