/*
Theme Name: Holy Scans V3 (Optimized)
Theme URI: https://holyscans.com.tr
Author: Utku
Description: Holy Scans için özel olarak optimize edilmiş, yüksek performanslı ve modüler manga/novel teması.
Version: 3.1.4
Text Domain: holyscans
*/

/* =======================================================
   1. TEMEL AYARLAR
   ======================================================= */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #121212 !important;
    color: #e0e0e0 !important;
    font-family: 'Poppins', sans-serif !important;
    overflow-x: hidden !important;
}

/* SCROLLBAR (KAYDIRMA ÇUBUĞU) */
::-webkit-scrollbar { width: 10px !important; }
::-webkit-scrollbar-track { background: #000 !important; }
::-webkit-scrollbar-thumb { background: #d32f2f !important; border-radius: 5px !important; border: 2px solid #000 !important; }
::-webkit-scrollbar-thumb:hover { background: #ff4444 !important; }
* { scrollbar-width: thin; scrollbar-color: #d32f2f #000; box-sizing: border-box !important; }

a { text-decoration: none !important; color: inherit !important; transition: 0.3s !important; }
ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
img { max-width: 100% !important; height: auto !important; display: block !important; }

.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.main-container { padding: 20px 15px; }

/* =======================================================
   2. HEADER TASARIMI (MASAÜSTÜ)
   ======================================================= */
.holy-header {
    background: #000 !important;
    border-bottom: 2px solid #d32f2f !important;
    height: 90px !important;
    display: flex !important;
    align-items: center !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 20px rgba(211, 47, 47, 0.2) !important;
    padding: 0 30px !important;
    transition: all 0.3s ease !important;
}

.holy-container {
    width: 100% !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.holy-logo img { max-height: 70px !important; width: auto !important; filter: drop-shadow(0 0 5px rgba(0,0,0,0.5)) !important; }

/* Yazı Logo */
.text-logo { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
.text-logo i { color: #ffcc00; font-size: 28px; }
.text-logo .red { color: #d32f2f; }

.holy-nav { flex: 1 !important; display: flex !important; justify-content: center !important; padding: 0 20px !important; }
.holy-menu { display: flex !important; gap: 30px !important; flex-wrap: wrap !important; justify-content: center !important; }
.holy-menu li a { font-size: 15px !important; font-weight: 700 !important; color: #fff !important; text-transform: capitalize !important; transition: color 0.3s, text-shadow 0.3s !important; opacity: 0.9 !important; padding: 10px 0 !important; white-space: nowrap !important; }
.holy-menu li a:hover { color: #d32f2f !important; text-shadow: 0 0 10px rgba(211, 47, 47, 0.6) !important; opacity: 1 !important; }

.holy-actions { display: flex !important; align-items: center !important; gap: 20px !important; }
.search-icon-btn { width: 40px !important; height: 40px !important; border-radius: 50% !important; background: #1a1a1a !important; color: #fff !important; border: 1px solid #333 !important; font-size: 16px !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; transition: transform 0.2s !important; }
.search-icon-btn:hover { background: #d32f2f !important; border-color: #d32f2f !important; transform: scale(1.1) !important; }

.profile-avatar { display: flex !important; align-items: center !important; gap: 10px !important; cursor: pointer !important; padding: 5px 10px !important; border-radius: 30px !important; transition: background 0.2s !important; }
.profile-avatar:hover { background: rgba(255,255,255,0.1) !important; }
.profile-avatar img { width: 40px !important; height: 40px !important; border-radius: 50% !important; border: 2px solid #d32f2f !important; object-fit: cover !important; }

.login-text { font-weight: 600 !important; color: #fff !important; border: 1px solid #fff !important; padding: 6px 16px !important; border-radius: 20px !important; font-size: 14px !important; }
.login-text:hover { background: #d32f2f !important; border-color: #d32f2f !important; color: #fff !important; }

/* Bildirim Noktaları */
.notif-badge-dot { position: absolute; top: 0; right: 0; width: 10px; height: 10px; background: #d32f2f; border: 2px solid #000; border-radius: 50%; }
.mobile-notif-dot { position: absolute; top: 15px; right: 15px; width: 8px; height: 8px; background: #d32f2f; border-radius: 50%; z-index: 1001; }
.badge-count { background: #d32f2f; color: #fff; padding: 2px 6px; border-radius: 10px; font-size: 10px; margin-left: 5px; }

/* RESPONSIVE GİZLEME */
.mobile-only { display: none !important; }
.desktop-only { display: flex !important; }

/* =======================================================
   3. DROPDOWN (Masaüstü)
   ======================================================= */
.user-dropdown { position: relative !important; display: inline-block !important; }
.dropdown-content { display: none !important; position: absolute !important; right: 0 !important; top: 60px !important; background-color: #000 !important; min-width: 220px !important; box-shadow: 0 10px 30px rgba(0,0,0,0.9) !important; border-radius: 8px !important; z-index: 9999 !important; border: 2px solid #d32f2f !important; overflow: hidden !important; }
.show-menu { display: block !important; animation: slideDown 0.2s ease-out !important; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.user-welcome { background: #000 !important; color: #fff !important; padding: 15px 20px !important; border-bottom: 1px solid #222 !important; display: flex !important; flex-direction: column !important; gap: 5px !important; }
.welcome-text { font-size: 12px !important; color: #aaa !important; font-weight: 500 !important; }
.welcome-username { display: block !important; font-size: 16px !important; color: #fff !important; font-weight: 800 !important; }
.dropdown-content li a { display: block !important; padding: 12px 20px !important; color: #eee !important; font-size: 14px !important; font-weight: 600 !important; border-bottom: 1px solid #222 !important; transition: 0.2s !important; }
.dropdown-content li a:hover { background-color: #d32f2f !important; color: #fff !important; padding-left: 25px !important; }
.dropdown-content .logout-link { color: #ff4444 !important; }
.dropdown-content .logout-link:hover { background: #330000 !important; color: #ff4444 !important; }
.dropdown-content .separator { height: 1px; background: #333; margin: 5px 0; border: none; }

/* =======================================================
   4. MOBİL DÜZEN
   ======================================================= */
@media (max-width: 900px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
    .holy-header { height: 80px !important; padding: 0 15px !important; }
    .holy-container { justify-content: space-between !important; flex-direction: row !important; flex-wrap: nowrap !important; }
    .holy-logo { margin-bottom: 0 !important; flex-grow: 0 !important; }
    .holy-logo img { max-height: 60px !important; width: auto !important; }
    .text-logo { font-size: 26px !important; }
    .text-logo i { font-size: 28px !important; }
    .hamburger-btn { background: transparent !important; border: none !important; color: #fff !important; font-size: 28px !important; cursor: pointer !important; padding: 5px !important; }
    .container, .main-container { padding: 0 15px !important; }
    .main-layout { flex-direction: column !important; }
    .sidebar-area { width: 100% !important; position: static !important; margin-top: 30px !important; }
    .content-area { width: 100% !important; }
    .hero-section { margin-top: 10px !important; }
}

/* =======================================================
   5. MOBİL MENÜ DİZAYNI
   ======================================================= */
.mobile-overlay { position: fixed !important; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95) !important; z-index: 99999 !important; display: flex; justify-content: center; padding-top: 80px; opacity: 0; visibility: hidden; transition: all 0.3s ease-in-out; backdrop-filter: blur(10px); }
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-overlay-content { width: 85%; max-width: 400px; display: flex; flex-direction: column; gap: 20px; transform: translateY(30px); transition: transform 0.4s ease; }
.mobile-overlay.active .mobile-overlay-content { transform: translateY(0); }

.close-overlay { position: absolute !important; top: 25px !important; right: 25px !important; background: rgba(255,255,255,0.1) !important; border: none !important; color: #fff !important; font-size: 24px !important; cursor: pointer !important; width: 45px !important; height: 45px !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; transition: 0.2s !important; z-index: 100000 !important; }
.close-overlay:hover { background: #d32f2f !important; transform: rotate(90deg) !important; }

.mobile-search-box { background: rgba(255,255,255,0.05) !important; border-radius: 8px !important; padding: 0 15px !important; border: 1px solid rgba(255,255,255,0.1) !important; height: 50px !important; display: flex !important; align-items: center !important; }
.mobile-search-box form { display: flex !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; flex-wrap: nowrap !important; }
.mobile-search-box input { flex: 1 !important; width: auto !important; min-width: 0 !important; background: transparent !important; border: none !important; color: #fff !important; padding: 0 !important; font-size: 16px !important; height: 100% !important; outline: none !important; }
.mobile-search-box button { background: transparent !important; border: none !important; color: #888 !important; font-size: 18px !important; padding-left: 10px !important; flex-shrink: 0 !important; cursor: pointer !important; }

.mobile-nav-links { display: flex !important; flex-direction: column !important; gap: 20px !important; }
.m-link, .m-user-card { display: flex !important; align-items: center !important; gap: 15px !important; padding: 15px !important; background: rgba(255,255,255,0.03) !important; border-radius: 10px !important; border: 1px solid rgba(255,255,255,0.05) !important; font-size: 16px !important; font-weight: 600 !important; color: #ddd !important; transition: 0.2s !important; border-left: 4px solid transparent !important; }
.m-link:hover, .m-user-card:hover { background: rgba(255,255,255,0.08) !important; color: #fff !important; border-left-color: #d32f2f !important; transform: translateX(5px) !important; }
.m-link .icon-box { width: 30px !important; text-align: center !important; font-size: 18px !important; color: #666 !important; }
.m-link:hover .icon-box { color: #d32f2f !important; }
.m-link.discord-item:hover { border-left-color: #5865F2 !important; }
.m-link.discord-item:hover .icon-box { color: #5865F2 !important; }

.mobile-user-section { margin-top: 5px !important; }
.m-user-card img { width: 50px !important; height: 50px !important; border-radius: 50% !important; border: 2px solid #d32f2f !important; object-fit: cover !important; }
.m-user-details { flex-grow: 1 !important; display: flex !important; flex-direction: column !important; }
.m-user-name { font-weight: 700 !important; color: #fff !important; font-size: 15px !important; }
.m-profile-link { font-size: 12px !important; color: #888 !important; margin-top: 2px !important; }
.m-profile-link:hover { color: #d32f2f !important; text-decoration: underline !important; }
.m-logout-btn { color: #ff4444 !important; font-size: 18px !important; padding: 8px !important; background: rgba(255, 68, 68, 0.1) !important; border-radius: 6px !important; transition: 0.2s !important; }
.m-logout-btn:hover { background: rgba(255, 68, 68, 0.2) !important; }
.m-login-btn { display: flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important; width: 100% !important; padding: 15px !important; background: #d32f2f !important; color: #fff !important; font-weight: bold !important; border-radius: 8px !important; text-transform: uppercase !important; font-size: 14px !important; }

/* =======================================================
   6. YENİ NESİL MANGA KARTLARI & GRID (V2)
   ======================================================= */

/* Izgara Yapısı ve Taşma Koruması */
.home-manga-grid, .ks-grid, .holy-grid-layout { 
    display: grid !important; 
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important; 
    gap: 15px !important; 
    margin-top: 20px !important; 
    align-items: stretch !important; 
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 1100px) { .home-manga-grid, .ks-grid, .holy-grid-layout { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 900px) { .home-manga-grid, .ks-grid, .holy-grid-layout { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .home-manga-grid, .ks-grid, .holy-grid-layout { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; } }

/* YENİ NESİL KART TASARIMI (V2) */
.manga-card-v2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: transparent;
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* Karta gelince yukarı kalkma efekti */
.manga-card-v2:hover {
    transform: translateY(-8px);
}

/* GÖRSEL KUTUSU (Siyah Boşlukları Engelleyen Kesin Çözüm) */
.mc-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.41; 
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    border: 2px solid transparent; 
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

/* Karta gelince resmin etrafının kırmızı şerit olması */
.manga-card-v2:hover .mc-image-box {
    border-color: #d32f2f;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3); 
}

/* Görselin kutuyu tam doldurması (Siyah boşluk bırakan global kuralı ezer) */
.mc-image-box img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
    object-position: center !important;
    display: block !important;
}

/* ROZETLER */
.mc-badge-top {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #d32f2f;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 5;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.mc-badge-novel {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: #d32f2f;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ALT İÇERİK (Başlık ve Bölümler) */
.mc-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-top: 12px;
}

.mc-title {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
}

.mc-title a {
    color: #fff;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.manga-card-v2:hover .mc-title a {
    color: #d32f2f;
}

/* BÖLÜM LİSTESİ (Koyu gri kutular) */
.mc-chapters {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

.mc-chapter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #181818; 
    padding: 0 12px; 
    height: 35px;    
    border-radius: 6px;
    border: 1px solid #252525;
    text-decoration: none;
    transition: 0.2s;
    box-sizing: border-box;
}

.mc-chapter-row:hover {
    background: #222;
    border-color: #333;
}

.mc-ch-name {
    color: #e0e0e0;
    font-size: 12px; 
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    padding-right: 10px;
}

.mc-ch-date {
    font-size: 11px; 
    color: #777;
    font-weight: 500;
    flex-shrink: 0;
}

.mc-ch-date.badge-yeni {
    background: #d32f2f;
    color: #fff;
    padding: 0 8px; 
    border-radius: 4px;
    font-size: 9px; 
    font-weight: 800;
    text-transform: uppercase;
    height: 18px; 
    line-height: 18px; 
    display: inline-block;
    text-align: center;
}

/* =======================================================
   7. HAFTANIN TRENDLERİ (SLIDER) STİLLERİ
   ======================================================= */
.hero-slider-margin { margin-bottom: 30px; }
.slider-heading { margin-bottom: 15px; border-bottom: 2px solid #d32f2f; padding-bottom: 10px; }
.slider-heading h3 { margin: 0; font-size: 20px; color: #fff; text-transform: uppercase; }

.slider-viewport { 
    overflow: hidden; 
    position: relative; 
    width: 100%; 
    border-radius: 10px; 
}

/* Kutu kalktığında üstten ve alttan kesilmemesi için padding verdik */
.slider-track { 
    display: flex; 
    gap: 15px; 
    padding: 15px 5px 25px 5px; 
}

/* Kutu ve Görsel Sınırları (BOYUTLAR BÜYÜTÜLDÜ) */
.weekly-card {
    flex: 0 0 220px; 
    height: 310px !important; 
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent; 
    background: #111;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Karta gelince kalkma ve kırmızı çerçeve efekti */
.weekly-card:hover {
    transform: translateY(-8px);
    border-color: #d32f2f;
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
}

.weekly-card .card-link {
    position: absolute !important; 
    top: 0 !important; 
    left: 0 !important; 
    width: 100% !important; 
    height: 100% !important; 
    display: block !important;
    z-index: 1;
}

/* Siyah boşluk sorununu engelleyen %100 doldurma */
.weekly-card img {
    position: absolute !important; 
    top: 0 !important; 
    left: 0 !important; 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important; 
    display: block !important;
}

/* NOVEL TAGI (Sağ Üste Zorla Sabitlendi) */
.weekly-card .slider-novel-badge {
    position: absolute !important; 
    top: 8px !important; 
    right: 8px !important; 
    bottom: auto !important; 
    left: auto !important; 
    background: #d32f2f !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    z-index: 5 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.6) !important;
    text-transform: uppercase !important;
}

/* Alttaki Karartı (Gölge) ve Başlık Ayarı */
.weekly-overlay {
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%;
    height: 60%; 
    display: flex;
    align-items: flex-end; 
    justify-content: center;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 40%, transparent 100%);
    padding: 20px 10px 15px 10px;
    z-index: 3;
    pointer-events: none; 
}

.weekly-overlay .weekly-title {
    margin: 0; 
    color: #fff; 
    font-size: 15px; 
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.9); 
    line-height: 1.4; 
    font-weight: 700;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; 
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
}

/* =======================================================
   8. DİĞER BİLEŞENLER & WIDGETLAR
   ======================================================= */
.sidebar-widget { background: #1e1e1e !important; padding: 15px !important; border-radius: 8px !important; margin-bottom: 25px !important; border: 1px solid #333 !important; }
.widget-title { font-size: 15px !important; border-left: 3px solid #d32f2f !important; padding-left: 10px !important; margin-bottom: 15px !important; color: #fff !important; text-transform: uppercase !important; font-weight: 700 !important; }

/* Popüler Seriler (Sidebar) Novel Tagı */
.sidebar-novel-badge {
    position: absolute !important;
    bottom: 4px !important; 
    left: 4px !important;   
    background: #d32f2f !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 3px 5px !important;
    border-radius: 4px !important;
    z-index: 5 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.8) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
}

/* POPÜLER LİSTE */
.pop-item { display: flex !important; align-items: center !important; gap: 15px !important; padding: 15px 0 !important; border-bottom: 1px solid #2a2a2a !important; transition: background 0.2s !important; }
.pop-item:last-child { border-bottom: none !important; }
.pop-item:hover { background: rgba(255,255,255,0.03) !important; }
.pop-rank { width: 35px !important; min-width: 35px !important; font-size: 20px !important; font-weight: 900 !important; color: #555 !important; text-align: center !important; display: flex !important; justify-content: center !important; }
.pop-rank.rank-1 { color: #d32f2f !important; font-size: 24px !important; }
.pop-rank.rank-2 { color: #ff9800 !important; font-size: 22px !important; }
.pop-rank.rank-3 { color: #ffeb3b !important; font-size: 20px !important; }
.pop-thumb { width: 75px !important; height: 105px !important; border-radius: 6px !important; overflow: hidden !important; flex-shrink: 0 !important; border: 1px solid #333 !important; }
.pop-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.pop-info { flex-grow: 1 !important; }
.pop-info h5 { margin: 0 0 5px 0 !important; font-size: 14px !important; color: #ddd !important; line-height: 1.4 !important; font-weight: 600 !important; }
.pop-meta { font-size: 11px !important; color: #888 !important; }
.star { color: #ffc107 !important; }

.search-modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.85); }
.search-modal-content { background-color: #1a1a1a; margin: 10% auto; padding: 30px; border: 1px solid #333; border-radius: 12px; width: 90%; max-width: 600px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); text-align: center; color: #fff; }
.close-search { color: #aaa; float: right; font-size: 30px; font-weight: bold; cursor: pointer; }
.close-search:hover { color: #fff; }

/* === PUANLAMA STİLLERİ === */
.star-rating-display { position: relative; display: inline-block; font-size: 18px; line-height: 1; }
.stars-outer { position: relative; display: inline-block; color: #444; }
.stars-outer::before { content: "\f005 \f005 \f005 \f005 \f005"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.stars-inner { position: absolute; top: 0; left: 0; white-space: nowrap; overflow: hidden; width: 0%; color: #ffc107; }
.stars-inner::before { content: "\f005 \f005 \f005 \f005 \f005"; font-family: "Font Awesome 6 Free"; font-weight: 900; }

/* =======================================================
   9. KUSURSUZ SAYFALAMA (PAGINATION)
   ======================================================= */
.holy-pagination { display: flex !important; justify-content: center !important; align-items: center !important; gap: 8px !important; margin-top: 50px !important; margin-bottom: 20px !important; flex-wrap: wrap !important; }
.holy-pagination .page-numbers { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-width: 40px !important; height: 40px !important; padding: 0 15px !important; background: #1a1a1a !important; color: #fff !important; font-weight: 700 !important; font-size: 14px !important; border-radius: 8px !important; border: 1px solid #333 !important; transition: all 0.3s ease !important; text-decoration: none !important; }
.holy-pagination .page-numbers:hover { background: #d32f2f !important; border-color: #d32f2f !important; transform: translateY(-4px) !important; box-shadow: 0 6px 15px rgba(211, 47, 47, 0.4) !important; }
.holy-pagination .page-numbers.current { background: #d32f2f !important; border-color: #d32f2f !important; color: #fff !important; pointer-events: none !important; box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3) !important; }
.holy-pagination .page-numbers.dots { background: transparent !important; border: none !important; pointer-events: none !important; color: #888 !important; font-size: 18px !important; }

/* =======================================================
   10. FOOTER LİNKLERİ
   ======================================================= */
.footer-link { color: #666; text-decoration: none; transition: 0.3s; font-weight: 500; }
.footer-link:hover { color: #fff; }

/* =======================================================
   11. YENİ NESİL ESTETİK CANLI SOHBET STİLLERİ
   ======================================================= */
.chat-msg-row { 
    display: flex; align-items: flex-start; gap: 14px; position: relative; 
    animation: slideInMsg 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    padding-top: 10px;
}
@keyframes slideInMsg { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.chat-msg-row:hover .chat-admin-actions { opacity: 1; visibility: visible; }

.chat-avatar-wrapper { position: relative; flex-shrink: 0; }
.chat-avatar { width: 48px; height: 48px; border-radius: 50%; padding: 3px; background: #333; }
.chat-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #1a1a1a; }

/* --- ÇERÇEVE PARLAMA (GLOW) ANİMASYONLARI (GÜNCEL) --- */
.lvl-1 { background: #333; }
.lvl-10 { background: linear-gradient(135deg, #11998e, #38ef7d); animation: glow10 2s infinite alternate; }
.lvl-20 { background: linear-gradient(135deg, #2980B9, #6DD5FA); animation: glow20 2s infinite alternate; }
.lvl-30 { background: linear-gradient(135deg, #8E2DE2, #4A00E0); animation: glow30 2s infinite alternate; }
.lvl-40 { background: linear-gradient(135deg, #FF416C, #FF4B2B); animation: glow40 1.5s infinite alternate; }

/* 50 Level ve Üzeri: Hem yumuşak halo hem de nefes alan animasyon */
.lvl-50 { 
    background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7); 
    background-size: 200% 200%; 
    animation: glow50 1.5s infinite alternate, fluidFlow 3s ease infinite !important; 
}
.lvl-75 { 
    background: linear-gradient(45deg, #0f0c29, #302b63, #24243e, #0f0c29); 
    background-size: 300% 300%; 
    animation: glow75 1.5s ease-in-out infinite alternate, fluidFlow 4s ease infinite !important; 
}
.lvl-100 { 
    background: linear-gradient(115deg, #ffffff, #e6e6e6, #ffdde1, #c9ffbf, #ffffff); 
    background-size: 300% 300%; 
    animation: glow100 1.5s ease-in-out infinite alternate, fluidFlow 2.5s ease infinite !important; 
}
.lvl-admin { 
    background: linear-gradient(135deg, var(--admin-color, #d32f2f), #222); 
    background-size: 200% 200%; 
    animation: glowAdmin 1.5s ease-in-out infinite alternate, fluidFlow 3s ease infinite !important; 
}

@keyframes glow10 { from { box-shadow: 0 0 2px rgba(56, 239, 125, 0.2); } to { box-shadow: 0 0 8px rgba(56, 239, 125, 0.6); } }
@keyframes glow20 { from { box-shadow: 0 0 3px rgba(109, 213, 250, 0.2); } to { box-shadow: 0 0 10px rgba(109, 213, 250, 0.7); } }
@keyframes glow30 { from { box-shadow: 0 0 4px rgba(142, 45, 226, 0.3); } to { box-shadow: 0 0 12px rgba(142, 45, 226, 0.8); } }
@keyframes glow40 { from { box-shadow: 0 0 5px rgba(255, 65, 108, 0.4); } to { box-shadow: 0 0 15px rgba(255, 65, 108, 0.9); } }
@keyframes glow50 { from { box-shadow: 0 0 6px rgba(252, 246, 186, 0.4); } to { box-shadow: 0 0 18px rgba(252, 246, 186, 0.8); } }
@keyframes glow75 { from { box-shadow: 0 0 6px rgba(157, 80, 187, 0.4); } to { box-shadow: 0 0 18px rgba(157, 80, 187, 0.9); } }
@keyframes glow100 { from { box-shadow: 0 0 8px rgba(255, 255, 255, 0.4); } to { box-shadow: 0 0 22px rgba(255, 255, 255, 0.8); } }
@keyframes glowAdmin { from { box-shadow: 0 0 10px var(--admin-color, #ff1744); } to { box-shadow: 0 0 30px var(--admin-color, #ff1744), 0 0 10px rgba(255,255,255,0.4); } }
@keyframes fluidFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* Baloncuk ve Metin */
.chat-content-wrapper { background: rgba(30, 30, 30, 0.85); border: 1px solid rgba(255, 255, 255, 0.05); padding: 12px 18px; border-radius: 0 16px 16px 16px; max-width: 80%; position: relative; box-shadow: 0 4px 6px rgba(0,0,0,0.2); }
.chat-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: nowrap !important; }
.chat-username { font-weight: 700; font-size: 14px; color: #ddd; white-space: nowrap;overflow: hidden;text-overflow: ellipsis;max-width: 140px; }
.chat-time { font-size: 10px; color: #666; margin-left: auto; white-space: nowrap; flex-shrink: 0; }
.chat-text { font-size: 14px; color: #f1f1f1; line-height: 1.5; word-break: break-word; }

@media (max-width: 600px) {
    .chat-username { max-width: 80px; } 
    .chat-content-wrapper { max-width: 85%; padding: 10px 14px; }
}

/* İSME ÖZEL ESTETİK PARLAMALAR (HALO EFFECT) */
.lvl-50-text { 
    background: linear-gradient(90deg, #BF953F, #FCF6BA, #B38728); 
    -webkit-background-clip: text; 
    color: transparent !important; 
    font-weight: 800 !important; 
    filter: drop-shadow(0 0 5px rgba(191, 149, 63, 0.6)); 
}
.lvl-75-text { 
    background: linear-gradient(90deg, #9D50BB, #6E48AA); 
    -webkit-background-clip: text; 
    color: transparent !important; 
    font-weight: 800 !important; 
    filter: drop-shadow(0 0 6px rgba(157, 80, 187, 0.6)); 
}
.lvl-100-text { 
    background: linear-gradient(90deg, #ffffff, #c9ffbf, #ffdde1, #ffffff); 
    background-size: 300% auto; 
    -webkit-background-clip: text; 
    color: transparent !important; 
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.5)); 
    font-weight: 900 !important; 
}
.lvl-admin-text { 
    color: var(--admin-color, #ff5252) !important; 
    font-weight: 900 !important; 
    letter-spacing: 0.5px;
    text-shadow: none !important; 
    filter: drop-shadow(0 0 8px var(--admin-color, #ff5252)) !important; 
}

/* Tag Rozetleri */
.chat-lvl-tag { font-size: 10px; padding: 3px 9px; border-radius: 20px; font-weight: 800; border: 1px solid transparent; color: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.4); display: inline-block; }
.tag-lvl-1 { background: #333; border-color: #555; box-shadow: none; }
.tag-lvl-10 { background: linear-gradient(90deg, #11998e, #38ef7d); border-color: #38ef7d; }
.tag-lvl-20 { background: linear-gradient(90deg, #2980B9, #6DD5FA); border-color: #6DD5FA; }
.tag-lvl-30 { background: linear-gradient(90deg, #8E2DE2, #4A00E0); border-color: #8E2DE2; }
.tag-lvl-40 { background: linear-gradient(90deg, #FF416C, #FF4B2B); border-color: #FF416C; }
.tag-lvl-50 { background: linear-gradient(90deg, #BF953F, #B38728); border-color: #FCF6BA; }
.tag-lvl-75 { background: linear-gradient(90deg, #0f0c29, #302b63, #24243e); border-color: #9D50BB; box-shadow: 0 0 8px rgba(157, 80, 187, 0.6); }
.tag-lvl-100 { background: linear-gradient(90deg, #ffffff, #e6e6e6, #c9ffbf); color: #111; border-color: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.8); }

/* Kurucu Rozeti */
.chat-admin-tag { background: linear-gradient(90deg, var(--admin-color, #d32f2f), #7a0000); color: #fff; font-size: 10px; padding: 3px 8px; border-radius: 4px; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,0.8); box-shadow: 0 0 10px var(--admin-color, rgba(211,47,47,0.6)); display: flex; align-items: center; gap: 4px; border: 1px solid rgba(255,255,255,0.3); }

/* @Mention Renklendirmeleri */
.chat-mention { font-weight: 800; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,0.08); display: inline-block; margin: 0 2px; transition: 0.3s; cursor: pointer; }
.chat-mention:hover { background: rgba(255,255,255,0.15); }
.mention-lvl-1 { color: #ccc; }
.mention-lvl-10 { color: #38ef7d; text-shadow: 0 0 5px rgba(56, 239, 125, 0.4); }
.mention-lvl-20 { color: #6DD5FA; text-shadow: 0 0 5px rgba(109, 213, 250, 0.4); }
.mention-lvl-30 { color: #8E2DE2; text-shadow: 0 0 5px rgba(142, 45, 226, 0.4); }
.mention-lvl-40 { color: #FF416C; text-shadow: 0 0 8px rgba(255, 65, 108, 0.5); }
.mention-lvl-50 { color: #FCF6BA; text-shadow: 0 0 10px rgba(252, 246, 186, 0.6); }
.mention-lvl-75 { color: #9D50BB; text-shadow: 0 0 12px rgba(157, 80, 187, 0.7); }
.mention-lvl-100 { color: #fff; text-shadow: 0 0 15px rgba(255, 255, 255, 0.9); }
.mention-lvl-admin { color: #ff5252; text-shadow: 0 0 10px rgba(255, 82, 82, 0.8); }

/* Yönetici Sil/Banla Butonları */
.chat-admin-actions { opacity: 0; visibility: hidden; position: absolute; right: 0; top: -12px; background: #111; border: 1px solid #333; border-radius: 8px; padding: 4px; display: flex; gap: 5px; transition: 0.2s; z-index: 10; box-shadow: 0 4px 8px rgba(0,0,0,0.5); }
.chat-admin-actions button { background: none; border: none; color: #888; cursor: pointer; padding: 6px; font-size: 13px; border-radius: 4px; transition: 0.2s; }
.chat-admin-actions button:hover { color: #fff; background: #d32f2f; transform: scale(1.1); }

/* Sohbet alanı boşlukları */
.holy-chat-messages {
    padding-left: 30px !important;
    padding-right: 25px !important;
}
.chat-msg-row {
    margin-left: 5px;
}
.chat-msg-row:hover .chat-admin-actions { 
    opacity: 1; 
    visibility: visible; 
}

/* --- SOHBET ETİKETLEME (AUTOCOMPLETE) PENCERESİ --- */
.mention-autocomplete-box {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    width: 250px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 999;
    display: none;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.7);
}
.mention-item {
    padding: 10px 15px;
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid #252525;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mention-item:last-child { border-bottom: none; }
.mention-item:hover { background: #d32f2f; color: #fff; }
.mention-item .m-username { font-size: 11px; opacity: 0.7; font-weight: 400; }

/* --- DISCORD TARZI ETİKETLENME VURGUSU --- */
.chat-mentioned-me {
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.02) 100%) !important;
    border-left: 4px solid #ffc107 !important;
    border-radius: 6px !important;
    padding-top: 12px !important;    
    padding-bottom: 12px !important; 
    padding-left: 12px !important;
    padding-right: 10px !important;
    margin-left: -5px; 
    transition: all 0.3s ease !important;
}
.chat-mentioned-me:hover {
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.25) 0%, rgba(255, 193, 7, 0.05) 100%) !important;
}

/* =======================================================
   SOHBET: ALINTI (YANIT) KUTUSU STİLLERİ
   ======================================================= */
.chat-quote-box {
    background: rgba(0, 0, 0, 0.4);
    border-left: 3px solid #d32f2f;
    padding: 6px 10px;
    margin-bottom: 8px;
    border-radius: 4px;
    font-size: 12px;
}
.chat-quote-box .quote-header {
    color: #d32f2f;
    font-size: 11px;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.chat-quote-box .quote-text {
    color: #aaa;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* =======================================================
   UZUN BAŞLIKLARI KESİN OLARAK KISALTMA (...) KODU
   ======================================================= */
.manga-details {
    min-width: 0 !important; 
    width: 100% !important;
}

.manga-title, 
.manga-title a, 
.ks-card h3, 
.ks-card h3 a,
.mc-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important; 
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important; 
    width: 100% !important;
    max-width: 100% !important;
    word-break: break-all !important;
}