/* LadinPerde - Sizden Gelenler Final 2
   Mobil & Masaüstü: Aynı Instagram tarzı story bar + modal
-------------------------------------------------------------- */

:root {
  --lp-szg2-green: #2E7D63;
  --lp-szg2-gold: #FFD700;
  --lp-szg2-dark: #0A1930;
  --lp-szg2-bg: #f5f7fb;
}

/* Genel wrapper – kompakt */
.lp-szg-final2-wrapper {
  margin: 20px auto 18px;
  padding: 0 16px;
}

.lp-szg-final2-inner {
  max-width: 900px;
  margin: 0 auto;
  background: var(--lp-szg2-bg);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  padding: 12px 16px 14px;
  position: relative;
  overflow: hidden;
}

/* HEADER */
.lp-szg-final2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
}

.lp-szg-final2-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--lp-szg2-green), #1f5b46);
}

.lp-szg-final2-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #4b5563;
}

/* STORY BAR – TÜM CİHAZLARDA */
.lp-szg-final2-storybar {
  margin: 4px -4px 4px;
  padding: 6px 4px 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow-x: auto;
}

.lp-szg-final2-storybar::-webkit-scrollbar {
  height: 0;
}

.lp-szg-final2-story-track {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.lp-szg-final2-story-bubble {
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
  padding: 2px 2px 0;
  min-width: 70px;
}

.lp-szg-final2-story-ring {
  display: inline-flex;
  padding: 2px;
  border-radius: 999px;
  background: conic-gradient(
    from 210deg,
    #f58529,
    #dd2a7b,
    #8134af,
    #515bd4,
    #2E7D63,
    #f58529
  );
  box-shadow: 0 0 0 2px rgba(255,255,255,.95);
}

.lp-szg-final2-story-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
  background: #e5e7eb;
}

.lp-szg-final2-story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-szg-final2-story-label {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #111827;
}

/* Ortak CTA yazısı (mobil + masaüstü) */
.lp-szg-final2-mobile-cta {
  margin: 6px 0 2px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--lp-szg2-green);
}

/* Eski desktop slider tamamen kapalı */
.lp-szg-final2-desktop {
  display: none !important;
}

/* ========= STORY MODAL – HEM MOBİL HEM MASAÜSTÜ ========= */

.lp-szg-final2-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lp-szg-final2-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-szg-final2-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .75);
}

/* Daha büyük, tam görsel odaklı kart – kaydırılabilir */
.lp-szg-final2-modal-dialog {
  position: relative;
  width: min(500px, 96vw);    /* Daha geniş */
  max-height: 96vh;           /* Tam ekran yüksekliği */
  background: #020617;
  border-radius: 22px;
  overflow-y: auto;           /* İçeride scroll mümkün */
  overflow-x: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.85);
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.lp-szg-final2-modal-media {
  background: #020617;
  flex: 0 0 auto;
  max-height: none !important;   /* Sınır kaldırıldı */
  height: auto !important;
}

.lp-szg-final2-modal-image {
  display: block;
  width: 100%;
  height: auto !important;      /* Yükseklik serbest */
  max-height: none !important;  /* Limit yok */
  object-fit: contain !important;
}

/* Kapatma butonu – sağ üst köşe X */
.lp-szg-final2-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: rgba(15,23,42,.9);
  cursor: pointer;
  z-index: 5;
}

.lp-szg-final2-modal-close::before,
.lp-szg-final2-modal-close::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transform-origin: center;
}

.lp-szg-final2-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lp-szg-final2-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lp-szg-final2-modal-caption {
  padding: 10px 14px 12px;
  color: #e5e7eb;
}

.lp-szg-final2-modal-username {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}

.lp-szg-final2-modal-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #d1d5db;
}

/* Modal açıkken body scroll kilidi */
body.lp-szg-final2-modal-open {
  overflow: hidden;
}

/* RESPONSIVE ufak dokunuşlar */
@media (min-width: 992px) {
  .lp-szg-final2-inner {
    padding: 14px 18px 16px;
  }
}
