/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Genel Stiller - Modern Cursor Platform Tasarımı */
:root {
    --primary-color: #1E90FF;
    --primary-dark: #0066CC;
    --primary-light: #E3F2FD;
    --secondary-color: #FF4081;
    --accent-color: #FF4081;
    --danger-color: #f02849;
    --warning-color: #f7b928;
    --dark-bg: #18191a;
    --darker-bg: #242526;
    --light-bg: #FFFFFF;
    --sidebar-bg: #F0F4F8;
    --card-bg: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.08) 0px 2px 8px;
    --shadow-lg: rgba(0, 0, 0, 0.12) 0px 4px 16px;
    --shadow-card: rgba(0, 0, 0, 0.06) 0px 2px 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Scrollbar'ı göster */
html {
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: var(--font-family);
    background-color: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    margin: 0;
    padding: 64px 0 0 0;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) {
    body {
        padding-top: 56px;
    }
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* Navbar - Modern Cursor Platform Stili */
.navbar {
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    min-height: 64px;
    height: 64px;
    background-color: #ffffff;
    transition: var(--transition);
    display: flex;
    align-items: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 768px) {
    .navbar {
        min-height: 56px;
        height: 56px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .nav-brand a {
        font-size: 20px;
    }
}

/* Scroll yapıldığında navbar'ın gölgesini artır */
.navbar.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    background-color: #ffffff;
}

.navbar::-webkit-scrollbar {
    display: none;
    width: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    overflow-x: visible;
    overflow-y: visible;
    position: relative;
    /* Fixed menü için transform ve perspective'i kaldır */
    transform: none;
    perspective: none;
    will-change: auto;
}

.navbar .container::-webkit-scrollbar {
    display: none;
    width: 0;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-brand a:hover {
    background: rgba(30, 144, 255, 0.08);
    color: var(--primary-color);
}

.nav-brand i {
    font-size: 28px;
}
.nav-brand img.site-logo {
    display: block;
    max-height: 44px;
    width: auto;
}
.mobile-menu-logo img.site-logo {
    display: block;
    max-height: 38px;
    width: auto;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Web görünümünde mobil menü logosunu gizle */
@media (min-width: 769px) {
    .mobile-menu-logo {
        display: none !important;
    }
}

/* Desktop'ta normal görünüm - Mobilde override edilecek */
.nav-menu {
    position: absolute;
    right: 48px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    height: 56px;
    padding: 0;
    margin: 0;
    background: transparent;
    z-index: 1001;
    flex-wrap: nowrap;
}

/* Desktop'ta web menü container'ını göster - EN YÜKSEK ÖNCELİK */
@media (min-width: 769px) {
    .nav-menu .web-menu-container {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        flex-wrap: nowrap !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 2 !important;
        flex-shrink: 0 !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .nav-menu .web-menu-container .web-menu-item {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
        flex-shrink: 0 !important;
        width: auto !important;
        height: auto !important;
    }
}


.nav-menu .notification-btn,
.nav-menu .user-menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 2px;
    padding: 0;
    position: relative;
}

.nav-menu::-webkit-scrollbar {
    display: none;
    width: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
}

/* Web ve mobil menü öğeleri - varsayılan olarak her ikisi de görünür */
.web-menu-item,
.mobile-menu-item {
    display: flex;
}

/* Mobil görünümde header'da web menülerini gizle (sidebar'da gösterilecek) */
@media (max-width: 768px) {
    /* Mobil görünümde web menü container'ını HER ZAMAN gizle (menü açık olsun ya da olmasın) */
    /* Tüm olası selector kombinasyonlarını kapsar - EN YÜKSEK ÖNCELİK */
    html body .navbar .container .nav-menu .web-menu-container,
    html body .navbar #navMenu .web-menu-container,
    html body #navMenu .web-menu-container,
    html body .nav-menu .web-menu-container,
    body .navbar .container .nav-menu .web-menu-container,
    body .navbar #navMenu .web-menu-container,
    body #navMenu .web-menu-container,
    body .nav-menu .web-menu-container,
    .navbar .nav-menu .web-menu-container,
    .navbar #navMenu .web-menu-container,
    .nav-menu .web-menu-container,
    .nav-menu.active .web-menu-container,
    .nav-menu:not(.active) .web-menu-container,
    #navMenu .web-menu-container,
    #navMenu.active .web-menu-container,
    #navMenu:not(.active) .web-menu-container,
    .web-menu-container.desktop-only-menu,
    .nav-menu .desktop-only-menu,
    #navMenu .desktop-only-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        max-height: 0 !important;
        max-width: 0 !important;
        min-height: 0 !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        clip: rect(0, 0, 0, 0) !important;
    }
    
    /* Mobil görünümde web menülerini HER ZAMAN gizle (menü açık olsun ya da olmasın) */
    /* Tüm olası selector kombinasyonlarını kapsar - EN YÜKSEK ÖNCELİK */
    html body .navbar .container .nav-menu .web-menu-item,
    html body .navbar #navMenu .web-menu-item,
    html body #navMenu .web-menu-item,
    html body .nav-menu .web-menu-item,
    body .navbar .container .nav-menu .web-menu-item,
    body .navbar #navMenu .web-menu-item,
    body #navMenu .web-menu-item,
    body .nav-menu .web-menu-item,
    .navbar .nav-menu .web-menu-item,
    .navbar #navMenu .web-menu-item,
    .nav-menu .web-menu-item,
    .nav-menu.active .web-menu-item,
    .nav-menu:not(.active) .web-menu-item,
    .nav-menu .web-menu-container .web-menu-item,
    .nav-menu.active .web-menu-container .web-menu-item,
    .nav-menu:not(.active) .web-menu-container .web-menu-item,
    #navMenu .web-menu-item,
    #navMenu.active .web-menu-item,
    #navMenu:not(.active) .web-menu-item,
    #navMenu .web-menu-container .web-menu-item,
    .web-menu-container .web-menu-item,
    .desktop-only-menu .web-menu-item,
    a.web-menu-item,
    .nav-link.web-menu-item {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        max-height: 0 !important;
        max-width: 0 !important;
        min-height: 0 !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        clip: rect(0, 0, 0, 0) !important;
        font-size: 0 !important;
        line-height: 0 !important;
    }
    
    /* Header'da menü kapalıyken mobil menülerini gizle (sidebar'da gösterilecek) */
    .nav-menu:not(.active) .mobile-menu-item {
        display: none !important;
    }
    
    /* Mobil menü header'ındaki logoyu gizle - HER ZAMAN */
    .nav-menu .mobile-menu-header .mobile-menu-logo-link,
    .nav-menu .mobile-menu-header .mobile-menu-logo-icon,
    .nav-menu .mobile-menu-header .site-logo,
    .nav-menu.active .mobile-menu-header .mobile-menu-logo-link,
    .nav-menu.active .mobile-menu-header .mobile-menu-logo-icon,
    .nav-menu.active .mobile-menu-header .site-logo {
        display: none !important;
    }
    
    /* Mobil menü header içeriğini sadece kapatma butonu için düzenle */
    .nav-menu .mobile-menu-header-content,
    .nav-menu.active .mobile-menu-header-content {
        justify-content: flex-end !important;
        padding-left: 0 !important;
    }
    
    /* Desktop görünümünde bu kurallar geçersiz olmalı - ÖNEMLİ */
    /* Bu media query dışında desktop görünümünde web menü container görünür olacak */
    
    /* Mobil görünümde nav-menu sidebar olarak görünsün */
    .nav-menu:not(.active) {
        position: absolute !important;
        right: 48px !important;
        left: auto !important;
        top: 0 !important;
        width: auto !important;
        height: 56px !important;
        min-width: auto !important;
        max-width: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 4px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        z-index: 1001 !important;
        flex-direction: row !important;
        box-shadow: none !important;
        border: none !important;
        overflow: visible !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* Web görünümünde mobil menüleri gizle, web menüleri göster */
@media (min-width: 769px) {
    /* Desktop'ta mobil menü öğelerini gizle */
    .mobile-menu-item {
        display: none !important;
    }
    
    /* Desktop'ta mobil menü sidebar'ını tamamen gizle */
    .mobile-menu-nav,
    .nav-menu .mobile-menu-nav,
    .nav-menu.active .mobile-menu-nav,
    #navMenu .mobile-menu-nav {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
    
    /* Desktop'ta mobil menü header'ını gizle */
    .mobile-menu-header,
    .nav-menu .mobile-menu-header,
    .nav-menu.active .mobile-menu-header,
    #navMenu .mobile-menu-header {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
    
    /* Desktop'ta nav-menu normal navbar container'ı olarak görünsün - ÖNCELİKLE */
    .nav-menu {
        position: absolute !important;
        right: 48px !important;
        left: auto !important;
        top: 0 !important;
        width: auto !important;
        height: 56px !important;
        min-width: auto !important;
        max-width: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 4px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        z-index: 1001 !important;
        flex-direction: row !important;
        box-shadow: none !important;
        border: none !important;
        overflow: visible !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    /* Desktop'ta nav-menu active durumunu kaldır (sidebar olmamalı) */
    .nav-menu.active {
        position: absolute !important;
        right: 48px !important;
        left: auto !important;
        top: 0 !important;
        width: auto !important;
        height: 56px !important;
        transform: none !important;
        box-shadow: none !important;
    }
    
    /* Desktop'ta web menü container'ını göster - ÇOK YÜKSEK ÖNCELİK - ID selector kullan */
    /* Sadece desktop görünümünde geçerli - Mobil media query'den sonra gelmeli */
    html body #navMenu .web-menu-container,
    html body .nav-menu .web-menu-container,
    body #navMenu .web-menu-container,
    body .nav-menu .web-menu-container,
    #navMenu .web-menu-container,
    .nav-menu .web-menu-container {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        flex-wrap: nowrap !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 2 !important;
        flex-shrink: 0 !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        pointer-events: auto !important;
        left: auto !important;
    }
    
    /* Desktop'ta web menü öğelerini göster - Navbar içinde - ÇOK YÜKSEK ÖNCELİK - ID selector kullan */
    html body #navMenu .web-menu-container .web-menu-item,
    html body .nav-menu .web-menu-container .web-menu-item,
    body #navMenu .web-menu-container .web-menu-item,
    body .nav-menu .web-menu-container .web-menu-item,
    #navMenu .web-menu-container .web-menu-item,
    .nav-menu .web-menu-container .web-menu-item,
    .nav-menu .web-menu-item,
    .nav-menu > .web-menu-item,
    .nav-menu a.web-menu-item {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
        flex-shrink: 0 !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        pointer-events: auto !important;
        left: auto !important;
        align-items: center !important;
        gap: 6px !important;
    }
    
    /* Mobil menü header'ını desktop'ta gizle */
    .nav-menu .mobile-menu-header {
        display: none !important;
    }
    
    /* Mobil menü nav container'ını desktop'ta gizle */
    .nav-menu .mobile-menu-nav {
        display: none !important;
    }
    
    /* Desktop'ta web menü öğeleri için özel stil */
    #navMenu .web-menu-container .web-menu-item.admin-menu-style,
    .nav-menu .web-menu-container .web-menu-item.admin-menu-style,
    .nav-menu .web-menu-item.admin-menu-style {
        margin-bottom: 0 !important;
        padding: 8px 16px !important;
        border-radius: 10px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #4a5568 !important;
        transition: all 0.2s ease;
        white-space: nowrap;
        flex-shrink: 0 !important;
        background: transparent !important;
    }
    
    #navMenu .web-menu-container .web-menu-item.admin-menu-style:hover,
    .nav-menu .web-menu-container .web-menu-item.admin-menu-style:hover,
    .nav-menu .web-menu-item.admin-menu-style:hover {
        background: #f7fafc !important;
        color: #1a202c !important;
    }
    
    #navMenu .web-menu-container .web-menu-item.admin-menu-style.active,
    .nav-menu .web-menu-container .web-menu-item.admin-menu-style.active,
    .nav-menu .web-menu-item.admin-menu-style.active {
        background: linear-gradient(90deg, rgba(102, 126, 234, 0.12) 0%, rgba(102, 126, 234, 0.05) 100%) !important;
        color: #667eea !important;
        font-weight: 600 !important;
    }
    
    /* Desktop'ta web menü container'ı için icon ve span stilleri */
    #navMenu .web-menu-container .web-menu-item.admin-menu-style i,
    .nav-menu .web-menu-container .web-menu-item.admin-menu-style i {
        width: 20px !important;
        text-align: center;
        font-size: 15px !important;
        flex-shrink: 0;
        display: inline-block;
        color: inherit;
    }
    
    #navMenu .web-menu-container .web-menu-item.admin-menu-style span,
    .nav-menu .web-menu-container .web-menu-item.admin-menu-style span {
        flex: 1;
        white-space: nowrap;
    }
}

.nav-link:hover {
    background: rgba(30, 144, 255, 0.08);
    color: var(--primary-color);
}

.nav-link i {
    font-size: 18px;
}

/* Admin Panel Menü Stili - Web ve Mobil Menülere Uygula */
.admin-menu-style {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
    padding: 8px 16px !important;
    color: #4a5568 !important;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin-bottom: 1px;
    position: relative;
    white-space: nowrap;
}

.admin-menu-style:hover {
    background: #f7fafc !important;
    color: #1a202c !important;
}

.admin-menu-style.active {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.12) 0%, rgba(102, 126, 234, 0.05) 100%) !important;
    color: #667eea !important;
    font-weight: 600 !important;
}

.admin-menu-style.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: #667eea;
    border-radius: 0 3px 3px 0;
}

.admin-menu-style i {
    width: 20px !important;
    text-align: center;
    font-size: 15px !important;
    flex-shrink: 0;
    display: inline-block;
    color: inherit;
}

.admin-menu-style span {
    flex: 1;
}

/* Web menüsü için (header'da) - Admin panel stili */
@media (min-width: 769px) {
    .nav-menu .web-menu-item.admin-menu-style {
        margin-bottom: 0;
        padding: 8px 16px !important;
        border-radius: 10px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #4a5568 !important;
        transition: all 0.2s ease;
    }
    
    .nav-menu .web-menu-item.admin-menu-style:hover {
        background: #f7fafc !important;
        color: #1a202c !important;
    }
    
    .nav-menu .web-menu-item.admin-menu-style.active {
        background: linear-gradient(90deg, rgba(102, 126, 234, 0.12) 0%, rgba(102, 126, 234, 0.05) 100%) !important;
        color: #667eea !important;
        font-weight: 600 !important;
    }
    
    .nav-menu .web-menu-item.admin-menu-style i {
        width: 20px !important;
        text-align: center;
        font-size: 15px !important;
        flex-shrink: 0;
        display: inline-block;
        color: inherit;
    }
}

.nav-link.btn-primary {
    background: var(--primary-color);
    color: #ffffff !important;
    padding: 10px 20px;
    font-weight: 700;
    border: 2px solid var(--primary-color);
}

.nav-link.btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff !important;
    border-color: var(--primary-dark);
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff !important;
    font-weight: 600;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff !important;
}

.btn-secondary {
    background: #e4e6eb;
    color: #050505;
    font-weight: 600;
    border: none;
}

.btn-secondary:hover {
    background: #d8dadf;
    color: #050505;
}

.nav-toggle {
    display: none; /* Desktop'ta gizli */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    margin-left: 12px;
    flex-shrink: 0;
}


.user-menu {
    position: relative;
    margin-left: 8px;
    z-index: 1001;
    height: auto;
    display: flex;
    align-items: center;
}

.user-menu.active {
    z-index: 10002;
}

.user-avatar {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    z-index: 10002;
}

.user-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    display: block;
    object-fit: cover;
    background: var(--light-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.user-avatar:hover img {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.dropdown {
    display: none;
    visibility: hidden;
    position: absolute;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 8px 0;
    margin-top: 0;
    min-width: 220px;
    border: 1px solid var(--border-color);
    z-index: 10001;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
}

.dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.dropdown a i {
    width: 20px;
    text-align: center;
}

.user-menu.active .dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Desktop'ta dropdown pozisyonu - GARANTİ ALTINA AL */
@media (min-width: 769px) {
    .user-menu.active .dropdown {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        position: absolute !important;
        top: calc(100% + 8px) !important;
        right: 0 !important;
        left: auto !important;
        bottom: auto !important;
        z-index: 10002 !important;
        min-width: 220px !important;
        max-width: none !important;
        width: auto !important;
    }
    
    /* Desktop'ta user-menu'un pozisyonunu relative yap (dropdown için) */
    .user-menu {
        position: relative !important;
    }
}

/* Mobil görünümde dropdown - FIXED POSITIONING */
@media (max-width: 768px) {
    .user-menu.active .dropdown {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        position: fixed !important;
        z-index: 10005 !important;
    }
    
    /* Mobilde user-menu'un pozisyonunu relative yap (dropdown için) */
    .user-menu {
        position: relative !important;
    }
    
    /* Mobilde avatar'ın tıklanabilir olduğundan emin ol */
    .user-menu .user-avatar {
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 10006 !important;
    }
    
    .user-menu .user-avatar img {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
}

/* Web görünümünde dropdown'ın görünürlüğünü garanti altına al */
@media (min-width: 769px) {
    .user-menu.active .dropdown {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
    
    .user-menu .user-avatar {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    .user-menu .user-avatar img {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-btn {
    position: relative;
    padding: 8px 12px !important;
    min-width: 40px;
    justify-content: center;
    display: flex !important;
    align-items: center;
    /* Badge için sabit alan rezerve et - kayma önleme */
    padding-right: 28px !important;
}

.notification-btn i {
    font-size: 20px !important;
}

/* Admin badge ve mor ikonları gizle */
.nav-link.admin-badge,
.nav-link[title*="Admin"],
.nav-link[title*="ADMIN"],
.nav-link .fa-globe,
.nav-link .fa-rocket,
.user-menu::before,
.user-avatar::before,
.user-avatar-placeholder::before,
.navbar .fa-globe,
.navbar .fa-rocket,
.navbar [class*="admin"],
.navbar [class*="ADMIN"],
.navbar .admin-badge {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Takipçiler/Takip edilenler modal'ındaki mor profil ikonunu gizle */
.follow-user-avatar::before,
.follow-user-avatar-placeholder::before,
.follow-user-avatar i::before,
.follow-user-avatar-placeholder i::before,
.follow-user-item img::before,
.follow-user-item img::after,
.follow-user-item::before,
.follow-user-item::after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
}

/* Tüm kullanıcı avatar placeholder'larındaki ::before elementlerini gizle */
.user-avatar-placeholder i.fas.fa-user::before,
.user-avatar-placeholder i::before,
.post-avatar-placeholder i.fas.fa-user::before,
.post-avatar-placeholder i::before,
.follow-user-avatar-placeholder i.fas.fa-user::before,
.follow-user-avatar-placeholder i::before {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
}

.notification-btn .badge-count {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: #FF4081;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 6px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
    min-width: 20px;
    height: 20px;
    text-align: center;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.badge-count {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: #FF4081;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 6px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
    min-width: 20px;
    height: 20px;
    text-align: center;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s ease;
}

/* Badge görünmezse opacity kullan, visibility ile alanı koru */
.badge-count[style*="display: none"] {
    display: inline-flex !important;
    visibility: hidden;
    opacity: 0;
    width: 20px;
    min-width: 20px;
    padding: 3px 0;
}

/* Alert Mesajları */
.alert {
    padding: 12px 16px;
    margin: 16px auto;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1320px;
    box-shadow: var(--shadow);
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* Main Content */
.main-content {
    flex: 1 1 auto;
    padding: 0;
    min-height: 0;
    overflow: visible;
    position: relative;
}

.main-content > .container {
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-white {
    background: white;
    color: var(--primary-color);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-success {
    background: #10b981;
    color: white;
    border: none;
}

.btn-success:hover {
    background: #059669;
}

.btn-warning {
    background: #f59e0b;
    color: white;
    border: none;
}

.btn-warning:hover {
    background: #d97706;
}

/* Grid Layout */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

a.card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

a.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    min-height: 3.5em;
    display: flex;
    align-items: center;
}

.card-title a {
    color: var(--text-primary);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    width: 100%;
}

.card-title a:hover {
    color: var(--primary-color);
}
.card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.card-meta i {
    color: var(--primary-color);
}

.card-content {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
    font-size: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.card-author span {
    font-weight: 500;
    color: var(--text-primary);
}

.card-stats {
    display: flex;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.stat-item i {
    color: var(--secondary-color);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 16px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.badge-primary {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: var(--primary-color);
    border: 1px solid rgba(24, 119, 242, 0.3);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(24, 119, 242, 0.15);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.badge-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.25);
}

.badge-success {
    background: linear-gradient(135deg, #e6f7e6 0%, #c8e6c9 100%);
    color: var(--secondary-color);
    border: 1px solid rgba(66, 183, 42, 0.3);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(66, 183, 42, 0.15);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.badge-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(66, 183, 42, 0.25);
}

.badge-warning {
    background: linear-gradient(135deg, #fff8e1 0%, #ffe0b3 100%);
    color: #e65100;
    border: 1px solid rgba(230, 81, 0, 0.3);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.15);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.badge-warning:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.25);
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.form-group {
    margin-bottom: 2rem;
}

/* Kapak fotoğrafı alanının her zaman görünür olmasını sağla */
#cover-image-section,
.form-group#cover-image-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 2rem !important;
}

#cover-image-section label,
.form-group#cover-image-section label {
    display: block !important;
    visibility: visible !important;
}

#cover-image-section input[type="file"],
.form-group#cover-image-section input[type="file"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--card-bg);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(24, 119, 242, 0.1);
    transform: translateY(-1px);
}

.form-control:hover {
    border-color: var(--primary-light);
}

textarea.form-control {
    min-height: 200px;
    resize: vertical;
    line-height: 1.7;
    font-size: 1rem;
    padding: 1.25rem;
}

textarea.form-control:focus {
    min-height: 250px;
}

select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    appearance: none;
}

/* Rating Stars */
.rating {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.rating input {
    display: none;
}

.rating label {
    font-size: 2.5rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rating label:hover {
    transform: scale(1.15);
    color: #fbbf24;
}

.rating input:checked ~ label,
.rating label:hover ~ label {
    color: #fbbf24;
}

.rating input:checked + label {
    color: #f59e0b;
    text-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* İçerik Textarea İyileştirmeleri */
.content-textarea-wrapper {
    margin-bottom: 2rem;
}

.content-label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.content-label-wrapper label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-label-wrapper label i {
    color: var(--primary-color);
}

.content-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.stat-item {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.375rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 6px;
}

.textarea-container {
    position: relative;
}

.content-textarea {
    min-height: 280px;
    resize: vertical;
    line-height: 1.8;
    font-size: 1rem;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--card-bg);
    color: var(--text-primary);
    font-family: var(--font-family);
}

.content-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(24, 119, 242, 0.1);
    min-height: 320px;
}

.content-textarea:hover {
    border-color: var(--primary-light);
}

.textarea-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.char-limit-hint {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.char-limit-hint i {
    font-size: 0.75rem;
}

/* Puanlama İyileştirmeleri */
.rating-wrapper {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.03) 0%, rgba(99, 102, 241, 0.02) 100%);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.rating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.rating-header label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-header label i {
    color: #fbbf24;
}

.rating-required-hint {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.rating-container-modern {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rating-stars {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 50px;
}

.rating-stars label i {
    font-size: 2rem;
    color: #e5e7eb;
    transition: all 0.2s ease;
}

.rating-stars label .star-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.rating-stars label:hover {
    background: rgba(251, 191, 36, 0.1);
    transform: translateY(-2px);
}

.rating-stars label:hover i {
    color: #fbbf24;
    transform: scale(1.1);
}

.rating-stars label:hover .star-label {
    color: var(--text-primary);
}

.rating-stars input:checked + label i {
    color: #f59e0b;
    transform: scale(1.1);
}

.rating-stars input:checked + label .star-label {
    color: #f59e0b;
    font-weight: 700;
}

.rating-stars input:checked ~ label i {
    color: #fbbf24;
}

.rating-stars input:checked ~ label .star-label {
    color: var(--text-secondary);
}

/* Page Header */
.page-header {
    background: var(--card-bg);
    padding: 2rem 0;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-secondary);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.tab {
    padding: 1rem 2rem;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab:hover {
    color: var(--primary-color);
}
/* Author/Director Detail */
.author-header,
.director-header {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-image,
.director-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.author-info h1,
.director-info h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.author-info p,
.director-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--footer-bg, var(--light-bg));
    color: var(--text-primary);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.footer-logo-img {
    max-height: 48px;
    width: auto;
    display: block;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-logo-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    color: var(--text-secondary);
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    font-size: 1.125rem;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: transparent;
    border-radius: 0;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
}

/* Content Detail */
.feed-post.content-detail-post {
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    box-sizing: border-box;
    display: block;
}

.content-detail-post {
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    box-sizing: border-box;
    display: block;
}

.content-detail-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.content-detail-image {
    margin: 20px 0;
    text-align: center;
}

.content-detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.content-detail-image img:hover {
    transform: scale(1.02);
}

.content-quote-modern {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e6eb 100%);
    border-left: 5px solid var(--primary-color);
    padding: 24px;
    margin: 20px 0;
    font-style: italic;
    font-size: 18px;
    line-height: 1.8;
    color: #1c1e21;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

.content-quote-modern p {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.content-quote-modern::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 48px;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: var(--font-family);
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    margin: 0;
    padding: 0;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #1c1e21;
    margin: 20px 0;
}

/* Content Detail Sayfası için özel stiller */
.content-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin: 12px 0 8px 0;
    padding: 0 16px;
}

.content-detail-title {
    margin: 0;
    flex: 1;
}


.content-detail-post .post-content {
    margin-bottom: 0;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
}

.content-detail-post .post-content p {
    margin: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.content-detail-post .content-text {
    margin: 0 0 12px 0;
    padding: 0;
    line-height: 1.7;
}

.content-detail-post .content-quote-modern {
    margin: 0 0 12px 0;
    padding: 20px 24px;
    overflow: visible;
    box-sizing: border-box;
}

.content-detail-post .content-quote-modern::before {
    left: 20px;
    top: 8px;
}
.content-detail-post .content-quote-modern p {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
}
.content-detail-post .post-related-card {
    margin-top: 0;
    margin-bottom: 0;
    align-self: flex-start;
    width: 100%;
    align-items: stretch;
}

.content-detail-post .post-related-image {
    flex: 0 0 80px;
    width: 80px;
    height: 120px;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: block;
}

.content-detail-post .post-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.content-detail-post .post-related-image .post-related-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, #e3f2fd 100%);
}

.content-detail-post .post-related-icon {
    flex: 0 0 80px;
    width: 80px;
    height: 120px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #e3f2fd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.2);
    position: relative;
    margin: 0;
    padding: 0;
}

/* Comments Section */
.comments-section {
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    clear: both;
    display: block;
}

.comments-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.comments-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.comments-header h2 span {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 16px;
}

.comment-form-container {
    margin-bottom: 24px;
}

.comment-form {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border-color);
}

.comment-form-body {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-form-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
}

.comment-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.comment-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
}

.comment-form-actions {
    display: flex;
    justify-content: flex-end;
}

.comment-login-prompt {
    text-align: center;
    padding: 24px;
    background: var(--light-bg);
    border-radius: 12px;
    margin-bottom: 24px;
}

.comment-login-prompt p {
    margin: 0;
    color: var(--text-secondary);
}

.comment-login-prompt a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.comment-login-prompt a:hover {
    text-decoration: underline;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--light-bg);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.comment-item:hover {
    background: #e4e6eb;
    transform: translateX(2px);
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.comment-author-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.comment-author-name:hover {
    color: var(--primary-color);
}

.comment-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.comment-content {
    font-size: 15px;
    line-height: 1.6;
    color: #1c1e21;
    word-wrap: break-word;
}


/* Notification Badge */
.notification-btn {
    position: relative;
}

.badge-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Modern Profile */
/* Profile Page - Modern Design like image */
.profile-page-banner {
    position: relative;
    background: #000000;
    min-height: 300px;
    margin-bottom: 2rem;
}

.profile-banner-cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Blur efekti için - background-image varsa blur uygulanacak */
}

/* Kapak fotoğrafı varsa blur efekti - Daha az blur */
.profile-banner-cover[style*="background-image"] {
    filter: blur(8px);
    -webkit-filter: blur(8px);
    transform: scale(1.05); /* Blur sınırlarını gizlemek için */
}

/* Kapak fotoğrafı overlay - koyu bir katman */
.profile-banner-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.profile-banner-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-avatar-overlay {
    position: relative;
    margin-bottom: 1.5rem;
    z-index: 10;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    object-fit: cover;
    display: block;
}

.profile-info-main {
    color: #ffffff;
    position: relative;
    z-index: 10;
}

.profile-name-main {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

.profile-username-main {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1rem 0;
}

.profile-bio-main {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}

.profile-join-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1rem 0;
}

.profile-follow-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.follow-stat {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.profile-action-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.btn-profile-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-profile-primary {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-profile-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-profile-follow {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-profile-follow.following {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-profile-follow:hover {
    background: var(--primary-dark);
}

.btn-profile-follow.following:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-profile-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-profile-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

.profile-content-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.content-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.content-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Bölümler için yatay scroll container */
.profile-content-sections-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.profile-content-sections-container::-webkit-scrollbar {
    height: 8px;
}

.profile-content-sections-container::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 4px;
}

.profile-content-sections-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.profile-content-sections-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color-dark);
}

.profile-content-section {
    flex: 0 0 auto;
    min-width: 320px;
    max-width: 450px;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

/* Birleştirilmiş içerik bölümü */
.profile-content-section-unified {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    margin-bottom: 2rem;
}

.profile-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.profile-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Başlık linki için stil */
.profile-section-title-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    transition: opacity 0.2s ease;
}

.profile-section-title-link:hover {
    opacity: 0.7;
}

.profile-section-title-link:hover .profile-section-title {
    color: var(--primary-color);
}

.section-title-arrow {
    font-size: 0.875rem;
    opacity: 0.5;
    transition: transform 0.2s ease, opacity 0.2s ease;
    margin-left: auto;
}

.profile-section-title-link:hover .section-title-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.profile-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.25rem;
    background: var(--primary-color);
    border-radius: 2px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-view-all:hover {
    background: var(--primary-dark);
    transform: translateX(2px);
}

.btn-view-all i {
    font-size: 0.75rem;
}

.profile-content-grid {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE ve Edge */
}

.profile-content-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari ve Opera */
}

.profile-content-poster {
    flex: 0 0 auto;
    min-width: 120px;
    width: 120px;
    position: relative;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 2/3;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

/* Mobil görünüm için bölüm container'ı */
@media (max-width: 768px) {
    .profile-content-sections-container {
        gap: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .profile-content-section {
        min-width: 280px;
        max-width: 380px;
        padding: 0.875rem;
    }
    
    .profile-content-grid {
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .profile-content-poster {
        min-width: 90px;
        width: 90px;
    }
}

.profile-content-poster:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.profile-content-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-poster-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.profile-poster-placeholder i {
    font-size: 1.25rem;
    opacity: 0.6;
}

.profile-poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 0.375rem 0.25rem;
    transform: translateY(100%);
    transition: transform 0.2s ease;
}

.profile-content-poster:hover .profile-poster-overlay {
    transform: translateY(0);
}

.profile-poster-overlay h3 {
    font-size: 0.625rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.poster-type-badge {
    display: inline-block;
    padding: 0.125rem 0.375rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    font-size: 0.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.poster-status {
    display: block;
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
    font-weight: 500;
}

.profile-section-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.btn-view-all-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.25);
}

.btn-view-all-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.35);
    background: linear-gradient(135deg, var(--primary-dark), #1d4ed8);
}

.btn-view-all-large i:last-child {
    margin-left: 0.25rem;
}

/* Responsive adjustments */
@media (min-width: 480px) {
    .profile-content-poster {
        min-width: 110px;
        width: 110px;
    }
    
    .profile-poster-placeholder i {
        font-size: 1.5rem;
    }
    
    .profile-poster-overlay {
        padding: 0.5rem 0.375rem;
    }
    
    .profile-poster-overlay h3 {
        font-size: 0.6875rem;
    }
}

@media (min-width: 768px) {
    .profile-content-poster {
        min-width: 130px;
        width: 130px;
    }
    
    .profile-poster-placeholder i {
        font-size: 1.75rem;
    }
    
    .profile-poster-overlay {
        padding: 0.625rem 0.5rem;
    }
    
    .profile-poster-overlay h3 {
        font-size: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .profile-content-poster {
        min-width: 150px;
        width: 150px;
    }
    
    .profile-poster-placeholder i {
        font-size: 2rem;
    }
    
    .profile-poster-overlay {
        padding: 0.75rem 0.625rem;
    }
    
    .profile-poster-overlay h3 {
        font-size: 0.8125rem;
    }
}

.profile-posts-section {
    margin-top: 3rem;
}
/* Watch/Read Button Styles */
.btn-watch-movie,
.btn-watch-tv,
.btn-read-book {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--primary-color);
    color: #ffffff;
}

.btn-watch-movie:hover,
.btn-watch-tv:hover,
.btn-read-book:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-watch-movie.watched,
.btn-watch-tv.watched,
.btn-read-book.read {
    background: #28a745;
}

.btn-watch-movie.watched:hover,
.btn-watch-tv.watched:hover,
.btn-read-book.read:hover {
    background: #218838;
}

.btn-watch-movie i,
.btn-watch-tv i,
.btn-read-book i {
    font-size: 1rem;
}

.detail-watch-action {
    margin-top: 1.5rem;
}

.select-watch-status,
.select-read-status {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid var(--border-color);
    background: #ffffff;
    color: var(--text-primary);
    cursor: pointer;
    min-width: 200px;
    transition: all 0.2s ease;
}

.select-watch-status:hover,
.select-read-status:hover {
    border-color: var(--primary-color);
}

.select-watch-status:focus,
.select-read-status:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.profile-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-count {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.profile-header-old {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: white;
}

.profile-header img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    object-fit: cover;
    transition: var(--transition);
}

.profile-header img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.profile-info h1 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.stat-item-large {
    background: rgba(255,255,255,0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-item-large .number {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.stat-item-large .label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Follow Button */
.btn-follow {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-follow:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-follow.following {
    background: rgba(255,255,255,0.3);
    color: white;
}

/* Profile Actions */
.profile-actions {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.profile-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.profile-actions .btn-primary {
    background: white;
    color: var(--primary-color);
}

.profile-actions .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.profile-actions .btn-danger {
    background: rgba(240, 40, 73, 0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.profile-actions .btn-danger:hover {
    background: rgba(240, 40, 73, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Profile Preview Card */
.profile-preview-card {
    background: var(--card-bg);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.profile-preview-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Like Button */
.btn-like {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.btn-like:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
}

.btn-like.liked {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-like i {
    transition: var(--transition);
}

.btn-like:hover i {
    transform: scale(1.2);
}

.btn-like.liked i {
    color: var(--secondary-color);
}

/* Modern Message System */
.message-box {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.message-header {
    padding: 1rem;
    background: var(--light-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message-list {
    max-height: 400px;
    overflow-y: auto;
}

.message-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
}

.message-item:last-child {
    border-bottom: none;
}

.message-item.unread {
    background: rgba(99, 102, 241, 0.05);
}

.message-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.message-content {
    flex: 1;
}

.message-header-text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.message-sender {
    font-weight: 600;
    color: var(--text-primary);
}

.message-time {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.message-text {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Messages Page Styles */
.messages-page {
    padding: 1rem;
}

.messages-page-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.messages-page-title i {
    color: var(--primary-color);
}

.messages-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    height: calc(100vh - 200px);
}

/* Conversations List */
.conversations-list {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.conversations-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.conversations-header strong {
    font-size: 1.125rem;
    color: var(--text-primary);
}

.btn-new-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-new-message:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
}

.btn-new-message i {
    font-size: 0.875rem;
}

.btn-new-message-text {
    display: inline;
}

.mobile-back-btn {
    display: none !important;
}

.message-list {
    flex: 1;
    overflow-y: auto;
    max-height: none;
}

.message-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: background 0.2s ease;
}

.message-item-link.active {
    background: rgba(30, 144, 255, 0.1);
}

.message-item {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    align-items: center;
    transition: background 0.2s ease;
    cursor: pointer;
}

.message-item:hover {
    background: rgba(30, 144, 255, 0.05);
}

.message-item.unread {
    background: rgba(30, 144, 255, 0.08);
}

.message-item.unread .message-sender {
    font-weight: 700;
}

.message-avatar {
    flex-shrink: 0;
}

.message-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    background: var(--light-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}

.message-content {
    flex: 1;
    min-width: 0;
}

.message-header-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
    gap: 0.5rem;
}

.message-sender {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.badge-primary {
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    flex-shrink: 0;
}

.message-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Chat Container */
.message-chat-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.message-chat {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.chat-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.chat-back-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateX(-2px);
}

.chat-back-btn i {
    font-size: 16px;
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.chat-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--light-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid var(--border-color);
    display: block;
}

.chat-user-info strong {
    font-size: 1rem;
    color: var(--text-primary);
    display: block;
}

.chat-user-username {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.mobile-back-to-list {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-back-to-list:hover {
    background: rgba(30, 144, 255, 0.1);
    color: var(--primary-color);
}

/* Chat Area */
.message-chat-area {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #f8f9fa;
}

.message-bubble {
    display: flex;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.2s ease;
}

.message-bubble.message-sent {
    justify-content: flex-end;
}

.message-bubble.message-received {
    justify-content: flex-start;
}

.message-bubble-content {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    position: relative;
    word-wrap: break-word;
}

.message-bubble.message-sent .message-bubble-content {
    background: var(--primary-color);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.message-bubble.message-received .message-bubble-content {
    background: #ffffff;
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.message-bubble-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.message-bubble-time {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.375rem;
    display: block;
}

/* Message Form */
.message-form-container {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background: var(--card-bg);
    position: sticky;
    bottom: 0;
    z-index: 10;
    margin-top: auto;
}

.message-error-alert {
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    color: #92400e;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.message-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.message-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.2s ease;
    background: var(--light-bg);
    color: var(--text-primary);
}

.message-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.message-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.message-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.message-send-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.message-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.message-send-btn i {
    font-size: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Mobile Responsive */
@media (max-width: 968px) {
    body.messages-chat-open {
        overflow: hidden;
        overscroll-behavior: contain;
    }
    
    .messages-page {
        padding: 0.75rem;
    }
    
    .messages-page-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .messages-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        height: auto;
        min-height: calc(100vh - 140px);
    }
    
    /* Mobilde varsayılan olarak liste göster */
    .conversations-list {
        display: flex;
    }
    
    /* Mobilde: user seçilmişse chat göster, liste gizle */
    .message-chat-container {
        display: none;
    }
    
    /* User seçilmişse (message-chat var) - JavaScript ile kontrol edilecek */
    .messages-layout.chat-active .message-chat-container {
        display: flex !important;
        position: fixed !important;
        top: 56px !important;
        left: 0 !important;
        right: 0 !important;
        height: calc(100vh - 56px) !important;
        background: var(--light-bg) !important;
        z-index: 100 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    
    /* User seçilmişse liste gizle */
    .messages-layout.chat-active .conversations-list {
        display: none !important;
    }
    
    /* User seçilmemişse chat gizle */
    .messages-layout:not(.chat-active) .message-chat-container {
        display: none !important;
    }
    
    /* User seçilmemişse (empty-state var) */
    .message-empty-state {
        background: white;
        padding: 3rem 1.5rem;
        text-align: center;
        border-radius: 12px;
        box-shadow: var(--shadow-card);
    }
    
    .message-empty-state i {
        font-size: 3rem;
        color: var(--text-secondary);
        margin-bottom: 1rem;
        display: block;
    }
    
    .message-empty-state h3 {
        font-size: 1.25rem;
        color: var(--text-primary);
        margin-bottom: 0.5rem;
    }
    
    .message-empty-state p {
        color: var(--text-secondary);
        font-size: 0.9375rem;
    }
    
    .message-chat {
        height: 100% !important;
        max-height: 100vh !important;
        border-radius: 0;
        margin: 0;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    /* Mobilde geri butonunu göster */
    .mobile-back-to-list {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--light-bg);
        border: 1px solid var(--border-color);
        color: var(--text-primary);
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }
    
    .mobile-back-to-list:hover {
        background: var(--primary-color);
        color: #ffffff;
        border-color: var(--primary-color);
    }
    
    .mobile-back-to-list i {
        font-size: 16px;
    }
    
    .chat-header {
        padding: 0.875rem 1rem;
        border-bottom: 1px solid var(--border-color);
        gap: 0.75rem;
        flex-shrink: 0;
    }
    
    .chat-back-btn {
        width: 36px;
        height: 36px;
    }
    
    .chat-back-btn i {
        font-size: 14px;
    }
    
    .chat-user-info {
        gap: 0.625rem;
    }
    
    .chat-user-avatar {
        width: 36px;
        height: 36px;
    }
    
    .chat-user-info strong {
        font-size: 0.9375rem;
    }
    
    .chat-user-username {
        font-size: 0.8125rem;
    }
    
    /* Chat area mobilde tam yükseklik */
    .message-chat-area {
        flex: 1;
        padding: 0.875rem;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .message-bubble-content {
        max-width: 85%;
    }
    
    /* Form container mobilde */
    .message-form-container {
        padding: 0.875rem !important;
        position: relative !important;
        bottom: auto !important;
        z-index: 10 !important;
        background: var(--card-bg) !important;
        border-top: 1px solid var(--border-color) !important;
        margin-top: auto !important;
        flex-shrink: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .message-form {
        gap: 0.625rem;
    }
    
    .message-input {
        padding: 0.625rem 1rem;
        font-size: 0.9375rem;
    }
    
    .message-send-btn {
        width: 40px;
        height: 40px;
    }
    
    .message-send-btn i {
        font-size: 0.9375rem;
    }
    
    /* Mobilde mesaj chat container'ı düzgün görünsün */
    .messages-layout.chat-active .message-chat {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    .messages-layout.chat-active .message-chat-area {
        flex: 1 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        min-height: 0 !important;
        padding-bottom: 72px !important;
        -webkit-overflow-scrolling: touch !important;
        flex-shrink: 1 !important;
    }
    
    /* Mobilde mesaj chat container fixed olduğunda form container'ı düzgün görünsün */
    .messages-layout.chat-active .message-form-container {
        position: sticky !important;
        bottom: 0 !important;
        z-index: 15 !important;
        background: var(--card-bg) !important;
        border-top: 1px solid var(--border-color) !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin-top: auto !important;
        flex-shrink: 0 !important;
        padding: 0.75rem 0.875rem calc(0.75rem + env(safe-area-inset-bottom)) !important;
        box-sizing: border-box !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Mobilde mesaj input'u düzgün görünsün */
    .messages-layout.chat-active .message-input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Mobilde virtual keyboard açıldığında form container'ı düzgün görünsün */
    @supports (-webkit-touch-callout: none) {
        .messages-layout.chat-active .message-form-container {
            position: sticky !important;
            bottom: 0 !important;
        }
    }
    
    .btn-new-message-text {
        display: none;
    }
    
    .btn-new-message {
        padding: 0.5rem;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        justify-content: center;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUpModal 0.3s ease;
}

.modal-content.modal-small {
    max-width: 400px;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--light-bg);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

/* Modal Follow (Takipçiler, Takip Edilenler, İçerikler) */
.modal-follow {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeInOverlay 0.3s ease;
}

.modal-follow-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideUpModal 0.3s ease;
    overflow: hidden;
}

.modal-follow-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: #ffffff;
}

.modal-follow-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-follow-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-follow-close:hover {
    background: var(--light-bg);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-follow-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    background: #ffffff;
}

.modal-follow-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-secondary);
}

.modal-follow-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    display: block;
}

.modal-follow-empty p {
    margin: 0;
    font-size: 1rem;
}

/* Status Filter Buttons */
.status-filter-btn {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.status-filter-btn:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
}

.status-filter-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* Content List Grid */
.content-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.content-list-item {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.content-list-item:hover {
    transform: translateY(-4px);
}

@keyframes slideUpModal {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.user-search-results {
    margin-top: 1rem;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 8px;
    background: var(--light-bg);
}

.user-search-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.user-search-item:last-child {
    border-bottom: none;
}

.user-search-item:hover {
    background: rgba(30, 144, 255, 0.05);
}

.user-search-item img,
.user-search-item .user-search-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    display: block;
}

.user-search-item div {
    flex: 1;
    min-width: 0;
}

.user-search-item strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.user-search-item p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.user-search-empty {
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

@keyframes slideUpModal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet görünüm */
@media (min-width: 769px) and (max-width: 968px) {
    .messages-layout {
        grid-template-columns: 280px 1fr;
        gap: 1.25rem;
    }
    
    .conversations-list {
        display: flex;
    }
    
    .message-chat-container {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        background: transparent;
        z-index: auto;
        padding: 0;
    }
    
    .message-chat {
        border-radius: 12px;
    }
    
    .mobile-back-to-list {
        display: none !important;
    }
}

/* Modern Profile Page Tabs */
.profile-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.profile-tab {
    padding: 1rem 2rem;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    position: relative;
}

.profile-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.profile-tab:hover {
    color: var(--primary-color);
}
/* Responsive */
@media (max-width: 768px) {
    /* Overlay */
    .nav-menu-overlay {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 9998;
        cursor: pointer;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        opacity: 0;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-menu-overlay.active {
        display: block;
        opacity: 1;
        animation: fadeInOverlay 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    /* Menü aktif olduğunda görünür - SIDEBAR OLARAK - Admin panel stili - İyileştirilmiş */
    /* EN YÜKSEK SPECIFICITY - body.nav-menu-open ile birleştir */
    body.nav-menu-open #navMenu.active,
    body #navMenu.active,
    body.nav-menu-open .nav-menu.active,
    .nav-menu.active {
        display: flex !important;
        animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12), 4px 0 16px rgba(0, 0, 0, 0.08) !important;
        position: fixed !important;
        top: 56px !important;
        left: 0 !important;
        right: auto !important;
        width: 280px !important;
        max-width: 280px !important;
        min-width: 280px !important;
        height: calc(100vh - 56px) !important;
        min-height: calc(100vh - 56px) !important;
        max-height: calc(100vh - 56px) !important;
        background: #ffffff !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.06) !important;
        border-right: 1px solid #e2e8f0 !important;
        overflow: hidden !important;
        z-index: 10000 !important;
        transform: translateX(0) !important;
        animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        -webkit-overflow-scrolling: touch;
        pointer-events: auto !important;
    }
    
    /* Menü Header - Admin panel stili - İyileştirilmiş (Logo kaldırıldı) */
    .nav-menu.active .admin-menu-header,
    .nav-menu.active .mobile-menu-header {
        display: flex !important;
        align-items: center;
        padding: 16px !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
        flex-shrink: 0;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        margin: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        position: relative;
        z-index: 1;
    }
    
    .nav-menu.active .mobile-menu-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(226, 232, 240, 0.8) 50%, transparent 100%);
    }
    
    .mobile-menu-header-content {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        gap: 12px;
        padding-left: 0;
    }
    
    /* Logo kaldırıldı - Her zaman gizli */
    .mobile-menu-logo-link {
        display: none !important;
    }
    
    .mobile-menu-logo-icon {
        display: none !important;
    }
    
    .mobile-menu-header .site-logo {
        display: none !important;
    }
    
    /* Logo icon stilleri kaldırıldı - artık kullanılmıyor */
    .mobile-menu-logo-icon::before {
        display: none !important;
    }
    
    .mobile-menu-logo-link .site-logo {
        display: none !important;
        max-height: 48px;
        width: auto;
    }
    
    .nav-menu.active .mobile-menu-close-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(247, 250, 252, 0.8);
        border: 1px solid rgba(226, 232, 240, 0.6);
        font-size: 20px;
        color: #64748b;
        cursor: pointer;
        padding: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu.active .mobile-menu-close-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(239, 68, 68, 0.1);
        transform: translate(-50%, -50%);
        transition: width 0.3s ease, height 0.3s ease;
    }
    
    .nav-menu.active .mobile-menu-close-btn:hover {
        background: #fee2e2;
        border-color: #fca5a5;
        color: #dc2626;
        transform: scale(1.05) rotate(90deg);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    }
    
    .nav-menu.active .mobile-menu-close-btn:hover::before {
        width: 100%;
        height: 100%;
    }
    
    .nav-menu.active .mobile-menu-close-btn:active {
        transform: scale(0.95) rotate(90deg);
    }
    
    /* Menü Nav Container - Admin panel stili - İyileştirilmiş */
    .nav-menu.active .admin-menu-nav {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 16px 12px !important;
        display: flex !important;
        flex-direction: column;
        gap: 4px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        background: #ffffff;
    }
    
    /* Scrollbar stilini iyileştir */
    .nav-menu.active .admin-menu-nav::-webkit-scrollbar {
        width: 6px;
    }
    
    .nav-menu.active .admin-menu-nav::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .nav-menu.active .admin-menu-nav::-webkit-scrollbar-thumb {
        background: rgba(148, 163, 184, 0.3);
        border-radius: 10px;
        transition: background 0.3s ease;
    }
    
    .nav-menu.active .admin-menu-nav::-webkit-scrollbar-thumb:hover {
        background: rgba(148, 163, 184, 0.5);
    }
    
    /* Mobil menü içindeki admin-menu-style öğeleri - Admin panel stili - İyileştirilmiş */
    .nav-menu.active .admin-menu-nav .admin-menu-style {
        width: 100%;
        box-sizing: border-box;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 4px !important;
        padding: 14px 16px !important;
        border-radius: 12px !important;
        background: transparent;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu.active .admin-menu-nav .admin-menu-style::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 3px;
        height: 0;
        background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
        transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0 3px 3px 0;
    }
    
    .nav-menu.active .admin-menu-nav .admin-menu-style:hover {
        background: linear-gradient(90deg, rgba(102, 126, 234, 0.08) 0%, rgba(247, 250, 252, 1) 100%) !important;
        transform: translateX(4px);
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
    }
    
    .nav-menu.active .admin-menu-nav .admin-menu-style:hover::before {
        height: 100%;
    }
    
    .nav-menu.active .admin-menu-nav .admin-menu-style.active {
        background: linear-gradient(90deg, rgba(102, 126, 234, 0.12) 0%, rgba(102, 126, 234, 0.05) 100%) !important;
        color: #667eea !important;
        font-weight: 600 !important;
        box-shadow: 0 2px 12px rgba(102, 126, 234, 0.15);
    }
    
    .nav-menu.active .admin-menu-nav .admin-menu-style.active::before {
        height: 100%;
    }
    
    .nav-menu.active .admin-menu-nav .admin-menu-style.active::after {
        content: '';
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background: #667eea;
        border-radius: 50%;
        box-shadow: 0 0 8px rgba(102, 126, 234, 0.5);
    }
    
    /* Menü açıkken sidebar içinde bildirim butonlarını göster - Admin panel stili */
    .nav-menu.active .notification-btn:not(.admin-menu-style) {
        display: flex !important;
        align-items: center;
        gap: 10px;
        padding: 8px 16px !important;
        color: #4a5568;
        text-decoration: none;
        transition: all 0.2s ease;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 500;
        margin-bottom: 1px;
        position: relative;
        width: 100%;
        box-sizing: border-box;
        justify-content: flex-start;
    }
    
    .nav-menu.active .notification-btn:hover {
        background: #f7fafc !important;
        color: #1a202c !important;
    }
    
    .nav-menu.active .notification-btn i {
        width: 20px;
        text-align: center;
        font-size: 15px;
        flex-shrink: 0;
        color: #4a5568;
    }
    
    .nav-menu.active .notification-btn:hover i {
        color: #1a202c;
    }
    
    .nav-menu.active .notification-btn .badge-count {
        margin-left: auto;
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        color: white;
        font-size: 11px;
        font-weight: 700;
        padding: 4px 8px;
        border-radius: 12px;
        min-width: 20px;
        height: 20px;
        text-align: center;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
        animation: pulse 2s ease-in-out infinite;
    }
    
    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
        }
        50% {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.6);
        }
    }

    /* Menü kapalıyken: Header'da sadece ikonlar görünür (flex olarak kalır) */
    /* Bu kural active olmayan durumlar için, active kuralından SONRA tanımlanmalı ki override edilsin */
    .nav-menu:not(.active) {
        position: absolute !important;
        right: 48px !important;
        left: auto !important;
        top: 0 !important;
        width: auto !important;
        height: 56px !important;
        min-width: auto !important;
        max-width: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 4px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        z-index: 1001 !important;
        flex-direction: row !important;
        box-shadow: none !important;
        border: none !important;
        overflow: visible !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    @keyframes slideInLeft {
        from {
            transform: translateX(-100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    @keyframes slideInFromLeft {
        0% {
            transform: translateX(-20px);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    /* Menü öğelerine sıralı animasyon ekle */
    .nav-menu.active .admin-menu-nav .admin-menu-style {
        animation: slideInFromLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    }
    
    .nav-menu.active .admin-menu-nav .admin-menu-style:nth-child(1) { animation-delay: 0.05s; }
    .nav-menu.active .admin-menu-nav .admin-menu-style:nth-child(2) { animation-delay: 0.1s; }
    .nav-menu.active .admin-menu-nav .admin-menu-style:nth-child(3) { animation-delay: 0.15s; }
    .nav-menu.active .admin-menu-nav .admin-menu-style:nth-child(4) { animation-delay: 0.2s; }
    .nav-menu.active .admin-menu-nav .admin-menu-style:nth-child(5) { animation-delay: 0.25s; }
    .nav-menu.active .admin-menu-nav .admin-menu-style:nth-child(6) { animation-delay: 0.3s; }
    .nav-menu.active .admin-menu-nav .admin-menu-style:nth-child(7) { animation-delay: 0.35s; }
    .nav-menu.active .admin-menu-nav .admin-menu-style:nth-child(8) { animation-delay: 0.4s; }
    .nav-menu.active .admin-menu-nav .admin-menu-style:nth-child(9) { animation-delay: 0.45s; }
    .nav-menu.active .admin-menu-nav .admin-menu-style:nth-child(10) { animation-delay: 0.5s; }
    .nav-menu.active .admin-menu-nav .admin-menu-style:nth-child(n+11) { animation-delay: 0.55s; }

    /* Menü kapalıyken sidebar içeriğini gizle, sadece header'daki ikonları göster - Sadece mobil görünümde */
    /* Web menü container'ını bu kuraldan hariç tut - Desktop'ta görünür olmalı */
    .nav-menu:not(.active) > .nav-link:not(.notification-btn):not(.user-menu):not(.web-menu-item),
    .nav-menu:not(.active) .mobile-menu-item,
    .nav-menu:not(.active) .mobile-menu-logo,
    .nav-menu:not(.active) .admin-menu-header,
    .nav-menu:not(.active) .mobile-menu-header,
    .nav-menu:not(.active) .admin-menu-nav,
    .nav-menu:not(.active) .mobile-menu-close-btn {
        display: none !important;
    }
    
    /* Web menüleri mobil görünümde HER ZAMAN gizli (yukarıdaki kurallarla zaten gizlendi, burada override ediyoruz) */
    /* Mobil menü açıkken de web menüleri görünmemeli - Sadece mobil menüler görünmeli */

    /* Header'daki ikonlar - hem menü kapalıyken hem açıkken görünür (header'da kalacak) */
    .nav-menu .notification-btn,
    .nav-menu .user-menu {
        display: flex !important;
        position: relative !important;
        z-index: 10002 !important;
    }
    
    /* Mobil menü açıkken de header'daki bildirim ve kullanıcı menüsü görünür kalacak */
    .nav-menu.active > .notification-btn,
    .nav-menu.active > .user-menu {
        display: flex !important;
    }
    
    /* Mobil menü içindeki bildirim butonlarını gizle (header'da gösteriliyor) */
    .nav-menu.active .mobile-menu-nav .notification-btn.admin-menu-style {
        display: none !important;
    }
    
    /* Mobil menü açıkken header'daki kullanıcı menüsü için dropdown ayarları */
    body.nav-menu-open .nav-menu .user-menu .user-avatar {
        width: 32px;
        height: 32px;
    }
    
    /* Mobil menü açıkken dropdown'ı göster - z-index yüksek olmalı */
    body.nav-menu-open .nav-menu.active .user-menu.active .dropdown {
        display: block !important;
        position: fixed !important;
        z-index: 10003 !important;
    }

    /* User avatar'ı mobilde küçült */
    .user-avatar img {
        width: 32px !important;
        height: 32px !important;
    }

    /* Notification button'ı mobilde küçült */
    .notification-btn {
        padding: 6px 8px !important;
        min-width: 36px;
        height: 36px;
    }

    .notification-btn i {
        font-size: 18px !important;
    }

    /* Nav-brand'ı küçült mobilde */
    .nav-brand {
        flex-shrink: 1;
        min-width: 0;
    }

    .nav-brand a {
        font-size: 18px;
        padding: 4px 8px;
    }

    .nav-brand i {
        font-size: 22px;
    }

    /* Container'da gap ayarla */
    .navbar .container {
        padding: 0 12px;
        gap: 4px;
        overflow-x: visible;
    }

    .nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: var(--text-primary);
        padding: 8px;
        margin-left: 8px;
        border-radius: 8px;
        transition: all 0.2s ease;
        z-index: 10003 !important;
        position: relative;
        flex-shrink: 0;
        pointer-events: auto !important;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
    }
    
    .nav-toggle:hover,
    .nav-toggle:active,
    .nav-toggle:focus {
        background: rgba(30, 144, 255, 0.08);
        color: var(--primary-color);
        outline: none;
    }
    
    .nav-toggle i {
        pointer-events: none;
    }
    
    /* Overlay için fadeIn animasyonu - İyileştirilmiş */
    @keyframes fadeInOverlay {
        from {
            opacity: 0;
            backdrop-filter: blur(0px);
            -webkit-backdrop-filter: blur(0px);
        }
        to {
            opacity: 1;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }
    }
    
    .nav-menu-overlay.active {
        animation: fadeInOverlay 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    
    /* Mobil görünümde bildirimler ve profil ikonları header'da hizalı kalsın */
    .nav-menu .notification-btn + .notification-btn,
    .nav-menu .notification-btn + .user-menu {
        margin-left: 2px;
    }
    
    /* Mobil menü açıkken header'daki ikonlar sidebar'ın üstünde görünsün */
    .nav-menu.active > .notification-btn,
    .nav-menu.active > .user-menu {
        position: relative !important;
        z-index: 10002 !important;
    }
    
    /* Mobil menü açıkken header'daki kullanıcı avatar'ı normal boyutta kalsın */
    .nav-menu.active > .user-menu .user-avatar {
        padding: 0 !important;
        width: 32px !important;
        height: 32px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        border-bottom: none;
        margin: 0;
    }
    
    .nav-menu.active > .user-menu .user-avatar img {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50%;
    }
    
    /* Header icons container - Mobil menü açıkken ikonlar burada olacak */
    .header-icons-container {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        position: absolute !important;
        right: 56px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10005 !important;
        pointer-events: none !important;
    }
    
    /* Header icons container içindeki öğeler tıklanabilir olmalı */
    .header-icons-container > * {
        pointer-events: auto !important;
    }
    
    /* Header icons container içindeki bildirim butonları */
    .header-icons-container .notification-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        margin: 0 2px !important;
        padding: 0 !important;
        position: relative !important;
        z-index: 10002 !important;
    }
    
    /* Header icons container içindeki kullanıcı menüsü */
    .header-icons-container .user-menu {
        display: flex !important;
        position: relative !important;
        z-index: 10002 !important;
        margin-left: 8px !important;
    }
    
    /* Header icons container içindeki dropdown - Kapalı durum */
    .header-icons-container .user-menu .dropdown {
        position: fixed !important;
        top: auto !important;
        bottom: auto !important;
        right: 12px !important;
        left: auto !important;
        margin-top: 0 !important;
        z-index: 10006 !important;
        min-width: 200px !important;
        max-width: calc(100vw - 24px) !important;
        width: auto !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        border: 1px solid var(--border-color) !important;
        padding: 8px 0 !important;
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateY(-10px) !important;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
        pointer-events: none !important;
    }
    
    /* Header icons container içindeki dropdown aktif olduğunda göster - GÖRÜNÜRLÜĞÜ ZORLA */
    .header-icons-container .user-menu.active .dropdown {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        position: fixed !important;
        z-index: 10006 !important;
        top: auto !important;
        bottom: auto !important;
        right: 12px !important;
        left: auto !important;
        margin: 0 !important;
        min-width: 200px !important;
        max-width: calc(100vw - 24px) !important;
        width: auto !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        border: 1px solid var(--border-color) !important;
        padding: 8px 0 !important;
    }
    
    /* Header icons container içindeki user-menu - YÜKSEK Z-INDEX */
    .header-icons-container .user-menu {
        z-index: 10006 !important;
        position: relative !important;
    }
    
    /* Header icons container içindeki user-avatar - TIKLANABİLİR */
    .header-icons-container .user-menu .user-avatar {
        z-index: 10007 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative !important;
    }
    
    /* Force visible class - Dropdown'ı zorla göster */
    .header-icons-container .user-menu .dropdown.force-visible,
    .header-icons-container .user-menu.active .dropdown.force-visible {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        position: fixed !important;
        z-index: 10006 !important;
    }
    
    /* Header icons container içindeki dropdown linkleri */
    .header-icons-container .user-menu .dropdown a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 16px;
        color: var(--text-primary);
        text-decoration: none;
        font-size: 15px;
        transition: var(--transition);
        white-space: nowrap;
        border-left: none;
        margin: 0;
    }
    
    .header-icons-container .user-menu .dropdown a:hover {
        background: var(--light-bg);
        color: var(--primary-color);
    }
    
    /* Mobil menü açıkken header'daki dropdown ayarları - YÜKSEK Z-INDEX */
    .nav-menu.active > .user-menu .dropdown {
        position: fixed !important;
        top: auto !important;
        bottom: auto !important;
        right: 12px !important;
        left: auto !important;
        margin-top: 0 !important;
        z-index: 10004 !important;
        min-width: 200px !important;
        max-width: calc(100vw - 24px) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        border: 1px solid var(--border-color) !important;
        padding: 8px 0 !important;
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateY(-10px) !important;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
        width: auto !important;
        pointer-events: none !important;
    }
    
    /* Mobil menü açıkken dropdown aktif olduğunda göster */
    .nav-menu.active > .user-menu.active .dropdown {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
    
    .nav-menu.active .user-menu .dropdown a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 16px;
        color: var(--text-primary);
        text-decoration: none;
        font-size: 15px;
        transition: var(--transition);
        white-space: nowrap;
        border-left: none;
        margin: 0;
    }
    
    .nav-menu.active .user-menu .dropdown a:hover {
        background: var(--light-bg);
        color: var(--primary-color);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .author-header,
    .director-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Poster Grid Styles */
.poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.poster-card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    transition: var(--transition);
}

.poster-card:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.poster-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.poster-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: transparent;
}

.poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.poster-card:hover .poster-image {
    transform: scale(1.05);
}

.poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.poster-placeholder i {
    font-size: 4rem;
    opacity: 0.5;
}

.poster-overlay {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
}

.poster-rating {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.poster-rating i {
    color: #fbbf24;
}

.poster-info {
    padding: 1rem;
}

.poster-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5rem;
}

.poster-author {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.poster-author a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.poster-author a:hover {
    color: var(--primary-color);
}

.poster-author i {
    color: var(--primary-color);
}

.poster-year {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.poster-year i {
    color: var(--secondary-color);
}

.poster-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.poster-stats i {
    color: var(--primary-color);
}

/* Detail Page Styles */
.detail-page {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.detail-header {
    display: flex;
    gap: 2rem;
}
.detail-poster {
    width: 300px;
    flex-shrink: 0;
}
.detail-poster img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.detail-poster-placeholder {
    width: 100%;
    aspect-ratio: 2/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    color: white;
}

.detail-poster-placeholder i {
    font-size: 6rem;
    opacity: 0.5;
}

.detail-info {
    flex: 1;
}

.detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.detail-meta {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.detail-meta i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.detail-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

.detail-rating {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.rating-display {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-display i {
    color: #fbbf24;
    font-size: 2rem;
}

.detail-description {
    margin-top: 2rem;
}

.detail-description h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Review Section Styles */
.review-form-section, .reviews-section {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.review-form-section h3, .reviews-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.review-form-section h3 i, .reviews-section h3 i {
    color: var(--primary-color);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.review-author-info {
    display: flex;
    flex-direction: column;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
}
.review-rating i {
    font-size: 1.2rem;
    color: #d1d5db;
}

.review-rating i.active {
    color: #fbbf24;
}

.review-content {
    color: var(--text-primary);
    line-height: 1.8;
}

/* Content Search Results */
.content-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    display: none;
}

.content-search-results::-webkit-scrollbar {
    width: 8px;
}

.content-search-results::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 4px;
}

.content-search-results::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.content-search-results::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
.content-result-item {
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.content-result-item:hover {
    background: linear-gradient(90deg, rgba(24, 119, 242, 0.05) 0%, transparent 100%);
    transform: translateX(4px);
}

.content-result-item:active {
    background: var(--primary-light);
}

.content-result-item .result-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
}

.content-result-item:hover .result-title {
    color: var(--primary-color);
    font-weight: 600;
}

.search-no-results {
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9375rem;
}

/* Form Group Relative for Search Results */
.form-group:has(#content_search) {
    position: relative;
}
/* Step Form Styles */
.step-form-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Selected Content Card - Modern Design */
.selected-content-card {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.selected-content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.selected-content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.35);
}

.selected-content-inner {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.content-poster-preview {
    flex-shrink: 0;
}

.content-poster-preview img {
    width: 140px;
    height: 210px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.content-poster-placeholder {
    width: 140px;
    height: 210px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.selected-content-info {
    flex: 1;
}

.selected-content-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.content-type-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 0.375rem 1rem;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.detail-link-btn {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.detail-link-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(2px);
}

.detail-link-btn i {
    font-size: 0.875rem;
}

.selected-content-title {
    margin: 0 0 1.25rem 0;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.selected-content-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
}

.meta-item {
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.meta-item i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.meta-item strong {
    font-weight: 700;
    color: #ffffff;
}

.selected-content-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Compact Selected Content Card */
.selected-content-card-compact {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.selected-content-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.selected-content-inner-compact {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.content-poster-preview-compact {
    flex-shrink: 0;
}

.content-poster-preview-compact img {
    width: 60px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.content-poster-placeholder-compact {
    width: 60px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.selected-content-info-compact {
    flex: 1;
    min-width: 0;
}

.selected-content-header-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.content-type-badge-compact {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.detail-link-btn-compact {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.375rem 0.625rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    width: 28px;
    height: 28px;
}

.detail-link-btn-compact:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.selected-content-title-compact {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.selected-content-meta-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
}

.meta-item-compact {
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
    white-space: nowrap;
}

.meta-item-compact i {
    font-size: 0.875rem;
    opacity: 0.85;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.step-indicators::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-color);
    z-index: 0;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.step-item.active .step-number {
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 16px rgba(24, 119, 242, 0.3);
    transform: scale(1.1);
}

.step-item.completed .step-number {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    color: white;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.step-item.completed .step-number::after {
    content: '✓';
    font-size: 1.75rem;
    font-weight: 700;
}

.step-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

.step-item.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.step-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.step-card h3 {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.content-type-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.type-option {
    cursor: pointer;
    display: flex;
}

.type-option input[type="radio"] {
    display: none;
}

.type-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.type-card i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    display: block;
    transition: all 0.3s ease;
}

.type-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.type-card p {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.type-option input[type="radio"]:checked + .type-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.2);
}

.type-option input[type="radio"]:checked + .type-card::before {
    transform: scaleX(1);
}

.type-option input[type="radio"]:checked + .type-card i {
    transform: scale(1.1);
}

.type-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.form-actions button {
    flex: 1;
}

/* Quotes and Reviews Display */
.quotes-section, .reviews-section {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.quotes-section h3, .reviews-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quotes-section h3 i, .reviews-section h3 i {
    color: var(--primary-color);
}

.quotes-list {
    display: grid;
    gap: 1.5rem;
}

.quote-item {
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    position: relative;
    transition: var(--transition);
}

.quote-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.quote-item::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: var(--font-family);
}

.quote-content {
    padding-left: 2rem;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.quote-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.quote-author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quote-author-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.quote-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.review-item {
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    border-left: 5px solid #fbbf24;
    margin-bottom: 1rem;
}

/* Detail Meta List */
.detail-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.detail-meta-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.detail-meta-item span {
    flex: 1;
}

.detail-meta-item strong {
    color: var(--text-primary);
    margin-right: 0.5rem;
}

/* Modern Content Add Section */
.detail-content-add-modern {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.05) 0%, rgba(139, 69, 19, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content-add-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}
.content-add-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.content-add-header h3 i {
    color: var(--primary-color);
}

.content-add-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.content-add-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-add-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-add-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.content-add-option:hover::before {
    left: 100%;
}

.content-add-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}
.content-add-quote:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(34, 197, 94, 0.02) 100%);
    border-color: #22c55e;
}

.content-add-review:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(251, 191, 36, 0.02) 100%);
    border-color: #fbbf24;
}

.option-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.content-add-quote .option-icon {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.content-add-review .option-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.content-add-option:hover .option-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.option-content {
    flex: 1;
}

.option-content h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}
.option-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}
.option-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.content-add-option:hover .option-arrow {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

/* Action Buttons - Legacy Support */
.detail-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.detail-actions .btn {
    flex: 1;
    min-width: 200px;
}

/* Modern Detail Page Styles */
.detail-page-modern {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.detail-header-modern {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-poster-modern {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.detail-poster-modern img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-poster-placeholder-modern {
    width: 100%;
    aspect-ratio: 2/3;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.detail-info-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-title-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.detail-title-sub {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin: -0.5rem 0 0 0;
}

.detail-metadata-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.metadata-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.metadata-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.detail-genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.genre-tag {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    transition: all 0.2s ease;
}

.genre-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.detail-director {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.detail-director strong {
    color: var(--text-primary);
    margin-right: 0.5rem;
}

.detail-director a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.detail-director a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Metrik Kartları */
.detail-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.metric-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Inline Metrik Kartları (Küçük versiyon) */
.detail-metrics-grid-inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.metric-card-inline {
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.metric-card-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.metric-icon-inline {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric-value-inline {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.metric-label-inline {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Aksiyon Butonları */
.detail-action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.action-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-btn-review {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
}

.action-btn-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.action-btn-quote {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.action-btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.action-btn-login {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.action-btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

/* Tab'lar */
.detail-tabs {
    display: flex;
    gap: 2rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
    padding-bottom: 0;
}

.tab-btn {
    padding: 1rem 0;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
    border-radius: 2px 2px 0 0;
}

.tab-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.tab-btn.active .tab-count {
    color: var(--primary-color);
}

/* Tab İçerikleri */
.detail-tab-content {
    min-height: 200px;
    width: 100%;
    box-sizing: border-box;
}

.tab-pane {
    display: none;
    width: 100%;
    box-sizing: border-box;
}

.tab-pane.active {
    display: block !important;
    animation: fadeIn 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    opacity: 1 !important;
    visibility: visible !important;
}

.detail-tab-content .tab-pane.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#tab-quotes.active,
#tab-reviews.active,
#tab-overview.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#tab-quotes.active,
#tab-quotes.tab-pane.active,
.detail-tab-content #tab-quotes.active,
.detail-tab-content #tab-quotes.tab-pane.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#tab-reviews.active,
#tab-reviews.tab-pane.active,
.detail-tab-content #tab-reviews.active,
.detail-tab-content #tab-reviews.tab-pane.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#tab-overview.active,
#tab-overview.tab-pane.active,
.detail-tab-content #tab-overview.active,
.detail-tab-content #tab-overview.tab-pane.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-synopsis {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Modern İncelemeler */
.reviews-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.review-item-modern {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.review-item-modern:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.review-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
    gap: 1rem;
}

.review-author-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-author-modern img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.review-author-info-modern {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-author-info-modern strong {
    color: var(--text-primary);
    font-size: 1rem;
}

.review-author-info-modern span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.review-rating-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-rating-modern i {
    color: #ddd;
    font-size: 1rem;
}

.review-rating-modern i.active {
    color: #fbbf24;
}

.review-rating-modern span {
    color: var(--text-primary);
    font-weight: 600;
    margin-left: 0.25rem;
}
.review-title-modern {
    display: none !important;
    margin: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.review-content-modern {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
}

.review-link-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.review-link-modern:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

/* Modern Alıntılar */
.quotes-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.quote-item-modern {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.quote-item-modern:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.quote-content-modern {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    min-height: 3rem;
}
.quote-icon {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
    width: 3rem;
    text-align: center;
}

.quote-content-modern p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
}

.quote-title-modern {
    margin-top: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.quote-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
    box-sizing: border-box;
    gap: 1rem;
    flex-wrap: wrap;
}

.quote-author-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quote-author-modern img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.quote-author-modern div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.quote-author-modern strong {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.quote-author-modern span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.quote-link-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.quote-link-modern:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

/* Empty State Modern */
.empty-state-modern {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--light-bg);
    border-radius: 12px;
}

.empty-state-modern i {
    font-size: 3rem;
    color: var(--text-secondary);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.empty-state-modern p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
/* Responsive for Detail Pages */
@media (max-width: 768px) {
    .detail-header-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .detail-poster-modern {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .detail-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .detail-metrics-grid-inline {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .metric-card-inline {
        padding: 0.5rem;
    }
    
    .metric-icon-inline {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }
    
    .metric-value-inline {
        font-size: 1rem;
    }
    
    .metric-label-inline {
        font-size: 0.625rem;
    }
    
    .detail-action-buttons {
        flex-direction: column;
    }
    
    .detail-tabs {
        gap: 1rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .tab-btn {
        white-space: nowrap;
        font-size: 0.9rem;
    }
    
    .detail-header {
        flex-direction: column;
    }
    
    .detail-poster {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .detail-info h1 {
        font-size: 1.75rem;
    }
    
    .detail-meta-list {
        gap: 0.5rem;
    }
    
    .detail-meta-item {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .detail-content-add-modern {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    /* Review ve Quote Responsive */
    .review-header-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .review-rating-modern {
        align-self: flex-start;
    }
    
    .quote-footer-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .quote-link-modern {
        align-self: flex-start;
    }
    
    .quote-content-modern {
        padding-left: 2.5rem;
        min-height: 2.5rem;
    }
    
    .quote-icon {
        font-size: 1.5rem;
        width: 2.5rem;
    }
    
    .review-item-modern,
    .quote-item-modern {
        padding: 1rem;
    }
    
    .quote-content-modern p {
        font-size: 1rem;
    }
    
    .content-add-header h3 {
        font-size: 1.25rem;
    }
    
    .content-add-option {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .option-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .option-content h4 {
        font-size: 1rem;
    }
    
    .option-content p {
        font-size: 0.85rem;
    }
    
    .poster-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .step-indicators {
        margin-bottom: 2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .content-type-selector {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* Sosyal Medya Feed Layout */
.home-layout {
    background: var(--light-bg);
    padding: 0;
    margin: 0;
}

.feed-container {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    background: var(--light-bg);
}

/* Sol Sidebar - Modern Tasarım */
.sidebar-left {
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    padding: 16px;
    box-shadow: none;
    position: relative;
    align-self: flex-start;
    height: fit-content;
    overflow-y: visible;
    z-index: 10;
    transition: var(--transition);
    width: 260px;
    border-radius: 12px;
}

.sidebar-widget {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: 24px;
    transition: var(--transition);
}

.sidebar-widget:hover {
    background: transparent;
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 4px;
    letter-spacing: -0.01em;
}

.sidebar-right .sidebar-widget h3 {
    font-size: 17px;
    margin-bottom: 14px;
    padding: 0;
}

.sidebar-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 12px;
}

.sidebar-widget-header h3 {
    margin-bottom: 0;
    font-size: 18px;
}

.widget-more-link {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.widget-more-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.sidebar-widget h3 i {
    color: var(--primary-color);
    font-size: 24px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    margin: 2px 0;
    position: relative;
    border: 1px solid transparent;
}

.sidebar-link:hover {
    background: rgba(30, 144, 255, 0.1);
    color: var(--primary-color);
    transform: translateX(4px);
    border-color: transparent;
}

.sidebar-link.active {
    background: rgba(30, 144, 255, 0.15);
    color: var(--primary-color);
    font-weight: 600;
    border-color: transparent;
    box-shadow: var(--shadow-card);
}

.sidebar-link.active::before {
    display: none;
}

.sidebar-link i {
    font-size: 20px;
    width: 20px;
    text-align: center;
}

.sidebar-link.btn-create {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: #ffffff !important;
    margin-top: 12px;
    font-weight: 600;
    justify-content: center;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.sidebar-link.btn-create::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.sidebar-link.btn-create:hover::before {
    left: 100%;
}

.sidebar-link.btn-create:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
}

.sidebar-link.btn-create-secondary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff !important;
    margin-top: 8px;
    font-weight: 600;
    justify-content: center;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.sidebar-link.btn-create-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.sidebar-link.btn-create-secondary:hover::before {
    left: 100%;
}

.sidebar-link.btn-create-secondary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Sidebar User Card */
.sidebar-user-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 18px;
    margin-top: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.user-card-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.user-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(24, 119, 242, 0.2);
}

.user-card-info {
    flex: 1;
    min-width: 0;
}

.user-card-info strong {
    display: block;
    margin-bottom: 4px;
}

.user-card-info strong a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.user-card-info strong a:hover {
    color: var(--primary-color);
}

.user-card-username {
    font-size: 13px;
    color: var(--text-secondary);
    display: block;
}

.user-card-stats {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.user-card-stats a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.2s ease;
    flex: 1;
}

.user-card-stats a:hover {
    color: var(--primary-color);
}

.user-card-stats strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.user-card-stats span {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Ana Feed */
.feed-main {
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0;
}

.feed-create-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin: 0 0 24px 0;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.feed-create-box:hover {
    box-shadow: var(--shadow);
}

.create-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 15px;
}

.create-box-input-wrapper {
    flex: 1;
    min-width: 0;
}

.create-box-placeholder {
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.create-box-placeholder:hover {
    color: var(--text-primary);
}

.create-box-divider {
    height: 1px;
    background: var(--border-color);
    margin: 12px 0;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.create-box-actions {
    display: flex;
    gap: 0;
    justify-content: space-around;
}

.create-box-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    max-width: 120px;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.create-box-action-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(24, 119, 242, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.create-box-action-item:hover::before {
    width: 100px;
    height: 100px;
}

.create-box-action-item i {
    font-size: 22px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.create-box-action-item span {
    font-size: 13px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.create-box-action-item:hover {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(30, 144, 255, 0.05));
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(30, 144, 255, 0.2);
    box-shadow: var(--shadow);
}

.create-box-action-item:hover i {
    transform: scale(1.15) rotate(5deg);
    color: var(--primary-color);
}

.ad-slot {
    width: 100%;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ad-slot.ad-slot-homepage_top {
    margin-top: 0;
}

.ad-slot-item {
    width: 100%;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
    padding: 12px;
    overflow: hidden;
}

.ad-slot .ad-slot-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.ad-slot .ad-slot-code {
    width: 100%;
}

.ad-slot-label {
    margin-top: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    text-align: center;
}

.ad-slot-layout-sidebar .ad-slot-item {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.ad-slot-layout-square .ad-slot-image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.ad-slot-layout-fluid .ad-slot-item,
.ad-slot-layout-full .ad-slot-item {
    width: 100%;
}

@media (max-width: 768px) {
    .ad-slot {
        margin: 16px 0;
    }

    .ad-slot-item {
        border-radius: 12px;
        padding: 10px;
    }
}

.feed-posts {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0;
    margin: 0;
}

.feed-inline-ad {
    margin: 12px 0;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.feed-post {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin: 0;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feed-post::before {
    display: none;
}

.feed-post:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.post-header {
    display: flex;
    gap: 12px;
    margin: 0;
    margin-bottom: 16px;
    padding: 0;
    border-bottom: none;
    align-items: flex-start;
    position: relative;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.post-avatar:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.2);
}

.post-author {
    flex: 1;
    min-width: 0;
}

.post-author strong {
    display: block;
    margin-bottom: 0;
    line-height: 1.2;
}
.post-author strong a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.2s ease;
    display: inline-block;
    letter-spacing: -0.01em;
}

.post-author strong a:hover {
    color: var(--primary-color);
    text-decoration: none;
    transform: translateX(2px);
}

.post-header-flags {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-type-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid transparent;
    text-transform: uppercase;
}
.post-type-chip i {
    font-size: 0.75rem;
}

.post-type-chip-review {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.1), rgba(24, 119, 242, 0.05));
    color: #1856f2;
    border-color: rgba(24, 119, 242, 0.25);
}

.post-type-chip-quote {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(108, 92, 231, 0.05));
    color: #6c5ce7;
    border-color: rgba(108, 92, 231, 0.2);
}

.post-header-rating {
    position: static;
    background: linear-gradient(135deg, #fff8e1 0%, #ffe0b3 100%);
    color: #e65100;
    border: 1px solid rgba(230, 81, 0, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.post-header-rating i {
    color: #ff9800;
}

.post-meta {
    color: var(--text-secondary);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 0;
    line-height: 1.2;
}

.post-meta .username {
    color: var(--text-secondary);
    text-decoration: none;
}

.post-meta .username::before {
    content: '@';
}

.post-meta .username:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.post-meta .post-time {
    color: var(--text-secondary);
    text-decoration: none;
}

.post-meta .post-time:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.post-topic {
    margin-bottom: 4px;
    padding: 4px 8px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 6px;
    display: inline-block;
    border: 1px solid #90caf9;
    box-shadow: 0 2px 4px rgba(24, 119, 242, 0.15);
    transition: all 0.2s ease;
}

.post-topic:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.25);
}

.post-topic .topic-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-weight: 600;
}

.post-topic .topic-link i {
    font-size: 18px;
    filter: drop-shadow(0 1px 2px rgba(24, 119, 242, 0.3));
}

.post-topic .topic-link strong {
    font-weight: 700;
}

.post-topic .topic-link:hover {
    color: #0d47a1;
    transform: translateX(2px);
}

.post-content {
    margin: 0;
    margin-bottom: 16px;
    padding: 0;
    line-height: 1.7;
    color: var(--text-primary);
    font-size: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.post-content p {
    margin: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    padding-top: 0;
    padding-bottom: 0;
    color: #1c1e21;
    font-size: 15px;
    line-height: 1.45;
    word-wrap: break-word;
}

.post-content p:first-child {
    margin-top: 0;
}

.post-content p:last-child {
    margin-bottom: 0;
}

/* İçerik Metni Genişletme/Daraltma */
.content-text-wrapper {
    position: relative;
    margin: 0;
    padding: 0;
}

.content-text-wrapper p {
    margin: 0;
    padding: 0;
}

.content-text-short,
.content-text-full {
    margin: 0;
    padding: 0;
    color: #1c1e21;
    font-size: 15px;
    line-height: 1.6;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.content-ellipsis {
    color: var(--text-secondary);
    font-weight: 600;
}

.btn-show-more {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 4px 0;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    text-align: left;
}

.btn-show-more:hover {
    color: var(--secondary-color);
    transform: translateX(2px);
}

.btn-show-more i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.btn-show-more:hover i {
    transform: translateY(1px);
}

.show-less-text i {
    transform: rotate(180deg);
}

.post-title {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.6em;
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.post-related {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e6eb 100%);
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin-top: 8px;
    font-size: 12px;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.post-related:hover {
    background: linear-gradient(135deg, #e4e6eb 0%, #d1d5db 100%);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-related i {
    color: var(--primary-color);
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(24, 119, 242, 0.3));
}

.post-related-card {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 8px;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-top: 12px;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: visible;
}

.post-related-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.post-related-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.post-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.post-related-card:hover::before {
    transform: scaleY(1);
}

.post-related-image {
    flex: 0 0 80px;
    width: 80px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: transparent;
    margin: 0;
    padding: 0;
    display: block;
}

.post-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.post-related-icon {
    flex: 0 0 80px;
    width: 80px;
    height: 120px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #e3f2fd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.2);
    margin: 0;
    padding: 0;
}

.post-related-icon i {
    font-size: 28px;
    color: var(--primary-color);
    opacity: 0.8;
}

.post-related-rating {
    position: absolute;
    top: -8px;
    right: -8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
    z-index: 10;
    white-space: nowrap;
    flex-shrink: 0;
}

.post-related-rating i {
    font-size: 14px;
}

.post-related-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0;
    margin: 0;
}

.post-related-type {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.post-related-type i {
    font-size: 12px;
    color: var(--primary-color);
}

.post-related-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
    max-height: 2.6em;
}

.post-related-description {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.8;
}

.post-related-card:hover .post-related-title {
    color: var(--primary-color);
}

.post-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 6px 10px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffe0b3 100%);
    border: 1px solid #ffcc80;
    border-radius: 6px;
    color: #e65100;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
    transition: all 0.2s ease;
}
.post-rating:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

.post-rating i {
    color: #f59e0b;
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.5));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.post-footer {
    display: flex;
    flex-direction: column;
    padding: 16px 0 0 0;
    margin: 0;
    margin-top: 16px;
    border-top: 1px solid var(--border-color);
    gap: 12px;
}

.post-actions {
    display: flex;
    gap: 0;
    align-items: center;
    width: 100%;
    justify-content: space-around;
}

.post-action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #65676b;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    flex: 1;
    justify-content: center;
    min-width: 80px;
}

.post-action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--light-bg);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 0;
}

.post-action-btn:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.post-action-btn i {
    font-size: 17px;
    color: #65676b;
    position: relative;
    z-index: 1;
    transition: all 0.2s ease;
}

.post-action-btn span {
    font-size: 13px;
    color: #65676b;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.2s ease;
}

.post-action-btn:hover {
    background: rgba(30, 144, 255, 0.08);
    transform: scale(1.05);
}

.post-action-btn:hover i,
.post-action-btn:hover span {
    color: var(--primary-color);
}

.post-action-btn.liked {
    color: #e41e3f;
}

.post-action-btn.liked i {
    color: #e41e3f;
    animation: heartBeat 0.6s ease;
}

.post-action-btn.liked span {
    color: #e41e3f;
}

.post-action-btn.liked:hover {
    background: #fee;
}

.post-action-btn.liked:hover i,
.post-action-btn.liked:hover span {
    color: #c21834;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

.post-category {
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 0;
    padding-top: 0;
    border-top: none;
    width: 100%;
    flex-wrap: wrap;
}

/* Sağ Sidebar - Gündem */
.sidebar-right {
    background: transparent;
    padding: 0;
    box-shadow: none;
    position: relative;
    align-self: flex-start;
    height: fit-content;
    overflow-y: visible;
    z-index: 10;
}

.global-ad-slot {
    width: 100%;
    padding: 12px 0;
    background: var(--light-bg);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.global-ad-slot.global-ad-footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    border-bottom: none;
    background: #ffffff;
}

.global-ad-slot .container {
    display: flex;
    justify-content: center;
}

.global-ad-slot .ad-slot {
    width: 100%;
}

.sidebar-ad-block {
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.page-inline-ad,
.detail-inline-ad {
    margin: 24px 0;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.feed-inline-ad {
    margin: 16px 0;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.detail-actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.detail-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    background: rgba(99, 102, 241, 0.08);
    color: #4c51bf;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.detail-share-btn i {
    font-size: 14px;
}

.detail-share-btn:hover {
    background: rgba(99, 102, 241, 0.18);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.18);
    transform: translateY(-1px);
}

.detail-share-btn.share-success {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.35);
    color: #037857;
}

.detail-share-btn.share-success i {
    color: #0f766e;
}

.detail-share-wrapper {
    position: relative;
    display: inline-flex;
}

.detail-actions-inline {
    margin-top: 1rem;
}

.detail-share-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
    padding: 8px;
    min-width: 220px;
    display: none;
    flex-direction: column;
    z-index: 60;
}

.detail-share-menu.visible {
    display: flex;
}

.detail-share-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.detail-share-menu button span {
    flex: 1;
    text-align: left;
}

.detail-share-menu button i {
    width: 18px;
    font-size: 14px;
    text-align: center;
}

.detail-share-menu button:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
}

.detail-share-menu button.copy-success {
    background: rgba(16, 185, 129, 0.18);
    color: #047857;
}

.detail-share-divider {
    height: 1px;
    background: rgba(148, 163, 184, 0.25);
    margin: 4px 0;
}

.ad-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ad-popup-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.ad-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.ad-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3);
    width: min(480px, 90vw);
    padding: 28px 32px;
    transition: transform 0.3s ease;
}

.ad-popup-overlay.visible .ad-popup-content {
    transform: translate(-50%, -50%) scale(1);
}

.ad-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.05);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ad-popup-close:hover {
    background: rgba(15, 23, 42, 0.12);
    transform: scale(1.05);
}

.ad-popup-body .ad-slot {
    width: 100%;
}

.ad-popup-body .ad-slot-item {
    width: 100%;
}

.sidebar-right .sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.sidebar-right .sidebar-widget:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.trending-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 14px 12px;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin-bottom: 4px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(247, 249, 250, 0.6));
}

.trending-item:hover {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.06), rgba(24, 119, 242, 0.03));
    transform: translateX(4px);
    border-color: rgba(24, 119, 242, 0.15);
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.1);
}

.trending-rank {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    min-width: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-light), rgba(24, 119, 242, 0.1));
    border-radius: 8px;
    border: 1px solid rgba(24, 119, 242, 0.2);
}

.trending-info {
    flex: 1;
    min-width: 0;
}

.trending-info strong {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 15px;
}

.trending-info strong a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.trending-info strong a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.trending-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trending-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trending-category-edebiyat {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.trending-category-sinema {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    color: #9f1239;
    border: 1px solid #f9a8d4;
}

.trending-count {
    font-size: 12px;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.trending-count i {
    font-size: 11px;
}

.empty-state-small {
    text-align: center;
    padding: 24px 16px;
    color: var(--text-secondary);
}

.empty-state-small i {
    font-size: 32px;
    color: var(--text-secondary);
    opacity: 0.5;
    margin-bottom: 8px;
    display: block;
}

.empty-state-small p {
    font-size: 13px;
    margin: 0;
}

.popular-users {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(247, 249, 250, 0.6));
    margin-bottom: 6px;
}

.popular-user-item:hover {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.06), rgba(24, 119, 242, 0.03));
    transform: translateX(4px);
    border-color: rgba(24, 119, 242, 0.15);
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.1);
}

.popular-user-item .user-avatar-small {
    width: 40px;
    height: 40px;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-info strong {
    display: block;
    margin-bottom: 2px;
}

.user-info strong a {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.user-info strong a:hover {
    color: var(--primary-color);
}

.user-info span {
    font-size: 13px;
    color: var(--text-secondary);
}
.btn-follow-mini {
    padding: 6px 12px;
    font-size: 15px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    flex-shrink: 0;
}
.btn-follow-mini:hover {
    background: var(--primary-dark);
}

/* Topic Styles */
.topic-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.topic-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.topic-header:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 3px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .topic-header:hover {
        transform: none;
    }
}

.topic-header-image {
    width: 100%;
    max-height: 340px;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

.topic-header-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.topic-header-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.topic-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.topic-header-image:hover img {
    transform: scale(1.05);
}

.topic-header-top {
    margin-bottom: 2rem;
}

.topic-header-info h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.topic-header-info h1 i {
    color: var(--primary-color);
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-light), rgba(24, 119, 242, 0.1));
    padding: 14px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.15);
    transition: all 0.3s ease;
}

.topic-header-info h1:hover i {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}
.topic-header-meta {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.topic-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.topic-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.08), rgba(24, 119, 242, 0.05));
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(24, 119, 242, 0.15);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(24, 119, 242, 0.1);
}

.topic-stats span:hover {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.12), rgba(24, 119, 242, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.15);
    border-color: rgba(24, 119, 242, 0.25);
}

.topic-stats span i {
    color: var(--primary-color);
    font-size: 16px;
}

.topic-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 16px;
    background: linear-gradient(135deg, rgba(247, 249, 250, 0.8), rgba(241, 245, 249, 0.6));
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.topic-author:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(247, 249, 250, 0.9));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateX(4px);
}

.topic-author strong {
    color: var(--text-primary);
    font-weight: 600;
    margin-right: 8px;
}

.topic-author a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.topic-author a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.topic-description {
    margin-top: 1.5rem;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.06), rgba(24, 119, 242, 0.03));
    border-radius: 16px;
    border: 1px solid rgba(24, 119, 242, 0.15);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.topic-description:hover {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.08), rgba(24, 119, 242, 0.05));
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.12);
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .topic-description:hover {
        transform: none;
    }
}

.topic-description p {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 16px;
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.01em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    transition: all 0.3s ease;
}

.topic-description-short {
    max-height: 150px;
    overflow: hidden;
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-word;
    overflow-wrap: break-word;
}

#topic-description-full {
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.btn-show-more {
    margin-top: 12px;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-show-more:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.2);
}

.btn-show-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}
.btn-show-more:hover i {
    transform: translateY(2px);
}

.topic-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.topic-actions .btn {
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.topic-actions .btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 12px rgba(24, 119, 242, 0.35);
}

/* Topic Contents Section */
.topic-contents {
    margin-top: 2rem;
}

/* Topic detay sayfasındaki post görünümleri ana sayfadaki gibi */
.topic-contents .feed-posts {
    gap: 24px;
}

.topic-contents .feed-post {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin: 0;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.topic-contents .feed-post:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.topic-contents-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 20px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
    transition: all 0.3s ease;
}

.topic-contents-header:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.topic-contents-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.topic-contents-header h2 i {
    color: var(--primary-color);
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), rgba(24, 119, 242, 0.1));
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(24, 119, 242, 0.15);
}

.topic-contents-header h2 span {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    margin-left: 4px;
}

.topic-contents-header .btn {
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.topic-contents-header .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.topic-contents-header .btn:hover::before {
    left: 100%;
}

.topic-contents-header .btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 12px rgba(24, 119, 242, 0.35);
}

/* Topics Page Layout */
.topics-page-layout {
    background: var(--light-bg);
    min-height: calc(100vh - 56px);
    padding: 16px;
}

.topics-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 16px;
}

.topics-sidebar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    height: fit-content;
    position: sticky;
    top: 72px;
}

.category-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.category-link:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.category-link.active {
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 600;
}

.category-link i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.topics-main {
    background: transparent;
}

.topics-header {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.topics-header > div:first-child {
    flex: 1;
    min-width: 200px;
}

.topics-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.topics-header p {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
}

.topics-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .topics-header {
        flex-direction: column;
    }
    
    .topics-header-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .topics-header-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Konu detay sayfası mobil görünümü */
    .topic-header {
        padding: 1.5rem;
        border-radius: 16px;
        margin-bottom: 1.5rem;
        overflow-x: hidden;
        overflow-y: visible;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .topic-header-info {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: visible;
        box-sizing: border-box;
    }
    
    .topic-header-image {
        margin-bottom: 1.5rem;
        border-radius: 12px;
        max-height: 200px;
    }
    
    .topic-header-info h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        flex-wrap: wrap;
    }
    
    .topic-header-info h1 i {
        font-size: 1.25rem;
        padding: 10px;
        border-radius: 10px;
    }
    
    .topic-header-top {
        margin-bottom: 1.5rem;
    }
    
    .topic-description {
        margin-top: 1rem;
        padding: 16px;
        border-radius: 12px;
        overflow-x: hidden;
        overflow-y: visible;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: pre-wrap;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .topic-description p {
        font-size: 14px;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: pre-wrap;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    .topic-description-short {
        max-height: 120px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }
    
    .topic-header-meta {
        gap: 1rem;
        padding-top: 1rem;
    }
    
    .topic-stats {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .topic-stats span {
        padding: 8px 12px;
        font-size: 13px;
        flex: 1;
        min-width: auto;
        justify-content: center;
    }
    
    .topic-author {
        padding: 12px;
        border-radius: 12px;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .topic-author img {
        width: 40px;
        height: 40px;
    }
    
    .topic-actions {
        margin-top: 1rem;
        padding-top: 1rem;
        gap: 0.75rem;
    }
    
    .topic-actions .btn {
        padding: 10px 20px;
        font-size: 14px;
        flex: 1;
        justify-content: center;
    }
}

.topics-filters {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.filters-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
}

.filter-group .form-control {
    width: 100%;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.topic-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.topic-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.topic-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    display: block;
    background: var(--light-bg);
}

.topic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topic-body {
    padding: 16px;
}

.topic-header-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.topic-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.topic-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.topic-title a:hover {
    color: var(--primary-color);
}

.topic-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-literature {
    background: #e8f5e9;
    color: #2e7d32;
}

.category-cinema {
    background: #fff3e0;
    color: #e65100;
}

.topic-description {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 14px;
}
.topic-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.topic-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.topic-meta a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.topic-meta a:hover {
    text-decoration: underline;
}

.topic-footer {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.pagination-btn:hover:not(.disabled) {
    background: linear-gradient(135deg, var(--primary-light), rgba(24, 119, 242, 0.1));
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.15);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    font-size: 15px;
    cursor: pointer;
}

.pagination-page:hover:not(.active) {
    background: linear-gradient(135deg, var(--primary-light), rgba(24, 119, 242, 0.1));
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.15);
}

.pagination-page.active {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    border-color: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
    transform: scale(1.05);
}
.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    color: var(--text-secondary);
    font-size: 15px;
}
.pagination-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.pagination-info span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Pagination Responsive */
@media (max-width: 768px) {
    .pagination {
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .pagination-btn {
        padding: 8px 12px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .pagination-pages {
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .pagination-page {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
        padding: 0 8px;
    }
    
    .pagination-ellipsis {
        min-width: 32px;
        height: 32px;
        font-size: 14px;
        padding: 0 4px;
    }
    
    .pagination-info {
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
    }
}

/* Topics Page Responsive */
@media (max-width: 968px) {
    .topics-container {
        grid-template-columns: 1fr;
    }
    
    .topics-sidebar {
        position: static;
        margin-bottom: 16px;
    }
    
    .category-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .feed-container {
        grid-template-columns: 200px 1fr 250px;
        gap: 1rem;
    }
}

/* Responsive - Home Layout */
@media (max-width: 1280px) {
    .feed-container {
        grid-template-columns: 240px 1fr 320px;
    }
}

@media (max-width: 1024px) {
    .feed-container {
        grid-template-columns: 220px 1fr 280px;
    }
}

/* PC görünümünde mobil menüyü gizle */
@media (min-width: 969px) {
    .sidebar-left.mobile-menu-inline {
        display: none !important;
    }
}

@media (max-width: 968px) {
    .feed-container {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }
    
    /* Mobil görünümde sol sidebar'ı gizle */
    .feed-container > .sidebar-left {
        display: none !important;
    }
    
    /* feed-main içindeki mobil menüyü göster */
    .sidebar-left.mobile-menu-inline {
        display: block;
        position: static;
        height: auto;
        border-right: none;
        border-bottom: none;
        border-top: none;
        border-left: none;
        padding: 12px 16px;
        width: 100%;
        border-radius: 0;
        margin-top: 0;
        margin-bottom: 16px;
        background: transparent;
    }
    
    .sidebar-left.mobile-menu-inline .sidebar-widget {
        margin-bottom: 0;
        padding: 0;
        background: transparent;
    }
    
    .sidebar-left.mobile-menu-inline .sidebar-widget h3 {
        font-size: 16px;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0;
        color: var(--text-primary);
    }
    
    .sidebar-left.mobile-menu-inline .sidebar-widget h3 i {
        color: var(--primary-color);
        font-size: 18px;
    }
    
    .sidebar-left.mobile-menu-inline .sidebar-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        margin: 0;
    }
    
    .sidebar-left.mobile-menu-inline .sidebar-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        padding: 10px 6px;
        margin: 0;
        border-radius: 8px;
        gap: 4px;
        text-align: center;
        min-height: 65px;
        background: #ffffff;
        border: 1px solid var(--border-color);
        transition: all 0.2s ease;
    }
    
    .sidebar-left.mobile-menu-inline .sidebar-link:hover {
        background: rgba(30, 144, 255, 0.1);
        border-color: var(--primary-color);
        transform: translateY(-1px);
    }
    
    .sidebar-left.mobile-menu-inline .sidebar-link.active {
        background: rgba(30, 144, 255, 0.15);
        color: var(--primary-color);
        border-color: var(--primary-color);
    }
    
    .sidebar-left.mobile-menu-inline .sidebar-link i {
        font-size: 20px;
        width: auto;
        margin: 0;
        display: block;
    }
    
    .sidebar-left.mobile-menu-inline .sidebar-link > *:not(i) {
        display: block;
        font-size: 11px;
        line-height: 1.2;
        margin-top: 2px;
    }
    
    .sidebar-left.mobile-menu-inline .sidebar-link.btn-create,
    .sidebar-left.mobile-menu-inline .sidebar-link.btn-create-secondary {
        display: none; /* Mobilde oluşturma butonlarını gizle */
    }
    
    .sidebar-right {
        order: 3;
    }
    
    .feed-main {
        order: 2;
    }
    
    .feed-post {
        padding: 16px;
    }
    
    .feed-create-box {
        padding: 16px;
    }
    
    .feed-main {
        order: 2;
        border-left: none;
        border-right: none;
        max-height: none;
    }
    
    .sidebar-right {
        position: static;
        height: auto;
        border-left: none;
        border-top: 1px solid var(--border-color);
        order: 3;
    }
    
    .feed-post {
        padding: 12px;
    }
    
    .feed-create-box {
        padding: 12px;
    }
    
    .navbar .container {
        padding: 0 12px;
    }
    
    .nav-menu {
        gap: 2px;
        overflow-x: hidden;
        flex-wrap: wrap;
    }
    
    .nav-link {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .nav-link i {
        font-size: 16px;
    }
}

/* Discover Page Styles */
.discover-page {
    padding: 2rem 0;
    background: var(--light-bg);
    min-height: calc(100vh - 56px);
}

.discover-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.discover-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.discover-header h1 i {
    color: var(--primary-color);
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-light), rgba(24, 119, 242, 0.1));
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.2);
}

.discover-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0;
}

.discover-section {
    margin-bottom: 4rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.section-header h2 i {
    color: var(--primary-color);
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), rgba(24, 119, 242, 0.1));
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(24, 119, 242, 0.15);
}

.section-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.section-link:hover {
    background: var(--primary-light);
    transform: translateX(4px);
    color: var(--primary-dark);
}

.section-link i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.section-link:hover i {
    transform: translateX(4px);
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.discover-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.discover-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.discover-item:hover::before {
    transform: scaleX(1);
}

.discover-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}
.discover-item-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.discover-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.discover-item:hover .discover-item-image img {
    transform: scale(1.1);
}

.discover-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.discover-item:hover .discover-item-overlay {
    opacity: 1;
}

.discover-item-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.discover-item-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.discover-item-stats i {
    font-size: 14px;
}

.discover-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(24, 119, 242, 0.1) 100%);
    color: var(--primary-color);
    font-size: 4rem;
}

.discover-item-info {
    padding: 1.25rem;
}

.discover-item-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.discover-item-meta {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.discover-item-meta i {
    font-size: 12px;
    color: var(--primary-color);
}

.discover-item-year {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0.25rem 0 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.discover-item-year i {
    font-size: 11px;
}

/* Discover Responsive */
@media (max-width: 768px) {
    .content-detail-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .discover-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 12px;
    }
    
    .discover-header h1 i {
        font-size: 2rem;
        padding: 14px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .discover-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .discover-item-image {
        height: 240px;
    }
}

/* Very small screens pagination */
@media (max-width: 480px) {
    .pagination {
        gap: 4px;
    }
    
    .pagination-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .pagination-page {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 0 6px;
    }
    
    .pagination-ellipsis {
        min-width: 28px;
        height: 28px;
        font-size: 13px;
    }
}

/* Search Page Styles */
.search-page {
    padding: 2rem 0;
    background: var(--light-bg);
    min-height: calc(100vh - 56px);
}

.search-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.search-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.search-header h1 i {
    color: var(--primary-color);
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-light), rgba(24, 119, 242, 0.1));
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.2);
}

.search-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0;
}

.search-form-container {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.search-form {
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}
.search-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 4px 24px rgba(24, 119, 242, 0.2);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    left: 20px;
    color: var(--text-secondary);
    font-size: 1.125rem;
    z-index: 1;
}
.search-input {
    flex: 1;
    padding: 1rem 1rem 1rem 3.5rem;
    border: none;
    outline: none;
    font-size: 1.125rem;
    color: var(--text-primary);
    background: transparent;
}

.search-input::placeholder {
    color: var(--text-secondary);
}
.search-btn {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.search-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.search-tabs::-webkit-scrollbar {
    height: 4px;
}

.search-tabs::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.search-tab {
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-tab i {
    font-size: 0.875rem;
}

.search-tab:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.search-tab.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.search-results {
    padding: 0 1rem;
}

.search-section {
    margin-bottom: 3rem;
}

.search-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-section h2 i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.search-result-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.search-result-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.search-result-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    border: 3px solid var(--border-color);
    background: var(--light-bg);
}

.search-result-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--light-bg);
}

.search-result-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 3rem;
}

.search-result-info {
    text-align: center;
}

.search-result-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.search-result-info p i {
    font-size: 0.75rem;
}

.search-result-bio {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-meta {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-result-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.search-result-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.search-result-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.search-result-content-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.search-result-content-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.search-result-content-category {
    padding: 0.375rem 0.75rem;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.search-result-content-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.search-result-content-link h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}

.search-result-content-link p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.search-result-content-footer {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.search-result-content-footer span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-result-content-footer i {
    font-size: 0.875rem;
}

.search-result-topic {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.search-result-topic:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.search-result-topic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.search-result-topic-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.search-result-topic-count {
    padding: 0.375rem 0.75rem;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.search-result-topic p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.search-result-topic-footer {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.search-result-topic-footer span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-secondary);
}

.search-empty i {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.search-empty p {
    font-size: 1.125rem;
    margin: 0;
}
/* Mobile Responsive - Search Page */
@media (max-width: 768px) {
    .search-page {
        padding: 1rem 0;
    }
    
    .search-header {
        padding: 1.5rem 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .search-header h1 {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .search-header h1 i {
        font-size: 1.5rem;
        padding: 10px;
        border-radius: 12px;
    }
    
    .search-header p {
        font-size: 0.9375rem;
        padding: 0 0.5rem;
    }
    
    .search-form-container {
        padding: 0 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .search-input-wrapper {
        border-radius: 25px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }
    
    .search-icon {
        left: 16px;
        font-size: 1rem;
    }
    
    .search-input {
        font-size: 0.9375rem;
        padding: 0.875rem 0.875rem 0.875rem 2.75rem;
    }
    
    .search-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
        min-width: 60px;
    }
    
    .search-tabs {
        padding: 0 0.75rem;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .search-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .search-tab {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .search-tab i {
        font-size: 0.75rem;
    }
    
    .search-results {
        padding: 0 0.75rem;
    }
    
    .search-section {
        margin-bottom: 2rem;
    }
    
    .search-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }
    
    .search-section h2 i {
        font-size: 1rem;
    }
    
    .search-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.875rem;
    }
    
    .search-result-item {
        padding: 0.875rem;
        border-radius: 10px;
    }
    
    .search-result-avatar {
        width: 60px;
        height: 60px;
        margin: 0 auto 0.5rem;
        border-width: 2px;
    }
    
    .search-result-image {
        height: 180px;
        border-radius: 6px;
    }
    
    .search-result-placeholder {
        height: 180px;
        font-size: 2rem;
        border-radius: 6px;
    }
    
    .search-result-info {
        text-align: center;
    }
    
    .search-result-info h3 {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
    
    .search-result-info p {
        font-size: 0.8125rem;
        margin: 0.125rem 0;
    }
    
    .search-result-bio {
        font-size: 0.75rem;
        margin-top: 0.375rem;
    }
    
    .search-result-meta {
        font-size: 0.75rem;
        margin-top: 0.375rem;
    }
    
    .search-results-list {
        gap: 0.875rem;
    }
    
    .search-result-content {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .search-result-content-header {
        margin-bottom: 0.75rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .search-result-content-author {
        gap: 0.5rem;
    }
    
    .search-result-content-author img {
        width: 32px;
        height: 32px;
    }
    
    .search-result-content-category {
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
    }
    
    .search-result-content-link h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .search-result-content-link p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .search-result-content-footer {
        gap: 1rem;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        font-size: 0.8125rem;
        flex-wrap: wrap;
    }
    
    .search-result-content-footer span {
        gap: 0.375rem;
    }
    
    .search-result-content-footer i {
        font-size: 0.8125rem;
    }
    
    .search-result-topic {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .search-result-topic-header {
        margin-bottom: 0.625rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .search-result-topic-header h3 {
        font-size: 1.125rem;
    }
    
    .search-result-topic-count {
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
    }
    
    .search-result-topic p {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }
    
    .search-result-topic-footer {
        gap: 1rem;
        font-size: 0.8125rem;
        flex-wrap: wrap;
    }
    
    .search-result-topic-footer span {
        gap: 0.375rem;
    }
    
    .search-empty {
        padding: 3rem 0.75rem;
    }
    
    .search-empty i {
        font-size: 3rem;
        margin-bottom: 0.75rem;
    }
    
    .search-empty p {
        font-size: 1rem;
    }
}