/* ============================================================
   INDEX PAGE STYLES - Ana Sayfa
   ============================================================ */

/* ========== LAYOUT ========== */
.index-container {
}

.index-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.index-main {
    flex: 1;
    min-width: 0;
}

.index-sidebar {
    width: 340px;
    flex-shrink: 0;
}

/* ========== HERO ========== */
.index-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 35px 30px;
    text-align: center;
    color: white;
    margin-bottom: 25px;
}

.index-hero-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.index-hero-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.index-hero-subtitle {
    font-size: 15px;
    opacity: 0.9;
    margin: 0 0 20px 0;
}

.index-premium-hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.3);
    color: #ffd700;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.index-hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-index {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-index-primary {
    background: white;
    color: #667eea;
}

.btn-index-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: #667eea;
}

.btn-index-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-index-outline:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.btn-index-gold {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #2c2c2c;
}

.btn-index-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    color: #2c2c2c;
}

.content-counter {
    display: inline-block;
    background: rgba(255,255,255,0.3);
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    margin-left: 8px;
}

/* ========== TABS ========== */
.index-tabs {
    display: flex;
    gap: 8px;
    background: white;
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.index-tab {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    text-decoration: none;
    color: #666;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.index-tab:hover {
}

.index-tab-active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
}

/* ========== POST CARD ========== */
.index-post {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.index-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.index-premium-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.index-post-title {
    font-size: 20px;
    margin: 0 0 12px;
}

.index-post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.index-post-title a:hover {
    color: #667eea;
}

/* ========== META ========== */
.index-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.index-post-meta a {
    color: #667eea;
    text-decoration: none;
}

.index-post-meta a:hover {
    text-decoration: underline;
}

.index-post-author i,
.index-post-date i,
.index-post-category i {
    margin-right: 4px;
}

/* ========== CONTENT ========== */
.index-post-content {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin: 15px 0;
}

/* ========== TAGS ========== */
.index-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.index-tag {
    background: #f0f4ff;
    color: #667eea;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.index-tag:hover {
    background: #667eea;
    color: white;
}

/* ========== STATS ========== */
.index-post-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #888;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    margin-top: 15px;
}

.index-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.index-stat i {
    font-size: 14px;
}

.index-stat .fa-heart {
    color: #ff4757;
}

.index-stat .fa-comment {
    color: #667eea;
}

.index-stat .fa-eye {
    color: #27ae60;
}

.index-read-more {
    margin-left: auto;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.index-read-more:hover {
    transform: translateX(3px);
    box-shadow: 0 3px 10px rgba(102,126,234,0.3);
    color: white;
}

.index-read-more.premium-link {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #2c2c2c;
}

.index-read-more.premium-link:hover {
    box-shadow: 0 3px 15px rgba(255, 215, 0, 0.4);
    color: #2c2c2c;
}

/* ========== PREMIUM LOCKED CARD ========== */
.premium-locked-card-index {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0e6ff 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    border: 1px solid rgba(255, 215, 0, 0.3);
    text-align: center;
}

.premium-locked-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #2c2c2c;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 12px;
}

.premium-locked-preview {
    font-size: 13px;
    color: #888;
    font-style: italic;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
}

.premium-unlock-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.premium-unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
    color: white;
}

.premium-locked-icon-small {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    color: #ffd700;
}

/* ========== BANLI KULLANICI ========== */
.username-banned-index {
    text-decoration: line-through !important;
    text-decoration-thickness: 2px !important;
    text-decoration-color: #e74c3c !important;
    opacity: 0.7 !important;
    color: #e74c3c !important;
}

.banned-badge {
    display: inline-block;
    margin-left: 5px;
    font-size: 11px;
    color: #e74c3c;
    cursor: help;
    position: relative;
}

.banned-badge:hover::after {
    content: "Bu kullanıcı uzaklaştırılmıştır";
    position: absolute;
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 100;
    margin-left: 5px;
    top: -25px;
}

/* ========== EMPTY ========== */
.index-empty {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    color: #888;
}

.index-empty i {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
    color: #ddd;
}

.index-empty a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.index-empty a:hover {
    text-decoration: underline;
}

/* ========== PAGINATION ========== */
.index-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.index-page-btn {
    padding: 8px 18px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 6px;
}

.index-page-btn:hover {
    background: #f0f0f0;
}

.index-page-num {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.index-page-num:hover {
    background: #000000;
    color:#ffffff;
}

.index-page-current {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
}

/* ========== FUNNY WARNING ========== */
.funny-warning-card {
    background: linear-gradient(135deg, #fff8e7, #ffe4b5);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
    border: 2px solid #ffd700;
    position: relative;
    max-width: 1200px;
    margin: 0 auto 30px auto;
}

.funny-warning-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.funny-warning-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.funny-warning-message {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.funny-warning-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.funny-warning-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
    color: white;
}

.funny-warning-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

.funny-warning-close:hover {
    color: #333;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
    .index-layout {
        flex-direction: column;
    }
    
    .index-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .index-container {
    }
    
    .index-hero {
        padding: 25px 20px;
    }
    
    .index-hero-title {
        font-size: 22px;
    }
    
    .index-hero-icon {
        font-size: 36px;
    }
    
    .index-tabs {
        flex-wrap: wrap;
    }
    
    .index-tab {
        flex: 1 1 45%;
        font-size: 13px;
        padding: 10px 5px;
    }
    
    .index-post {
        padding: 20px 15px;
    }
    
    .index-post-title {
        font-size: 18px;
    }
    
    .index-post-meta {
        gap: 8px;
    }
    
    .index-post-stats {
        align-items: flex-start;
        gap: 8px;
    }
    
    .index-read-more {
        margin-left: 0;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .funny-warning-title {
        font-size: 20px;
    }
    
    .funny-warning-icon {
        font-size: 45px;
    }
}

@media (max-width: 480px) {
    .index-container {
    }
    
    .index-hero-title {
        font-size: 20px;
    }
    
    .index-hero-icon {
        font-size: 30px;
    }
    
    .btn-index {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }
    
    .index-hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .index-tab {
        font-size: 12px;
        padding: 8px 4px;
        flex: 1 1 100%;
    }
    
    .index-post-title {
        font-size: 16px;
    }
    
    .index-pagination {
        gap: 5px;
    }
    
    .index-page-btn,
    .index-page-num {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .premium-locked-card-index {
        padding: 15px;
    }
    
    .premium-locked-preview {
        font-size: 12px;
    }
    
    .premium-unlock-btn {
        padding: 6px 15px;
        font-size: 12px;
    }
}