/* 🐦 Twitter/X Profile Style - Clean & Minimalist */

.twitter-profile {
    background: white;
    min-height: 100vh;
}

.profile-container {
    max-width: 600px;
    margin: 0 auto;
    border-left: 1px solid #eff3f4;
    border-right: 1px solid #eff3f4;
}

/* Wider on desktop */
@media (min-width: 992px) {
    .profile-container {
        max-width: 900px;
    }
}

/* Banner */
.profile-banner {
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    position: relative;
}

/* Header Section */
.profile-header-section {
    padding: 12px 16px;
    position: relative;
}

.avatar-and-edit {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
}

.profile-avatar-twitter {
    width: 133px;
    height: 133px;
    border-radius: 50%;
    border: 4px solid white;
    margin-top: -67px;
    object-fit: cover;
}

.edit-profile-btn {
    padding: 10px 24px;
    border: 1px solid #cfd9de;
    border-radius: 9999px;
    background: white;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.edit-profile-btn:hover {
    background: #f7f9f9;
}

/* Name Section */
.name-section-twitter {
    margin-bottom: 12px;
}

.name-twitter {
    font-size: 20px;
    font-weight: 800;
    color: #0f1419;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.verified-twitter {
    color: #1d9bf0;
    font-size: 18px;
}

/* Verification Badge Colors */
.name-twitter i.fa-check-circle,
.tweet-name-row i.fa-check-circle {
    font-size: 18px;
}

/* Male - Blue */
.name-twitter i.fa-check-circle[style*="#3B82F6"],
.tweet-name-row i.fa-check-circle[style*="#3B82F6"] {
    color: #3B82F6 !important;
}

/* Female - Pink */
.name-twitter i.fa-check-circle[style*="#EC4899"],
.tweet-name-row i.fa-check-circle[style*="#EC4899"] {
    color: #EC4899 !important;
}

/* Special - Crown Gold */
.name-twitter i.fa-crown,
.tweet-name-row i.fa-crown {
    color: #F59E0B !important;
    font-size: 18px;
}

/* Doctor - Red */
.name-twitter i.fa-graduation-cap,
.tweet-name-row i.fa-graduation-cap {
    color: #EF4444 !important;
    font-size: 18px;
}

.username-twitter {
    font-size: 15px;
    color: #536471;
    text-align: end;
}

/* Bio */
.bio-twitter {
    font-size: 15px;
    color: #0f1419;
    line-height: 20px;
    margin-bottom: 12px;
    white-space: pre-line;
}

/* Meta Info */
.meta-info-twitter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 15px;
    color: #536471;
    margin-bottom: 12px;
}

.meta-item-twitter {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-item-twitter i {
    font-size: 14px;
}

/* Stats Row */
.stats-row-twitter {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #eff3f4;
}

.stat-twitter {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-number-twitter {
    font-weight: 700;
    color: #0f1419;
    font-size: 15px;
}

.stat-label-twitter {
    color: #536471;
    font-size: 15px;
}

/* Projects List */
.projects-list-twitter {
    border-top: 1px solid #eff3f4;
}

.project-tweet {
    padding: 16px;
    border-bottom: 1px solid #eff3f4;
    cursor: pointer;
    transition: background 0.2s;
}

.project-tweet:hover {
    background: #f7f9f9;
}

.tweet-header-row {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.tweet-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.tweet-author-info {
    flex: 1;
}

.tweet-name-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tweet-author-name {
    font-weight: 700;
    font-size: 15px;
    color: #0f1419;
}

.tweet-username-small {
    color: #536471;
    font-size: 15px;
}

.tweet-date-small {
    color: #536471;
    font-size: 15px;
}

.project-content-twitter {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 16px;
    color: white;
    text-align: center;
    margin-top: 12px;
}

.project-title-twitter {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-meta-twitter {
    font-size: 14px;
    opacity: 0.9;
}

.project-badge-twitter {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255,255,255,0.25);
    border-radius: 12px;
    font-size: 12px;
    margin-top: 8px;
}

/* Empty State */
.empty-state-twitter {
    text-align: center;
    padding: 80px 20px;
    color: #536471;
}

.empty-state-twitter i {
    font-size: 56px;
    color: #cfd9de;
    margin-bottom: 16px;
}

.empty-state-twitter h3 {
    font-size: 20px;
    color: #0f1419;
    margin-bottom: 8px;
}

.empty-state-twitter p {
    font-size: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .profile-banner {
        height: 120px;
    }
    
    .profile-avatar-twitter {
        width: 80px;
        height: 80px;
        margin-top: -40px;
    }
    
    .name-twitter {
        font-size: 18px;
    }
    
    .edit-profile-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .stats-row-twitter {
        gap: 16px;
    }

    /* Project cards — compact on mobile */
    .project-tweet {
        padding: 12px;
    }

    .tweet-avatar-small {
        width: 32px;
        height: 32px;
    }

    .tweet-author-name {
        font-size: 13px;
    }

    .tweet-username-small,
    .tweet-date-small {
        font-size: 12px;
    }
}

/* ── Project card image wrapper ── */
.proj-card-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    margin: 10px 0;
    height: 180px;
}

.proj-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.project-tweet:hover .proj-card-img {
    transform: scale(1.03);
}

@media (max-width: 480px) {
    .proj-card-img-wrap {
        height: 130px;
        border-radius: 10px;
        margin: 8px 0;
    }
}
