/* 
 * İndex Sayfasına Özel CSS
 * Mobil Optimizasyonu ve Premium Tema Geliştirmeleri
 */

/* === PREMIUM TEMA - INDEX SAYFASI İÇİN === */
:root {
    --elite-primary: #0a0a0a;
    --elite-secondary: #111111;
    --elite-card: #1a1a1a;
    --elite-border: #262626;
    --elite-red: #dc2626;
    --elite-red-dark: #991b1b;
    --elite-red-light: #ef4444;
    --elite-text: #ffffff;
    --elite-text-secondary: #a3a3a3;
    --elite-text-muted: #737373;
    --elite-gradient: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --elite-gradient-hover: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --elite-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --elite-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.6);
    --elite-glow: 0 0 20px rgba(220, 38, 38, 0.3);
    --elite-blue: #3b82f6;
    --elite-blue-light: #60a5fa;
    --elite-green: #10b981;
    --elite-purple: #8b5cf6;
}

/* ANA SAYFA PAYLAŞIM KARTLARI - PREMIUM */
.elite-post-card-index {
    background: var(--elite-card);
    border: 1px solid var(--elite-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--elite-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
    position: relative;
}

.elite-post-card-index:hover {
    transform: translateY(-5px);
    box-shadow: var(--elite-shadow-hover);
    border-color: #404040;
}

.elite-post-card-index.pinned {
    border-left: 4px solid #fbbf24;
}

.elite-post-card-index.pinned::before {
    content: '📌';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 18px;
    z-index: 2;
}

/* ADMIN SABİTLEME İKONU */
.admin-pin-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.pin-form {
    display: inline-block;
}

.admin-pin-btn {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--elite-border);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--elite-text-secondary);
    transition: all 0.3s ease;
    font-size: 14px;
}

.admin-pin-btn:hover {
    background: var(--elite-card);
    color: var(--elite-red);
    transform: scale(1.1);
    border-color: var(--elite-red);
}

.admin-pin-btn.pin:hover {
    color: #3b82f6;
    border-color: #3b82f6;
}

.admin-pin-btn.unpin {
    color: #fbbf24;
}

.admin-pin-btn.unpin:hover {
    color: #f59e0b;
    border-color: #f59e0b;
}

/* PAYLAŞIM BAŞLIĞI - PREMIUM (1 SATIR) */
.elite-post-header-index {
    padding: 15px 20px 12px;
    border-bottom: 1px solid var(--elite-border);
    background: linear-gradient(to right, rgba(26, 26, 26, 0.9), rgba(17, 17, 17, 0.95));
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.elite-post-header-index::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--elite-gradient);
}

/* KULLANICI BİLGİLERİ - TEK SATIR */
.elite-author-section-index {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.elite-author-avatar-index {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--elite-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    font-weight: bold;
    border: 2px solid var(--elite-red);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.2);
    overflow: hidden;
    flex-shrink: 0;
}

.elite-avatar-link-index {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.elite-avatar-link-index:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.elite-avatar-link-index img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.elite-anonymous-avatar-index {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    font-weight: bold;
    background: linear-gradient(135deg, #6b7280, #374151);
}

.elite-author-info-index {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* KULLANICI ADI ve RANK - TEK SATIRDA */
.elite-author-name-index {
    font-size: 15px;
    font-weight: 600;
    color: var(--elite-text);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.elite-author-link-index {
    color: var(--elite-red);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
}

.elite-author-link-index:hover {
    color: var(--elite-red-light);
    text-decoration: none;
}

/* RANK BADGE KONTEYNIRI - BİRDEN FAZLA RANK İÇİN */
.elite-ranks-container-index {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* YENİ RANK BADGE SİSTEMİ - ÇOKLU RANK (METNE GÖRE UZAYAN) */
.elite-rank-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.elite-rank-badge-new.premium {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(99, 102, 241, 0.15));
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.elite-rank-badge-new.elite {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.15));
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.elite-rank-badge-new.moderator {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(185, 28, 28, 0.15));
    color: #f87171;
    border: 1px solid rgba(220, 38, 38, 0.4);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.elite-rank-badge-new.admin {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(55, 65, 81, 0.2));
    color: #d1d5db;
    border: 1px solid rgba(75, 85, 99, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.elite-rank-badge-new.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(37, 99, 235, 0.15));
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* TARİH ve KATEGORİ - TEK SATIR */
.elite-post-meta-index {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--elite-text-secondary);
    font-size: 12px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.elite-post-date-index {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* KATEGORİ BADGE - HER KATEGORİYE ÖZEL RENK */
.elite-category-section-index {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.elite-category-badge-index {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 11px;
    border: 1px solid;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* KATEGORİ RENKLERİ - HER KATEGORİ İÇİN FARKLI */
.elite-category-badge-index[data-category="1"] {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
    border-color: rgba(220, 38, 38, 0.3);
}

.elite-category-badge-index[data-category="2"] {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
}

.elite-category-badge-index[data-category="3"] {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}

.elite-category-badge-index[data-category="4"] {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.3);
}

.elite-category-badge-index:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* PAYLAŞIM İÇERİĞİ - DAHA AZ BOŞLUKLU */
.elite-post-content-index {
    padding: 15px 20px;
    line-height: 1.6;
    font-size: 14px;
    color: var(--elite-text);
    background: var(--elite-secondary);
    position: relative;
    max-height: 120px;
    overflow: hidden;
}

.elite-post-content-index.expandable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.elite-post-content-index.expandable:hover {
    background: rgba(17, 17, 17, 0.8);
}

.elite-post-content-index::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, rgba(17, 17, 17, 0.9));
    pointer-events: none;
}

.elite-read-more {
    position: absolute;
    bottom: 8px;
    right: 20px;
    color: var(--elite-red);
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    background: rgba(17, 17, 17, 0.8);
    padding: 2px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* İSTATİSTİK ve ETKİLEŞİM ALANI - TEK SATIR */
.elite-stats-section-index {
    padding: 12px 20px;
    background: var(--elite-card);
    border-top: 1px solid var(--elite-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.elite-stats-container-index {
    display: flex;
    gap: 15px;
    align-items: center;
    flex: 1;
}

/* İSTATİSTİK İTEM - SADECE İKON ve SAYI */
.elite-stat-item-index {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    background: var(--elite-secondary);
    border: 1px solid var(--elite-border);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: default;
    color: var(--elite-text-secondary);
    font-size: 13px;
    font-weight: 600;
    min-width: 50px;
    justify-content: center;
}

.elite-stat-item-index:hover {
    background: var(--elite-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.elite-stat-item-index i {
    font-size: 14px;
}

.elite-stat-item-index .stat-number {
    font-size: 13px;
    font-weight: 700;
}

/* BEĞENİ BUTONU - GÜNCELLENMİŞ */
.elite-like-button-index {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--elite-card);
    border: 1px solid var(--elite-border);
    border-radius: 8px;
    color: var(--elite-text-secondary);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
    justify-content: center;
}

.elite-like-button-index:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: var(--elite-red);
    color: var(--elite-red-light);
}

.elite-like-button-index.liked {
    background: var(--elite-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.elite-like-button-index.liked:hover {
    background: var(--elite-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

/* YORUM BUTONU - SADECE İKON ve SAYI */
.elite-comment-button-index {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--elite-card);
    border: 1px solid var(--elite-border);
    border-radius: 8px;
    color: var(--elite-text-secondary);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 50px;
    justify-content: center;
}

.elite-comment-button-index:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--elite-blue);
    color: var(--elite-blue-light);
    text-decoration: none;
}

/* DETAYLARI GÖR BUTONU - KIRMIZI */
.elite-details-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #dc2626, #991b1b) !important;
    border: none;
    border-radius: 8px;
    color: white !important;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.elite-details-button:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    color: white !important;
    text-decoration: none;
}

/* SABİTLENMİŞ BADGE */
.pinned-badge-elite {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* YENİ LİDERLİK TABLOSU - TAMAMEN FARKLI TASARIM */
.leaderboard-premium {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 320px;
    overflow-y: auto;
    border-radius: 12px;
    background: var(--elite-card);
    border: 1px solid var(--elite-border);
}

.leaderboard-premium::-webkit-scrollbar {
    width: 5px;
}

.leaderboard-premium::-webkit-scrollbar-track {
    background: var(--elite-secondary);
    border-radius: 3px;
}

.leaderboard-premium::-webkit-scrollbar-thumb {
    background: var(--elite-red);
    border-radius: 3px;
}

.leaderboard-premium::-webkit-scrollbar-thumb:hover {
    background: var(--elite-red-light);
}

.leaderboard-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--elite-border);
    transition: all 0.3s ease;
    display: grid !important;
    grid-template-columns: auto 40px 1fr;
    gap: 10px;
    align-items: center;
    background: var(--elite-card);
}

.leaderboard-item:hover {
    background: rgba(17, 17, 17, 0.7);
    transform: translateX(5px);
}

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

.leaderboard-rank {
    font-size: 16px;
    font-weight: bold;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    color: white;
}

.leaderboard-rank.rank-1 {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.leaderboard-rank.rank-2 {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    box-shadow: 0 0 10px rgba(148, 163, 184, 0.3);
}

.leaderboard-rank.rank-3 {
    background: linear-gradient(135deg, #b45309, #92400e);
    box-shadow: 0 0 10px rgba(180, 83, 9, 0.3);
}

.leaderboard-rank.rank-other {
    background: linear-gradient(135deg, #4b5563, #374151);
}

.leaderboard-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--elite-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: white;
    background: linear-gradient(135deg, var(--elite-red), var(--elite-red-dark));
}

.leaderboard-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leaderboard-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    grid-column: 3;
}

.leaderboard-name {
    display: block;
    font-weight: 600;
    color: var(--elite-text);
    text-decoration: none;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}

.leaderboard-name:hover {
    color: var(--elite-red);
    text-decoration: none;
}

.leaderboard-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.leaderboard-points {
    font-size: 12px;
    color: var(--elite-text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.leaderboard-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.leaderboard-rank-badge i {
    font-size: 9px;
}

/* LİDERLİK TABLOSU BAŞLIK */
.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--elite-border);
}

.leaderboard-header h3 {
    margin: 0;
    font-size: 18px;
}

.leaderboard-refresh {
    background: var(--elite-secondary);
    border: 1px solid var(--elite-border);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    color: var(--elite-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.leaderboard-refresh:hover {
    background: var(--elite-red);
    color: white;
    border-color: var(--elite-red);
}

/* ============================================
   MOBİL OPTİMİZASYON
   ============================================ */

/* TABLET (768px ve altı) */
@media (max-width: 768px) {
    .elite-post-card-index {
        border-radius: 14px;
        margin-bottom: 15px;
    }
    
    /* ADMIN PIN BUTONU MOBİL */
    .admin-pin-actions {
        top: 10px;
        right: 10px;
    }
    
    .admin-pin-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    /* MOBİL PAYLAŞIM KARTLARI - OPTİMİZE */
    .elite-post-header-index {
        padding: 12px 15px 10px;
        flex-direction: column;
        gap: 8px;
    }
    
    /* KULLANICI BİLGİLERİ - TEK SATIR (MASAÜSTÜ GİBİ) */
    .elite-author-section-index {
        gap: 8px;
    }
    
    .elite-author-avatar-index {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    /* KULLANICI ADI ve RANKLAR - TEK SATIRDA */
    .elite-author-name-index {
        font-size: 14px;
        gap: 6px;
        flex-wrap: wrap;
        margin-bottom: 4px;
    }
    
    .elite-author-link-index {
        max-width: 120px;
        font-size: 14px;
    }
    
    .elite-ranks-container-index {
        display: flex !important;
        gap: 4px;
        flex-wrap: wrap;
    }
    
    /* RANK KUTUCUKLARI - METNE GÖRE UZAYAN */
    .elite-rank-badge-new {
        padding: 2px 8px;
        font-size: 9px;
        gap: 3px;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex-shrink: 1;
    }
    
    .elite-rank-badge-new i {
        font-size: 8px;
    }
    
    /* TARİH ve KATEGORİ - TEK SATIR (MASAÜSTÜ GİBİ) - DÜZELTİLDİ */
    .elite-post-meta-index {
        font-size: 11px;
        gap: 8px;
        padding-top: 4px;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    
    /* KATEGORİ BADGE - OPTİMİZE */
    .elite-category-section-index {
        flex-shrink: 0;
    }
    
    .elite-category-badge-index {
        font-size: 10px;
        padding: 4px 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px;
    }
    
    /* PAYLAŞIM İÇERİĞİ - BÜYÜTÜLDÜ */
    .elite-post-content-index {
        padding: 12px 15px;
        font-size: 13px;
        max-height: 110px;
        line-height: 1.5;
    }
    
    .elite-read-more {
        font-size: 11px;
        right: 15px;
        bottom: 6px;
    }
    
    /* İSTATİSTİK ALANI - TEK SATIR YAN YANA */
    .elite-stats-section-index {
        padding: 10px 15px;
        gap: 10px;
    }
    
    .elite-stats-container-index {
        gap: 8px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    .elite-stat-item-index,
    .elite-like-button-index,
    .elite-comment-button-index {
        padding: 4px 8px;
        font-size: 12px;
        min-width: 45px;
        gap: 4px;
    }
    
    .elite-stat-item-index i,
    .elite-like-button-index i,
    .elite-comment-button-index i {
        font-size: 13px;
    }
    
    .elite-stat-item-index .stat-number,
    .elite-like-button-index .like-count,
    .elite-comment-button-index .comment-count {
        font-size: 12px;
    }
    
    /* DETAYLARI GÖR BUTONU */
    .elite-details-button {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    /* LİDERLİK TABLOSU MOBİL - DÜZELTİLDİ */
    .leaderboard-premium {
        max-height: 280px;
    }
    
    .leaderboard-item {
        padding: 10px 12px;
        gap: 8px;
        grid-template-columns: auto 36px 1fr;
    }
    
    .leaderboard-rank {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }
    
    .leaderboard-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .leaderboard-name {
        font-size: 13px;
    }
    
    .leaderboard-stats {
        gap: 6px;
    }
    
    .leaderboard-points {
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .leaderboard-rank-badge {
        padding: 1px 6px;
        font-size: 9px;
        max-width: 90px;
    }
}

/* KÜÇÜK MOBİL (480px ve altı) */
@media (max-width: 480px) {
    .elite-post-header-index {
        padding: 10px 12px 8px;
        gap: 6px;
    }
    
    /* AVATAR ve BİLGİLER - DAHA KOMPAKT */
    .elite-author-avatar-index {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .elite-author-name-index {
        font-size: 13px;
        gap: 4px;
    }
    
    .elite-author-link-index {
        max-width: 100px;
    }
    
    /* RANK BADGE - ÇOK KÜÇÜK EKRANLAR İÇİN */
    .elite-ranks-container-index {
        gap: 3px;
    }
    
    .elite-rank-badge-new {
        padding: 1px 6px;
        font-size: 8px;
        max-width: 100px;
    }
    
    /* TARİH ve KATEGORİ - OPTİMİZE */
    .elite-post-meta-index {
        font-size: 10px;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    /* KATEGORİ BADGE - KÜÇÜK */
    .elite-category-badge-index {
        font-size: 9px;
        padding: 3px 8px;
        max-width: 120px;
    }
    
    /* PAYLAŞIM İÇERİĞİ - DAHA BÜYÜK */
    .elite-post-content-index {
        padding: 10px 12px;
        font-size: 12px;
        max-height: 100px;
    }
    
    .elite-read-more {
        font-size: 10px;
        right: 12px;
        bottom: 5px;
    }
    
    /* İSTATİSTİK ALANI - YAN YANA */
    .elite-stats-container-index {
        gap: 6px;
    }
    
    .elite-stat-item-index,
    .elite-like-button-index,
    .elite-comment-button-index {
        padding: 3px 6px;
        font-size: 11px;
        min-width: 40px;
    }
    
    .elite-details-button {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    /* LİDERLİK TABLOSU */
    .leaderboard-item {
        padding: 8px 10px;
        gap: 6px;
        grid-template-columns: auto 32px 1fr;
    }
    
    .leaderboard-rank {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .leaderboard-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .leaderboard-name {
        font-size: 12px;
    }
    
    .leaderboard-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .leaderboard-rank-badge {
        max-width: 80px;
    }
}

/* ÇOK KÜÇÜK EKRANLAR (360px ve altı) */
@media (max-width: 360px) {
    .elite-stats-container-index {
        gap: 4px;
    }
    
    .elite-stat-item-index,
    .elite-like-button-index,
    .elite-comment-button-index {
        min-width: 35px;
        padding: 3px 5px;
        font-size: 10px;
    }
    
    .elite-stat-item-index i,
    .elite-like-button-index i,
    .elite-comment-button-index i {
        font-size: 11px;
    }
    
    .elite-details-button {
        padding: 3px 6px;
        font-size: 9px;
    }
    
    .elite-author-name-index {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .elite-author-link-index {
        max-width: 90px;
    }
    
    .elite-rank-badge-new {
        font-size: 7px;
        padding: 1px 4px;
        max-width: 80px;
    }
    
    .elite-post-meta-index {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .elite-category-badge-index {
        max-width: 100px;
        font-size: 8px;
        padding: 2px 6px;
    }
    
    .elite-post-content-index {
        max-height: 95px;
    }
}

/* DARK MODE İYİLEŞTİRMELERİ */
@media (prefers-color-scheme: dark) {
    .elite-post-card-index {
        background: #1a1a1a;
    }
    
    .elite-post-content-index {
        background: #111111;
    }
    
    .elite-stats-section-index {
        background: #1a1a1a;
    }
    
    .leaderboard-premium {
        background: #1a1a1a;
        border-color: #262626;
    }
}

/* ANİMASYONLAR ve GEÇİŞLER */
.elite-post-card-index {
    animation: fadeInUp 0.5s ease-out;
}

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

/* TOUCH FRIENDLY TASARIM */
@media (hover: none) and (pointer: coarse) {
    .elite-like-button-index,
    .elite-comment-button-index,
    .elite-author-link-index,
    .elite-category-badge-index,
    .elite-details-button {
        min-height: 40px;
        min-width: 40px;
    }
    
    .elite-post-content-index.expandable {
        padding-bottom: 20px;
    }
    
    /* MOBİLDE BEĞENİ BUTONU OPTİMİZASYONU */
    .elite-like-button-index {
        touch-action: manipulation;
    }
}

/* YÜKSEK ÇÖZÜNÜRLÜK EKRANLAR */
@media (min-width: 1400px) {
    .elite-post-card-index {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* RANK BADGE İKON */
.rank-badge-icon {
    font-size: 10px;
}