.borderup {
border: 1px dashed white;
border-radius: 15px 15px 0px 0px;
padding: 8px;
margin: 6px;
}
.border00 {
border: 1px dashed white;
padding: 8px;
margin: 6px;
}
.borderdown {
border: 1px dashed white;
border-radius: 0px 0px 15px 15px;
padding: 8px;
margin: 6px;
}





.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background-color: #333;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.15);
  opacity: 0.9;
  color: #fff;
}

/* Platform renkleri */
.telegram { background: #0088cc; }
.whatsapp { background: #25d366; }
.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.tiktok { background: #000000; }
.facebook { background: #3b5998; }
.twitter { background: #1da1f2; }
.linkedin { background: #0077b5; }
.reddit { background: #ff4500; }
.pinterest { background: #bd081c; }



.doramalar-section {
  background: linear-gradient(to right, #111, #4b0000);
  border-radius: 16px;
  padding: 30px;
  color: #fff;
}

.doramalar-header .section-title {
  font-size: 2rem;
}

.doramalar-header .section-subtitle {
  font-size: 1rem;
  color: #bbb;
}

.see-more {
  color: #ff0000;
  transition: color 0.2s;
}
.see-more:hover {
  color: #fff;
}

.doramalar-slider {
  scrollbar-width: thin;
  scrollbar-color: #444 transparent;
}
.doramalar-slider::-webkit-scrollbar {
  height: 8px;
}
.doramalar-slider::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 10px;
}

.dorama-card {
  flex: 0 0 auto;
  width: 200px;
  cursor: pointer;
}

.dorama-card .poster {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.dorama-card .poster img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.dorama-card:hover .poster img {
  transform: scale(1.05);
}

.age-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
}

.rating-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 6px;
}

.dorama-card .title {
  font-size: 15px;
  margin-top: 10px;
  text-align: center;
  color: #eee;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

  .doramalar-scroll {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
  }

  .doramalar-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
  }




.vid-lab-premium2 {
    font-size: 12px;
    background-color: rgba(255, 0, 0, 0.9);
    border-radius: 5px;
    padding: 2px 5px;
    position: absolute;
    z-index: 2;
    right: 8px;
    top: 8px;
}
.vid-lab-premium3 {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #ffffff;
    border-radius: 5px;
    padding: 2px 5px;
    position: absolute;
    z-index: 2;
    right: 8px;
    top: 8px;
}
.vid-lab-premium2, vid-lab-premium3:hover {
color: #ffffff;
}
.vid-lab-premium3, vid-lab-premium2:hover {
color: #ffffff;
}





/* --- GENEL LAZY AYARLARI --- */
img.lazy {
    display: block;
    width: 100%; /* Bulunduğu kutuyu tamamen kaplar (Responsive) */
    height: auto;
    object-fit: cover; /* Resim orana tam oturmazsa bozulmasın diye kırpar */
    
    /* İSKELET EKRANI (Skeleton) - Başlangıç Rengi */
    background-color: #121212; 
    
    /* Önceki dalga efektini iptal ediyoruz, sadece renk değişimi olacak */
    background-image: none;
    
    /* Nefes Alma Animasyonu (Pulse) */
    animation: skeletonPulse 1.8s ease-in-out infinite;
    
    /* Geçiş Efekti (Resim yüklendiğinde yumuşak geçiş) */
    opacity: 1; 
    transition: opacity 0.4s ease, filter 0.4s ease;
}

/* --- ORAN AYARLARI (Senin Ayarların) --- */

/* Yatay resimler için ortalama oran (16:9) */
img.lazy.yatay {
    aspect-ratio: 16 / 9;
}

/* Dikey resimler için ortalama oran (2:3) */
img.lazy.dikey {
    aspect-ratio: 2 / 3; 
}

/* --- YENİ ANİMASYON: NEFES ALMA (PULSE) --- */
@keyframes skeletonPulse {
    0% {
        background-color: #121212; /* En koyu hali (Siyah) */
    }
    50% {
        background-color: #252525; /* Hafif aydınlanmış hali (Koyu Gri) */
    }
    100% {
        background-color: #121212; /* Tekrar en koyu hali */
    }
}

/* --- YÜKLENDİKTEN SONRA --- */
img.lazy-loaded {
    animation: none; /* Animasyonu durdur */
    background-color: transparent; /* Arka plan rengini kaldır */
    aspect-ratio: auto; /* Yüklenince resmin kendi orijinal boyutuna dön */
}















/* --- APP HİSSİ İÇİN ÖZEL AYARLAR --- */

/* 1. Kaydırma Çubuğunu (Scrollbar) Tamamen Gizle */
/* Chrome, Safari, Edge, Opera */
::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    background: transparent !important;
}

/* Firefox */
* {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* 2. Lastik (Bounce) Efektini Kapat */
/* Sayfa en tepeye veya en alta gelince "boşluk" oluşmasını engeller */
html, body {
    overscroll-behavior-y: none;
}

/* 3. Metin Seçimini Engelle (Opsiyonel ama Tavsiye) */
/* Uygulamalarda yazıların üstüne basılı tutunca mavi seçim çıkmaz */
body {
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */
    user-select: none; /* Standart */
    
    /* Dokunma gecikmesini kaldırır, butonlar anında tepki verir */
    touch-action: manipulation; 
}

/* DİKKAT: Arama kutusuna yazı yazılabilsin diye inputları hariç tutuyoruz */
input, textarea {
    -webkit-user-select: text !important;
    user-select: text !important;
}










/* --- PWA (UYGULAMA) MODU İÇİN ÖZEL KURALLAR --- */
@media all and (display-mode: standalone) {
    
    /* 1. Header ve Footer'ı tamamen gizle */
    header, 
    footer {
        display: none !important;
    }

    /* 2. Eğer 'ozel1' class'ı header/footer kapsayıcısı ise onu da gizle */
    .ozel1 {
        display: none !important;
    }

    /* 3. PWA Yükle Banner'ını uygulama içindeyken gizle (Zaten yüklü çünkü) */
    #pwa-install-banner {
        display: none !important;
    }

    /* 4. İçerik kaymasını düzelt */
    /* Header gidince sayfa yukarı yapışır, iPhone çentiği (Notch) altına girmesin diye */
    body {
        padding-top: env(safe-area-inset-top) !important; 
        padding-bottom: 80px !important; /* Alt menü için yer aç */
    }

    /* 5. Alt Menüyü (.ozel2) GÖSTER */
    /* Header gittiği için navigasyon şart! */
    .ozel2 {
        display: block !important;
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 9999;
    }
}






/* --- MODERN PWA LOADER STİLLERİ (Shimmer Horizon) --- */

/* 1. Temel Kapsayıcı (Zifiri Karanlık Arka Plan) */
#pwa-loader {
    display: none; /* JS ile açılacak */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000; /* Tam siyah */
    z-index: 999999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0.0, 0.2, 1); /* Yumuşak geçiş */
    backdrop-filter: blur(10px); /* Hafif bir derinlik hissi (destekleyen cihazlarda) */
}

/* SADECE PWA MODUNDA GÖRÜNSÜN */
@media all and (display-mode: standalone) {
    #pwa-loader.active {
        display: flex;
        opacity: 1;
    }
}

/* 2. İçerik Ortarlayıcı */
.loader-container {
    position: relative;
    width: 200px; /* Efektin genişliği */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* 3. Sinematik Işık Çizgisi (Ana Efekt) */
.shimmer-line {
    position: relative;
    width: 100%;
    height: 4px; /* Çok ince, zarif bir çizgi */
    background: rgba(229, 9, 20, 0.2); /* KINOK kırmızısının sönük hali */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.3); /* Hafif bir dış parlama */
}

/* Kayan Parlak Işık (Pseudo-element) */
.shimmer-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%; /* Ekranın sol dışından başla */
    width: 150%; /* Çizgiden daha geniş bir ışık huzmesi */
    height: 100%;
    /* Büyülü Gradyan: Şeffaf -> Parlak Kırmızı -> Şeffaf */
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(229, 9, 20, 0.8) 50%, 
        transparent 100%
    );
    animation: shimmerMove 1.8s infinite cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* 4. Yükleniyor Yazısı (Opsiyonel, çok silik) */
.loading-text {
    font-family: 'Exo 2', sans-serif; /* Sitenin fontu */
    color: rgba(255, 255, 255, 0.3); /* Çok silik beyaz */
    font-size: 12px;
    letter-spacing: 4px; /* Harf aralarını açarak premium hava ver */
    font-weight: 600;
    text-transform: uppercase;
    animation: textBreathe 1.8s infinite ease-in-out;
}

/* --- ANİMASYONLAR --- */

/* Işığın soldan sağa akışı */
@keyframes shimmerMove {
    0% { left: -150%; }
    100% { left: 150%; }
}

/* Yazının nefes alma efekti */
@keyframes textBreathe {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}








.bottom-nav a {
  color: #ffffff;
}

.bottom-nav a.active,
.bottom-nav a.active i {
  color: #ff3b3b;
}





