/* ============================================
   PAGE HEADER - shared by profile, referral, wallet, task, promote-task
   ============================================ */

.page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-top: 6rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 1.5rem 2rem;
}

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

.page-title {
    font-size: var(--font-size-h2);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-title i {
    font-size: var(--icon-size-lg);
    color: var(--primary-purple);
}

.page-subtitle {
    font-size: var(--font-size-small);
    color: var(--text-secondary);
}

.page-subtitle strong {
    color: var(--primary-purple);
    font-weight: 700;
}

.header-actions {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        margin-top: 5rem;
        padding: 1.25rem 1.5rem;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .page-header {
        margin-top: 4.5rem;
        margin-bottom: 1.5rem;
        padding: 1rem 1.25rem;
        border-radius: 12px;
        text-align: center;
    }
    
    .page-title {
        justify-content: center;
    }
    
    .header-content {
        text-align: center;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .header-actions .btn {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .page-header {
        margin-top: 4rem;
        padding: 0.875rem 1rem;
        border-radius: 10px;
    }
    
    .page-title {
        font-size: var(--font-size-h4);
    }
    
    .page-subtitle {
        font-size: 0.7rem;
    }
}
