/* ════════════════════════════════════════════════════════════════════
 * slot-card-overlay-final.css — ITER 142
 * Game card tap overlay BS-EXACT (kullanıcı resmi 2026-04-30).
 * En son yüklenir → cascade priority MAX → tüm önceki ITER override.
 *
 * BS LAYOUT (resme göre, kart h=113):
 *   ┌──────────────────────────────┐
 *   │ ★(top-left)      ⓘ(top-right)│  ← y:6, 22x22 transparent
 *   │                              │
 *   │   Gates of Olympus Super     │  ← title bottom:50, fs:11, 2-line
 *   │           Scatter            │
 *   │  ┌────────┐  ┌────────┐      │
 *   │  │  OYNA  │  │  DEMO  │      │  ← bottom:10, h:36, 50/50 split
 *   │  └────────┘  └────────┘      │
 *   └──────────────────────────────┘
 * ════════════════════════════════════════════════════════════════════ */

/* Overlay container — KART TAMAMI KAPLA (BS-paralel solid dark coverage) */
html.mobile-root body.mobile-site .slot-page-root .game-item .game-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  opacity: 0 !important;
  pointer-events: none !important;
  background: rgba(0, 0, 0, 0.78) !important;
  background-color: rgba(0, 0, 0, 0.78) !important;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.78) 50%, rgba(0,0,0,0.92) 100%) !important;
  /* ITER 652: 0.2s → 0.4s + background + backdrop-filter (BS-paralel transition) */
  transition: opacity 0.4s ease, background 0.4s ease, background-color 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: inherit !important;
  overflow: hidden !important;
  z-index: 10 !important;
}

html.mobile-root body.mobile-site .slot-page-root .game-item.show-overlay .game-overlay {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ITER 690 (2026-05-25) — Mobile tap reveal for overlay-top (★ favori + ⓘ bilgi).
 * BUG (kullanıcı resmi 2026-05-25): "herhangi bir sağlayıcı seçip oyun kartına
 *   basınca overlay farklı çıkıyor" — star+info ikonları görünmüyordu (Image 1),
 *   halbuki herzamanki overlay'de görünmeli (Image 2).
 * KÖK SEBEP: slots.min.css'te .game-overlay-top reveal kuralı SADECE :hover
 *   (desktop) — `.game-grid .game-item:hover .game-overlay .game-overlay-top{opacity:1}`.
 *   Mobil tap (.show-overlay) için karşılığı YOK → overlay-top opacity:0 kalıyor.
 *   .game-overlay / .game-actions / title'ın .show-overlay reveal'i VAR, sadece
 *   overlay-top'unki eksikti → OYNA/DEMO/başlık görünüp star+info görünmüyordu.
 *   iOS sticky :hover ilk tap'te bazen gösteriyordu ama sağlayıcı seçip re-render
 *   sonrası kırılıyordu (Image 1). Canlı kanıt: card[18] overlayTop opacity
 *   noFix=0 → withFix=1 (hover-temizliği yapılmış ölçüm).
 * FIX: :hover kuralının mobil (.show-overlay) karşılığını ekle — base'teki
 *   transition: opacity .25s, transform .25s zaten smooth slide+fade sağlıyor. */
html.mobile-root body.mobile-site .slot-page-root .game-item.show-overlay .game-overlay .game-overlay-top {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Overlay-top container — star/info wrapper, kart top kenarına yapışık */
html.mobile-root body.mobile-site .slot-page-root .game-item .game-overlay .game-overlay-top {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  width: 100% !important;
  height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  display: block !important;
  z-index: 3 !important;
}

/* Star (favori) — top-left transparent + drop-shadow */
html.mobile-root body.mobile-site .slot-page-root .game-item .game-fav,
html.mobile-root body.mobile-site .slot-page-root .game-item .game-overlay .game-fav {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  right: auto !important;
  bottom: auto !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-size: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  z-index: 4 !important;
  /* ITER 654 (2026-05-22): default state'te tıklanamaz (BS-paralel — ilk tap = animasyon) */
  pointer-events: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
/* ITER 654: show-overlay state'te fav tıklanabilir */
html.mobile-root body.mobile-site .slot-page-root .game-item.show-overlay .game-fav,
html.mobile-root body.mobile-site .slot-page-root .game-item.show-overlay .game-overlay .game-fav {
  pointer-events: auto !important;
}

/* Info (i) — top-right transparent + drop-shadow */
html.mobile-root body.mobile-site .slot-page-root .game-item .game-info-btn,
html.mobile-root body.mobile-site .slot-page-root .game-item .game-overlay .game-info-btn {
  position: absolute !important;
  top: 6px !important;
  right: 8px !important;
  left: auto !important;
  bottom: auto !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-size: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  z-index: 4 !important;
  /* ITER 654 (2026-05-22): default state'te tıklanamaz (BS-paralel — ilk tap = animasyon) */
  pointer-events: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
/* ITER 654: show-overlay state'te info tıklanabilir */
html.mobile-root body.mobile-site .slot-page-root .game-item.show-overlay .game-info-btn,
html.mobile-root body.mobile-site .slot-page-root .game-item.show-overlay .game-overlay .game-info-btn {
  pointer-events: auto !important;
}

/* Hide native <i> tags — JS injects SVG instead */
html.mobile-root body.mobile-site .slot-page-root .game-item .game-fav i,
html.mobile-root body.mobile-site .slot-page-root .game-item .game-info-btn i {
  display: none !important;
}

/* Title wrap — absolute bottom-only (button üzerinde) */
html.mobile-root body.mobile-site .slot-page-root .game-item .game-overlay .game-title-wrap,
html.mobile-root body.mobile-site .slot-page-root .game-item .game-title-wrap {
  position: absolute !important;
  bottom: 50px !important;
  left: 6px !important;
  right: 6px !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  max-height: 30px !important;
  text-align: center !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  z-index: 5 !important;
  pointer-events: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 1), 0 0 2px rgba(0, 0, 0, 0.95) !important;
  letter-spacing: 0.1px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  font-family: Roboto, Arial, Helvetica, sans-serif !important;
}

html.mobile-root body.mobile-site .slot-page-root .game-item .game-overlay .game-title-wrap > *,
html.mobile-root body.mobile-site .slot-page-root .game-item .game-title-wrap > * {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  text-shadow: inherit !important;
  line-height: inherit !important;
  display: inline !important;
}

/* Game actions (OYNA + DEMO) — bottom 50/50 split */
html.mobile-root body.mobile-site .slot-page-root .game-item .game-overlay .game-actions {
  position: absolute !important;
  bottom: 8px !important;
  left: 8px !important;
  right: 8px !important;
  top: auto !important;
  width: auto !important;
  height: 36px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 5 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

html.mobile-root body.mobile-site .slot-page-root .game-item.show-overlay .game-overlay .game-actions {
  opacity: 1 !important;
}

/* OYNA (gold) */
html.mobile-root body.mobile-site .slot-page-root .game-item .game-overlay .game-actions .play-btn {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #d4af37 !important;
  color: #000000 !important;
  border: 0 !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  letter-spacing: 0.3px !important;
  font-family: Roboto, Arial, Helvetica, sans-serif !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

/* DEMO (dark + bordered) */
html.mobile-root body.mobile-site .slot-page-root .game-item .game-overlay .game-actions .demo-btn {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.55) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  letter-spacing: 0.3px !important;
  font-family: Roboto, Arial, Helvetica, sans-serif !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

/* End of slot-card-overlay-final.css */
