/* ============================================================
   PROFILE PAGE STYLES - Profil Sayfası
   ============================================================ */

/* ========== LAYOUT ========== */
.profile-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.profile-main {
    flex: 1;
    min-width: 0;
    order: 1;
}

.profile-sidebar {
    width: 340px;
    flex-shrink: 0;
    order: 2;
}

/* ========== BAN UYARISI ========== */
.ban-warning {
    background: #fff5f5;
    border: 1px solid #fecaca;
    color: #e74c3c;
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

/* ========== PROFİL KARTI ========== */
.profile-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.profile-cover {
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.profile-avatar-section {
    text-align: center;
    margin-top: -55px;
    position: relative;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.premium-badge-profile {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #333;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
}

.premium-badge-profile.banned {
    background: #e74c3c;
    color: white;
}

.profile-info {
    padding: 20px 30px 10px;
    text-align: center;
}

.profile-username {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.username-banned-profile {
    text-decoration: line-through !important;
    text-decoration-thickness: 2px !important;
    text-decoration-color: #e74c3c !important;
    opacity: 0.7 !important;
    color: #e74c3c !important;
}

.banned-user-badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    margin-left: 10px;
    vertical-align: middle;
}

.premium-icon {
    color: #ffd700;
    font-size: 18px;
}

.profile-fullname {
    color: #666;
    font-size: 15px;
    margin: 0 0 15px 0;
}

.hidden-name-note {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
    display: inline-block;
    margin-left: 8px;
}

.profile-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.profile-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-website {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}

.profile-website:hover {
    text-decoration: underline;
}

.profile-bio {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: left;
    margin-bottom: 15px;
}

/* ========== PROFİL AKSİYONLARI ========== */
.profile-actions {
    display: flex;
    gap: 10px;
    padding: 0 30px 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-follow {
    background: #667eea;
    color: white;
}

.btn-follow:hover {
    background: #5a6fd6;
    transform: translateY(-2px);
}

.btn-unfollow {
    background: #e0e0e0;
    color: #666;
}

.btn-unfollow:hover {
    background: #d0d0d0;
}

.btn-message {
    background: #27ae60;
    color: white;
}

.btn-message:hover {
    background: #219a52;
}

.btn-edit {
    background: #f0f0f0;
    color: #333;
}

.btn-edit:hover {
    background: #e0e0e0;
}

/* ========== ROZETLER ========== */
.badges-card {
    background: white;
    border-radius: 15px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.badges-card h3 {
    font-size: 16px;
    color: #333;
    margin: 0 0 15px 0;
}

.badges-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge-item {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 2px solid;
}

/* ========== İSTATİSTİKLER ========== */
.stats-card {
    background: white;
    border-radius: 15px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stats-card h3 {
    font-size: 16px;
    color: #333;
    margin: 0 0 15px 0;
}

.stats-grid-profile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-box {
    text-align: center;
    padding: 15px 10px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-box i {
    font-size: 20px;
    color: #667eea;
    display: block;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    display: block;
}

.stat-label {
    font-size: 11px;
    color: #999;
}

/* ========== HAFTANIN ÜYESİ ========== */
.winner-card {
    background: linear-gradient(135deg, #fff8e7, #fff3cd);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
}

.winner-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.winner-card h3 {
    color: #333;
    margin: 0 0 10px 0;
}

.winner-card p {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
}

.prize-badge {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
}

/* ========== İÇERİKLER ========== */
.user-posts-section {
}

.section-title {
    font-size: 20px;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.post-count {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

.premium-counter {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    margin-left: 8px;
    vertical-align: middle;
}

.normal-counter {
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    margin-left: 8px;
    vertical-align: middle;
}

/* ========== İÇERİK KARTI ========== */
.index-post {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.index-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.index-premium-content-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 10px;
}

.index-post-title {
    font-size: 20px;
    margin: 0 0 10px;
}

.index-post-title a {
    color: #2c3e50;
    text-decoration: none;
}

.index-post-title a:hover {
    color: #667eea;
}

.locked-icon-small {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    color: #ffd700;
}

.index-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.index-post-content {
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.index-post-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #888;
}

.index-read-more {
    margin-left: auto;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s;
}

.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 KİLİTLİ KART ========== */
.premium-locked-card-profile {
    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-profile {
    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-profile {
    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-profile {
    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-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    color: white;
}

/* ========== BOŞ DURUM ========== */
.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
}

.empty-state i {
    font-size: 50px;
    display: block;
    margin-bottom: 15px;
}

/* ========== SAYFALAMA ========== */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 8px 15px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.page-btn:hover {
    background: #f0f0f0;
}

.page-num {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.page-num:hover {
    background: #f0f0f0;
}

.page-num.current {
    background: #667eea;
    color: white;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
    .profile-layout {
        flex-direction: column;
    }
    
    .profile-main {
        order: 1;
        width: 100%;
    }
    
    .profile-sidebar {
        order: 2;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .profile-info {
        padding: 15px;
    }
    
    .profile-actions {
        padding: 0 15px 20px;
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
    
    .stats-grid-profile {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-username {
        font-size: 22px;
    }
    
    .profile-avatar {
        width: 90px;
        height: 90px;
    }
    
    .profile-avatar-section {
        margin-top: -45px;
    }
    
    .index-post-stats {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .index-read-more {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .stats-grid-profile {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .profile-meta {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .profile-card {
        border-radius: 12px;
    }
    
    .profile-cover {
        height: 80px;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    
    .profile-avatar-section {
        margin-top: -40px;
    }
    
    .index-post {
        padding: 15px;
    }
    
    .index-post-title {
        font-size: 17px;
    }
    
    .section-title {
        font-size: 17px;
    }
    
    .badges-card,
    .stats-card,
    .winner-card {
        padding: 15px;
    }
}