/* ==================================================
   Genel Değişkenler ve Temel Stiller
   ================================================== */
:root {
    --background-primary: #121212;
    --background-secondary: #1a1a1a;
    --border-color: #282828;
    --text-primary: #e0e0e0;
    --text-secondary: #a9a9a9;
    --accent-color: #ffc107;
}

body {
    background-color: var(--background-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==================================================
   Bootstrap ve Genel Yerleşim Ayarları
   ================================================== */

/* Navbar'ı biraz daha koyu ve şeffaf yapmak için */
.navbar.bg-black {
    background-color: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(10px);
}

/* Ana içerik ve sidebar arasındaki boşluğu ayarlama */
.content-area {
    padding-top: 2rem;
    padding-bottom: 2rem;
}


/* ==================================================
   Film Kartları (Yeni Eklenenler vb.)
   ================================================== */

/* DÜZELTME: .film-card sınıfı için de efektleri ekliyoruz */
.film-card {
  background-color: #1c1c1c; 
  border: 1px solid #282828;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border-radius: 8px !important;
  overflow: hidden;
  position: relative; /* Watermark için gerekli */
}

.film-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.15);
}

.film-card img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.film-card .card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.film-card .card-title a:hover {
  color: var(--accent-color);
}

/* ==================================================
   YENİ: FİLM KARTI YENİ STİLLERİ (EKLENDİ)
   ================================================== */

/* === Sol Üst - Dil Seçenekleri === */
.language-overlay {
    position: absolute;
    top: 10px; /* Üstten boşluk */
    left: 10px; /* Soldan boşluk */
    display: flex;
    gap: 6px; /* İki ikon arasına boşluk */
    z-index: 10; /* Afişin üstünde kalması için DEĞER YÜKSELTİLDİ */
}

.lang-icon {
    background-color: rgba(0, 0, 0, 0.75); /* Yarı saydam siyah arka plan */
    color: #fff;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5); /* Hafif gölge */
}

.lang-icon.cc {
    font-family: Arial, sans-serif; /* "CC"nin net görünmesi için */
}

/* === DÜZELTME: Bayrak resmi için stil === */
.lang-icon.tr-flag {
    padding: 0; /* İç boşluğu kaldır */
    overflow: hidden; /* Taşmaları gizle */
    /* Yüksekliği CC ikonuyla (22px) eşitle */
    height: 22px; 
    /* Genişlik otomatik olsun */
    width: auto; 
    /* Dikey hizalamayı flex ile yap */
    display: flex;
    align-items: center;
}

.lang-icon.tr-flag img {
    display: block;
    /* Konteynerin yüksekliğine uy */
    height: 100%; 
    width: auto;  /* Oranı koru */
}
/* === DÜZELTME SONU === */


/* === Sağ Üst - IMDB Puanı === */
.imdb-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10; /* Afişin üstünde kalması için DEĞER YÜKSELTİLDİ */
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.imdb-overlay .star {
    color: #f5c518; /* IMDB sarısı */
    margin-right: 5px;
    font-size: 16px;
    line-height: 1;
}

/* === Poster Altı Bilgiler (.film-card için) === */
/* Not: .slider-card'daki .card-body'yi etkilemez */
.film-card .card-body {
    padding: 10px 5px; /* Kartın altındaki bilgi alanı */
    text-align: left; /* Yazıları sola hizala */
}

.film-card .year-info {
    color: #999; /* Soluk renk */
    font-size: 13px;
    display: block; /* Film adından önce bir satırda */
}

/* .film-card .card-title'ı eziyoruz */
.film-card .card-title {
    margin: 4px 0;
}
.film-card .card-title a {
    font-size: 15px; /* Film adı boyutu */
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    /* ÖNEMLİ: Uzun film adları taşarsa ... koysun */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block; /* Taşan yazının çalışması için */
}

.film-card .card-title a:hover {
    color: #ddd; /* Hover rengi */
}

.film-card .category-info {
    color: #888;
    font-size: 12px;
    /* Uzun kategori listeleri taşarsa ... koysun */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block; /* Taşan yazının çalışması için */
}

/* .film-card .card-text'i gizle (artık .category-info kullanıyoruz) */
.film-card .card-text {
    display: none;
}
/* === YENİ STİLLERİN SONU === */


/* ==================================================
   YENİ: Sol Sidebar ve Ana İçerik Yerleşimi
   ================================================== */
:root {
    --left-sidebar-width: 80px; /* Sol menü genişliği */
}

/* Sol Sidebar */
.left-sidebar {
    width: var(--left-sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--background-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    z-index: 1030;
}
.left-sidebar .logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
    margin-bottom: 2rem;
}
.left-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.left-sidebar-nav a, .left-sidebar-footer a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    text-decoration: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.left-sidebar-nav a:hover, .left-sidebar-nav a.active {
    background-color: var(--accent-color);
    color: var(--background-secondary);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}
.left-sidebar-footer {
    margin-top: auto;
}

/* Ana İçerik Alanı */
.main-content-wrapper {
    margin-left: var(--left-sidebar-width);
    width: calc(100% - var(--left-sidebar-width));
}

/* ==================================================
   GÜNCELLEME: Mobil Uyumluluk
   ================================================== */

@media (max-width: 991.98px) {
    /* Ana içeriği tam genişlik yap */
    .main-content-wrapper {
        margin-left: 0;
        width: 100%;
        padding-bottom: 70px; /* Alttaki menü için boşluk */
    }

    /* Sol menüyü altta yatay bir menüye dönüştür */
    .left-sidebar {
        width: 100%;
        height: 60px;
        flex-direction: row;
        justify-content: space-around;
        bottom: 0;
        top: auto;
        border-top: 1px solid var(--border-color);
        border-right: none;
        padding: 0;
    }
    .left-sidebar .logo, .left-sidebar-footer {
        display: none; /* Mobilde logoyu ve footer'ı gizle */
    }
    .left-sidebar-nav {
        flex-direction: row;
        gap: 0.5rem;
        width: 100%;
        justify-content: space-around;
    }
    .top-header { 
        position: relative;
    }
    
}


/* ==================================================
   Sağ Sidebar ve Blok Stilleri
   ================================================== */

/* Sidebar içindeki her bir blok (Editörün Seçimi vb.) */
.sidebar-block {
    background-color: var(--background-secondary);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #252525;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Blokların üzerine gelince efekt */
.sidebar-block:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.1);
    border-color: #333;
}

/* Blok başlıkları (Editörün Seçimi vb.) */
.sidebar-title {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

/* Blok içindeki liste elemanları */
.sidebar-block .list-group-item {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #2a2a2a;
    padding: 0.75rem 0.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    transition: all 0.2s ease-in-out;
}

.sidebar-block .list-group-item:last-child {
    border-bottom: 0;
}

/* Liste elemanlarının üzerine gelince efekt */
.sidebar-block .list-group-item:hover {
    color: #fff;
    background-color: rgba(255, 193, 7, 0.05);
    transform: translateX(5px);
    border-bottom-color: var(--accent-color);
}


/* ==================================================
   Footer (Alt Bilgi) Stilleri
   ================================================== */
.main-footer {
    background-color: var(--background-primary);
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.main-footer .footer-widget {
    background-color: #181818;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #252525;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.main-footer .footer-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.1);
}

.footer-title {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
    letter-spacing: 0.5px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.social-icons a {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-right: 1rem;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: scale(1.3) rotate(-10deg);
}

.copyright-text {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

/* ==================================================
   Özel Slider Stilleri (DÜZELTİLDİ)
   ================================================== */
.custom-slider-container {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slider-wrapper::-webkit-scrollbar { display: none; }

/* Slider içindeki her bir film kartı */
.slider-card {
    flex: 0 0 calc(25% - 12px); 
    margin: 0 6px;
    background-color: #1c1c1c;
    border: 1px solid #282828; 
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    position: relative;
}

.slider-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.15); 
    z-index: 5;
}

.slider-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    border: 1px solid #444;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.slider-btn:hover {
    background-color: var(--accent-color);
    color: #121212;
}


/* ==================================================
   Mobil Uyumluluk
   ================================================== */
@media (max-width: 991.98px) {
    /* Tablet ve altında sidebar'ı içeriğin altına taşı */
    .row > aside {
        margin-top: 2rem;
    }
    
    .slider-card {
        flex-basis: calc(33.33% - 12px); /* 3 film göster */
    }
}

@media (max-width: 767.98px) {
    .slider-card {
        flex-basis: calc(50% - 12px); /* 2 film göster */
    }
    .custom-slider-container {
        padding: 0 10px; /* Oklar için boşluğu azalt */
    }
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    .prev-btn { left: -5px; }
    .next-btn { right: -5px; }
}

/* ==================================================
   YENİ: Arama Çubuğu ve Hizalama Düzeltmeleri
   ================================================== */

/* Üstteki Arama Çubuğu Stili */
.top-search-form {
    max-width: 650px; /* Genişliği kısalttık */
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.top-search-form .form-control {
    border-radius: 20px 0 0 20px; /* Kenarları yuvarlatıldı */
    border: 1px solid #333;
    transition: border-color 0.3s ease;
}

/* Arama çubuğuna tıklandığında (focus) efekt */
.top-search-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
    background-color: #222;
}

.top-search-form .btn {
    border-radius: 0 20px 20px 0; /* Kenarları yuvarlatıldı */
}


/* Slider ve Anasayfa İçerik Hizalama Düzeltmesi */
.custom-slider-container {
    padding: 0; /* İç boşlukları sıfırlayarak hizalamayı sağladık */
}

/* Slider oklarını içeri aldık */
.slider-btn.prev-btn {
    left: 10px;
}

.slider-btn.next-btn {
    right: 10px;
}

/* ==================================================
   YENİ: Efektli Logo ve Header Stilleri
   ================================================== */

/* Navbar'ın arkaplanını şeffaf yapıp, yapışkanlığını kaldırıyoruz */
.navbar.bg-transparent {
    background-color: transparent !important;
    position: static; /* sticky-top'ı geçersiz kılar */
}

/* Yeni Logo Efekti */
.logo-effect {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.8rem; /* Boyutu biraz büyüttük */
    font-weight: 700;
    text-decoration: none;
    color: var(--accent-color);
    text-shadow: 
        0 0 5px rgba(255, 193, 7, 0.7),
        0 0 10px rgba(255, 193, 7, 0.5);
    transition: all 0.4s ease-in-out;
}

.logo-effect:hover {
    color: #fff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 193, 7, 0.8),
        0 0 30px rgba(255, 193, 7, 0.6);
    transform: scale(1.05); /* Hafifçe büyür */
}

/* Kullanıcı Butonları */
.navbar-auth-area .btn {
    border-radius: 20px;
    padding: 0.4rem 1.2rem;
    transition: all 0.3s ease;
}

.navbar-auth-area .btn-outline-secondary {
    border-color: #444;
    color: var(--text-secondary);
}

.navbar-auth-area .btn-outline-secondary:hover {
    background-color: #333;
    border-color: #555;
    color: #fff;
}

/* ==================================================
   YENİ: Bölüm Ayırıcı ve Çerçeve Stilleri
   ================================================== */

/* Slider ve Film Bölümleri için genel çerçeve stili */
.custom-slider-container,
.movies-section {
    border: 1px solid #2a2a2a; /* Hafif belirgin bir sınır */
    border-radius: 16px;       /* Yumuşak kenarlar */
    padding: 1.5rem;           /* İçerik ve çerçeve arasına boşluk */
    margin-bottom: 3rem;       /* Bölümler arasına dikey boşluk */
    background: linear-gradient(145deg, #1a1a1a, #161616); /* Hafif gradyan arkaplan */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3), /* Derinlik veren ana gölge */
        inset 0 2px 2px rgba(255, 255, 255, 0.05); /* İçeri doğru hafif bir parlaklık */
}

/* Footer için üst çizgi ve parlama efekti */
.main-footer {
    border-top: 1px solid var(--accent-color);
    box-shadow: 0 -5px 20px -5px rgba(255, 193, 7, 0.35); /* Yukarı doğru sarı parlama */
    margin-top: 3rem; /* Footer ile üstündeki bölüm arasına boşluk */
}

/* ==================================================
   YENİ: Film Kartı Yazı Stilleri (GÜNCELLENDİ)
   ================================================== */

/* === DÜZELTME: SLIDER BİLGİ KUTUSU (HER ZAMAN GÖRÜNÜR) === */
.slider-card .slider-card-info {
    /* Görünürlüğü zorla (Tüm gizleme yöntemlerini ezer) */
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important; 
    
    /* Pozisyonu sıfırdan tanımla (En önemli kısım) */
    position: absolute;
    bottom: 0; /* Afişin en altına sabitle */
    left: 0;
    width: 100%;

    /* Okunabilirliği artırmak için alttan üste doğru
       hafif bir siyah degrade arka plan ekler.
    */
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%);
    
    /* İç boşlukları ayarla (yazıların kenara yapışmaması için) */
    padding: 25px 15px 10px 15px; 
    text-align: center; /* Hizalamayı koru */
    
    /* Animasyonları kaldır (varsa) */
    transition: none !important;
}


/* Film isminin (başlığının) stili */
.film-card .card-title a,
.slider-card .slider-card-title {
    font-weight: 600; /* Yazıyı daha dolgun yapar */
    font-size: 0.95rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    
    /* Düzeltme: Slider'daki başlık için de görünürlüğü zorla */
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Film isminin üzerine gelince efekt */
.film-card .card-title a:hover,
.slider-card a:hover .slider-card-title {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(255, 193, 7, 0.6);
}

/* Yıl bilgisinin (Tür bilgisinin) stili */
.film-card .card-text,
.slider-card .slider-card-year {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
    
    /* Düzeltme: Slider'daki türler için de görünürlüğü zorla */
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ==================================================
   YENİ: Alıntı Stili Yorum Kutusu
   ================================================== */

.comment-blockquote {
    background: #1c1c1c; /* Koyu arkaplan */
    border-left: 4px solid var(--accent-color); /* Sol tarafta sarı vurgu çizgisi */
    margin-bottom: 1.5rem; /* Yorumlar arası boşluk */
    padding: 1.5rem;
    border-radius: 0 8px 8px 0; /* Sol kenar düz, diğerleri yuvarlak */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Alıntı kutusunun metni */
.comment-blockquote .comment-text {
    font-style: italic;
    color: #ccc;
    margin: 0;
}

/* Yorumu yapan kişi ve tarih için alan */
.comment-blockquote .comment-attribution {
    margin-top: 1rem;
    font-style: normal;
    text-align: right; /* Sağa yaslı */
}

/* Kullanıcı adı */
.comment-blockquote .comment-author {
    font-weight: 700;
    color: var(--accent-color);
}

/* Tarih */
.comment-blockquote .comment-date {
    font-size: 0.8rem;
    color: #888;
    margin-left: 0.5rem;
}

/* ==================================================
   YENİ: Gelişmiş, Işıklı ve İnteraktif Yorum Bölümü (DÜZELTİLDİ)
   ================================================== */

.comment-thread {
    list-style: none;
    padding: 0;
}

.comment-item {
    display: flex;
    gap: 1rem; /* Avatar ve içerik arası boşluk */
    margin-bottom: 2rem; /* Yorumlar arası dikey boşluk */
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.comment-body {
    background: #1c1c1c;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    width: 100%;
    border: 1px solid #2a2a2a;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    position: relative;
    /* overflow: hidden; <-- DİKKAT: Bu bazen gölgeleri kesebilir, gerekirse kaldırın */
    /* Alt kısımdaki butonlar için boşluk (yükseklik otomatiktir ama min boşluk şart) */
    padding-bottom: 60px; 
}

/* Yorum kutusunun solundaki ışıklı çizgi */
.comment-body::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-color);
    box-shadow: 0 0 15px 3px rgba(255, 193, 7, 0.6);
    border-radius: 12px 0 0 12px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    /* ÖNEMLİ: Tarih sağ üstte absolute olduğu için, ismin onun üstüne binmemesi lazım */
    padding-right: 130px; 
}

.comment-author {
    font-weight: 700;
    color: var(--accent-color);
}

/* Tarih sağ üst */
.comment-date {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.8rem;
    color: #888;
    opacity: 0.75;
    white-space: nowrap; /* Tarihin alt satıra inmemesi için */
}

/* Yorum Metni (DÜZELTİLDİ) */
.comment-text {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    
    /* ÖNEMLİ: Uzun kelimeleri ve satırları aşağı inmeye zorla */
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    
    /* Alt butonlara değmemesi için margin */
    margin-bottom: 10px; 
}

/* Yorum Aksiyonları: Beğen, Beğenme, Cevapla (DÜZELTİLDİ) */
.comment-actions {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    /* Border ve padding kaldırıldı çünkü absolute kullanıyoruz */
}

.comment-actions .vote-btn {
    background: #222;
    border: 1px solid #444;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.comment-actions .vote-btn:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}
.comment-actions .vote-btn .bi {
    font-size: 1rem;
}
.comment-actions .reply-btn {
    background: transparent; /* Arka planı şeffaf yap */
    border: none; /* Çerçeveyi kaldır */
    color: #888; /* Yazı rengi gri olsun (Like butonları gibi) */
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase; /* Yazıyı büyük harf yap (opsiyonel, şık durur) */
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px; /* İkon ile yazı arası boşluk */
    padding: 5px 10px;
    border-radius: 20px; /* Hafif yuvarlatılmış hatlar */
    transition: all 0.3s ease;
}
.comment-actions .reply-btn:hover {
    color: var(--accent-color); /* Sarı renk */
    background-color: rgba(255, 193, 7, 0.1); /* Çok hafif sarı arka plan */
    transform: translateX(-3px); /* Hafifçe sola kayma efekti */
}
.comment-actions .reply-btn i {
    font-size: 1.1rem; /* İkonu biraz büyüt */
}

/* Mobil uyum için ek ayarlar */
@media(max-width: 767px){
    .comment-header {
        padding-right: 0; /* Mobilde isim ve tarih alt alta gelebilir gerekirse */
        flex-direction: column;
        align-items: flex-start;
    }
    .comment-date {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 2px;
        font-size: 0.75rem;
    }
    .comment-actions {
        position: absolute;
        bottom: 10px;
        right: 10px;
    }
    .comment-body {
         padding-bottom: 50px;
    }
    .vote-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/* ==================================================
   YENİ: Sidebar Son Yorumlar Widget Stili
   ================================================== */

.recent-comments-widget .list-group-item {
    background-color: transparent !important;
    border-color: rgba(255, 193, 7, 0.1) !important;
    padding: 0.2rem 0.5rem !important; 
    transition: all 0.3s ease;
}

.recent-comments-widget .list-group-item:hover {
    background-color: rgba(255, 193, 7, 0.05) !important;
    transform: translateX(5px);
    border-left: 3px solid var(--accent-color);
}

.recent-comments-widget .comment-author-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.recent-comments-widget .comment-excerpt {
    color: #aaa;
    font-size: 0.85rem;
    font-style: italic;
}

.recent-comments-widget .commented-on {
    font-size: 0.75rem;
    font-weight: 500;
}

/* DÜZELTME: Son Yorumlar Tarih Rengi */
.recent-comments-widget .list-group-item small.text-muted {
    color: var(--text-secondary) !important; 
    opacity: 0.8;
}

/* ==================================================
   Koyu Tema Sayfalama Stilleri
   ================================================== */

.pagination-dark .page-link {
    background-color: #2c3034; 
    border-color: #444; 
    color: #f8f9fa; 
    border-radius: 8px; 
    margin: 0 4px; 
    transition: all 0.3s ease; 
}

.pagination-dark .page-link:hover {
    background-color: #444; 
    color: #fff;
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2); 
}

.pagination-dark .page-item.active .page-link {
    background-color: #ffc107; 
    border-color: #ffc107;
    color: #212529; 
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5); 
    transform: translateY(-1px);
}

.pagination-dark .page-item.disabled .page-link {
    background-color: #212529; 
    border-color: #333;
    color: #6c757d; 
    transform: none; 
    box-shadow: none; 
}

/* ==================================================
   YATAY DİZİ KARTI STİLLERİ
   ================================================== */

.dizi-card-horizontal {
    display: flex; 
    background-color: var(--background-secondary); 
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
}

.dizi-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.1);
    border-color: #444;
}

/* Sol taraftaki resim alanı */
.dizi-card-horizontal .thumb {
    flex: 0 0 130px; 
    width: 130px;
    height: 85px; 
}

.dizi-card-horizontal .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* Sağ taraftaki bilgi alanı */
.dizi-card-horizontal .info {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    flex-grow: 1;
    min-width: 0; 
}

/* Sezon/Bölüm bilgisi (Turuncu) */
.dizi-card-horizontal .sezon-bolum {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Dizi Adı (Beyaz) */
.dizi-card-horizontal .dizi-adi {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
}

/* Tarih (Gri) */
.dizi-card-horizontal .tarih {
    color: var(--text-secondary);
    font-size: 0.75rem;
}


/* === YENİ: Site Logosu Boyutlandırma === */
.navbar-logo-area .logo-effect {
    display: inline-block;
    line-height: 1; 
}

.navbar-logo-area .logo-image {
    max-height: 40px; 
    width: auto;      
    filter: drop-shadow(0 0 5px rgba(255,193,7,0.7)); 
}

/* === YENİ: DİKEY KAYAN HABERLER (SIDEBAR) === */
.vertical-ticker {
    height: 300px; 
    overflow: hidden;
    position: relative;
}

.vertical-ticker-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    animation: vertical-kayan-yazi 30s linear infinite;
}

.vertical-ticker-list:hover {
    animation-play-state: paused;
}

.vertical-ticker-list li {
    padding: 10px 5px;
    border-bottom: 1px solid var(--border-color); 
}

.vertical-ticker-list li:last-child {
    border-bottom: none;
}

.vertical-ticker-list li a {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.vertical-ticker-list .haber-tarih {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color); 
}

.vertical-ticker-list .haber-baslik {
    font-size: 0.9rem;
    color: var(--text-secondary); 
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vertical-ticker-list li a:hover .haber-baslik {
    color: var(--text-primary); 
}

@keyframes vertical-kayan-yazi {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* === YENİ: EN AKTİF ÜYELER WIDGET === */
.aktif-uyeler-widget .list-group-item {
    padding: 0.6rem 0.5rem !important;
    border-color: rgba(255, 193, 7, 0.1) !important;
}
.aktif-uyeler-widget .list-group-item:hover {
    background-color: rgba(255, 193, 7, 0.05) !important;
    transform: translateX(5px);
    border-left: 3px solid var(--accent-color);
}
.aktif-uyeler-widget .aktif-uye-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.aktif-uyeler-widget .aktif-uye-sira {
    flex-basis: 25px; 
    flex-shrink: 0;
    text-align: center;
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.1rem;
}
.aktif-uyeler-widget .aktif-uye-adi {
    flex-grow: 1; 
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.aktif-uyeler-widget .aktif-uye-sayi {
    flex-shrink: 0; 
    font-size: 0.75rem;
    font-weight: 600;
}

/* Çevirmen Rozeti Stilleri */
.cevirmen-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    cursor: default;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    animation: pulse-gold 3s infinite ease-in-out; 
}

.cevirmen-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
    border-color: #fff;
}

.cevirmen-title {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 2px;
}

.cevirmen-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffc107;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    background: -webkit-linear-gradient(#ffc107, #ffeb3b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Işık Yansıması (Shine) Efekti */
.cevirmen-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        rgba(255, 255, 255, 0.5), 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transform: skewX(-20deg);
    transition: 0.5s;
}

.cevirmen-box:hover::after {
    left: 150%; 
    transition: 0.7s ease-in-out;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 4px 15px rgba(0,0,0,0.5); border-color: #ffc107; }
    50% { box-shadow: 0 0 15px rgba(255, 193, 7, 0.3); border-color: #ffdb73; }
    100% { box-shadow: 0 4px 15px rgba(0,0,0,0.5); border-color: #ffc107; }
}
/* ==================================================
   YENİ: BREADCRUMB STİLLERİ (SEO İÇİN)
   ================================================== */
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-secondary); /* Ayırıcı rengi */
}

.breadcrumb-item a {
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--accent-color) !important; /* Link üzerine gelince sarı olsun */
    text-decoration: underline !important;
}

.breadcrumb-item.active {
    color: #fff; /* Aktif sayfa beyaz olsun */
    font-weight: 600;
}

/* ==================================================
   YENİ: LOGO VE SLOGAN MOBİL UYUMU
   ================================================== */
/* Mobilde uzun site başlıkları taşmasın diye */
@media (max-width: 576px) {
    .navbar-logo-area {
        max-width: 60%; /* Logonun genişliğini sınırla */
    }
    
    .navbar-logo-area .logo-effect {
        font-size: 1.2rem; /* Mobilde fontu biraz küçült */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ==================================================
   YENİ: RESİM LAZY LOAD EFEKTİ (SEO İÇİN)
   ================================================== */
/* Resimler yüklenirken hafif bir flu efekt */
img[loading="lazy"] {
    transition: opacity 0.5s ease-in-out;
}

/* ==================================================
   GÜNCELLEME: SAYFA BAŞLIKLARI
   ================================================== */
/* Detay sayfalarındaki H1 başlıkları */
.film-title-link h1 {
    font-size: 2rem !important; /* Aşırı büyük olmasın */
    line-height: 1.2;
}

@media (max-width: 768px) {
    .film-title-link h1 {
        font-size: 1.5rem !important; /* Mobilde daha da küçült */
    }
}
/* ==================================================
   YENİ: PLAYER İÇİ REKLAM (PRE-ROLL) STİLLERİ
   ================================================== */

/* Reklamın tamamını kapsayan overlay */
#preroll-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* Siyah zemin */
    z-index: 50; /* Player kapağının (z-index:10) üstünde olmalı */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* İçindeki reklam içeriği */
#preroll-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reklamı Geç Butonu */
#preroll-skip-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: not-allowed; /* Süre bitene kadar tıklanamaz */
    z-index: 60;
    opacity: 0.7;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Süre bittiğinde aktif olma hali */
#preroll-skip-btn.active {
    background-color: var(--accent-color); /* Sarı */
    color: #000;
    border-color: var(--accent-color);
    cursor: pointer;
    opacity: 1;
}

#preroll-skip-btn:hover.active {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}
/* ==================================================
   YENİ: MODERN BÖLÜM BAŞLIKLARI
   ================================================== */

/* Başlık kapsayıcısı (Alt çizgi ve hizalama için) */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Başlık solda, link sağda */
    border-bottom: 1px solid #2a2a2a; /* İnce gri alt çizgi */
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
}

/* Başlık Yazısı */
.section-title {
    font-size: 1.25rem; /* Daha kibar bir boyut (yaklaşık 20px) */
    font-weight: 700;
    color: #C27004; /* Beyaz renk */
    text-transform: uppercase; /* Hepsi BÜYÜK HARF */
    letter-spacing: 1px; /* Harfler arası hafif boşluk */
    margin: 0;
    position: relative;
    padding-left: 15px; /* Çubuk için boşluk */
    line-height: 1.2;
}

/* Sol taraftaki Sarı Neon Çubuk */
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px; /* Çubuk kalınlığı */
    background-color: var(--accent-color); /* Senin sarı rengin */
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.6); /* Hafif neon parlama */
}

/* Sağ taraftaki "Tümünü Gör" linki (Opsiyonel) */
.section-view-all {
    font-size: 0.85rem;
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.section-view-all:hover {
    color: var(--accent-color);
}

.section-view-all i {
    font-size: 0.8rem;
    margin-left: 3px;
}
/* ==================================================
   YENİ: SPOILER YORUM STİLLERİ
   ================================================== */

/* Spoiler Checkbox (Formdaki) */
.spoiler-checkbox-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}
.spoiler-checkbox-wrapper input {
    accent-color: #dc3545; /* Kırmızı renk */
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.spoiler-checkbox-wrapper span {
    color: #dc3545;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Spoiler İçeren Yorumun Gövdesi */
.spoiler-content {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Bulanık Efekt (Aktifken) */
.spoiler-content.is-blurred .comment-text {
    filter: blur(6px);
    user-select: none;
    opacity: 0.5;
}

/* Spoiler Uyarısı Katmanı */
.spoiler-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 20, 0.8); /* Yarı saydam siyah */
    z-index: 5;
    border-radius: 8px;
}

.spoiler-badge {
    background-color: #dc3545;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

.spoiler-btn {
    background: transparent;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.spoiler-btn:hover {
    background: #dc3545;
    color: #fff;
}

/* Açıldıktan sonra gizle */
.spoiler-content.is-visible .spoiler-overlay {
    display: none;
}
.spoiler-content.is-visible .comment-text {
    filter: none;
    opacity: 1;
}